arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.08215cs.LGstat.ML
收藏

用于贝叶斯优化的预训练高斯过程

Pre-trained Gaussian Processes for Bayesian Optimization

Google DeepMind(谷歌DeepMind)

Zi Wang, George E. Dahl, Kevin Swersky, Chansoo Lee, Zachary Nado, Justin Gilmer, Jasper Snoek, Zoubin Ghahramani

AI总结:

本文提出HyperBO框架,利用相似函数数据和基于KL散度的损失预训练高斯过程先验,以提升贝叶斯优化超参数调优的效率与理论保证。

摘要:

贝叶斯优化(BO)已成为对昂贵的现实世界函数进行全局优化的一种流行策略。与通常认为BO适合优化黑盒函数的预期相反,成功部署BO实际上需要关于这些函数的领域知识。此类领域知识通常体现为高斯过程(GP)先验,用于指定对函数的初始信念。然而,即使具备专家知识,定量定义先验也并非易事。对于复杂机器学习模型的超参数调优问题尤其如此,因为调优目标的景观往往难以理解。我们寻求一种设置这些函数先验的替代实践。具体而言,我们考虑这样一种场景:拥有来自相似函数的数据,使我们能够预先预训练一个更紧凑的分布。我们详细说明了使用基于KL散度的损失函数对GP进行预训练所涉及的内容,并提出了一个名为HyperBO的新型基于预训练的BO框架。在理论上,我们在不假设已知“真实”GP先验的情况下,证明了HyperBO的后验预测有界且遗憾接近零。为在现实设置中验证我们的方法,我们通过在流行的图像和文本数据集以及一个蛋白质序列数据集上训练数万个接近最先进深度学习模型的配置,收集了一个大型多任务超参数调优数据集。结果表明,平均而言,在我们的新调优数据集和现有多任务BO基准上,HyperBO定位良好超参数的效率至少比最佳竞争方法高3倍。

英文摘要:

Bayesian optimization (BO) has become a popular strategy for global optimization of expensive real-world functions. Contrary to a common expectation that BO is suited to optimizing black-box functions, it actually requires domain knowledge about those functions to deploy BO successfully. Such domain knowledge often manifests in Gaussian process (GP) priors that specify initial beliefs on functions. However, even with expert knowledge, it is non-trivial to quantitatively define a prior. This is especially true for hyperparameter tuning problems on complex machine learning models, where landscapes of tuning objectives are often difficult to comprehend. We seek an alternative practice for setting these functional priors. In particular, we consider the scenario where we have data from similar functions that allow us to pre-train a tighter distribution a priori. We detail what pre-training entails for GPs using a KL divergence based loss function, and propose a new pre-training based BO framework named HyperBO. Theoretically, we show bounded posterior predictions and near-zero regrets for HyperBO without assuming the "ground truth" GP prior is known. To verify our approach in realistic setups, we collect a large multi-task hyperparameter tuning dataset by training tens of thousands of configurations of near-state-of-the-art deep learning models on popular image and text datasets, as well as a protein sequence dataset. Our results show that on average, HyperBO is able to locate good hyperparameters at least 3 times more efficiently than the best competing methods on both our new tuning dataset and existing multi-task BO benchmarks.

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

↑