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

高维权值更新超参数的隐式微分可分级单程优化

Scalable One-Pass Optimisation of High-Dimensional Weight-Update Hyperparameters by Implicit Differentiation

University of Cambridge(剑桥大学);Alan Turing Institute(艾伦·图灵研究所)

Ross M. Clarke, Elre T. Oldewage, José Miguel Hernández-Lobato

摘要:

机器学习训练方法复杂而复杂地依赖于超参数,从而激励自动化策略对其进行优化。许多现有的算法重新开始训练每个新的超参数选择,在相当大的计算成本。存在一些基于超梯度的一次通过方法,但这些方法要么不能应用于任意优化的超参数(如学习率和动量),要么需要比基本模型长几倍的训练时间。我们扩展了这些现有的方法,开发了一个近似的基于超梯度的超参数优化器,该优化器适用于出现在可微模型权重更新中的任何连续超参数,但只需要一个训练集,无需重新启动。我们还提供了一个激励的论点收敛到真正的超梯度,并执行易于处理的基于梯度的优化独立的学习率为每个模型参数。我们的方法在几个UCI数据集和Fashion-MNIST(使用单层MLP),Penn Treebank(使用LSTM)和CIFAR-10(使用ResNet-18)上的各种随机超参数初始化中具有竞争力,在时间上仅比vanilla训练大2- 3倍。

英文摘要:

Machine learning training methods depend plentifully and intricately on hyperparameters, motivating automated strategies for their optimisation. Many existing algorithms restart training for each new hyperparameter choice, at considerable computational cost. Some hypergradient-based one-pass methods exist, but these either cannot be applied to arbitrary optimiser hyperparameters (such as learning rates and momenta) or take several times longer to train than their base models. We extend these existing methods to develop an approximate hypergradient-based hyperparameter optimiser which is applicable to any continuous hyperparameter appearing in a differentiable model weight update, yet requires only one training episode, with no restarts. We also provide a motivating argument for convergence to the true hypergradient, and perform tractable gradient-based optimisation of independent learning rates for each model parameter. Our method performs competitively from varied random hyperparameter initialisations on several UCI datasets and Fashion-MNIST (using a one-layer MLP), Penn Treebank (using an LSTM) and CIFAR-10 (using a ResNet-18), in time only 2-3x greater than vanilla training.

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

↑