arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.01888cs.AIcs.LG
收藏

零成本基准上异步多保真优化的快速基准测试

Fast Benchmarking of Asynchronous Multi-Fidelity Optimization on Zero-Cost Benchmarks

Preferred Networks Inc.(Preferred Networks公司);University of Freiburg(弗莱堡大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Shuhei Watanabe, Neeratyoy Mallik, Edward Bergman, Frank Hutter

AI总结:

针对并行设置下零成本基准超参数优化效率低的问题,提出基于文件系统计算返回顺序的方法,配套Python包可适配多类HPO库,实现超千倍加速。

摘要:

尽管深度学习已取得诸多成功,但其结果往往依赖于超参数(HP)的精细选择。然而,深度学习训练耗时的特性使得超参数优化(HPO)成为一项成本高昂的工作,阻碍了高效HPO工具的开发。零成本基准无需实际训练即可提供性能和运行时间,虽为非并行设置提供了解决方案,但在并行设置中存在不足,因为每个工作器必须传递其查询到的运行时间,才能按确切顺序返回评估结果。本研究针对这一挑战,推出了一款易用的Python包,可借助零成本基准实现高效的并行HPO。我们的方法基于文件系统中存储的信息计算确切的返回顺序,无需长时间等待,可大幅加快HPO评估速度。我们首先通过大量测试验证了该方法的正确性,且使用6款主流HPO库开展的实验表明,该方法适用于各类库,与传统方法相比可实现1000倍以上的加速。我们的包可通过pip install mfhpo-simulator安装。

英文摘要:

While deep learning has celebrated many successes, its results often hinge on the meticulous selection of hyperparameters (HPs). However, the time-consuming nature of deep learning training makes HP optimization (HPO) a costly endeavor, slowing down the development of efficient HPO tools. While zero-cost benchmarks, which provide performance and runtime without actual training, offer a solution for non-parallel setups, they fall short in parallel setups as each worker must communicate its queried runtime to return its evaluation in the exact order. This work addresses this challenge by introducing a user-friendly Python package that facilitates efficient parallel HPO with zero-cost benchmarks. Our approach calculates the exact return order based on the information stored in file system, eliminating the need for long waiting times and enabling much faster HPO evaluations. We first verify the correctness of our approach through extensive testing and the experiments with 6 popular HPO libraries show its applicability to diverse libraries and its ability to achieve over 1000x speedup compared to a traditional approach. Our package can be installed via pip install mfhpo-simulator.

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

↑