On the geometry of generalization and memorization in deep neural networks

By Cory Stephenson, Suchismita Padhy, Abhinav Ganesh, Yue Hui, Hanlin Tang, SueYeon Chung. 2021

99 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Scaling & Learning Theory

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Chiyuan Zhang
  4. Daphne Ippolito
  5. Ivan Titov
  6. Nicola De Cao
  7. Nicholas Carlini
  8. Percy Liang

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Bernt Schiele
  5. Mohit Bansal
  6. Yi Yang
  7. Nicola De Cao
  8. Xiaogang Wang

In Scaling & Learning Theory

  1. Nicholas Carlini
  2. Chiyuan Zhang
  3. Behnam Neyshabur
  4. Ivan Titov
  5. Katherine Lee
  6. Daphne Ippolito
  7. Tengyu Ma
  8. Samet Oymak

Citations in the corpus