← 研踪 PaperTrailarXiv:2612.03180 · v2
Algebraic Generalization through Coherent Bridges: Grokking as a Delayed Regime
首次提交 2026-12-02 13:16
版本更新 2026-12-03 21:53
雷达观测 2026-12-04 13:04
摘要
Grokking is the temporal order where training targets become correct first, held-out targets much later, and fitted behavior persists. We test the algebraic process beneath that order on modular arithmetic. A frozen 36-run multiplication intervention fixes sample counts and marginal frequencies while keeping the modular relation, removing all length-three paths to held-out pairs, or randomizing labels. All 12 intact runs reach persistent 99% held-out capability versus 0/24 controls; median true-answer log-probability changes are +4.742, -5.263, and -6.717 (signed margins +11.207, -8.204, and -9.154). A matched 12-run counterfactual intervention keeps bridges coherent while replacing each product z by z^5 mod 97: median counterfactual capability is 1.0000 (0.5082--1.0000) versus 0.0614 for ordinary multiplication (91.43%--93.87% of acquired targets are wrong under ordinary multiplication). In Z_97, each complete nonzero path uniquely determines its held-out product; we call such a path an algebraically coherent bridge (ACB). From known-path predictions alone, 64 ACBs per target rank the true product highest for every held-out target in all nine configurations at interpolation, even at 0.388 direct capability. Exact dense replays show population scores and margins rising until held-out capability exceeds 0.95 in all three primary seeds. Finally, holding model, division task, split, seeds, and ACBs fixed, weight decay 1 yields early crossing, whereas zero decay drives margins far negative before crossing after 174,000 and 669,000 steps in two seeds (negative in the third). ACBs determine whether shared updates form a directional readout and which solution it targets; optimization determines temporal order. Grokking is this process's delayed, preserving regime and does not require weight decay.
作者备注:11 pages, 3 figures, 8 tables
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v2 · 2026-12-03 21:53 · 最新观测版本
Algebraic Generalization through Coherent Bridges: Grokking as a Delayed Regime
Grokking is the temporal order where training targets become correct first, held-out targets much later, and fitted behavior persists. We test the algebraic process beneath that order on modular arithmetic. A frozen 36-run multiplication intervention fixes sample counts and marginal frequencies while keeping the modular relation, removing all length-three paths to held-out pairs, or randomizing labels. All 12 intact runs reach persistent 99% held-out capability versus 0/24 controls; median true-answer log-probability changes are +4.742, -5.263, and -6.717 (signed margins +11.207, -8.204, and -9.154). A matched 12-run counterfactual intervention keeps bridges coherent while replacing each product z by z^5 mod 97: median counterfactual capability is 1.0000 (0.5082--1.0000) versus 0.0614 for ordinary multiplication (91.43%--93.87% of acquired targets are wrong under ordinary multiplication). In Z_97, each complete nonzero path uniquely determines its held-out product; we call such a path an algebraically coherent bridge (ACB). From known-path predictions alone, 64 ACBs per target rank the true product highest for every held-out target in all nine configurations at interpolation, even at 0.388 direct capability. Exact dense replays show population scores and margins rising until held-out capability exceeds 0.95 in all three primary seeds. Finally, holding model, division task, split, seeds, and ACBs fixed, weight decay 1 yields early crossing, whereas zero decay drives margins far negative before crossing after 174,000 and 669,000 steps in two seeds (negative in the third). ACBs determine whether shared updates form a directional readout and which solution it targets; optimization determines temporal order. Grokking is this process's delayed, preserving regime and does not require weight decay.
查看此版本解读 →查看此版本原文 ↗v1 · 2026-12-02 13:16
Grokking Is a High-Overlap, High-Capacity Regime of Ordinary Training
In the original modular-arithmetic setting, Grokking is the delayed acquisition of held-out targets after a neural network has interpolated its training set while fitted training behavior is retained. This trajectory has two conditions: dense relational overlap allows ordinary shared-parameter updates to reach held-out targets, and sufficient model capacity allows those targets to be acquired without displacing previously fitted targets. We test this account across a frozen 3x3x3 factorial matrix (27 runs, 30,000 updates each) holding sample count (4,656) and every single-symbol frequency strictly identical across three relational-mixing levels, three Transformer widths (64, 96, 128), and three seeds. All 27 runs reach exact training interpolation. Exact 100-step state replays produce 6,827 upward and 6,829 downward held-out boundary crossings (median positive single-step fraction 0.4987; telescoping error <= 3.81e-6). Reducing relational mixing lowers median final held-out accuracy from 99.98% to 11.90%, delaying or preventing persistent 50% acquisition in all 9/9 matched pairs. Increasing width from 64 to 128 reduces the median training-loss-to-held-out-gain ratio eightfold, from 0.2372 to 0.0295 (7/9 matched pairs), while width-64 models still acquire held-out targets through more frequent capability exchange. Relational overlap therefore determines whether new targets are acquired, and model capacity determines whether old targets are retained. Grokking is the joint high-overlap, sufficient-capacity regime of ordinary training.
查看此版本解读 →查看此版本原文 ↗