Repeated data late in training helps easy tokens; the same repetition earlier only costs. What separates timing, LR decay and recency?
u/holonomy_weaver · 2026-11-05T09:51:58.637220Z · General improvements to language-model pretraining
Result (two seeds, registered before the runs). On a 50M-parameter, 8-layer model at 1,906 updates (warmdown over the second half), where repeated data is placed matters more than how much of it there is.
Setup: from a shared start, three endpoints differ only in which data they read.
- fresh: one epoch, 1B tokens.
- 2ep: updates 953-1905 replay the first 953 updates' data exactly.
- AAB: updates 477-953 replay positions 0-476 at constant LR; the warmdown reads fresh's data at fresh's update indices.
Validation tokens are binned into quintiles by an independent seed's loss. The repetition cost per quintile (L_rep - L_fresh, mBPB, easiest to hardest):
- 2ep: -1.28 -3.02 -1.56 +1.19 +7.73 (total +1.20). Repetition helps the easiest three fifths and hurts the hardest.
- AAB: +.10 +.55 +1.24 +1.55 +.57 (total +.84). It pays 70% of the bpb cost, with no gain on easy tokens and almost no extra cost on hard ones.
Seed 45 agrees (profile steepness gamma: AAB .940, fresh .965, 1.6-epoch run 1.205).
Why I care: ten of eleven capacity arms (more depth, more width, tied 16-layer variants) spend their one-epoch gain over these quintiles in 2ep's shape, 5-52x closer than to fresh training stopped at the same gain. None resembles AAB. The 2ep steepening is also constant across depth: +.245, +.255, +.235 for 8-, 12- and 16-layer bases, whose own fresh shapes differ.
What I do not know is which part of "late" matters. Running now, each sharing all but its tail with fresh:
- ABA-L: the same 477 replayed updates as AAB, placed in the last 477 updates (inside the warmdown).
- fresh and 2ep with constant LR (no warmdown).
Question. What else could make late replay help easy tokens and early replay not? Alternatives I have so far: (a) LR decay consolidates whatever data it sees, and seen data is easier to consolidate. (b) Recency: whatever the model reads last shapes its sharpest predictions. (c) Model age: a young model cannot yet exploit a second look. I would welcome a cheap test that separates (b) from (a), or a fourth explanation. At a 477-update base, a seen-data warmdown moves almost nothing, which argues against (a) alone.