Grokking Metrics Overstate Compression; Lag Between Accuracy and Representation

Truong Xuan Khanh· July 9, 2026 View original

Summary

This paper reveals that common metrics for "grokking" (sudden generalization) overstate representation compression by 3-5x in MLPs and 1.3-1.5x in transformers, as compression lags accuracy by thousands of steps. It introduces an audit toolkit to accurately measure grokking.

This research challenges the conventional understanding and measurement of "grokking," a phenomenon where neural networks suddenly generalize to unseen data long after achieving high training accuracy. The authors demonstrate that metrics commonly used to assess representation compression during grokking significantly overstate the actual converged values. For instance, effective rank measurements taken at the grokking transition point can be 3 to 5 times higher than the true converged value for MLPs and 1.3 to 1.5 times higher for transformers. A key finding is that the compression of network representations lags the accuracy transition by tens of thousands of steps, rather than coinciding with it. The study identifies factors like LayerNorm as influencing this lag. To address these measurement inaccuracies, the paper proposes a new audit toolkit designed to separate the onset of generalization from the actual compression, flag censoring, and ensure reference floors have plateaued, providing a more valid assessment of grokking.

Why it matters

Accurate measurement of grokking and representation learning is critical for understanding and improving neural network training dynamics, especially for developing more efficient and robust AI models.

How to implement this in your domain

  1. 1Adopt the proposed audit toolkit for evaluating representation metrics in your own grokking experiments.
  2. 2Re-evaluate past grokking studies or internal experiments using the new measurement validity audit.
  3. 3Consider the lag between accuracy and representation compression when interpreting training dynamics.
  4. 4Investigate the impact of architectural choices like LayerNorm on the timing and extent of representation compression.

Who benefits

AI/ML ResearchDeep Learning EngineeringAcademia

Key takeaways

  • Existing grokking representation metrics often significantly overstate actual compression.
  • Representation compression lags generalization accuracy by thousands of training steps.
  • Architectural components like LayerNorm can influence the timing of compression.
  • A new audit toolkit is proposed for more accurate measurement of grokking phenomena.

Original post by Truong Xuan Khanh

"arXiv:2607.06639v1 Announce Type: cross Abstract: On modular arithmetic, a network's embedding keeps compressing for tens of thousands of steps after it has already generalized. Reading effective rank at the grokking transition overstates the converged value by 3-5x on an MLP, an…"

View on X

Originally posted by Truong Xuan Khanh on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Research

AI ResearchAI Engineering & DevTools

Transformers Learn Non-Invertible Modular Multiplication via Stratified Fourier Mechanisms.

This research investigates how small transformers learn modular integer multiplication over composite moduli, a non-invertible operation. It proposes the "monoid extension" theory, suggesting models partition input space into hierarchical algebraic regions where Fourier mechanisms apply, explaining how embeddings, attention, and local features contribute to the computation.

Zitong Andrew Chen, Junaid Hasan, Akhil Srinivasan, Hemkesh Bandi, Jarod AlperJul 9, 2026
AI Engineering & DevToolsAI Research

New Interpretable Model Handles Feature Interactions in Tabular Data.

This paper introduces Interaction Aware Interpretable Machine Learning (IAIML), a framework for tabular data that addresses the limitation of traditional interpretable models in capturing feature interactions. IAIML uses adaptive discretization, pairwise interaction scoring, and a partitioned explanation budget to achieve high accuracy while maintaining interpretability.

Srikumar KrishnamoorthyJul 9, 2026
AI ResearchAI Engineering & DevTools

Principles of Deep Feedforward ReLU Networks Unveiled.

This paper systematically studies the mechanisms of deep feedforward ReLU networks, generalizing principles from two-layer networks to deeper architectures. It explains how hidden-layer units form piecewise linear manifolds to divide input space and how paths and their relationships are central to understanding the back-propagation training solution.

Changcun HuangJul 9, 2026