Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets
arXiv:2201.02177
Abstract
In this paper we propose to study generalization of neural networks on small algorithmically generated datasets. In this setting, questions about data efficiency, memorization, generalization, and speed of learning can be studied in great detail. In some situations we show that neural networks learn through a process of "grokking" a pattern in the data, improving generalization performance from random chance level to perfect generalization, and that this improvement in generalization can happen well past the point of overfitting. We also study generalization as a function of dataset size and find that smaller datasets require increasing amounts of optimization for generalization. We argue that these datasets provide a fertile ground for studying a poorly understood aspect of deep learning: generalization of overparametrized neural networks beyond memorization of the finite training dataset.
arXiv commentCorrespondence to [email protected]. Code available at: https://github.com/openai/grok
Cited by in corpus (8)
- A neural operator-based surrogate solver for free-form electromagnetic inverse design
- Large Language Models, scientific knowledge and factuality: A framework to streamline human expert evaluation
- The Optimal Choice of Hypothesis Is the Weakest, Not the Shortest
- Accurate Surrogate Amplitudes with Calibrated Uncertainties
- IRMAC: Interpretable Refined Motifs in Binary Classification for Smart Grid Applications
- Deep Neural Networks for Automatic Speaker Recognition Do Not Learn Supra-Segmental Temporal Features
- Bayesian RG Flow in Neural Network Field Theories
- The Complexity Dynamics of Grokking