c-TPE: Tree-structured Parzen Estimator with Inequality Constraints for Expensive Hyperparameter Optimization

Shuhei Watanabe, Frank Hutter
11/26/2022
cs.LGcs.AI

Official code: nabenabe0928/constrained-tpe (8 stars, Jupyter Notebook, Apache-2.0, last commit 2024-12-04).

Abstract

Hyperparameter optimization (HPO) is crucial for strong performance of deep learning algorithms and real-world applications often impose some constraints, such as on memory usage or latency, on top of the performance requirement. In this work, we propose constrained TPE (c-TPE), an extension of the widely-used versatile Bayesian optimization method, tree-structured Parzen estimator (TPE), to handle these constraints.

Show full abstract

Our proposed extension goes beyond a simple combination of an existing acquisition function and the original TPE, and instead includes modifications that address issues that cause poor performance. We thoroughly analyze these modifications both empirically and theoretically, providing insights into how they effectively overcome these challenges. In the experiments, we demonstrate that c-TPE exhibits the best average rank performance among existing methods with statistical significance on $81$ expensive HPO problems with inequality constraints. Due to the lack of baselines, we only discuss the applicability of our method to hard-constrained optimization in Appendix D. The implementation is now available via OptunaHub.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[IJCAI'23] c-TPE: Tree-structured Parzen Estimator with Inequality Constraints for Expensive Hyperparameter Optimization

82Jupyter Notebook, PythonJan 7, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{watanabe2022ctpe,
  title  = {c-TPE: Tree-structured Parzen Estimator with Inequality Constraints for Expensive Hyperparameter Optimization},
  author = {Shuhei Watanabe and Frank Hutter},
  year   = {2022},
  eprint = {2211.14411},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14411}
}

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/2211.14411.svg)](https://codeofpaper.com/paper/2211.14411)

Discussion