arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.17595cs.LGcs.AI
收藏

用于在HPO基准上无等待模拟多保真度优化的Python包装器

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

University of Freiburg(弗赖堡大学)

Shuhei Watanabe

AI总结:

针对异步HPO模拟中因实际运行时间与查询响应时间差异导致的评估顺序不匹配问题,开发了Python包装器,以$10^{-2}$秒等待替代数小时等待,确保模拟与真实实验评估顺序完全一致。

摘要:

深度学习(DL)的超参数(HP)优化对于实现高性能至关重要。由于DL通常需要数小时至数天进行训练,DL的HP优化(HPO)往往代价过高。这促使了表格或代理基准的出现,它们能够以极短时间查询特定HP配置下DL的(预测)性能。然而,由于DL训练的实际运行时间与查询响应时间差异显著,异步HPO(例如多保真度优化)的模拟器在朴素实现中必须在每次迭代时等待实际运行时间;否则,模拟中的评估顺序将与真实实验不匹配。为缓解此问题,我们开发了一个Python包装器并描述了其用法。该包装器强制每个工作者等待,从而使我们仅以$10^{-2}$秒的等待时间替代数小时的等待,即可产生与真实实验完全相同的评估顺序。我们的实现可在https://github.com/nabenabe0928/mfhpo-simulator/获取。

英文摘要:

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/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑