Skip to content

How to Tame Grokking: Representation Geometry as a Control Signal

Jul 2026 · arXiv.org · Vol abs/2607.11666 · 1 citation · 26 references
Computer Science

TL;DR

It is found that dimensionality collapse consistently precedes the onset of grokking in all evaluated settings, and Geometric Dimensionality Regularization (GeomDR), a simple spectral regularizer that modifies the effective dimensionality of hidden representations during training is introduced.

Abstract

Grokking is a phenomenon in which neural networks initially memorize training data and only later exhibit strong generalization after prolonged optimization. Despite extensive recent study, the factors influencing the emergence and timing of grokking remain incompletely understood. We investigate the relationship between representation geometry and delayed generalization. We find that dimensionality collapse consistently precedes the onset of grokking in all evaluated settings. Motivated by these observations, we introduce Geometric Dimensionality Regularization (GeomDR), a simple spectral regularizer that modifies the effective dimensionality of hidden representations during training. Across modular addition, modular division, and permutation composition tasks, GeomDR consistently alters grokking dynamics and can substantially accelerate the onset of generalization depending on the intervention schedule and target dimensionality. In several settings, grokking is accelerated by up to 52 times relative to standard AdamW training. Similar qualitative effects are observed in both multilayer perceptrons and transformers. Together, these results suggest that representation geometry can serve as an effective control signal for grokking and provide evidence that geometric interventions offer a practical approach for studying and influencing delayed generalization in neural networks.

View source

Similar papers

Preprint Aug 2026

Tunneling the Loss Landscape: Bypassing Memorization with Monte Carlo Parameter Swapping

Grokking is a striking phenomenon in neural network training, where a model can undergo a prolonged period of pure memorization before abrupt generalization. While previous works have attempted to interpret it through classical machine learning mechanisms like weight norm, recent research draws an analogy from statisti...

Lai Shun Chan, Xiaotian Zhang, Yue Shang et al. · 1 citation
#machine learning Preprint Aug 2026

Canalization Before Generalization: Grokking as a Dynamical Probe

For overparameterized neural networks, many solutions can fit the training data equally well while behaving very differently on unseen samples. Grokking separates training fit from visible generalization, providing a window for studying how this selection develops during training. We sweep short, fixed-duration weight-...

Yi-Min Lin · 1 citation
#artificial intelligence Preprint Sep 2026

A Spectral Theory of Grokking: Weight Decay induces Feature Learning

In grokking an early fit to the training data separates from a much later improvement in generalization. During this delay, training can move from a fixed neural tangent kernel (NTK) regime to one in which task-relevant kernel eigendirections continue to evolve. We provide a quantitative theory for how this transition...

Lenz Pracher, Pascal de Jong, Oskar Lieshaus et al. · 0 citations
#small language model Preprint Aug 2026

Biologically Inspired Mechanisms for Facilitating Grokking in Multilayer Perceptrons

The results support the common principle that explicit regulation of neuron utilization and effective connectivity can improve the emergence of generalizable internal computation and motivate broader investigation of biologically inspired activity regulation and adaptive sparsification, including in large language mode...

Florin Leon · 0 citations
#artificial intelligence Preprint Sep 2026

When Models Don't Manipulate Manifolds: The Geometry of a Comparison Task

This work characterize precisely the geometry of computation in a number-comparison task, as an abstraction of comparison for decision making, and how models utilize geometry in an elegant fashion to implement it, demonstrating that the manifold hypothesis can co-exist with linear representations.

Sai Sumedh R. Hindupur, Hadas Orgad, Thomas Fel et al. · 0 citations
#machine learning Preprint Sep 2026

Structured Features Overfit Where Random Features Grok

Xu, Vardi and Safran (ICML 2026) prove that over-parameterized ridge regression over an unstructured random Gaussian feature map groks, with the delay between memorization and generalization growing as $1/\lambda$ in the weight decay. We show that on a structured feature map the same delay does not appear. For a band-l...

Chon-Fai Kam, M. Bessafi, Frédéric Cadet · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.