Grokking Beyond Neural Networks: An Empirical Exploration with Model Complexity
Jack Miller, Charles O'Neill, Thang Bui
TL;DR
This work broadens the grokking phenomenon beyond neural networks by showing its presence in Gaussian processes, linear models, and Bayesian neural networks, and introduces a model-agnostic mechanism tied to the balance between error and complexity. A novel concealment data-augmentation strategy demonstrates how grokking can be induced in algorithmic tasks, and parameter-space analyses reveal how grokking maps onto transitions between high- and low-complexity solution regions. The authors connect prior loss-, representation-, and NTK-based theories under a unified, parsimony-driven framework and argue that grokking is fundamentally model-agnostic, arising whenever solution search is guided by both error and complexity. The findings have implications for understanding generalisation dynamics in a wide range of models and datasets, with practical relevance for mitigating or leveraging late generalisation in real-world applications.
Abstract
In some settings neural networks exhibit a phenomenon known as \textit{grokking}, where they achieve perfect or near-perfect accuracy on the validation set long after the same performance has been achieved on the training set. In this paper, we discover that grokking is not limited to neural networks but occurs in other settings such as Gaussian process (GP) classification, GP regression, linear regression and Bayesian neural networks. We also uncover a mechanism by which to induce grokking on algorithmic datasets via the addition of dimensions containing spurious information. The presence of the phenomenon in non-neural architectures shows that grokking is not restricted to settings considered in current theoretical and empirical studies. Instead, grokking may be possible in any model where solution search is guided by complexity and error.
