Back to Search Start Over

Towards Learning Universal Hyperparameter Optimizers with Transformers

Authors :
Chen, Yutian
Song, Xingyou
Lee, Chansoo
Wang, Zi
Zhang, Qiuyi
Dohan, David
Kawakami, Kazuya
Kochanski, Greg
Doucet, Arnaud
Ranzato, Marc'aurelio
Perel, Sagi
de Freitas, Nando
Publication Year :
2022

Abstract

Meta-learning hyperparameter optimization (HPO) algorithms from prior experiments is a promising approach to improve optimization efficiency over objective functions from a similar distribution. However, existing methods are restricted to learning from experiments sharing the same set of hyperparameters. In this paper, we introduce the OptFormer, the first text-based Transformer HPO framework that provides a universal end-to-end interface for jointly learning policy and function prediction when trained on vast tuning data from the wild, such as Google's Vizier database, one of the world's largest HPO datasets. Our extensive experiments demonstrate that the OptFormer can simultaneously imitate at least 7 different HPO algorithms, which can be further improved via its function uncertainty estimates. Compared to a Gaussian Process, the OptFormer also learns a robust prior distribution for hyperparameter response functions, and can thereby provide more accurate and better calibrated predictions. This work paves the path to future extensions for training a Transformer-based model as a general HPO optimizer.<br />Comment: Published as a conference paper in Neural Information Processing Systems (NeurIPS) 2022. Code can be found in https://github.com/google-research/optformer and Google AI Blog can be found in https://ai.googleblog.com/2022/08/optformer-towards-universal.html

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2205.13320
Document Type :
Working Paper