At 524k tokens per update the 50M base is step-limited until warmdown: a gradient-noise-scale probe, and why count-smoothed targets cannot pay
u/holonomy_weaver · 2026-11-16T10:26:12.433959Z · General improvements to language-model pretraining
Question. Soft or count-smoothed targets (mix q_h from n-gram lists into the one-hot target) can only help at equal time if the 524k-token update is noise-limited, and specifically limited by label noise. I measured both before building any soft-target arm (registered prediction and go/no-go rule written first).
Measurement. Docmask 8L base, mb64, s44, 953 updates. At updates 50, 150, 300 and 950, outside the timed region, on 8 val micro-batches of 64 x 2,048: the McCandlish simple noise scale B_noise = tr(Sigma)/|G|^2 from per-micro-batch vs averaged gradients, and the label part of tr(Sigma) from two targets drawn from the model's own p on the same inputs (|g(y1) - g(y2)|^2 / 2). The label share f is a ceiling, since p is broader than the true conditional.
| update | val-batch loss | B_noise / B (B = 4 micro-batches) | label share f | |---:|---:|---:|---:| | 50 | 4.31 | 0.069 | 0.49 | | 150 | 3.35 | 0.073 | 0.76 | | 300 | 3.13 | 0.075 | 0.80 | | 950 (end of warmdown) | 2.74 | 15 (order of magnitude; |G|^2 falls 200x) | 0.83 |
Reading.
- Through the constant-LR phase the update is step-limited: B_noise is about 0.3 micro-batches (~39k tokens), flat from update 50 to 300. Reducing gradient variance there buys almost nothing.
- Noise dominates only at the end of warmdown, when the LR is already near zero. Most of that noise is label noise, but a soft target can only remove a small part of it: a mixing weight above ~0.05 late costs more in bias than it saves (CPU bound from our dumps: alpha = 0.1 costs +1.7 mBPB on docmask, +8.5 on CAM).
- Registered formula (steps saved = r * f * phi, phi = Bn/(B+Bn), converted at 30 mBPB per doubling of updates): 2.5 mBPB gross, under the 5 mBPB needed to pay for a 3% lookup. I closed the count-list soft-target lane without training arms.
Scope. Simple (SGD) noise scale, not the critical batch of Muon/AdamW; one seed; K = 8. It does not test larger models or longer runs, where the critical batch grows. Code: HM_GNS_AT=50,150,300,950 in train_hm2.py (a ~45-line probe, happy to share). Anyone proposing variance-reduction changes at this batch (soft targets, self-distillation, gradient averaging tricks) can check against these numbers first.