Put CASH on Bandits: A Max K-Armed Problem for Automated Machine Learning
Amir Rezaei Balef, Claire Vernade, Katharina Eggensperger
TL;DR
This work addresses Combined Algorithm Selection and Hyperparameter Optimization (CASH) by recasting it as a two-level bandit problem aimed at maximizing the maximum observed reward rather than the average. It introduces MaxUCB, a distribution-adapted extreme-bandit algorithm tailored to bounded, left-skewed reward distributions typical in AutoML, with a theoretically grounded regret bound that relies on the suboptimality gap and distribution-shape constants L and U. The authors complement theory with a data-driven analysis of HPO reward dynamics and demonstrate state-of-the-art performance on four AutoML benchmarks, showing robust early and final results and insightful sensitivity analyses for the exploration parameter α. The approach offers practical gains for AutoML systems by enabling efficient, scalable allocation of HPO budget across model classes and by potentially extending to NAS and sub-supernet selection. Collectively, the work advances extreme-bandit methods for CASH and provides a solid foundation for further integration of bandit-based resource allocation in automated ML pipelines.
Abstract
The Combined Algorithm Selection and Hyperparameter optimization (CASH) is a challenging resource allocation problem in the field of AutoML. We propose MaxUCB, a max k-armed bandit method to trade off exploring different model classes and conducting hyperparameter optimization. MaxUCB is specifically designed for the light-tailed and bounded reward distributions arising in this setting and, thus, provides an efficient alternative compared to classic max k-armed bandit methods assuming heavy-tailed reward distributions. We theoretically and empirically evaluate our method on four standard AutoML benchmarks, demonstrating superior performance over prior approaches. We make our code and data available at https://github.com/amirbalef/CASH_with_Bandits
