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

利用凸性的分类问题的块坐标下降优化器

A block coordinate descent optimizer for classification problems exploiting convexity

Sandia National Laboratories(桑迪亚国家实验室)

Ravi G. Patel, Nathaniel A. Trask, Mamikon A. Gulian, Eric C. Cyr

摘要:

二阶优化器对于深度学习具有有趣的潜力,但与基于梯度的方法相比,二阶优化器具有增加的成本和对损失表面的非凸性的敏感性。我们引入了一种坐标下降方法来训练用于分类任务的深度神经网络,该方法利用线性层权重中交叉熵损失的全局凸性。我们的混合牛顿/梯度下降(NGD)的方法是一致的解释隐藏层提供一个自适应的基础和线性层提供一个最佳的适合的基础数据。通过交替使用二阶方法找到线性层的全局最优参数和梯度下降来训练隐藏层,我们确保了自适应基在整个训练过程中与数据的最佳拟合。二阶步长中Hessian的大小仅与线性层中的权重数有关,而与隐藏层的深度和宽度无关;此外,该方法适用于任意隐藏层结构。以前的工作应用这种自适应基础的角度回归问题证明了显着的改进,在降低训练成本的准确性,这项工作可以被视为这种方法的扩展分类问题。我们首先证明了所得到的Hessian矩阵是对称半定的,并且牛顿步实现了全局极小。通过研究制造的二维点云数据的分类,我们证明了使用NGD训练时,验证误差的改善和隐藏层中编码的基函数的显着质的差异。应用于密集和卷积架构的图像分类基准测试表明,训练精度有所提高,表明二阶方法可能优于梯度下降。

英文摘要:

Second-order optimizers hold intriguing potential for deep learning, but suffer from increased cost and sensitivity to the non-convexity of the loss surface as compared to gradient-based approaches. We introduce a coordinate descent method to train deep neural networks for classification tasks that exploits global convexity of the cross-entropy loss in the weights of the linear layer. Our hybrid Newton/Gradient Descent (NGD) method is consistent with the interpretation of hidden layers as providing an adaptive basis and the linear layer as providing an optimal fit of the basis to data. By alternating between a second-order method to find globally optimal parameters for the linear layer and gradient descent to train the hidden layers, we ensure an optimal fit of the adaptive basis to data throughout training. The size of the Hessian in the second-order step scales only with the number weights in the linear layer and not the depth and width of the hidden layers; furthermore, the approach is applicable to arbitrary hidden layer architecture. Previous work applying this adaptive basis perspective to regression problems demonstrated significant improvements in accuracy at reduced training cost, and this work can be viewed as an extension of this approach to classification problems. We first prove that the resulting Hessian matrix is symmetric semi-definite, and that the Newton step realizes a global minimizer. By studying classification of manufactured two-dimensional point cloud data, we demonstrate both an improvement in validation error and a striking qualitative difference in the basis functions encoded in the hidden layer when trained using NGD. Application to image classification benchmarks for both dense and convolutional architectures reveals improved training accuracy, suggesting possible gains of second-order methods over gradient descent.

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

↑