Explore the research collection
2 entries · Follow this search
- Paper
A Theoretical Analysis of Generalization Dynamics in Neural Networks under Gradient Descent with Weight Decay
Theoretical framework characterizing how data, architecture, and training dynamics jointly shape generalization throughout training. Studies neural networks trained with L2 loss by gradient descent with weight decay; proves GD converges to a neighbourhood of the global minimizers of the empirical loss, then partitions the input space into data-centered cells and decomposes population risk into three explicit terms: E_opt (optimization error on training data), E_PV (propagation-variation error: how predictions oscillate within each cell), and E_A (approximation error: how far ground truth is from the function class). The culprit behind memorization without generalization is E_PV: E_opt vanishes early while E_PV stays large. Under approximate Euler homogeneity, layerwise variation satisfies a differential inequality with explicit contraction rate lambda_l >= 1 - 2(1 + L) eta_2 lambda-bar, bounding E_PV by the initial hypothesis variation decaying exponentially in steps at a rate proportional to weight decay. Yields a closed-form grokking residency time (Steps ~ Omega(log(Initial_Var / budget) / (lambda-bar * eta_2 * sum L_l))): weight decay accelerates generalization, deeper networks contract faster, smoother initialization shortens the delay. Bounds are qualitative -- constants depend on suprema over parameter balls and loss smoothness, so they give rates and scaling laws, not exact step counts.
- Paper
Late-Stage Generalization Collapse in Grokking: Detecting anti-grokking with WeightWatcher
Extended WeightWatcher/HTSR–SETOL study (Prakash & Martin; UCSD / Calculation Consulting; builds on arXiv 2506.04434 workshop version) trains a 3-layer MLP on 1k MNIST and a modular-addition transformer far beyond typical horizons (~10^7 steps) and finds a third phase—anti-grokking—where test accuracy collapses toward chance while train accuracy stays perfect. Primary diagnostic: Correlation Traps (MP-bulk outliers in shuffled layer spectra); secondary: average HTSR α departing from ≈2. Competing grokking progress measures miss this phase. MLP collapse ties to prototype memorization (α<2); modular-addition traps induce catastrophic forgetting (α>2). Similar α<2 pathologies noted in gpt-oss-20B/120B.