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

Hyp-RL:基于强化学习的超参数优化

Hyp-RL : Hyperparameter Optimization by Reinforcement Learning

University of Hildesheim(希尔德斯海姆大学)

Hadi S. Jomaa, Josif Grabocka, Lars Schmidt-Thieme

摘要:

超参数整定是机器学习中一个无所不在的问题,因为它是获得任何模型的最新性能的一个不可或缺的方面。大多数情况下,超参数只是通过在可能的超参数值网格上训练模型并在验证样本上(网格搜索)表现最好的一个来优化。最近,已经引入了构建所谓的代理模型的方法,该代理模型预测特定超参数设置、模型和数据集的验证损失,然后基于期望值的启发式函数和称为获取函数的代理模型的不确定性来顺序地选择下一个超参数进行测试(基于顺序模型的贝叶斯优化,SMBO)。本文将超参数优化问题建模为一个序贯决策问题,即下一步测试哪个超参数,并利用强化学习解决该问题。这样,我们的模型就不必依赖于像SMBO这样的启发式获取函数,而是可以根据它们最终导致的验证损失的后续减少来学习接下来要测试哪些超参数,或者是因为它们本身产生好的模型,或者是因为它们允许超参数选择策略构建更好的代理模型,该代理模型稍后能够选择更好的超参数。50个数据集表明,我们的方法优于最先进的超参数学习方法。

英文摘要:

Hyperparameter tuning is an omnipresent problem in machine learning as it is an integral aspect of obtaining the state-of-the-art performance for any model. Most often, hyperparameters are optimized just by training a model on a grid of possible hyperparameter values and taking the one that performs best on a validation sample (grid search). More recently, methods have been introduced that build a so-called surrogate model that predicts the validation loss for a specific hyperparameter setting, model and dataset and then sequentially select the next hyperparameter to test, based on a heuristic function of the expected value and the uncertainty of the surrogate model called acquisition function (sequential model-based Bayesian optimization, SMBO). In this paper we model the hyperparameter optimization problem as a sequential decision problem, which hyperparameter to test next, and address it with reinforcement learning. This way our model does not have to rely on a heuristic acquisition function like SMBO, but can learn which hyperparameters to test next based on the subsequent reduction in validation loss they will eventually lead to, either because they yield good models themselves or because they allow the hyperparameter selection policy to build a better surrogate model that is able to choose better hyperparameters later on. Experiments on a large battery of 50 data sets demonstrate that our method outperforms the state-of-the-art approaches for hyperparameter learning.

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

↑