Abstract
For nearly a decade, AdamW has been the de facto standard for training Large Language Models (LLMs). However, the rapid proliferation of "Adam-killers" has created an evaluation crisis, where inconsistent experimental protocols make it difficult to identify genuine improvements. This paper presents the first large-scale, controlled benchmark of 11 modern optimizers—including AdEMAMix, MARS, and SOAP—under standardized conditions. Our results reveal that while AdamW remains robust, newer contenders like AdEMAMix and MARS offer significant performance gains. We also provide a set of "best practices" for LLM pretraining, emphasizing the critical roles of aggressive learning rate decay and proper weight decay implementation.
Introduction
The deep learning community frequently sees new optimization algorithms claiming to surpass AdamW. Yet, these claims often lack rigorous validation across varying model sizes, batch sizes, and hardware configurations. To address this, we systematically benchmarked 11 optimizers to determine if a new gold standard for LLM pretraining has emerged.
Methodology
We evaluated a diverse set of 11 algorithms categorized into Adam-like (AdamW, ADOPT, AdEMAMix), Sign-based (Lion, Signum), Approximate Second-Order (Muon, D-Muon, SOAP, Sophia), Parameter-free (Schedule-Free AdamW, Prodigy), and Variance Reduction (MARS) methods.
The study utilized Llama-based architectures ranging from 124M to 720M parameters. Training was conducted on a 100B token subset of the FineWeb corpus, with secondary validation on OpenWebText2. We varied batch sizes from 16k to 1M tokens and explored training horizons extending beyond the Chinchilla-optimal point. Crucially, every optimizer underwent extensive hyperparameter tuning at every scale to ensure a fair "peak-to-peak" comparison.
The New Optimizer Tier-List
Our benchmarking revealed a clear hierarchy among modern optimizers. AdEMAMix emerged as the most consistent top performer across nearly all tested scenarios. MARS also demonstrated exceptional performance, particularly as batch sizes increased.
In contrast, some theoretically promising methods showed limitations. Sophia, an approximate second-order optimizer, exhibited divergence issues during long training runs or with small batches. Lion and Signum proved highly sensitive to gradient noise, performing poorly with small batches but becoming competitive at larger scales.
Key Insights and Best Practices
Beyond the rankings, the study highlighted several critical factors for successful pretraining:
- Aggressive LR Decay: The common practice of decaying the learning rate (LR) to 10% of its peak is suboptimal. Decaying to 1% or 0.1% consistently yields lower final validation loss.
- Weight Decay Implementation: Proper decoupled weight decay is essential for stability. Our "D-Muon" variant, which applies weight decay to all parameters, significantly outperformed the original Muon.
- Prodigy as a Tuning Proxy: The parameter-free optimizer Prodigy effectively emulates well-tuned AdamW, making it a valuable tool for estimating optimal learning rates for new architectures without expensive grid searches.
Training Dynamics and Efficiency
While final validation loss is a key metric, training efficiency and stability are equally important. AdEMAMix and MARS maintained their performance lead even as training progressed well beyond the Chinchilla-optimal duration.
We also noted computational trade-offs. Most optimizers have similar overhead, but SOAP slows down significantly as model size increases due to the complexity of its preconditioner matrix operations.
Conclusion
This benchmark establishes AdEMAMix and MARS as powerful alternatives to AdamW for LLM pretraining. While our study focuses on models up to 720M parameters and uses validation loss as a proxy for performance, the consistency of these results across architectures—including Mixture-of-Experts (MoE)—suggests broad applicability. We have open-sourced our benchmarking toolkit to encourage the adoption of these rigorous standards in future research.
Summary updated