atlas

Research map / Learning theory and algorithms / Kernels and regression theory

Grokking in Linear Estimators -- A Solvable Model that Groks without Understanding

ICLR 2024 · Learning theory and algorithms › Kernels and regression theory · approach: High-dimensional asymptotic generalization · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Analytically solves gradient-flow training of linear teacher-student networks with MSE classification, showing grokking arises from generalization loss decaying slower than training loss and is an artifact of the accuracy measure.

Problem

Explaining why grokking (delayed generalization long after training fit) occurs, in the simplest solvable setting of linear networks on linear tasks with Gaussian inputs.

Approach

Derives exact gradient-flow training and generalization loss dynamics for a linear teacher-student model using random matrix theory (Marchenko-Pastur eigenvalue distribution of the training Gram matrix), mapping loss to threshold accuracy via an Erf/chi-square formula, and shows grokking time is governed mainly by lambda = d_in/N_tr.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the input-dimension-to-training-sample ratio λ toward 1Linear estimator · Gaussian teacher-student setupgrokking time: maximal near λ ≃ 1; vanishes for λ ≃ 0Helped
Rescale the student weight initializationLinear estimator · Gaussian teacher-student setupgrokking time: \mathcal{L}\to \frac{1+\alpha^2}{2} \mathcal{L}Hurt
Increase output dimension d_outLinear estimator · Gaussian teacher-student setupgrokking time: d_\mathrm{out}^\mathrm{max}\simeq 50Mixed
Add L2 weight decay in the overparameterized regimeLinear estimator · Gaussian teacher-student setup, λ > 1grokking time: 1/\gammaHurt
Add L2 weight decay in the underparameterized regimeLinear estimator · Gaussian teacher-student setup, λ < 1grokking time: \Delta t_\mathrm{grok} \simeq \tfrac{\log (1 + \sqrt{\lambda })}{2 \eta _0 (1-\sqrt{\lambda })^2}Mixed
Add training label noiseLinear estimator · Gaussian teacher-student setupgeneralization accuracy: \sigma^2_\deltaHurt
Use a deeper network with one hidden layer and linear activationsLinear estimator · Gaussian teacher-student setuptraining and generalization dynamicsNo clear effect
Use tanh activations in a two-layer MLPLinear estimator · Gaussian teacher-student setuptraining and generalization dynamicsNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic Gaussian teacher-student data

Metrics: training loss generalization loss training accuracy generalization accuracy grokking time

Builds on: Marchenko-Pastur law neural tangent kernel grokking (Power et al.)

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy