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

用于神经网络优化的Deep Frank-Wolfe算法

Deep Frank-Wolfe For Neural Network Optimization

University of Oxford(牛津大学);Alan Turing Institute(阿兰·图灵研究所)

Leonard Berrada, Andrew Zisserman, M. Pawan Kumar

摘要:

学习深度神经网络需要解决一个具有挑战性的优化问题:它是一个具有大量项的高维、非凸和非光滑最小化问题。神经网络优化中的当前实践是依赖于随机梯度下降(SGD)算法或其自适应变体。然而,SGD需要一个手工设计的学习率时间表。此外,它的自适应变体往往会产生解决方案,这些解决方案在看不见的数据上的泛化能力不如具有手动设计时间表的SGD。我们提出了一种优化方法,提供经验上的两全其美:我们的算法产生良好的泛化性能,同时只需要一个超参数。我们的方法是基于一个复合的近端框架,它利用了深度神经网络的组成性质,并可以通过设计利用强大的凸优化算法。具体来说,我们采用的Frank-Wolfe(FW)算法支持向量机,计算在每个时间步的封闭形式的最佳步长。我们进一步证明了下降方向是由网络中的一个简单的向后传递给出的,每次迭代的计算成本与SGD相同。我们目前的实验CIFAR和SNLI数据集,我们证明了我们的方法亚当,Adagrad,以及最近提出的BPGrad和AMSGrad的显着优越性。此外,我们比较了我们的算法SGD与手工设计的学习率调度,并表明它提供了类似的泛化,同时收敛速度更快。该代码可在https://github.com/oval-group/dfw上公开获取。

英文摘要:

Learning a deep neural network requires solving a challenging optimization problem: it is a high-dimensional, non-convex and non-smooth minimization problem with a large number of terms. The current practice in neural network optimization is to rely on the stochastic gradient descent (SGD) algorithm or its adaptive variants. However, SGD requires a hand-designed schedule for the learning rate. In addition, its adaptive variants tend to produce solutions that generalize less well on unseen data than SGD with a hand-designed schedule. We present an optimization method that offers empirically the best of both worlds: our algorithm yields good generalization performance while requiring only one hyper-parameter. Our approach is based on a composite proximal framework, which exploits the compositional nature of deep neural networks and can leverage powerful convex optimization algorithms by design. Specifically, we employ the Frank-Wolfe (FW) algorithm for SVM, which computes an optimal step-size in closed-form at each time-step. We further show that the descent direction is given by a simple backward pass in the network, yielding the same computational cost per iteration as SGD. We present experiments on the CIFAR and SNLI data sets, where we demonstrate the significant superiority of our method over Adam, Adagrad, as well as the recently proposed BPGrad and AMSGrad. Furthermore, we compare our algorithm to SGD with a hand-designed learning rate schedule, and show that it provides similar generalization while converging faster. The code is publicly available at https://github.com/oval-group/dfw.

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

↑