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

梯度下降:终极优化

Gradient Descent: The Ultimate Optimizer

Meta, Inc.(Meta公司);Stanford University(斯坦福大学)

Kartik Chandra, Audrey Xie, Jonathan Ragan-Kelley, Erik Meijer

摘要:

使用任何基于梯度的机器学习算法都涉及到调整优化器超参数(如步长)的繁琐任务。最近的工作表明,步长本身可以通过手动推导表达式提前优化模型参数的“超梯度”。我们展示了如何通过对反向传播的简单而优雅的修改来自动计算超梯度。这使我们能够轻松地将该方法应用于其他优化器和超参数(例如动量系数)。我们甚至可以递归地将该方法应用于它自己的超-超参数,等等。随着这些优化器的塔越来越高,它们对超参数的初始选择变得不那么敏感。我们目前的实验验证了这一点的MLP,CNN和RNN。最后,我们提供了该算法的简单PyTorch实现(参见people.csail.mit.edu/kach/gradient-descent-the-ultimate-optimizer)。

英文摘要:

Working with any gradient-based machine learning algorithm involves the tedious task of tuning the optimizer's hyperparameters, such as its step size. Recent work has shown how the step size can itself be optimized alongside the model parameters by manually deriving expressions for "hypergradients" ahead of time. We show how to automatically compute hypergradients with a simple and elegant modification to backpropagation. This allows us to easily apply the method to other optimizers and hyperparameters (e.g. momentum coefficients). We can even recursively apply the method to its own hyper-hyperparameters, and so on ad infinitum. As these towers of optimizers grow taller, they become less sensitive to the initial choice of hyperparameters. We present experiments validating this for MLPs, CNNs, and RNNs. Finally, we provide a simple PyTorch implementation of this algorithm (see people.csail.mit.edu/kach/gradient-descent-the-ultimate-optimizer).

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

↑