Scaling with Collapse: Efficient and Predictable Training of LLM Families
Bergsma et al. (Cerebras) take Qiu et al.’s scaling-collapse result to LLM scale under practical joint scaling of width, depth, batch size, and weight decay. They identify three controls that together govern normalized loss-curve shape under µP: the AdamW normalized timescale , the tokens-per-parameter ratio TPP, and the LR schedule. When all three are held fixed across sizes and is set optimally for the given TPP, loss curves collapse from 100M to 3.9B — a signature of compute-efficient training. They release Celerity, a 300M–3.9B family trained in three TPP bands (20/80/234) that lands on the accuracy/compute Pareto frontier for open models, and demonstrate two practical uses: collapse residuals surface a numerical instability 30% of training earlier than raw loss trends, and a small-scale-fit parametric predictor of normalized curves enables reliable HPO early-stopping at 10–30% of training.
Key claims
Section titled “Key claims”- Under µP, three controls govern normalized-TLC shape: the AdamW normalized timescale , the tokens-per-parameter ratio TPP, and the LR schedule; fixing all three across sizes with optimal for the TPP produces collapse [§3, Fig. 1 middle].
- modulates TLC shape as an implicit time-averaging window over AdamW updates: small gives short EMA memory (fast early bias reduction, higher variance floor), large averages more (slower start, lower floor) — the “fast-then-flatten” pattern under constant LR [§3, Fig. 3, App. B.3, Eq. 3].
- TPP modulates TLC shape independently and scale-invariantly: higher-TPP normalized curves drop earlier and flatten longer, with a shape almost identical across a 30× parameter range at fixed TPP [§3, Fig. 4].
- Llama-2’s family (7B/13B/34B/70B trained at decreasing TPP as size grows) fails to collapse under the paper’s normalization, whereas Celerity at fixed TPP does — collapse is a signature of compute-efficient scaling, not merely a mathematical artifact [Fig. 1 left vs middle].
- LR-decay schedules invert the ordering of TLCs across : at constant LR, small- curves stay lower throughout; with decay, small- curves gain a late variance-suppression drop and finish lower [App. B.3, Fig. 10]. Normalization by final loss removes the curvature scale, leaving normalized shape a function of only — hence collapse across scales at matched .
- Celerity 300M/500M/900M/1.8B/3.9B family, trained in three TPP bands (20, 80, 234) with fixed -optimal HPs, achieves the accuracy/FLOPs Pareto frontier for open pre-training-only models on 7 downstream tasks; against BTLM (Celerity’s non-annealing peer) reaches parity with 75% fewer FLOPs [§4, Fig. 2, Table 9].
- Collapse residuals detected a 1.8B numerical instability at ~60% of training that only became visible in raw loss at ~90%; ablations against the collapse reference isolated the bug to a specific microbatch-size-triggered loss-kernel numerical issue [Fig. 6 right, Fig. 1 right].
- A four-parameter functional form with and (fit on 111M-scale runs) predicts normalized 3.3B curves with mean absolute error 2× the per-curve oracle floor — 1000× cheaper than direct-scale sweeps [§5, Eq. 4–5, Fig. 8, Table 10].
- Aligning partial in-progress curves against the fitted prediction identifies the winning HP configuration at 10–30% of training with negligible final-loss regret, whereas “current-best” partial-run selection succeeds at 3.3B but fails at 1.7B — collapse-based selection is the more general solution [§5, Fig. 9].
- When tuning LR/batch/weight-decay for LLMs, previous work has commonly fixed (unintentionally varying ), which makes mid-training loss a poor predictor of final ordering; fixing instead preserves the ranking of curves throughout training [Fig. 7].
- CompleteP (µP + depth) transfers HPs more reliably than plain µP for Celerity’s joint width–depth scaling ladder [§4, Fig. 15].
Method
Section titled “Method”The paper builds a GPT2-like architecture (ALiBi, SwiGLU, µP or CompleteP) and sweeps a 111M-to-3.9B scaling ladder over SlimPajama, isolating three sources of TLC shape variation: (1) at fixed model size, sweep independently and observe that curves with matched overlap; (2) at fixed , sweep TPP and observe scale-invariant shape shifts; (3) show the LR schedule phases these effects. A noisy-quadratic model (App. B.3) derives Eq. 3 for constant-LR expected loss as variance_floor(τ) + bias_term(τ)·f^power, explaining the fast-then-flatten shape and predicting inversion of -ordering under LR decay — which is what the experiments show.
Celerity is trained in three TPP bands with fixed across sizes. Widths, depths, batch sizes are co-scaled (Table 1); LR/init/α transferred from 111M proxies via CompleteP. The collapse diagnostic is used live during training via two normalization strategies for the still-unknown final loss: extrapolate from lower-scale power-law fits, or “early-align” by choosing the divisor to best fit the smallest-scale curve over the first 25–50%. The 1.8B instability post-mortem is one demonstration; the HPO early-stopping study is the other, using a parametric predictor fit at 111M with just and scaling.
Results
Section titled “Results”- Celerity forms the accuracy/compute Pareto frontier for open pre-training-only models across 7 downstream tasks; strengthens further when teacher-FLOP costs are included for distilled competitors [Fig. 2, Fig. 16].
- Collapse holds tightly at 80 TPP across 300M–3.9B; small early deviations at 20 TPP attributed to warmup-fraction mismatch; late-training divergence at 234 TPP for large models — investigated and attributed to training-data overfitting (held-out data stays aligned) [Fig. 6, Fig. 1 middle].
- The 111M-fit predictor achieves MAE < 2× oracle on 3.3B curves; MAE actually improves with scale as TLCs smooth out and fewer extreme HPs are tried at large scale [Table 10, Fig. 8].
- HPO early-stopping: at 1.7B/20TPP and 3.3B/30TPP, “predicted best” chooses the true optimum at 10–30% of training with negligible loss gap; “current best” partial-run selection fails at 1.7B [Fig. 9].
- Fixing during tuning preserves the ordering of loss curves throughout training; letting vary (the common practice of fixing instead) inverts orderings mid-training and misleads early-stopping [Fig. 7].
Why it’s interesting
Section titled “Why it’s interesting”This paper answers the extension question left open by Scaling Collapse Reveals Universal Dynamics in Compute-Optimally Trained Neural Networks: does the small-scale scaling-collapse phenomenon survive when the joint scaling ladder co-scales width, depth, batch size, and weight decay under AdamW at LLM scale? Yes — with the additional condition that the AdamW normalized timescale has to be held fixed across sizes at the value that is optimal for the given TPP. This crystallizes into a live diagnostic Luma teams could actually run: any in-progress training curve can be compared to a small-scale reference of the same and TPP, and residuals will flag issues 30%+ earlier than raw loss trends do. The paper connects Wang & Aitchison’s AdamW-timescale-as-EMA framing to Bergsma et al.’s earlier LR/λ/B scaling work and to Qiu et al.’s collapse framework, giving all three a common surface. It also complements the Fitting paradigm of How to Set the Learning Rate for Large-Scale Pre-training? by supplying a training-side validation criterion — if the fit gives the right , the curves collapse; if not, they don’t. And its HPO early-stopping methodology is the most concrete practical output from the scaling-collapse line so far.
See also
Section titled “See also”- Scaling Collapse Reveals Universal Dynamics in Compute-Optimally Trained Neural Networks — the Qiu et al. paper this extends from small-scale autoregressive tasks to full LLM training; both papers were filed together in the same Slack post.
- Hyperparameter scaling laws — this paper’s rule is a specific instantiation of the Fitting paradigm; the collapse diagnostic tests whether any Fitting law was correct.
- Training stability at scale — collapse residuals are a live stability signal, catching a numerical-kernel bug 30% of training earlier than trend-watching.
- How to Set the Learning Rate for Large-Scale Pre-training? — same Fitting paradigm; this paper adds the AdamW-timescale axis to the LR/data-size axes already covered.
- The Design Space of Tri-Modal Masked Diffusion Models — Apple’s SDE-reparameterization result on batch-size invariance under CompleteP is a sibling to Bergsma et al.’s -invariance-of-normalized-TLC story; both derive scale-invariance from noisy-quadratic / SDE analysis.
- Universal One-third Time Scaling in Learning Peaked Distributions — universal 1/3 slope for softmax-CE is compatible with Bergsma et al.’s framing that and TPP set intercept-like modulation while the underlying decay rate is structural.