paper-with-me

홈 › Papers

Does SGD Seek Flatness or Sharpness? An Exactly Solvable Model

2026-02-04 · Yizhou Xu, Pierfrancesco Beneventano, Isaac Chuang, Liu Ziyin arxiv

A large body of theory and empirical work hypothesizes a connection between the flatness of a neural network's loss landscape during training and its performance. However, there have been conceptually opposite pieces of evidence regarding when SGD prefers flatter or sharper solutions during training. In this work, we partially but causally clarify the flatness-seeking behavior of SGD by identifying and exactly solving an analytically solvable model that exhibits both flattening and sharpening behavior during training. In this model, the SGD training has no \textit{a priori} preference for flatness, but only a preference for minimal gradient fluctuations. This leads to the insight that, at least within this model, it is data distribution that uniquely determines the sharpness at convergence, and that a flat minimum is preferred if and only if the noise in the labels is isotropic across all output dimensions. When the noise in the labels is anisotropic, the model instead prefers sharpness and can converge to an arbitrarily sharp solution, depending on the imbalance in the noise in the labels spectrum. We reproduce this key insight in controlled settings with different model architectures such as MLP, RNN, and transformers.

📄 PDF Abstract BibTeX arXiv:2602.05065

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Flat Seeking Bayesian Neural Networks

2023-02-06 · NeurIPS 2023 11

Bayesian Neural Networks (BNNs) provide a probabilistic interpretation for deep learning models by imposing a prior distribution over model parameters and inferring a posterior distribution based on observed data. The mo…

Deep LearningVariational Inference

Flat Posterior Does Matter For Bayesian Model Averaging

2024-06-21 · Sungjun Lim, Jeyoon Yeom, Sooyon Kim, Hoyoon Byun 외

Bayesian neural network (BNN) approximates the posterior distribution of model parameters and utilizes the posterior for prediction via Bayesian Model Averaging (BMA). The quality of the posterior approximation is critic…

modelTransfer LearningUncertainty Quantification

FedNSAM:Consistency of Local and Global Flatness for Federated Learning

2026-02-27 · Junkang Liu, Fanhua Shang, Yuxuan Tian, Hongying Liu 외 arxiv

In federated learning (FL), multi-step local updates and data heterogeneity usually lead to sharper global minima, which degrades the performance of the global model. Popular FL algorithms integrate sharpness-aware minim…

Federated Learning

Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalization

2023-03-03 · CVPR 2023 1 · Xingxuan Zhang, Renzhe Xu, Han Yu, Hao Zou 외

Recently, flat minima are proven to be effective for improving generalization and sharpness-aware minimization (SAM) achieves state-of-the-art performance. Yet the current definition of flatness discussed in SAM and its …

Sharpness-Aware Minimization Revisited: Weighted Sharpness as a Regularization Term

2023-05-25 · Yun Yue, Jiadi Jiang, Zhiling Ye, Ning Gao 외

Deep Neural Networks (DNNs) generalization is known to be closely related to the flatness of minima, leading to the development of Sharpness-Aware Minimization (SAM) for seeking flatter minima and better generalization. …