paper-with-me

홈 › Papers

On the geometry of generalization and memorization in deep neural networks

2021-05-30 · ICLR 2021 1 · Cory Stephenson, Suchismita Padhy, Abhinav Ganesh, Yue Hui, Hanlin Tang, SueYeon Chung

Understanding how large neural networks avoid memorizing training data is key to explaining their high generalization performance. To examine the structure of when and where memorization occurs in a deep network, we use a recently developed replica-based mean field theoretic geometric analysis method. We find that all layers preferentially learn from examples which share features, and link this behavior to generalization performance. Memorization predominately occurs in the deeper layers, due to decreasing object manifolds' radius and dimension, whereas early layers are minimally affected. This predicts that generalization can be restored by reverting the final few layer weights to earlier epochs before significant memorization occurred, which is confirmed by the experiments. Additionally, by studying generalization under different model sizes, we reveal the connection between the double descent phenomenon and the underlying model geometry. Finally, analytical analysis shows that networks avoid memorization early in training because close to initialization, the gradient contribution from permuted examples are small. These findings provide quantitative evidence for the structure of memorization across layers of a deep neural network, the drivers for such structure, and its connection to manifold geometric properties.

📄 PDF Abstract BibTeX arXiv:2105.14602

Code (0)

등록된 구현이 없습니다.

Tasks

Memorization

Similar Papers 제목 키워드 기반

Two Calm Ends and the Wild Middle: A Geometric Picture of Memorization in Diffusion Models

2026-02-19 · Nick Dodson, Xinyu Gao, Qingsong Wang, Yusu Wang 외 arxiv

Diffusion models generate high-quality samples but can also memorize training data, raising serious privacy concerns. Understanding the mechanisms governing when memorization versus generalization occurs remains an activ…

Intrinsic Task Symmetry Drives Generalization in Algorithmic Tasks

2026-03-02 · Hyeonbin Hwang, Yeachan Park arxiv

Grokking, the sudden transition from memorization to generalization, is characterized by the emergence of low-dimensional representations, yet the mechanism underlying this organization remains elusive. We propose that i…

Relational Reasoning

The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifold

2025-11-02 · Tiberiu Musat arxiv

Grokking is a puzzling phenomenon in neural networks where full generalization occurs only after a substantial delay following the complete memorization of the training data. Previous research has linked this delayed gen…

Representation Learning

GSS: Gated Subspace Steering for Selective Memorization Mitigation in LLMs

2026-02-09 · Xuanqi Zhang, Haoyang Shang, Xiaoxiao Li arxiv

Large language models (LLMs) can memorize and reproduce training sequences verbatim -- a tendency that undermines both generalization and privacy. Existing mitigation methods apply interventions uniformly, degrading perf…

A mathematical theory of balancing relational generalization and memorization

2026-05-21 · Luke Cheng, Samuel Lippl arxiv

Humans, animals, and modern machine learning models exhibit impressive abilities to learn complex behaviors and generalize these behaviors to unseen situations. This ability requires us to learn rules and regularities th…