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

面向超参数优化的上下文内冻融贝叶斯优化

In-Context Freeze-Thaw Bayesian Optimization for Hyperparameter Optimization

University of Freiburg(弗莱堡大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)

Herilalaina Rakotoarison, Steven Adriaensen, Neeratyoy Mallik, Samir Garibov, Edward Bergman, Frank Hutter

AI总结:

针对冻融贝叶斯优化代理模型更新开销大的问题,提出基于PFN的代理模型FT-PFN,结合新采集机制MFPI-random构建ifBO方法,在三类HPO基准上实现更准更快的最优性能。

摘要:

随着深度学习相关计算成本不断攀升,高度依赖黑盒贝叶斯优化(BO)的自动化超参数优化方法正面临局限。冻融贝叶斯优化(Freeze-thaw BO)提供了一种颇具前景的灰盒替代方案,能够策略性地将稀缺资源逐步分配给不同配置。然而,该方法固有的频繁代理模型更新给现有方法带来了挑战——需要对其神经网络代理模型进行在线重训练或微调,进而产生额外开销、不稳定性以及超超参数。本研究提出了FT-PFN,一种适用于冻融式贝叶斯优化的新型代理模型。FT-PFN是一种先验数据拟合网络(PFN),它利用Transformer的上下文学习能力,仅通过单次前向传播就能高效、可靠地完成贝叶斯学习曲线外推。我们在三个基准测试套件上的实证分析表明,与前人工作中使用的深度高斯过程和深度集成代理模型相比,FT-PFN的预测更准确,速度快10到100倍。此外,我们还证明,当与我们提出的新型采集机制MFPI-random结合后,所得到的上下文内冻融贝叶斯优化方法ifBO,在先前工作涉及的同三类深度学习超参数优化(HPO)基准测试上,取得了全新的最优性能。

英文摘要:

With the increasing computational costs associated with deep learning, automated hyperparameter optimization methods, strongly relying on black-box Bayesian optimization (BO), face limitations. Freeze-thaw BO offers a promising grey-box alternative, strategically allocating scarce resources incrementally to different configurations. However, the frequent surrogate model updates inherent to this approach pose challenges for existing methods, requiring retraining or fine-tuning their neural network surrogates online, introducing overhead, instability, and hyper-hyperparameters. In this work, we propose FT-PFN, a novel surrogate for Freeze-thaw style BO. FT-PFN is a prior-data fitted network (PFN) that leverages the transformers' in-context learning ability to efficiently and reliably do Bayesian learning curve extrapolation in a single forward pass. Our empirical analysis across three benchmark suites shows that the predictions made by FT-PFN are more accurate and 10-100 times faster than those of the deep Gaussian process and deep ensemble surrogates used in previous work. Furthermore, we show that, when combined with our novel acquisition mechanism (MFPI-random), the resulting in-context freeze-thaw BO method (ifBO), yields new state-of-the-art performance in the same three families of deep learning HPO benchmarks considered in prior work.

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

↑