跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv: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
arXiv ↗PDF ↗

摘要

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

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

仅对比实际观测的元数据,不代表 PDF 正文或实验变化。版本可能不连续;带删除线为移除,下划线为新增。

标题变化

GrokkingAlgebraic IsGeneralization athrough High-Overlap,Coherent High-CapacityBridges: RegimeGrokking ofas Ordinarya TrainingDelayed Regime

摘要变化

InGrokking theis originalthe modular-arithmetictemporal setting,order Grokkingwhere istraining thetargets delayedbecome acquisitioncorrect offirst, held-out targets aftermuch alater, neuraland networkfitted hasbehavior interpolatedpersists. itsWe trainingtest setthe whilealgebraic fittedprocess trainingbeneath behaviorthat isorder retainedon modular arithmetic. ThisA trajectoryfrozen has36-run twomultiplication conditions:intervention densefixes relationalsample overlapcounts allowsand ordinarymarginal sharedfrequencies while keeping the modular relation, removing all length-parameterthree updatespaths to reach held-out targetspairs, and sufficientor modelrandomizing capacitylabels. allowsAll those12 targetsintact toruns bereach acquiredpersistent without99% displacingheld-out previouslycapability fittedversus targets.0/24 Wecontrols; testmedian thistrue-answer accountlog-probability acrosschanges aare frozen+4.742, 3x3x3-5.263, factorialand matrix-6.717 (27signed runsmargins +11.207, 30-8.204,000 updatesand each-9.154) holding. sampleA countmatched (4,656)12-run andcounterfactual everyintervention single-symbolkeeps frequencybridges strictlycoherent identicalwhile acrossreplacing threeeach relational-mixingproduct levels,z threeby Transformerz^5 widthsmod (64,97: 96,median 128),counterfactual andcapability threeis seeds1.0000 All(0.5082--1.0000) 27versus runs0.0614 reachfor exactordinary trainingmultiplication interpolation(91.43%--93.87% Exactof 100-stepacquired statetargets replaysare producewrong 6,827under upwardordinary andmultiplication). 6In Z_97,829 downwardeach complete nonzero path uniquely determines its held-out boundaryproduct; crossingswe (mediancall positivesuch single-stepa fractionpath 0.4987;an telescopingalgebraically errorcoherent <=bridge 3.81e-6(ACB). Reducing relationalFrom mixingknown-path lowerspredictions medianalone, final64 held-outACBs accuracyper fromtarget 99.98%rank tothe 11.90%,true delayingproduct orhighest preventingfor persistentevery 50%held-out acquisitiontarget in all 9/9nine matchedconfigurations pairsat interpolation, even at 0.388 Increasingdirect widthcapability. fromExact 64dense toreplays 128show reducespopulation thescores medianand training-loss-to-margins rising until held-out-gain ratio eightfold,capability fromexceeds 0.237295 toin 0all three primary seeds.0295 (7/9Finally, matchedholding pairs)model, whiledivision width-64task, modelssplit, stillseeds, acquireand held-outACBs targetsfixed, throughweight moredecay frequent1 capabilityyields exchange.early Relationalcrossing, overlapwhereas thereforezero determinesdecay whetherdrives newmargins targetsfar arenegative acquiredbefore crossing after 174,000 and model669,000 capacitysteps determinesin two seeds (negative in the third). ACBs determine whether oldshared updates form a directional readout and which solution it targets; areoptimization retaineddetermines temporal order. Grokking is thethis jointprocess's high-overlapdelayed, sufficient-capacitypreserving regime ofand ordinarydoes trainingnot require weight decay.

作者备注变化

811 pages, 43 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.

查看此版本解读 →查看此版本原文 ↗