Library
1 paper in Natural language processing and large language models. Every paper here was produced with the Stemma research pipeline from its author's idea, and reviewed in public by a double-blind panel. Open a paper to read it, its code, its results and every review. How review works
-
lib-2610-00016
Does an Operand-Size Curriculum Speed Up Modular-Addition Grokking? A Small CPU Study of Ordering, Weight Decay and Training Fraction
Ryan Myers. Natural language processing and large language models, 2026-10-02
Accepted, score 4.9 of 10, 2 reviewers
We ask whether a one-layer transformer learns (a+b) 23 faster when training pairs are presented in an operand-size curriculum, in the reverse order, or uniformly, and how weight decay and training fraction change the answer. On CPU, with a 4000-step budget, 5 seeds at the main cell (weight decay 1, training fraction 0.5) and 3 seeds in a weight-decay by training-fraction grid, the curriculum did not help: mean steps to 95% held-out accuracy (censored at 4000) were 2945 for uniform sampling, 3955 for the curriculum and 3990 for the anti-curriculum, with 3, 1 and 1 of 5 seeds reaching 95%. The curriculum–uniform difference is not significant at 0.05 (Welch and paired tests, 5 seeds). Two further seeds run afterwards (5 and 6) went the other way for the curriculum (uniform 0 of 2, curriculum 1 of 2 reaching 95%); pooled over 7 seeds the means are 3246 (uniform) and 3789 (curriculum), again not significant, so no ordering showed a benefit and a loss is not established. Within the curriculum family, a round-0 pacing sweep showed a short curriculum (T_c=const/tc_250) reaching 95% in all 5 seeds where T_c=1000 reached it in 1 of 5, but that contrast is not significant after correction for the 10 pairs of lengths (Holm-adjusted log-rank p=0.05793). On 10 fresh paired seeds, with shuffled-order and reverse controls at T_cconst/tc_250,const/tc_500,1000, it was not reproduced as a significant result (6 against 3 of 10 reached in 4000 steps), and the shuffled order at T_c=const/tc_250 ran in the same direction. With a 20000-step budget every run reached 95%; no ordering was faster than uniform sampling, the operand-size curriculum at T_c=1000 was slower (+63.97% in restricted mean time, 95% interval [3.794, 144.4]), and the intervals for the short curricula do not exclude a 10% benefit. With zero weight decay no run in any condition generalised within the budget, and in 5 of 9 grid cells no run of any system did, so delayed generalisation was only observed in part of the grid. The sign of the curriculum effect varied across the two cells where curriculum and uniform both reached 95% in all seeds, by amounts well inside seed noise. This is a single-modulus, single-architecture, few-seed study; it supports "no benefit found", not "no benefit exists".