Skip to main content
QUICK REVIEW

[Paper Review] Optimizer Benchmarking Needs to Account for Hyperparameter Tuning

Prabhu Teja Sivaprasad, Florian Mai|arXiv (Cornell University)|Oct 25, 2019
Machine Learning and Data ClassificationComputer Science35 references14 citations
TL;DR

This paper argues that optimizer benchmarking must account for the computational cost of hyperparameter tuning, proposing a fair evaluation framework using automated hyperparameter optimization across diverse tasks. Results show Adam, especially with only learning rate tuning, is the most practical optimizer due to its robustness and ease of tuning, outperforming even well-tuned SGD variants in low-budget scenarios.

ABSTRACT

The performance of optimizers, particularly in deep learning, depends considerably on their chosen hyperparameter configuration. The efficacy of optimizers is often studied under near-optimal problem-specific hyperparameters, and finding these settings may be prohibitively costly for practitioners. In this work, we argue that a fair assessment of optimizers' performance must take the computational cost of hyperparameter tuning into account, i.e., how easy it is to find good hyperparameter configurations using an automatic hyperparameter search. Evaluating a variety of optimizers on an extensive set of standard datasets and architectures, our results indicate that Adam is the most practical solution, particularly in low-budget scenarios.

Motivation & Objective

  • To address the lack of fairness in optimizer benchmarking due to human bias in hyperparameter selection and tuning effort.
  • To evaluate how easily optimizers can achieve good performance under limited computational budgets for hyperparameter search.
  • To compare adaptive (e.g., Adam) and non-adaptive (e.g., SGD variants) optimizers not only by peak performance but also by tunability and robustness.
  • To advocate for including hyperparameter optimization cost in benchmarking to reflect real-world practicality in industrial and research applications.
  • To provide a standardized, automated benchmarking protocol that minimizes human bias in hyperparameter space and search configuration selection.

Proposed method

  • Conduct benchmarking across 9 diverse deep learning tasks spanning vision, NLP, regression, and classification.
  • Use automated hyperparameter optimization (HPO) with fixed search budgets to evaluate optimizer performance, avoiding manual tuning.
  • Estimate prior distributions over hyperparameter spaces using univariate families to reduce human bias in search space definition.
  • Compare optimizers under varying HPO budgets: from minimal (learning rate only) to full (all hyperparameters).
  • Use probabilistic performance metrics to assess the likelihood of finding a well-performing configuration within a given budget.
  • Introduce and evaluate the concept of 'effective learning rate' to improve performance in low-budget settings, capturing historical $(\gamma,\mu)$ pair success.

Experimental results

Research questions

  • RQ1How does the performance of optimizers vary when hyperparameter tuning cost is factored into benchmarking?
  • RQ2Which optimizer is most robust and practical under low computational budgets for hyperparameter search?
  • RQ3Does tuning only the learning rate suffice to achieve near-optimal performance, or is full hyperparameter tuning necessary?
  • RQ4How do adaptive optimizers like Adam compare to non-adaptive SGD variants in terms of tunability and performance stability?
  • RQ5To what extent do complex hyperparameter interactions affect the reliability of optimizer performance across different search budgets?

Key findings

  • Adam consistently achieves high performance with minimal tuning effort, particularly when only the learning rate is optimized, making it the most practical choice in low-budget scenarios.
  • Tuning only the learning rate of Adam achieves performance within 2-3% of the best possible result even at high budgets, demonstrating high reliability.
  • SGD variants achieve peak performance in some tasks but require extensive tuning, resulting in narrow, hard-to-reach minima in the hyperparameter space.
  • Full hyperparameter tuning of Adam improves performance further but with high variance, indicating a less smooth and more complex hyperparameter landscape.
  • The hyperparameter surface of Adam is wider and more robust than that of SGD, supporting the hypothesis that adaptive methods are easier to tune.
  • Using the 'effective learning rate' concept improves performance in low-budget settings by leveraging historically successful $(\gamma,\mu)$ pairs, suggesting potential for better prior modeling in future HPO frameworks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.