Explaining f-Divergence-Based Regularization via Local Curvature and Sharpness-Aware Minimization
This paper establishes a theoretical connection between f-divergence-based regularization and Sharpness-Aware Minimization (SAM) by demonstrating that both methods induce curvature-sensitive penalties through local second-order expansions, and empirically validates that maximizing this curvature penalization via symmetric Jensen-Shannon divergence leads to flatter minima and improved generalization.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Technical Summary: Explaining f-Divergence-Based Regularization via Local Curvature and Sharpness-Aware Minimization
Problem Statement
In the context of lifelong learning agents and general deep learning, achieving robust generalization requires controlling overfitting and local sensitivity. Two prominent approaches for this are divergence-based regularization (which penalizes discrepancies between predictive distributions on original and perturbed inputs) and Sharpness-Aware Minimization (SAM), which seeks parameters with flat loss landscapes. While both methods are motivated by robustness to perturbations, their theoretical relationship remains largely unexplored. Specifically, it is unclear whether the local geometry induced by a divergence regularizer can be formally related to the Hessian structure that SAM implicitly controls.
Methodology
The paper establishes a unified theoretical framework by analyzing the local second-order geometry of -divergence regularization. The authors proceed through the following steps:
- Local Quadratic Expansion: They derive a second-order Taylor expansion for -divergences when the model's predictive distribution and a perturbed distribution are close. They show that in this local regime, any -divergence reduces to a quadratic penalty scaled by .
- Geometric Interpretation:
- Parameter Space: When perturbations occur in the parameter space (), the regularizer induces a penalty proportional to , where is the Fisher information matrix.
- Input Space: When perturbations occur in the input space (), the regularizer induces a "pullback" quadratic form involving the gradient of the density with respect to the input.
- Connection to SAM: The authors compare this divergence-induced penalty to SAM. SAM is shown to locally approximate a spectral curvature penalty proportional to the dominant Hessian eigenvalue (). The paper demonstrates that for negative log-likelihood objectives with exponential-family output distributions (e.g., cross-entropy with softmax), the Fisher matrix coincides with the Generalized Gauss-Newton (GGN) matrix, which captures the positive-semidefinite component of the Hessian. Thus, divergence-based regularization and SAM become locally comparable through a shared curvature geometry.
- Controlled Empirical Testbed: To validate these theoretical claims, the authors utilize the asymmetric -skew Jensen-Shannon Divergence (JSD) family. The local curvature coefficient for this family scales as , reaching a maximum at the symmetric point . This allows for a controlled experiment where the strength of curvature penalization is varied without altering the fundamental structure of the regularizer.
Key Contributions
- Unified Local Expansion: The paper derives a local second-order expansion for -divergence regularization, demonstrating that it induces curvature-sensitive penalties determined by Fisher geometry in parameter space and a pullback metric in input space.
- Formal Link to SAM: It establishes that under standard probabilistic loss assumptions (specifically NLL with exponential families), the geometry induced by divergence regularization is locally comparable to the second-order interpretations of SAM via the Fisher/GGN/Hessian relationship.
- General Perturbation Framework: The analysis extends to input-space perturbations, showing that divergence-based regularization offers a more general perturbation framework than standard SAM (which is typically defined via parameter perturbations) while preserving the same local sensitivity interpretation.
- Curvature Coefficient Derivation: For the asymmetric -skew JSD family, the authors explicitly derive that the local curvature coefficient is proportional to , identifying the symmetric case () as the regime of maximal curvature penalization.
Results
The empirical validation was conducted on four benchmark datasets (CIFAR-10, Fashion-MNIST, EMNIST, and Oxford-IIIT Pet) using an EfficientNet-B2 model with input-space perturbations (random masking).
- Performance Trends: Across all datasets, model performance (measured by accuracy and Negative Log-Likelihood) was consistently best near the symmetric regime . This aligns with the theoretical prediction that the strongest local curvature penalization (maximized at ) yields superior generalization.
- Loss Landscape Visualization: Visualizations of the loss landscape on CIFAR-10 using ResNet-18 revealed that models trained with divergence regularization converge to flatter local minima compared to the baseline. Furthermore, the model trained with the symmetric setting () exhibited the flattest basin, corresponding to the highest curvature penalization, while the asymmetric setting () showed intermediate flatness.
- Statistical Metrics: Quantitative analysis of the loss landscape statistics (average loss, trace of the Hessian squared, and maximum eigenvalue) confirmed that the symmetric setting resulted in the lowest average loss and reduced curvature metrics compared to both the baseline and highly asymmetric settings.
Significance and Claims
The paper claims to clarify the relationship between divergence-based regularization and sharpness-aware minimization from a local geometric perspective. It posits that while the two methods are not identical objectives, they become locally aligned through a common curvature geometry when specific probabilistic assumptions hold.
The authors modestly frame their contribution as primarily analytical. They clarify when divergence-based regularization, Fisher geometry, and sharpness-aware objectives become locally comparable. The empirical study focuses on validating the broader local-curvature perspective within the specific context of the -skew JSD family and input perturbations, rather than claiming a direct experimental equivalence to SAM in all settings. The work suggests that the strength of the induced local curvature is a meaningful factor in the effectiveness of divergence-based regularization, with the symmetric regime offering optimal performance in the tested scenarios.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.