Amortized Auto-Tuning: Cost-Efficient Bayesian Transfer Optimization for Hyperparameter Recommendation

Yuxin Xiao, Eric P. Xing, Willie Neiswanger
6/17/2021
cs.LGcs.AIstat.ML
bayesian

Official code: xiaoyuxin1002/amortized-auto-tuning (6 stars, Python, MIT, last commit 2022-02-09).

Abstract

With the surge in the number of hyperparameters and training times of modern machine learning models, hyperparameter tuning is becoming increasingly expensive. However, after assessing 40 tuning methods systematically, we find that each faces certain limitations.

Show full abstract

In particular, methods that speed up tuning via knowledge transfer typically require the final performance of hyperparameters and do not focus on low-fidelity information. As we demonstrate empirically, this common practice is suboptimal and can incur an unnecessary use of resources. It is more cost-efficient to instead leverage low-fidelity tuning observations to measure inter-task similarity and transfer knowledge from existing to new tasks accordingly. However, performing multi-fidelity tuning comes with its own challenges in the transfer setting: the noise in additional observations and the need for performance forecasting. Therefore, we propose and conduct a thorough analysis of a multi-task multi-fidelity Bayesian optimization framework, which leads to the best instantiation--amortized auto-tuning (AT2). We further present an offline-computed 27-task hyperparameter recommendation (HyperRec) database to serve the community. Extensive experiments on HyperRec and other real-world databases illustrate the effectiveness of our AT2 method.

View on arXivView PDF

Code Implementations(1)

MIT

Amortized Auto-Tuning: Cost-Efficient Transfer Optimization for Hyperparameter Recommendation

61Python, ShellJun 16, 20214 years agoMIT
automlbayesian-optimizationhyperparameter-tuningtransfer-learning

Similar Papers

Cite this paper

@article{xiao2021amortized,
  title  = {Amortized Auto-Tuning: Cost-Efficient Bayesian Transfer Optimization for Hyperparameter Recommendation},
  author = {Yuxin Xiao and Eric P. Xing and Willie Neiswanger},
  year   = {2021},
  eprint = {2106.09179},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.09179}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.09179.svg)](https://codeofpaper.com/paper/2106.09179)

Discussion