mlsanityData to 14 Oct 2026

Grokking as Compression: A Nonlinear Complexity Perspective

arXiv 2310.05918 ↗First posted 9 Oct 2023cs.LG cs.AI stat.MLcited by 14

Not on the map. Why?

Abstract (arXiv)

We attribute grokking, the phenomenon where generalization is much delayed after memorization, to compression. To do so, we define linear mapping number (LMN) to measure network complexity, which is a generalized version of linear region number for ReLU networks. LMN can nicely characterize neural network compression before generalization. Although the L2 norm has been a popular choice for characterizing model complexity, we argue in favor of LMN for a number of reasons: (1) LMN can be naturally interpreted as information/computation, while L2 cannot. (2) In the compression phase, LMN has linear relations with test losses, while L2 is correlated with test losses in a complicated nonlinear way. (3) LMN also reveals an intriguing phenomenon of the XOR network switching between two generalization solutions, while L2 does not. Besides explaining grokking, we argue that LMN is a promising candidate as the neural network version of the Kolmogorov complexity since it explicitly considers local or conditioned linear computations aligned with the nature of modern artificial neural networks.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 18 of its 23 references that are in the map. First posted on arXiv 9 Oct 2023.

Builds on

18 of 23 references.

References · 18

  1. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  2. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  3. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  4. 2019Fantastic Generalization Measures and Where to Find Themcited by 513
  5. 2014On the Number of Linear Regions of Deep Neural Networkscited by 381
  6. 2016On the Expressive Power of Deep Neural Networkscited by 306
  7. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
  8. 2023Language Modeling Is Compressioncited by 225
  9. 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
  10. 2019Complexity of Linear Regions in Deep Networkscited by 167
  11. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
  12. 2023Explaining grokking through circuit efficiencycited by 111
6 more
  1. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
  2. 2023Grokking modular arithmeticcited by 83
  3. 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 83
  4. 2023Unifying Grokking and Double Descentcited by 50
  5. 2023Predicting Grokking Long Before it Happens: A look into the loss landscape of models which grokcited by 35
  6. 2020Symbolic Pregression: Discovering Physical Laws from Distorted Videocited by 21

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 4; 2026: 4.

14 papers.

Sort:

By area: