Misalignment of Low-Loss Regions Causes Grokking

Yongding Tian, Zaid Al-Ars, Maksim Kitsak, Peter HofsteearXiv 2026

TL;DR

Grokking isn't a mysterious "emergence" of intelligence; it’s a consequence of geometry. This paper demonstrates that grokking occurs when the low-loss regions of the training and validation sets are misaligned, forcing the model to spend ages in a "training-only" valley before eventually stumbling into the generalizing overlap.

What Problem Does This Paper Address?

"Grokking" is one of the most counterintuitive phenomena in deep learning: a model overfits a small dataset (like modular arithmetic) for thousands of epochs with zero validation improvement, only to suddenly "get it" and generalize perfectly.

While researchers have identified several "indicators" of grokking—such as the formation of Fourier circuits or the "Slingshot effect" (sudden spikes in training loss)—we haven't had a clear causal explanation. Are these indicators the reason for grokking, or just symptoms? This paper seeks a fundamental geometric answer: what is actually happening in the high-dimensional parameter space during that long period of apparent stagnation?

Methods

The authors build a geometric framework based on Mode Connectivity (MC) and Singular Learning Theory (SLT).

  1. Low-Loss Regions (LLRs): They define LLRs as the sets of model weights where the loss is below a certain threshold.
  2. Geometric Analysis: They argue that grokking is a two-stage journey: first, the optimizer enters the training LLR (overfitting); second, it moves from the training-only region into the overlap between the training and validation LLRs (generalizing).
  3. The Anti-Grokking Counterexample: To test their theory, they designed a "symmetry-preserving" data split. In modular addition ($a + b \pmod m$), the operation is commutative. By ensuring that if $(a, b)$ is in the training set, $(b, a)$ is also in the training set, they created a scenario where the model overfits but never generalizes.
  4. Phase Diagrams: They swept hyperparameters (learning rate and weight decay) across different dataset sizes to map out four behaviors: Comprehension (fast generalization), Grokking (delayed generalization), Memorization (no generalization), and Confusion (no learning).
Geometric illustration of LLR misalignment. Grokking happens when the trajectory starts in LLR(D_train) and eventually finds the path to the overlap region A.

Datasets

The study primarily uses modular arithmetic datasets, which are the standard "lab rats" for grokking research:

  • Modular Addition: $D_{mod}(x + y, 97)$.
  • Modular Power: $D_{mod1997}(x^y, n)$, used to study how LLRs change as the domain size $n$ increases.
  • Symmetry-Preserving Split: A custom partition of the modular addition dataset designed to eliminate the "surprisal" of validation samples.

Key Insights and Ideas

  • Misalignment is Causal: Grokking happens because the training data doesn't contain enough "effective information" to perfectly align its low-loss region with the true underlying task. The model finds a "lazy" solution first (memorization) and only finds the "correct" solution (generalization) after extensive wandering.
  • Debunking Correlates: In their "anti-grokking" experiment, the authors observed both the Slingshot effect and the formation of Fourier circuits, yet the model never generalized. This proves these phenomena are correlates, not the root cause of grokking.
  • The Capacity Gap: Grokking is more likely when a model’s expressive capacity is large relative to the information in the training set. As you increase the dataset size, the LLRs shrink and align, causing grokking to disappear in favor of immediate "comprehension."
  • Grokking as a Warning Sign: Rather than seeing grokking as a hidden "emergent ability," the authors suggest it should be viewed as a sign that the training data is insufficient for the model architecture to reach stable generalization easily.
The "anti-grokking" case. Even though the training loss shows the characteristic "Slingshot" spikes, validation accuracy never recovers because the LLRs are fundamentally misaligned.

Key Results

  • Validation of Mode Connectivity: Using the Low-Loss Path Finding (LLPF) algorithm, the authors confirmed that LLRs for these models are single, path-connected manifolds, supporting the "valley" rather than "isolated basin" view of the loss landscape.
  • Phase Shift with Data: As the operand-domain size $n$ increased from 97 to 1997, the number of "Memorization" hyperparameter settings dropped to zero, while "Comprehension" settings became dominant. This quantitatively shows LLRs becoming better aligned with more data.
  • Model Size Impact: Larger models (more layers/heads) were shown to have more misaligned LLRs, making them more prone to memorization or grokking compared to smaller models on the same data.

Limitations and Future Work

  • Noise-Free Data: The modular arithmetic tasks used are perfectly clean. Real-world datasets contain noise, which might make LLRs "messier" and change the dynamics.
  • Defining Symmetry: The "anti-grokking" split relies on mathematical symmetry ($a+b=b+a$). It is currently unclear how to define or enforce similar "symmetry-aware" splits for complex data like images or natural language.
  • Entropy Measures: The authors call for a more formal information-theoretic measure of "effective information" that accounts for task knowledge, rather than just counting raw samples.

Summary updated

BibTeX
@misc{tian2026misalignment,
  author = {Yongding Tian and Zaid Al-Ars and Maksim Kitsak and Peter Hofstee},
  title = {{Misalignment of Low-Loss Regions Causes Grokking}},
  year = {2026},
  eprint = {2610.00620},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.00620},
}
Figure