Grokking as Compression: A Nonlinear Complexity Perspective
Ziming Liu, Ziqian Zhong, Max Tegmark

TL;DR
This paper links the phenomenon of grokking to neural network compression by introducing LMN, a new complexity measure that better explains generalization delays and network behavior than traditional norms.
Contribution
The paper proposes LMN as a novel complexity measure for neural networks, providing insights into grokking and network compression, and offers a new perspective on model complexity and generalization.
Findings
LMN correlates linearly with test loss during compression.
LMN reveals XOR network switching behavior.
LMN serves as a neural version of Kolmogorov complexity.
Abstract
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 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 cannot. (2) In the compression phase, LMN has linear relations with test losses, while 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 does not. Besides explaining grokking, we argue that LMN is a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications · Sparse and Compressive Sensing Techniques · Face and Expression Recognition
