arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.06590cs.LGcs.AIcs.CVstat.ML
收藏

经济高效的在线超参数优化

Cost-Efficient Online Hyperparameter Optimization

University of Toronto(多伦多大学);Uber ATG(优步先进技术集团);ETH Zürich(苏黎世联邦理工学院)

Jingkang Wang, Mengye Ren, Ilija Bogunovic, Yuwen Xiong, Raquel Urtasun

摘要:

最近关于超参数优化(HPO)的工作表明,可以将某些超参数与常规参数一起训练。然而,这些在线HPO算法仍然需要在每个训练步骤中对一组验证示例进行评估,从而急剧增加了训练成本。为了决定何时查询验证损失,我们将在线HPO建模为随时间变化的贝叶斯优化问题,在此基础上,我们提出了一种新的\textit{costly feedback}设置来捕获查询成本的概念。在这种设置下,标准算法是成本效率低下的,因为它们在每一轮都对验证集进行评估。相比之下,本文提出的具有成本效益的GP-UCB算法仅在模型对当前决策不太自信时才查询未知函数。我们通过在CIFAR-10和ImageNet 100上在线调整VGG和ResNet的超参数来评估我们提出的算法。我们提出的在线HPO算法在一次实验中达到了人类专家级的性能,而与常规训练相比,只产生了适度的计算开销。

英文摘要:

Recent work on hyperparameters optimization (HPO) has shown the possibility of training certain hyperparameters together with regular parameters. However, these online HPO algorithms still require running evaluation on a set of validation examples at each training step, steeply increasing the training cost. To decide when to query the validation loss, we model online HPO as a time-varying Bayesian optimization problem, on top of which we propose a novel \textit{costly feedback} setting to capture the concept of the query cost. Under this setting, standard algorithms are cost-inefficient as they evaluate on the validation set at every round. In contrast, the cost-efficient GP-UCB algorithm proposed in this paper queries the unknown function only when the model is less confident about current decisions. We evaluate our proposed algorithm by tuning hyperparameters online for VGG and ResNet on CIFAR-10 and ImageNet100. Our proposed online HPO algorithm reaches human expert-level performance within a single run of the experiment, while incurring only modest computational overhead compared to regular training.

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

↑