Grokking Metrics Overstate Compression; Lag Between Accuracy and Representation

Truong Xuan Khanh· July 9, 2026 View original

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.

Who benefits

AI/ML ResearchDeep Learning EngineeringAcademia

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.

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