Python Wrapper for Simulating Multi-Fidelity Optimization on HPO Benchmarks without Any Wait

Shuhei Watanabe
5/27/2023
cs.LGcs.AI

Official code: nabenabe0928/mfhpo-simulator (7 stars, Apache-2.0, last commit 2026-04-24).

Abstract

Hyperparameter (HP) optimization of deep learning (DL) is essential for high performance. As DL often requires several hours to days for its training, HP optimization (HPO) of DL is often prohibitively expensive. This boosted the emergence of tabular or surrogate benchmarks, which enable querying the (predictive) performance of DL with a specific HP configuration in a fraction. However, since the actual runtime of a DL training is significantly different from its query response time, simulators of an asynchronous HPO, e.g. multi-fidelity optimization, must wait for the actual runtime at each iteration in a naïve implementation; otherwise, the evaluation order during simulation does not match with the real experiment. To ease this issue, we developed a Python wrapper and describe its usage. This wrapper forces each worker to wait so that we yield exactly the same evaluation order as in the real experiment with only $10^{-2}$ seconds of waiting instead of waiting several hours. Our implementation is available at https://github.com/nabenabe0928/mfhpo-simulator/.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[Python3] The simulator for multi-fidelity or parallel optimization using tabular or surrogate benchmarks

70Shell, PythonMay 12, 20236 months agoApache-2.0

Similar Papers

Cite this paper

@article{watanabe2023python,
  title  = {Python Wrapper for Simulating Multi-Fidelity Optimization on HPO Benchmarks without Any Wait},
  author = {Shuhei Watanabe},
  year   = {2023},
  eprint = {2305.17595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17595v2}
}

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

Discussion