Training Large Language Models (LLMs) often feels like flying a plane while building it. You commit millions of dollars to a single training run, hoping your hyperparameters—chosen from small-scale experiments—hold steady as you scale up. But what if there was a "universal flight path" that every successful model followed?
In their recent paper, researchers introduce Celerity, a model family that proves LLM training is more predictable than previously thought. They show that when models are trained efficiently, their normalized loss curves "collapse" onto a single, universal trajectory, regardless of model size.
TL;DR
By scaling hyperparameters according to specific "timescale" rules, training loss curves from different model sizes align perfectly when normalized. This "collapse" serves as a signature of compute-efficient training, allowing researchers to detect training bugs early and pick hyperparameter winners after observing only a fraction of a training run.
What Problem Does This Paper Address?
While traditional "scaling laws" tell us how the final loss of a model improves with more compute, they reveal very little about the shape of the training process itself. Historically, training curves for a 100M parameter model and a 10B parameter model looked completely different.
This lack of predictability makes two critical tasks very difficult:
- Diagnostics: If a 70B model's loss starts to wiggle, is that a hardware bug, a data issue, or just normal behavior for that scale?
- Hyperparameter Optimization (HPO): To find the best learning rate or batch size, you usually have to train models to completion. At frontier scales, this is prohibitively expensive.
Methods: The Mechanics of Collapse
The authors build on the concept of Loss Curve Collapse. By dividing the training loss by the final loss and plotting it against the fraction of tokens seen, they found that curves align perfectly if three "scale-invariant controls" are matched:
- Tokens-per-Parameter (TPP): The ratio of data size to model size ($D/N$).
- Learning Rate Schedule: Specifically, the phase of the decay.
- AdamW Timescale ($\tau$): This is the paper's "secret sauce." Defined as a combination of batch size, learning rate, and weight decay ($\tau = B / \eta \lambda D$), it represents how long the optimizer "remembers" past gradients.
To make this work at scale, the researchers used CompleteP, a refined version of Maximal Update Parameterization ($\mu$P) that ensures hyperparameters transfer reliably across both model width and depth.
Key Insights and Ideas
- Collapse is a Signature of Efficiency: Loss curves only collapse when hyperparameters are set optimally for a given data budget. If your curves don't align with the universal reference, your training is likely compute-suboptimal.
- The "Master Knob" ($\tau$): Instead of tuning learning rate, weight decay, and batch size separately, researchers can think in terms of the AdamW timescale. This unifies several disparate settings into one predictable control.
- Early Warning System: By monitoring the "residuals" (the difference between the current run and the collapsed reference), researchers can catch issues early. In one 1.8B parameter run, drifting residuals allowed the team to catch and fix a numerical instability 30% into the run—long before the raw loss curve showed any obvious spike.
- Predicting the Future: Because the normalized shape is universal, you can fit a simple mathematical model to a tiny 111M parameter run and use it to accurately predict the trajectory of a 3.3B parameter model.
Key Results
- Compute Frontier: Celerity models sit on the compute-efficiency frontier for open models. For example, Celerity-1.8B matches the accuracy of the well-known BTLM-3B while using 75% fewer training FLOPs.
- High-TPP Efficiency: The authors demonstrate that training at 234 TPP (well beyond the "Chinchilla-optimal" 20 TPP) is a highly effective strategy for creating powerful, small models for inference. This achieved a 62% reduction in parameters with only a modest increase in total training compute.
- HPO Speedup: Using their "predicted best" method, the team could identify the optimal weight decay for a large model after seeing only 10-30% of the tokens, potentially saving 70%+ of the HPO budget.
Limitations and Future Work
- Single-Epoch Focus: The study focuses on single-epoch training, which is standard for LLMs but might differ for multi-epoch regimes.
- Architectural Scope: While they tested Mixture of Experts (MoE) and found it also follows collapse patterns, the bulk of the work focuses on dense transformers.
- Loss Spikes: Large, catastrophic loss spikes can still break the "collapse" and make predictions difficult, though the authors argue that the deviation itself is the useful signal.
- Future Directions: The authors suggest exploring how late-stage data annealing affects the collapse and whether other optimizers, like Sophia, follow the same timescale rules.
Summary updated