English

Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization

Machine Learning 2023-07-25 v2 Optimization and Control Machine Learning

Abstract

Despite extensive studies, the underlying reason as to why overparameterized neural networks can generalize remains elusive. Existing theory shows that common stochastic optimizers prefer flatter minimizers of the training loss, and thus a natural potential explanation is that flatness implies generalization. This work critically examines this explanation. Through theoretical and empirical investigation, we identify the following three scenarios for two-layer ReLU networks: (1) flatness provably implies generalization; (2) there exist non-generalizing flattest models and sharpness minimization algorithms fail to generalize, and (3) perhaps most surprisingly, there exist non-generalizing flattest models, but sharpness minimization algorithms still generalize. Our results suggest that the relationship between sharpness and generalization subtly depends on the data distributions and the model architectures and sharpness minimization algorithms do not only minimize sharpness to achieve better generalization. This calls for the search for other explanations for the generalization of over-parameterized neural networks.

Keywords

Cite

@article{arxiv.2307.11007,
  title  = {Sharpness Minimization Algorithms Do Not Only Minimize Sharpness To Achieve Better Generalization},
  author = {Kaiyue Wen and Zhiyuan Li and Tengyu Ma},
  journal= {arXiv preprint arXiv:2307.11007},
  year   = {2023}
}

Comments

34 pages,11 figures

R2 v1 2026-06-28T11:36:07.839Z