Saved in:
Bibliographic Details
Main Author: Musat, Tiberiu
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.01938
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913174563848192
author Musat, Tiberiu
author_facet Musat, Tiberiu
contents Grokking is a puzzling phenomenon in neural networks where full generalization occurs only after a substantial delay following the complete memorization of the training data. Previous research has linked this delayed generalization to representation learning driven by weight decay, but the precise underlying dynamics remain elusive. In this paper, we argue that post-memorization learning can be understood through the lens of constrained optimization: gradient descent effectively minimizes the weight norm on the zero-loss manifold. We formally prove this in the limit of infinitesimally small learning rates and weight decay coefficients. To further dissect this regime, we introduce an approximation that decouples the learning dynamics of a subset of parameters from the rest of the network. Applying this framework, we derive a closed-form expression for the post-memorization dynamics of the first layer in a two-layer network. Experiments confirm that simulating the training process using our predicted gradients reproduces both the delayed generalization and representation learning characteristic of grokking.
format Preprint
id arxiv_https___arxiv_org_abs_2511_01938
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifold
Musat, Tiberiu
Machine Learning
Artificial Intelligence
Grokking is a puzzling phenomenon in neural networks where full generalization occurs only after a substantial delay following the complete memorization of the training data. Previous research has linked this delayed generalization to representation learning driven by weight decay, but the precise underlying dynamics remain elusive. In this paper, we argue that post-memorization learning can be understood through the lens of constrained optimization: gradient descent effectively minimizes the weight norm on the zero-loss manifold. We formally prove this in the limit of infinitesimally small learning rates and weight decay coefficients. To further dissect this regime, we introduce an approximation that decouples the learning dynamics of a subset of parameters from the rest of the network. Applying this framework, we derive a closed-form expression for the post-memorization dynamics of the first layer in a two-layer network. Experiments confirm that simulating the training process using our predicted gradients reproduces both the delayed generalization and representation learning characteristic of grokking.
title The Geometry of Grokking: Norm Minimization on the Zero-Loss Manifold
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2511.01938