TL;DR
Temporary optimization interventions, like weight decay during early pretraining, can have "delayed effects" that only manifest long after the intervention is removed. A schedule that significantly increases validation loss at the moment it ends can eventually "cross over" to outperform the baseline, suggesting that optimization choices must be evaluated at the final training budget rather than at the point of removal.
What Problem Does This Paper Address?
How should we evaluate a temporary change to an optimization algorithm? Standard practice often involves trying an intervention—like a specific regularization schedule—and checking its impact at the point the intervention ends. If the validation loss is higher, the intervention is typically discarded as harmful.
This paper argues that this "greedy" evaluation is fundamentally flawed. In the context of large-scale Transformer pretraining with the Muon optimizer, the authors show that early interventions leave a lasting "memory" in the model's state. Specifically, they demonstrate that temporary weight decay can look disastrous at the point of removal but lead to a significantly better model by the end of the training run.
Methods
The researchers trained decoder-only Transformers ranging from 162M to 3.4B parameters. They used Muon, a matrix optimizer that orthogonalizes momentum updates, which provides a unique lens for studying weight dynamics.
The core intervention was temporary weight decay: applying decay for a specific window (e.g., the first 10% or 44% of training) and then turning it off completely. To understand why the effects persisted, the authors analyzed:
- Weight-norm dynamics: Tracking the Frobenius norm of weight matrices.
- Relative step sizes ($\alpha_t$): The size of an update relative to the current weight norm.
- Fixed-norm replays: A novel experimental setup where they artificially held weight norms constant while replaying the relative-step trajectories from previous runs to isolate the impact of those steps on final performance.
- Gram penalty: A qualitatively different intervention that also changes weight norms, used to verify that the observed dynamics were a general phenomenon rather than a quirk of weight decay.
Datasets
Training primarily utilized FineWeb100B (a 100B-token sample) and FineWeb-Edu. For robustness checks across different data distributions, they also tested on OpenWebMath, GitHub-Code-Clean, and multilingual C4.
Evaluation was performed using next-token cross-entropy (measured in nats) and a suite of zero-shot benchmarks, including HellaSwag, ARC-E, PIQA, LAMBADA, and WinoGrande.
Key Insights and Ideas
- The "Delayed Crossover": An early-decay run can be significantly worse than the baseline when the decay ends, only to recover and eventually overtake it. As shown in Figure 1, a 1.4B model was 0.26 nats worse at removal but finished 0.0275 nats better.
- Persistent Norm Deficit: Early decay shrinks weights. Because Muon’s updates have a controlled magnitude, smaller weights lead to larger relative updates. This "norm deficit" persists long after decay stops, effectively keeping the "relative learning rate" higher for the remainder of training.
- Timing is Everything: The effect of a decay window is highly sensitive to when it occurs. Moving the same 10% window from the start of training to the 60% mark flips its effect from beneficial to harmful.
- Scale Transferability: Remarkably, a temporary decay schedule optimized on a small 162M parameter model transferred successfully to 1.4B and 3.4B models without any retuning, consistently outperforming constant-decay baselines.
Key Results
- 1.4B Model: A temporary decay schedule (selected at 162M) was 0.26 nats worse than no decay at removal, crossed the baseline at 73% of training, and finished 0.0275 nats better.
- 3.4B Model: The transferred schedule improved final loss by 0.0194 nats and increased mean zero-shot accuracy from 65.3% to 66.9%.
- Evaluation Horizon Reversal: At 405M parameters, the ranking of different early schedules reversed depending on whether they were compared at a fixed total budget or after an equal amount of post-removal training.
Limitations and Future Work
The authors acknowledge that their findings are concentrated on the Muon optimizer and decoder-only Transformers. While they demonstrate that weight norms are a primary mechanism for carrying the "memory" of an intervention, they do not establish that norms are the only persistent state.
Furthermore, while the paper shows that larger relative steps from early decay are beneficial, it doesn't fully explain the theoretical reason why that specific trajectory leads to a better local minimum. Future work remains to determine if these delayed dynamics arise broadly across other optimizers (like AdamW) and different types of temporary interventions.
Summary updated