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

Benchmarking Neural Network Training Algorithms

George E. Dahl, Frank Schneider, Zachary Nado, Naman Agarwal, Chandramouli Shama Sastry, Philipp Hennig, Sourabh Medapati, Runa Eschenhagen, Priya Kasimbeg, Daniel Suo, Juhan Bae, Justin Gilmer, Abel L. Peirson, Bilal Khan, Rohan Anil, Mike Rabbat, Shankar Krishnan, Daniel Snider, Ehsan Amid, Kongtao Chen, Chris J. Maddison, Rakshith Vasudev, Michal Badura, Ankush Garg, Peter Mattson · DOI

Introduction

The rapid evolution of deep learning has led to a proliferation of training algorithms, particularly optimizers and learning rate schedules. Every year, hundreds of new methods are proposed, each claiming superiority over established baselines like Adam or Stochastic Gradient Descent (SGD). However, the machine learning community has long struggled with a "reproducibility crisis" in optimization: many of these gains disappear when algorithms are tested on different architectures, datasets, or under different hyperparameter tuning budgets.

To address this, a large-scale collaborative effort has produced AlgoPerf, a competitive "time-to-result" benchmark. AlgoPerf standardizes hardware, workloads, and tuning protocols to provide a rigorous, apples-to-apples comparison of training algorithms, moving beyond the "Wild West" of inconsistent reporting.

The Problem: Brittle Rankings and Unfair Comparisons

Current research often relies on "steps to convergence" or "best achieved loss" as metrics. These are problematic for several reasons:

  1. Wall-clock time vs. Step count: An optimizer that takes fewer steps but requires 50% more computation per step may actually be slower in practice.
  2. Crossing Curves: Training curves often intersect. A method that appears faster in the early stages of training might plateau sooner, making the definition of "better" dependent on an arbitrary stopping point.
  3. The Tuning Advantage: New algorithms are often meticulously tuned by their authors, while baselines are given minimal attention. This creates an illusion of progress that doesn't hold up in production environments.
  4. Architectural Sensitivity: Minor changes to a model—such as swapping an activation function or changing a stride—can completely reorder the performance ranking of different optimizers.

The AlgoPerf Framework

AlgoPerf introduces three core pillars to ensure a fair and robust evaluation:

1. Time-to-Result Metric

Instead of counting iterations, AlgoPerf measures the actual wall-clock time required to reach a specific, competitive target error rate. All evaluations are performed on standardized hardware (8x NVIDIA V100 GPUs) to ensure that software efficiencies and hardware utilization are accounted for.

2. Strict Tuning Rules

Recognizing that hyperparameter tuning is a significant part of the "cost" of using an algorithm, AlgoPerf requires submissions to follow one of two tracks:

  • External Tuning: The algorithm is allowed a fixed budget of 20 trials to find the best hyperparameters from a user-defined search space. This simulates a researcher with a limited compute budget.
  • Self-Tuning: The algorithm must either be hyperparameter-free or perform its own tuning "on the clock" during the training run.

3. Workload Robustness and Randomized Variants

To prevent optimizers from being "overfitted" to specific benchmarks, AlgoPerf includes Randomized Workloads. These are "held-out" variants of the main tasks—for instance, changing a ResNet-50's activation from ReLU to GELU—that are only revealed after the submission is frozen. This tests whether an algorithm's performance is truly generalizable.

Diverse Benchmarking Workloads

The benchmark covers eight diverse, real-world applications to ensure broad applicability:

  • Criteo 1TB: Click-through rate prediction using the DLRM model.
  • fastMRI: MRI image reconstruction using a U-Net architecture.
  • ImageNet: Image classification using both ResNet-50 and Vision Transformers (ViT).
  • LibriSpeech: Speech recognition using Conformer and DeepSpeech models.
  • OGBG: Molecular property prediction using Graph Neural Networks (GNNs).
  • WMT: Machine translation using the Transformer architecture.

Key Insights: The Reality of Optimization

The benchmark's initial runs yielded several critical insights into the state of deep learning optimization:

The Importance of Preconditioning: Adaptive methods, such as AdamW and NadamW, proved significantly more robust than non-adaptive methods like Heavy Ball or Nesterov momentum. While non-adaptive methods can be highly performant, they require much more "hand-holding" and workload-specific tuning to reach competitive targets.

Tuning as a First-Class Citizen: The results highlighted that an optimizer cannot be evaluated in isolation from its tuning protocol. A broad search space might seem better because it is more likely to contain the optimal point, but with a limited budget of 20 trials, a narrower, well-informed search space actually yields much better results.

Brittleness is Ubiquitous: The authors confirmed that tiny architectural tweaks can flip optimizer rankings. This suggests that many "state-of-the-art" claims in literature may be artifacts of specific, narrow experimental setups rather than fundamental improvements.

Key Results

In the provisional leaderboard, NadamW emerged as the strongest general-purpose performer, hitting the target on 7 out of 8 workloads within the strict runtime budget. Conversely, standard momentum-based methods (Heavy Ball and Nesterov) failed to hit targets on any workload under the benchmark's strict median-of-five-studies scoring. This underscores the difficulty of making these methods work reliably across diverse tasks without manual intervention.

However, specialized optimizers showed promise in specific domains. For example, the LAMB optimizer was 7% faster than the next best method on the WMT Transformer task, demonstrating that specialized tools can still provide a significant edge when the playing field is level.

Limitations and Future Directions

While AlgoPerf represents a major step forward, it faces challenges:

  • Compute Cost: Running the full benchmark requires thousands of machine-hours. A smaller "Qualification Set" has been introduced to help researchers with fewer resources.
  • Hardware/Software Lock-in: The current API is optimized for JAX and PyTorch on V100 GPUs. Future versions will need to adapt to newer hardware like H100s or TPUs.
  • Expanding Scope: Currently focused on supervised learning, the authors plan to extend the benchmark to self-supervised and reinforcement learning in the future.

By providing a transparent and rigorous arena for competition, AlgoPerf aims to steer the community toward developing training algorithms that are not just faster on paper, but more robust and reliable in practice.

Summary updated

BibTeX
@misc{dahl2023benchmarking,
  author = {George E. Dahl and Frank Schneider and Zachary Nado and Naman Agarwal and Chandramouli Shama Sastry and Philipp Hennig and Sourabh Medapati and Runa Eschenhagen and Priya Kasimbeg and Daniel Suo and Juhan Bae and Justin Gilmer and Abel L. Peirson and Bilal Khan and Rohan Anil and Mike Rabbat and Shankar Krishnan and Daniel Snider and Ehsan Amid and Kongtao Chen and Chris J. Maddison and Rakshith Vasudev and Michal Badura and Ankush Garg and Peter Mattson},
  title = {{Benchmarking Neural Network Training Algorithms}},
  year = {2023},
  eprint = {2306.07179},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.07179},
}
Figure