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

Yuxin Xiao, Eric P. Xing, Willie NeiswangerarXiv 2021

Introduction

Hyperparameter optimization (HPO) remains a critical bottleneck in the machine learning pipeline. The process of identifying optimal configurations—such as learning rates, batch sizes, and architectural parameters—often necessitates hundreds of full-scale training runs, imposing a significant "hidden tax" on research and development. While transfer learning approaches attempt to mitigate this cost by utilizing historical data, they frequently rely on high-fidelity observations (final model performance), which still requires substantial initial investment for each new task. Furthermore, many existing methods struggle with "cold-start" scenarios where no prior metadata is available for a target dataset.

The $AT^2$ Framework

This paper introduces Amortized Auto-Tuning ($AT^2$), a novel framework designed to make HPO significantly more cost-efficient by "recycling" data from past tuning sessions. The core of $AT^2$ is a Multi-Task Multi-Fidelity Bayesian Optimization (MT-MF-BO) approach. Unlike traditional methods, $AT^2$ identifies similarities between tasks using low-fidelity signals, such as validation accuracy after only a few training epochs. This allows the system to quickly determine which historical tasks a new task resembles, enabling near-instant hyperparameter recommendations.

Technical Innovations

The framework's efficiency is driven by three key technical components:

  1. OptiLand Task Kernel: Instead of relying on external metadata (like image features), this kernel measures task similarity by comparing the "landscapes" of validation accuracy across various configurations. It effectively utilizes low-fidelity data to bridge the gap between tasks.
  2. AccCurve Fidelity Kernel: This kernel explicitly models the shape of learning curves, allowing the surrogate model to forecast final performance from early-stage observations.
  3. Max-Trial-GP-UCB: A specialized acquisition function that optimizes the trade-off between exploring promising configurations and minimizing computational costs by selecting the appropriate fidelity level for each trial.
Optimization Landscape and Task Similarity

Experimental Results

The researchers validated $AT^2$ on two extensive benchmarks: HyperRec, a new computer vision benchmark featuring 27 unique tasks and 150 configurations, and LCBench, a standard tabular data benchmark.

Efficiency and Cold-Start Performance

Experimental results demonstrate that $AT^2$ consistently outperforms 40 state-of-the-art tuning methods, including BOHB and ABLR. As shown in the performance metrics, $AT^2$ achieves lower simple regret and better performance rankings with significantly fewer iterations. Notably, in cold-start scenarios, the framework leverages its "amortized" knowledge to recommend high-performing configurations almost immediately, bypassing the need for expensive exploratory runs.

Performance Comparison: Simple Regret and Ranking

Key Insights: The Value of Low-Fidelity Data

A central finding of this work is that high-fidelity data is not always necessary to establish task similarity. $AT^2$ demonstrates that the "response" of a model to different settings—its optimization landscape—is a powerful proxy for task identity. If two tasks react similarly to a specific change in learning rate or batch size, they are likely to share optimal configurations. By modeling the learning curve explicitly, the system can "hallucinate" final performance, skipping the costly middle stages of training and jumping directly to the most promising candidates. This approach effectively shifts the burden of HPO from expensive online computation to efficient offline amortization.

Conclusion

Amortized Auto-Tuning ($AT^2$) represents a significant step forward in making HPO accessible and cost-effective. By demonstrating that low-fidelity data can accurately capture inter-task similarities, the authors provide a robust alternative to metadata-dependent transfer methods. Future research directions include scaling the Gaussian Process surrogates to handle larger observation sets and extending the framework to continuous hyperparameter search spaces.

Summary updated

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