Explore the research collection
2 entries · Follow this search
- Post
SGD, AdamW, and the mystery of α = 2
Charles Martin (WeightWatcher author) offers an explanation for why WeightWatcher's spectral renormalization-group diagnostics behave differently under SGD and AdamW: layer spectral exponents α often approach the ≈2 marginal regime with SGD, but with AdamW many layers land at α < 2 — the regime he flags as possible overtraining. The paradox: in his LeNet-5-on-MNIST example, the AdamW run (α < 2) has better test accuracy than the SGD run (α ≈ 2). His answer: SGD is scale-invariant — for an idealized scale-invariant loss, rescaling weights W → bW, WᵀW → b²X and learning rate η → b²η yields a rescaled copy of the same trajectory, and this symmetry underlies the RG-flow emergence and Exact RG fixed-point conditions — whereas AdamW's adaptive normalization changes the scaling law (learning rate scales as b rather than b² in the idealized limit), breaking the SGD scaling symmetry and shifting the spectral trace-log drift. Working hypothesis: SGD scale-invariance is consistent with the RG flow, while AdamW's implicit bias moves learning away from the α ≈ 2 regime — which explains why WeightWatcher worked well in the pre-AdamW era and why modern-optimizer models are harder to analyze. A standing research question, not a publication; discussion invited on the WeightWatcher Discord.
- 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.