We develop a hyperparameter optimisation algorithm, Automated Budget Constrained Training (AutoBCT), which balances the quality of a model with the computational cost required to tune it. The relationship between hyperparameters, model quality and computational cost must be learnt and this learning is incorporated directly into the optimisation problem. At each training epoch, the algorithm decides whether to terminate or continue training, and, in the latter case, what values of hyperparameters to use. This decision weighs optimally potential improvements in the quality with the additional training time and the uncertainty about the learnt quantities. The performance of our algorithm is verified on a number of machine learning problems encompassing random forests and neural networks. Our approach is rooted in the theory of Markov decision processes with partial information and we develop a numerical method to compute the value function and an optimal strategy.
翻译:我们开发了超参数优化算法,即自动化预算约束培训(AutoBCT),该算法平衡了模型质量和调和模型所需的计算成本。必须学习超参数、模型质量和计算成本之间的关系,并将这种学习直接纳入优化问题。在每个培训时代,算法决定是终止还是继续培训,在后一种情况下,应使用哪些超参数。这个决定将质量的改进与额外培训时间和所学数量不确定性相提并论。我们算法的性能通过包括随机森林和神经网络在内的若干机器学习问题得到验证。我们的方法根植于马尔科夫决策程序理论和部分信息,我们开发了一个计算价值函数和最佳战略的数字方法。