Neural-network training exhibits a puzzling phenomenon: models first reach 100% training accuracy but poor test performance, a memorization phase; later, despite unchanged training loss, test accuracy suddenly rises toward generalization. This abrupt transition from memorization to generalization is called grokking.
Grokking matters for three reasons:
Grokking is usually studied in:
Classic experimental frameworks: Modular arithmetic, such as a + b mod p, and student-teacher settings. These simple, controlled tasks have clear memorization→generalization stages for detailed dynamics analysis.
Standard metrics include:
Several theoretical explanations offer insights without unified consensus:
Among these, Phase-transition perspective has drawn attention by connecting to mature frameworks such as statistical physics and Singular Learning Theory (SLT), enabling deeper theoretical predictions.
Title: Grokking as Dimensional Phase Transition in Neural Networks
Source: arXiv 2604.04655 (April 2026)
Core contribution: Finite-size scaling reveals that grokking corresponds to effective gradient-space dimensionality crossing from sub-diffusive (D < 1) to super-diffusive (D > 1) behavior, clarifying the geometric mechanism behind the transition.
Existing explanations focus on representations or network structure, leaving why grokking looks qualitatively similar across model topologies insufficiently answered. This motivates the hypothesis that grokking reflects not architecture-specific behavior but an intrinsic geometric property of gradient dynamics.
The authors quantify gradient-vector-field geometry in parameter space using effective dimension—how fully gradients occupy high-dimensional space—to track qualitative changes during training.
Given gradients $\{\nabla_\theta L(\theta(t), x_i) : i=1,\ldots,N\}$ at time $t$, with $N$ training examples, effective dimension is defined as:
D(t) = (Σ λ_i)² / Σ λ_i²
Here $\lambda_i$ are gradient-covariance eigenvalues. Derived from the Rao–Cramér bound, this measures gradient spread in parameter space.
Setting: Finite-size scaling uses modular arithmetic ($a + b \bmod p$) at 8 model sizes, with 50+ independent runs per size for robust statistics.
Key controls: To separate gradient-covariance geometry from backpropagation-specific correlations, compare:
Real gradients show clear $D$ excess, while synthetic gradients remain at $D \approx 1$, indicating that backpropagation correlations drive the dimensional crossing.
The authors connect observations to statistical-physics SOC, where systems spontaneously approach criticality with long-range correlations and power laws. They argue:
Gradient-dimensional crossing signals evolution toward criticality. Near that point, sensitivity to parameter perturbations peaks, matching rapid test-accuracy changes during grokking.
| Dimensional phase | Model-size range | $D(t)$ trajectory | Observed robustness |
|---|---|---|---|
| Early (memorization) | All tested sizes | $D \approx 0.2\sim0.5$ (sub-diffusive) | Consistent across 8 topologies |
| Transition interval | All tested sizes | $D$ rises from $\sim 0.5$ to $\sim 1.5\sim 2.0$ | Smooth but accelerating increase |
| Late (generalization) | All tested sizes | $D \approx 1.8\sim 2.5$ (super-diffusive) | Remains stable |
Quantitative features: Across all 8 tested models, the transition when $D$ crosses $D=1$ and the first substantial test-accuracy increase, such as 5%→50%, closely coincide (Pearson $r > 0.95$), strongly supporting dimensional transition as a grokking trigger.
The argument connects problem, insight, and method as follows:
Research on grokking and phase transitions follows intertwined threads:
Key work: Power et al. (2022), “Grokking: Generalization beyond Overfitting on Small Algorithmic Datasets”
This pioneering work first systematically observed and named grokking. On simple modular arithmetic, models fit training data before a large test-accuracy jump, a delayed-generalization phenomenon previously little studied systematically. Power et al. contributed by:
Four major explanatory threads followed:
(1a) Circuit formation(Nanda et al., 2023, etc.) emphasizes efficient computational subgraphs forming during grokking; their formation time explains delayed generalization.
(1b) Representation learning(Liu et al., 2022, etc.) sees gradual evolution from random features to structured representations: high-dimensional noisy features during memorization, compressed meaningful low-dimensional representations during generalization.
(1c) Efficiency learning(Varma et al., 2023) studies gradual improvement in encoding efficiency, representing the same data with fewer parameters.
Key work 2a: Rubin et al. (2024), “Grokking as a First Order Phase Transition in Two Layer Networks” (ICLR 2024)
A milestone for this perspective, Rubin and colleagues use adaptive kernels—a recent feature-learning theory tool—to rigorously model two-layer-network grokking as a physical first-order phase transition.
Core findings:
Rubin supplies rigorous mathematical foundations, but largely for special two-layer tasks; generality remains limited.
Key work 2b: Watkins et al. (2024), “Grokking as a Phase Transition between Competing Basins: a Singular Learning Theory Approach”
This work uses Singular Learning Theory (SLT), developed by Watanabe and others for complex models such as neural networks, to revisit grokking.
SLT's free energy generalizes AIC/BIC. Analyzing its topological changes, Watkins et al. show:
Key work 3: Ghavasieh et al. (2024–2025), “Self-organized criticality in neural networks,” and related work
This thread introduces self-organized criticality (SOC) from studies of sandpiles, earthquakes, brain dynamics, and other complex systems. SOC predicts spontaneous evolution toward scale-invariant, power-law critical states.
In neural-network training, SOC appears as:
The core paper and contemporaneous work
By introducing effective dimension as a quantitative tool, 2026 work including arXiv 2604.04655 offers a unified geometric view:
Despite these insights, key questions remain:
This section adds independent assessment of the paper's value and limitations.
Question: The paper reports $D(t)$ over time and alignment with test-accuracy transitions. But are key metrics omitted??
My analysis:
Conclusion: Metric selection is reasonable, but linking dimensional transitions to data complexity and quantifying transition smoothness need work. “Dimensional transitions explain grokking” should specify that the explanation addresses when it occurs, with limited predictive power over how gradual the transition is.
Question: Are extra hyperparameters introduced, and are settings shared or dataset-specific?
My analysis:
The covariance-derived definition of $D(t)$ is parameter-free, but its interpretation uses thresholds:
Conclusion: Parameter-free effective dimension is an advantage, but justification for $D=1$ is more retrospective observation than prior theoretical derivation. This limits prediction: observed phenomena can be explained afterward, but new models/tasks still require empirical validation.
Question: Does the central “dimensional transition causes generalization” claim reflect a new mechanism or merely more detailed covariance statistics?
My analysis:
The control design is strong:
This clearly indicates that excess dimension arises from backpropagation structure rather than gradient space's natural high dimensionality. Thus the gain is identifying a new mechanism, not merely refining statistics.
Potential omission: Experiment A does not report whether stochastic versus full gradients or different batch sizes change transition timing/magnitude, raising the effect of estimation noise on dimensional measurement.
Conclusion: The core relation—dimension excess ⇔ backpropagation structure—is well isolated, but robustness across gradient estimators remains untested.
Question: Are full $D(t)$ trajectories reported, and does transition time scale predictably with system size?
My analysis:
An advantage is reporting complete $D(t)$ trajectories rather than single points, exposing transition smoothness and excess-growth rates.
Finite-size scaling covers 8 model sizes, but the relationship between transition time $t_c$ and parameter count $m$ is not explicitly reported, such as $t_c \propto m^\alpha$. This matters for predicting/controlling delay.
Conclusion: Curves are welcome, but quantitative cross-scale scaling laws are missing, limiting predictive power.
Question: When does the claim fail? Are counterexamples reported?
My analysis:
Every reported experiment aligns dimension changes with grokking, but many realistic conditions could break this correspondence:
Conclusion: Failure conditions and boundaries are not systematically explored, limiting theoretical completeness and practicality.
Question: Does the scope of the fundamental-explanation claim match experiments?
My analysis:
Claims have several levels:
The paper's The title/abstract lean toward broad Level 3–4 claims, while evidence mainly supports Levels 1–2, risking overgeneralization of a setting-specific finding.
Conclusion: The paper should distinguish demonstrated from conjectured claims more carefully; current wording suggests stronger universality than warranted.
Question: Are code, weights, data, and configurations public?
My analysis: The arXiv abstract page gives no explicit code-release address. Modular arithmetic is deterministic, but covariance estimation/eigenvalue ordering involve numerical details whose implementations may differ subtly.
Conclusion: Full code/data release after acceptance is strongly recommended.
| The paper | Source | Resource links |
|---|---|---|
| Grokking as Dimensional Phase Transition in Neural Networks | arXiv 2604.04655 (2026.04) | 📄 Abstract page | 📑 PDF | 🌐 HTML |
| Title and authors | Source / year | Key Contributions | Link |
|---|---|---|---|
| Grokking: Generalization beyond Overfitting on Small Algorithmic Datasets Power et al. |
ICLR 2023 | First systematic discovery and naming of grokking | OpenReview |
| Grokking as a First Order Phase Transition in Two Layer Networks Rubin et al. |
ICLR 2024 | Rigorous adaptive-kernel/phase-transition analysis of grokking | arXiv | PDF |
| Using physics-inspired Singular Learning Theory to understand grokking & other phase transitions in modern neural networks Watkins et al. |
arXiv 2512.00686 (2025.12) | SLT analysis of free-energy transitions in grokking | arXiv | HTML |
| Grokking as a Phase Transition between Competing Basins: a Singular Learning Theory Approach Watkins et al. |
arXiv 2603.01192 (2026.03) | Competing-basin transitions from an SLT perspective | arXiv |
| Self-organized criticality in neural networks Ghavasieh et al. |
arXiv 2107.03402 (2021.07) | Self-organized criticality in neural-network learning | arXiv |
| Model Capacity Determines Grokking through Competing Memorisation and Generalisation Speeds Liu et al. |
arXiv 2605.09724 (2026.05) | Grokking through competing memorization/generalization rates | arXiv |
| Grokking Explained: A Statistical Phenomenon anon. |
arXiv 2502.01774 (2025.02) | Statistical explanations of grokking | arXiv |
| The Implicit Bias of Depth: From Neural Collapse to Softmax Codes Kakade et al. |
arXiv 2605.23087 (2026.05) | Gradient-descent implicit bias and neural collapse | arXiv |
| The Anatomy of Implicit Bias: Information Allocation in Neural Network Training Ma et al. |
arXiv 2607.07156 (2026.07) | Implicit bias and gradient structure | arXiv |
| Unified Convergence Analysis for Gradient Descent Optimization Methods Wang et al. |
arXiv 2607.04233 (2026.07) | Unified gradient-descent convergence analysis | arXiv |
| A Survey of Optimization Methods for Training DL Models: Theoretical Perspective on Convergence and Generalization Li et al. |
arXiv 2501.14458 (2025.01) | Survey of optimization convergence and generalization | arXiv |
| Scaling Laws are Redundancy Laws: Entropy and Information in Learning Curves Bouchacourt et al. |
arXiv 2509.20721 (2025.09) | Scaling laws and redundancy | arXiv |
| Scaling Laws for Uncertainty in Deep Learning Paitz et al. |
arXiv 2506.09648 (2025.06) | Uncertainty and scaling laws in deep learning | arXiv |
The core paper, arXiv 2604.04655, introduces effective gradient-space dimension as a diagnostic for a new geometric perspective on grokking. Its main value:
However, its current applicability is limited: all validation uses small modular-arithmetic tasks. Whether dimension changes drive grokking in practical image classification or language-model training remains open.
Questions deserving immediate attention:
| Problem | Expected benefit | Implementation difficulty | Priority |
|---|---|---|---|
| Realistic-scale validation: Observe gradient dimension/generalization on CIFAR-10 / ImageNet | Very high (determines practical value) | Moderate (large-scale experimental infrastructure) | 🔴 Highest |
| Multilevel analysis: Track dimensions layer by layer and understand dependencies | High (explains internal learning specialization) | Moderate (fine-grained gradient analysis) | 🟡 High |
| Active intervention: Control dimension through regularization/architecture and test grokking delays | High (from observation to control) | High (new optimization techniques) | 🟡 High |
| Threshold theory: Derive the critical threshold from first principles—why D=1? | Moderate (theoretical completeness) | Very high (deep mathematical-physics insight) | 🟢 Medium |
| Failure map: Systematically enumerate noise, strong-regularization, overparameterization boundaries | Moderate (theoretical robustness) | Low (primarily experiments) | 🟡 High |
| Unification: Rigorously connect dimensional transitions with SLT, SOC, and implicit bias | High (theoretical depth) | Very high (multidisciplinary collaboration) | 🟢 Medium |
Short term (3–6 months):
Medium term (6–18 months):
Long term (18+ months):
This work advances theoretical deep learning from describing phenomena toward mechanisms. Gradient dimension supplies a physically interpretable diagnostic, but its real strength depends on retaining explanatory power when moving from toy problems to realistic tasks. Evidence supports depth in small controlled settings; universality still requires substantial empirical work.