mlsanityData to 14 Oct 2026

Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory

arXiv 2605.12394 ↗First posted 12 May 2026cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Training Neural Networks (NNs) without overfitting is difficult; detecting that overfitting is difficult as well. We present a novel Random Matrix Theory method that detects the onset of overfitting in deep learning models without access to train or test data. For each model layer, we randomize each weight matrix element-wise, W → Wrand, fit the randomized empirical spectral distribution with a Marchenko-Pastur distribution, and identify large outliers that violate self-averaging. We call these outliers Correlation Traps. During the onset of overfitting, which we call the "anti-grokking" phase in long-horizon grokking, Correlation Traps form and grow in number and scale as test accuracy decreases while train accuracy remains high. Traps may be benign or may harm generalization; we provide an empirical approach to distinguish between them by passing random data through the trained model and evaluating the JS divergence of output logits. Our findings show that anti-grokking is an additional grokking phase with high train accuracy and decreasing test accuracy, structurally distinct from pre-grokking through its Correlation Traps. More broadly, we find that some foundation-scale LLMs exhibit the same Correlation Traps, indicating potentially harmful overfitting.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 10 of its 27 references that are in the map. First posted on arXiv 12 May 2026.

Builds on

10 of 27 references.

References · 10

  1. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  2. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  3. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  4. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
  5. 2018Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learningcited by 215
  6. 2020Predicting trends in the quality of state-of-the-art neural networks without access to training or testing datacited by 115
  7. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 79
  8. 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 41
  9. 2025SETOL: A Semi-Empirical Theory of (Deep) Learningcited by 12
  10. 2025Risk Phase Transitions in Spiked Regression: Alignment Driven Benign and Catastrophic Overfittingcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.