paper-with-me

홈 › Papers

Why flatness does and does not correlate with generalization for deep neural networks

2021-03-10 · Shuofeng Zhang, Isaac Reid, Guillermo Valle Pérez, Ard Louis

The intuition that local flatness of the loss landscape is correlated with better generalization for deep neural networks (DNNs) has been explored for decades, spawning many different flatness measures. Recently, this link with generalization has been called into question by a demonstration that many measures of flatness are vulnerable to parameter re-scaling which arbitrarily changes their value without changing neural network outputs. Here we show that, in addition, some popular variants of SGD such as Adam and Entropy-SGD, can also break the flatness-generalization correlation. As an alternative to flatness measures, we use a function based picture and propose using the log of Bayesian prior upon initialization, $\log P(f)$, as a predictor of the generalization when a DNN converges on function $f$ after training to zero error. The prior is directly proportional to the Bayesian posterior for functions that give zero error on a test set. For the case of image classification, we show that $\log P(f)$ is a significantly more robust predictor of generalization than flatness measures are. Whilst local flatness measures fail under parameter re-scaling, the prior/posterior, which is global quantity, remains invariant under re-scaling. Moreover, the correlation with generalization as a function of data complexity remains good for different variants of SGD.

📄 PDF Abstract BibTeX arXiv:2103.06219

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

Adam 설명 없음
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Relative Flatness and Generalization

2020-01-03 · NeurIPS 2021 12 · Henning Petzka, Michael Kamp, Linara Adilova, Cristian Sminchisescu 외

Flatness of the loss curve is conjectured to be connected to the generalization ability of machine learning models, in particular neural networks. While it has been empirically observed that flatness measures consistentl…

Generalization Bounds

Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokking

2025-09-22 · Ting Han, Linara Adilova, Henning Petzka, Jens Kleesiek 외 arxiv

Neural collapse, i.e., the emergence of highly symmetric, class-wise clustered representations, is frequently observed in deep networks and is often assumed to reflect or enable generalization. In parallel, flatness of t…

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

Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks using PAC-Bayesian Analysis

2019-01-15 · ICML 2020 1 · Yusuke Tsuzuku, Issei Sato, Masashi Sugiyama

The notion of flat minima has played a key role in the generalization studies of deep learning models. However, existing definitions of the flatness are known to be sensitive to the rescaling of parameters. The issue sug…

A Reparameterization-Invariant Flatness Measure for Deep Neural Networks

2019-11-29 · Henning Petzka, Linara Adilova, Michael Kamp, Cristian Sminchisescu

The performance of deep neural networks is often attributed to their automated, task-related feature construction. It remains an open question, though, why this leads to solutions with good generalization, even in cases …

Open-Ended Question Answering