NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating neural network training: An analysis of the AlgoPerf competition

Priya Kasimbeg, Frank Schneider, Runa Eschenhagen, Juhan Bae, Chandramouli Shama Sastry, Mark Saroufim, Boyuan Feng, Less Wright, Edward Z. Yang, Zachary Nado, Sourabh Medapati, Philipp Hennig, Michael Rabbat, George E. Dahl

Introduction

In the rapidly evolving landscape of deep learning, the efficiency of training algorithms is a critical bottleneck. While the research community frequently proposes new optimizers claiming superior performance, these claims often fail to translate into real-world speedups. The AlgoPerf: Training Algorithms competition was established to address this discrepancy by providing a rigorous, wall-clock-time benchmark. By focusing on the actual time required to reach a target accuracy on fixed hardware, AlgoPerf identifies which algorithmic innovations truly accelerate neural network training.

The Benchmarking Crisis in Optimization

The primary challenge in evaluating new training algorithms is the lack of a fair "apples-to-apples" comparison. Traditional research often relies on metrics that can be easily manipulated or do not reflect practical utility. Common pitfalls include using weak baselines, ignoring the time and computational cost spent on hyperparameter tuning, or modifying model architectures to favor a specific optimizer.

To rectify this, the AlgoPerf benchmark isolates algorithmic improvements from hardware or implementation-specific tricks. The fundamental question it seeks to answer is: Which optimizer reaches the target accuracy the fastest in a production-like environment?

Methodology and Framework Equivalence

The competition evaluated submissions under two distinct rulesets designed to reflect different real-world scenarios:

  1. External Tuning: Submissions provide a hyperparameter search space. The benchmark then "tunes" the model using five parallel trials, scoring the algorithm based on the fastest individual run. This simulates a scenario where a researcher has a fixed budget for experimentation.
  2. Self-Tuning: This "hard mode" requires algorithms to be entirely hyperparameter-free. Any time the algorithm spends internally adjusting its settings counts toward its total wall-clock training time, reflecting the needs of automated pipelines.

To ensure that the results were not biased by software implementation, the organizers performed extensive engineering to achieve functional equivalence between JAX and PyTorch. They identified that subtle framework defaults—such as weight initialization strategies or the specific implementation of GELU activations—could significantly skew results. By normalizing these factors, the competition ensured that any performance gains were strictly due to the optimization algorithm itself.

Diverse Workloads and Generalization

The benchmark consists of eight base workloads spanning a wide array of domains and architectures:

  • Recommendation: Criteo 1TB (DLRM).
  • Medical Imaging: FastMRI (U-Net).
  • Computer Vision: ImageNet (ResNet-50 and ViT).
  • Speech: LibriSpeech (Conformer and DeepSpeech).
  • Graph Neural Networks: OGBG (GNN).
  • Translation: WMT (Transformer).

To prevent participants from overfitting their algorithms to these specific tasks, the authors included held-out workload variants. These variants introduced changes to activation functions or normalization layers, forcing the optimizers to demonstrate robustness across varying architectural conditions.

Key Insights: Preconditioning and Automation

The competition results yielded several significant insights into the current state of optimization:

  • The Power of Preconditioning: The winner of the External Tuning category was Distributed Shampoo. Unlike the standard Adam optimizer, which uses diagonal preconditioning (scaling gradients per-parameter), Shampoo utilizes non-diagonal preconditioning. While mathematically more complex and computationally expensive per training step, the algorithm's superior convergence rate allowed it to reach target accuracies much faster in terms of total wall-clock time.
  • The Rise of Tuning-Free Optimizers: The winner of the Self-Tuning category, Schedule Free AdamW, remarkably outperformed the tuned baseline. In several instances, it was even 10% faster than the externally tuned baseline, suggesting that we are entering an era where automated, "set-and-forget" optimizers can match or exceed human-tuned performance.
  • The Robustness Gap: Many submissions proved to be "brittle," performing exceptionally on specific models but failing to converge on others. Interestingly, the ResNet-50 workload remained a significant hurdle; only one submission, Generalized Adam, managed to reliably train it within the time budget across all trials.

Results and Performance Metrics

The competition successfully identified clear winners that provide tangible improvements over standard practices:

  • External Tuning Winner: PyTorch Distributed Shampoo achieved an average 28% speedup over the NadamW baseline.
  • Self-Tuning Winner: Schedule Free AdamW provided an 8% speedup over the self-tuning baseline.
  • Benchmark Stability: The rankings remained stable even when held-out workloads were excluded or scoring metrics were adjusted, confirming that AlgoPerf is a robust measure of general algorithmic performance.

Limitations and Future Directions

While successful, the inaugural AlgoPerf competition highlighted the massive computational cost of rigorous benchmarking, requiring nearly 50,000 GPU hours on NVIDIA V100s. To improve sustainability, future iterations may reduce the reliance on held-out workloads and tighten time-out limits based on the performance of current winners.

Furthermore, the authors aim to expand the benchmark to include modern frontiers of deep learning, such as Large Language Models (LLMs) and Diffusion models. The results of AlgoPerf demonstrate that while industry standards like AdamW are formidable, there is still significant room for algorithmic innovation to make neural network training more efficient and automated.

Summary updated

BibTeX
@inproceedings{kasimbeg2025accelerating,
  author = {Priya Kasimbeg and Frank Schneider and Runa Eschenhagen and Juhan Bae and Chandramouli Shama Sastry and Mark Saroufim and BOYUAN FENG and Less Wright and Edward Z. Yang and Zachary Nado and Sourabh Medapati and Philipp Hennig and Michael Rabbat and George E. Dahl},
  title = {{Accelerating neural network training: An analysis of the AlgoPerf competition}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=CtM5xjRSfm},
}
Figure