NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

How Hessian structure explains mysteries in sharpness regularization

Yann Dauphin, Atish Agarwala, Hossein MobahiOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Recent work has shown that first order methods like SAM which implicitly penalize second order information can improve generalization in deep learning. Seemingly similar methods like weight noise and gradient penalties often fail to provide such benefits. We show that these differences can be explained by the structure of the Hessian of the loss. First, we show that a common decomposition of the Hessian can be quantitatively interpreted as separating the feature exploitation from feature exploration. The feature exploration, which can be described by the Nonlinear Modelling Error matrix (NME), is commonly neglected in the literature since it vanishes at interpolation. Our work shows that the NME is in fact important as it can explain why gradient penalties underperform for certain architectures. Furthermore, we provide evidence that challenges the long held equivalence of weight noise and gradient penalties. This equivalence relies on the assumption that the NME can be ignored, which we find does not hold for modern networks since they involve significant feature learning. Intriguingly, we find that regularizing feature exploitation but not feature exploration yields performance comparable to SAM. This suggests that properly controlling regularization on the two parts of the Hessian is important for the success of many second order methods.
BibTeX
@misc{dauphin2024how,
  author = {Yann Dauphin and Atish Agarwala and Hossein Mobahi},
  title = {{How Hessian structure explains mysteries in sharpness regularization}},
  year = {2024},
  url = {https://openreview.net/forum?id=Gl4AsqInti},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure