Using physics-inspired Singular Learning Theory to understand grokking & other phase transitions in modern neural networks
Anish Lakkapragada
TL;DR
This paper argues that singularity in neural networks undermines classical statistical guarantees and proposes Singular Learning Theory (SLT) as a physics-inspired framework to study learning dynamics via the free energy $F_n$ and local learning coefficients $\lambda_\alpha$. It empirically tests SLT in toy settings, examining an Arrhenius-style rate hypothesis for grokking and phase transitions, and explores how LLC scales with problem difficulty across polynomial regressors, low-rank matrix factorization, and autoencoders. Some experiments align with SLT predictions (e.g., LLC scaling in low-rank factorization; linear LLC in bottleneck autoencoders), while others yield mixed or inconclusive results, highlighting both the strengths and limits of SLT in practical neural settings. The work establishes SLT as a promising tool for understanding neural phase transitions and outlines concrete open questions for future research, including methods to estimate free-energy barriers and the impact of domain constraints on singularities.
Abstract
Classical statistical inference and learning theory often fail to explain the success of modern neural networks. A key reason is that these models are non-identifiable (singular), violating core assumptions behind PAC bounds and asymptotic normality. Singular learning theory (SLT), a physics-inspired framework grounded in algebraic geometry, has gained popularity for its ability to close this theory-practice gap. In this paper, we empirically study SLT in toy settings relevant to interpretability and phase transitions. First, we understand the SLT free energy $\mathcal{F}_n$ by testing an Arrhenius-style rate hypothesis using both a grokking modulo-arithmetic model and Anthropic's Toy Models of Superposition. Second, we understand the local learning coefficient $λ_α$ by measuring how it scales with problem difficulty across several controlled network families (polynomial regressors, low-rank linear networks, and low-rank autoencoders). Our experiments recover known scaling laws while others yield meaningful deviations from theoretical expectations. Overall, our paper illustrates the many merits of SLT for understanding neural network phase transitions, and poses open research questions for the field.
