LGAIMLApr 16, 2021

Automatic Termination for Hyperparameter Optimization

arXiv:2104.08166v432 citations
AI Analysis

This work addresses the challenge of pre-specifying budgets in hyperparameter optimization for machine learning practitioners, offering an incremental improvement to existing methods.

The authors tackled the problem of determining when to stop Bayesian optimization for hyperparameter tuning by proposing an automatic termination criterion based on the discrepancy between validation and test performance, achieving a better trade-off between test performance and optimization time across various real-world HPO problems.

Bayesian optimization (BO) is a widely popular approach for the hyperparameter optimization (HPO) in machine learning. At its core, BO iteratively evaluates promising configurations until a user-defined budget, such as wall-clock time or number of iterations, is exhausted. While the final performance after tuning heavily depends on the provided budget, it is hard to pre-specify an optimal value in advance. In this work, we propose an effective and intuitive termination criterion for BO that automatically stops the procedure if it is sufficiently close to the global optimum. Our key insight is that the discrepancy between the true objective (predictive performance on test data) and the computable target (validation performance) suggests stopping once the suboptimality in optimizing the target is dominated by the statistical estimation error. Across an extensive range of real-world HPO problems and baselines, we show that our termination criterion achieves a better trade-off between the test performance and optimization time. Additionally, we find that overfitting may occur in the context of HPO, which is arguably an overlooked problem in the literature, and show how our termination criterion helps to mitigate this phenomenon on both small and large datasets.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes