Studying Generalization Through Data Averaging
Not on the map. Why?
Abstract (arXiv)
The generalization of machine learning models has a complex dependence on the data, model and learning algorithm. We study train and test performance, as well as the generalization gap given by the mean of their difference over different data set samples to understand their ``typical" behavior. We derive an expression for the gap as a function of the covariance between the model parameter distribution and the train loss, and another expression for the average test performance, showing test generalization only depends on data-averaged parameter distribution and the data-averaged loss. We show that for a large class of model parameter distributions a modified generalization gap is always non-negative. By specializing further to parameter distributions produced by stochastic gradient descent (SGD), along with a few approximations and modeling considerations, we are able to predict some aspects about how the generalization gap and model train and test performance vary as a function of SGD noise. We evaluate these predictions empirically on the Cifar10 classification task based on a ResNet architecture.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 31 references that are in the map. First posted on arXiv 28 Jun 2022.
Builds on
19 of 31 references.
References · 19
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
- 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
- 2015Train faster, generalize better: Stability of stochastic gradient descentcited by 547
- 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 508
- 2021Machine learning accelerated computational fluid dynamicscited by 461
- 2018An Empirical Model of Large-Batch Trainingcited by 268
- 2017High-dimensional dynamics of generalization error in neural networkscited by 238
7 more
- 2018Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learningcited by 211
- 2021The Principles of Deep Learning Theorycited by 169
- 2015Stochastic modified equations and adaptive stochastic gradient algorithmscited by 141
- 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
- 2022Data Scaling Laws in NMT: The Effect of Noise and Architecturecited by 55
- 2018Fluctuation-dissipation relations for stochastic gradient descentcited by 47
- 2021Patterns, predictions, and actions: A story about machine learningcited by 14
Built on by
Not cited yet.