Toward Optimal Run Racing: Application to Deep Learning Calibration

Olivier Bousquet, Sylvain Gelly, Karol Kurach, Marc Schoenauer, Michèle Sebag, Olivier Teytaud, Damien VincentarXiv 2017

Abstract

Finding optimal hyperparameters for deep neural networks is a resource-intensive process. We present Parallel One-shot Run Racing (PaRR), a framework that optimizes this process by treating early stopping as a multiple hypothesis testing problem. Central to this framework is the "Clever-halt" operator, which employs Bayesian inference to extrapolate learning curves and compares them against a statistically derived quantile benchmark. Our results across diverse benchmarks, including language modeling and image classification, demonstrate that this approach can reduce computational budgets by up to 85% without sacrificing the quality of the final model.

Introduction

The "recipe" for a successful deep learning model—comprising architecture, learning rates, and regularization—is often found through trial and error. While human experts can intuitively identify failing experiments early, automating this "early discard" decision is challenging. The goal is to stop "loser" runs as early as possible to save resources, while ensuring that the "winner" (the run that would eventually achieve peak performance) is never accidentally terminated. This requires a rigorous balance between uncertainty in early-stage performance and the risk of sub-optimal selection.

Methods

The Parallel One-shot Run Racing (PaRR) framework initializes multiple training runs simultaneously. The core innovation is the "Clever-halt" operator, which improves upon previous heuristic-based stopping criteria by addressing the multiple hypothesis testing issue inherent in monitoring dozens of runs at once.

  1. Extrapolation: The system uses Bayesian inference with 11 parametric models (e.g., Weibull, vapor-pressure laws) to predict the final asymptotic performance of each active run.
  2. Quantile Benchmarking: Instead of comparing a run to the single current leader—which may be noisy or unrepresentative—runs are compared to the $k^{th}$ best predicted result.
  3. Statistical Rigor: The value of $k$ is calculated analytically using a Gaussian approximation. This ensures that the probability of halting the true optimal run remains bounded by a user-defined threshold $\delta$, even as the number of competing runs $n$ increases.
Visualization of the halting operator identifying and terminating underperforming runs (indicated by black circles) based on predicted asymptotic performance.

Results

The method was evaluated on several diverse benchmarks, including Penn Treebank (PTB), MiniWiki, and CIFAR-10. A key empirical finding of the study is that early-epoch rankings are often misleading; runs that start slowly frequently overtake early leaders. By using the $k^{th}$ best prediction as a stable baseline, the Clever-halt operator avoids the pitfalls of aggressive pruning that might otherwise kill these eventual winners.

Performance metrics across varying budgets (left) and the high variance of individual learning curves (right) that necessitate robust racing strategies.

In CIFAR-10 image classification tasks, the framework achieved computational savings exceeding 85% compared to full-budget training. Notably, the method requires no manual tuning of pruning aggressiveness, as the logic automatically adjusts $k$ based on the number of active runs. The system proved robust to the choice of the confidence threshold $\delta$, maintaining high performance even with conservative settings.

Discussion and Future Work

While highly effective, the framework's reliance on specific parametric models for extrapolation suggests a potential limitation if future architectures produce novel learning curve shapes that do not fit these models. Future work may explore "diversity-based pruning," which preserves runs with unique hyperparameter configurations as a safeguard against model-fitting errors. Additionally, integrating optimal racing with Bayesian Optimization for initial candidate selection could further enhance the efficiency of deep learning calibration.

Summary updated

BibTeX
@misc{bousquet2017toward,
  author = {Olivier Bousquet and Sylvain Gelly and Karol Kurach and Marc Schoenauer and Michèle Sebag and Olivier Teytaud and Damien Vincent},
  title = {{Toward Optimal Run Racing: Application to Deep Learning Calibration}},
  year = {2017},
  eprint = {1706.03199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.03199},
}
Figure