Algebraic Generalization through Coherent Bridges: Grokking as a Delayed Regime
Mian Wang
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,…