Grokking through the Lens of Minimum-Norm Interpolation

Gil Kur, Ileana Rugina, Clémentine Carla Juliette Dominé, Marco MondelliarXiv 2026

TL;DR

This paper provides a rigorous statistical theory for "grokking"—the phenomenon where a model suddenly learns to generalize long after it has perfectly fit the training data. By analyzing high-dimensional regression through the lens of minimum-norm interpolation, the authors show that sparsity-promoting inductive biases (like $\ell_1$ regularization) and signal sparsity are the primary drivers of these sharp, delayed generalization gains.

What Problem Does This Paper Address?

In deep learning, "grokking" remains one of the most counterintuitive observations: a model's training error hits zero almost immediately, but its test error stays high for thousands of additional steps before suddenly plummeting. While researchers have proposed various explanations involving "rich vs. lazy" training or weight decay, we lack a precise quantitative theory explaining how this transition depends on the model's inductive bias and the structure of the data.

The authors tackle this by asking: Which properties of the learning procedure allow two solutions with identical (zero) training error to have dramatically different generalization performance? They focus on the transition point where a model moves from "just fitting the noise" to "recovering the signal."

Methods

The researchers use the framework of high-dimensional linear regression to study the "regularization path"—the sequence of solutions found as one varies the strength of a penalty.

  1. Square-Root Lasso: They analyze estimators that minimize the square-root loss plus a norm penalty ($\ell_r$). This specific loss is chosen because it allows for exact interpolation (zero training error) when the regularization is below a certain threshold.
  2. Precise Asymptotics (CGMT): They employ the Convex Gaussian Min-Max Theorem (CGMT) to derive exact formulas for training and generalization errors in the "proportional regime," where the number of features and samples both grow to infinity at a fixed ratio.
  3. Hybrid Norm Construction: To prove a "zero-one law," they construct a novel family of convex $\ell_1-\ell_\infty$ hybrid norms. This allows them to mathematically separate the act of fitting the data from the act of recovering the signal.
  4. Neural Network Validation: They bridge the gap between linear theory and deep learning by testing their predictions on diagonal linear networks (where initialization scale controls implicit bias) and transformers trained on modular arithmetic.

Datasets

  • Synthetic High-Dimensional Data: Gaussian design matrices were used for the core theoretical proofs and the regression experiments.
  • Modular Arithmetic: The classic grokking benchmark (e.g., $x + y \pmod{97}$) was used to evaluate transformer models.

Key Insights and Ideas

  • The Sharpness of Grokking: The "aha moment" in grokking—the sharp drop in test error—is mathematically linked to how much the regularization favors sparsity. The closer the inductive bias is to an $\ell_1$ geometry (rather than $\ell_2$), the more dramatic the generalization gain near the interpolation point.
  • The Zero-One Law: In highly overparameterized settings, the authors proved that a model can undergo a discontinuous jump from "trivial" generalization (useless) to "exact recovery" of the signal, even while the training error remains stuck at exactly zero.
  • Statistical Instability: The paper reveals that minimum-norm interpolation is inherently unstable. Small perturbations in the choice of norm or regularization strength can lead to radically different generalization outcomes, providing a theoretical reason why grokking transitions are so sudden.
  • Sparsity as a Catalyst: Generalization gains are significantly amplified when the underlying target signal is sparse. As the problem becomes sparser, the "grokking" effect becomes more pronounced.

Key Results

The authors quantify the "Generalization Gain" ($S_r$), which measures how much the test error improves for a tiny decrease in training error near the interpolation point.

  • Norm Geometry: They proved that $S_r$ increases as the norm exponent $r$ moves from 2 toward 1. In the noiseless $\ell_1$ case, this gain can even become infinite, representing a vertical drop in test error (Theorem 3).
  • Sparsity: They showed that $S_r$ is strictly decreasing in the signal density $\rho$; sparser signals yield sharper grokking (Theorem 4).
  • Experimental Alignment: As shown in Figure 1, the theoretical predictions (solid lines) perfectly match numerical simulations (dots). The left plot specifically illustrates the "zero-one" transition where generalization (orange) jumps while training error (blue) stays at zero.
Training and generalization error (MSE) for regression. (a) shows the zero-one transition for the hybrid norm. (b) and (c) show how MSE gain increases as the norm becomes more sparsity-promoting (smaller r) and the signal becomes sparser (smaller $\rho$).

Limitations and Future Work

  • Linearity vs. Non-linearity: While the authors show qualitative agreement with transformers, their rigorous proofs are for linear models. Mapping these "regularization paths" to the complex, non-linear training dynamics of deep networks remains a challenge.
  • Gaussianity: The theoretical results rely on Gaussian design matrices. Extending this to more general data distributions (universality) is a suggested next step.
  • Temporal Dynamics: The paper focuses on the path of solutions rather than the time it takes to traverse them. Future work could aim to quantify the "generalization delay"—exactly how many training steps are needed to reach the grokking point.

Summary updated

Abstract

Grokking shows that fitting the training data and learning the underlying signal can occur at very different stages. However, existing theories offer limited quantitative insight into how this delayed generalization depends on inductive bias and signal structure. Our work addresses the gap by developing a statistical theory that characterizes how regularization geometry and signal sparsity govern generalization near interpolation. In particular, we focus on the prototypical setting of high-dimensional regression and identify regimes in which sparsity-promoting regularization makes exact interpolation much more accurate than approximate fitting. In strongly overparameterized noiseless problems, we prove a zero--one generalization law and construct a family of convex norms whose interpolators transition from the trivial risk of the all-zero predictor to exact recovery, while keeping the training error equal to $0$. Furthermore, when feature dimension and sample size are proportional, we provide a precise characterization of training and generalization errors along $\ell_r$-regularization paths. This in turn allows us to quantify the generalization gain that remains near interpolation: we show that this gain increases as the norm becomes more sparsity-promoting and as the target becomes sparser, with a sharp drop in generalization reached for noiseless data and $\ell_1$ regularization. Experiments on diagonal linear networks and transformers trained on modular arithmetic demonstrate the generality of our theoretical predictions. Finally, beyond grokking, our work reveals a statistical instability in minimum-norm interpolation: small perturbations in the regularization strength can lead to drastically different generalization, while preserving small training error.
BibTeX
@misc{kur2026grokking,
  author = {Gil Kur and Ileana Rugina and Clémentine Carla Juliette Dominé and Marco Mondelli},
  title = {{Grokking through the Lens of Minimum-Norm Interpolation}},
  year = {2026},
  eprint = {2609.38453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38453},
}
Figure