paper-with-me

홈 › Papers

A simple connection from loss flatness to compressed neural representations

2023-10-03 · Shirui Chen, Stefano Recanatesi, Eric Shea-Brown

Sharpness, a geometric measure in the parameter space that reflects the flatness of the loss landscape, has long been studied for its potential connections to neural network behavior. While sharpness is often associated with generalization, recent work highlights inconsistencies in this relationship, leaving its true significance unclear. In this paper, we investigate how sharpness influences the local geometric features of neural representations in feature space, offering a new perspective on its role. We introduce this problem and study three measures for compression: the Local Volumetric Ratio (LVR), based on volume compression, the Maximum Local Sensitivity (MLS), based on sensitivity to input changes, and the Local Dimensionality, based on how uniform the sensitivity is on different directions. We show that LVR and MLS correlate with the flatness of the loss around the local minima; and that this correlation is predicted by a relatively simple mathematical relationship: a flatter loss corresponds to a lower upper bound on the compression metrics of neural representations. Our work builds upon the linear stability insight by Ma and Ying, deriving inequalities between various compression metrics and quantities involving sharpness. Our inequalities readily extend to reparametrization-invariant sharpness as well. Through empirical experiments on various feedforward, convolutional, and transformer architectures, we find that our inequalities predict a consistently positive correlation between local representation compression and sharpness.

📄 PDF Abstract BibTeX arXiv:2310.01770

Code (0)

등록된 구현이 없습니다.

Tasks

Sensitivity

Methods 이 논문이 사용한 방법론

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 and Generalization: Learning Multi-Index Models with Homogeneous Neural Networks

2026-06-03 · Harsh Vardhan, Hossein Taheri, Arya Mazumdar arxiv

A common heuristic used to explain the generalization of first-order gradient methods on non-convex neural networks is that "flat interpolators generalize well" (Hochreiter and Schmidhuber, 1994; Keskar et al., 2017), wh…

FAM: Relative Flatness Aware Minimization

2023-07-05 · Linara Adilova, Amr Abourayya, Jianning Li, Amin Dada 외

Flatness of the loss curve around a model at hand has been shown to empirically correlate with its generalization ability. Optimizing for flatness has been proposed as early as 1994 by Hochreiter and Schmidthuber, and wa…

When Flatness Does (Not) Guarantee Adversarial Robustness

2025-10-16 · Nils Philipp Walter, Linara Adilova, Jilles Vreeken, Michael Kamp arxiv

Despite their empirical success, neural networks remain vulnerable to small, adversarial perturbations. A longstanding hypothesis suggests that flat minima, regions of low curvature in the loss landscape, offer increased…

Adversarial Robustness

Flatten Long-Range Loss Landscapes for Cross-Domain Few-Shot Learning

2024-03-01 · CVPR 2024 1 · Yixiong Zou, Yicong Liu, Yiman Hu, Yuhua Li 외

Cross-domain few-shot learning (CDFSL) aims to acquire knowledge from limited training data in the target domain by leveraging prior knowledge transferred from source domains with abundant training samples. CDFSL faces c…

Cross-Domain Few-Shotcross-domain few-shot learningFew-Shot Learning