arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.11015cs.LGcs.CVcs.NEmath.OC
收藏

diffGrad:一种卷积神经网络的优化方法

diffGrad: An Optimization Method for Convolutional Neural Networks

Indian Institute of Information Technology, Sri City(印度信息技术学院斯里城分校);Indian Institute of Information Technology, Lucknow(印度信息技术学院勒克瑙分校);Indian Statistical Institute(印度统计研究所);Techno India University(泰克诺印度大学);Indian Institute of Information Technology, Allahabad(印度信息技术学院阿拉哈巴德分校)

Shiv Ram Dubey, Soumendu Chakraborty, Swalpa Kumar Roy, Snehasis Mukherjee, Satish Kumar Singh, Bidyut Baran Chaudhuri

摘要:

随机梯度下降(SGD)是深度神经网络成功背后的核心技术之一。梯度提供了关于函数具有最陡变化率的方向的信息。基本SGD的主要问题是对所有参数改变相同大小的步长,而不管梯度行为如何。因此,深度网络优化的一种有效方法是为每个参数制定自适应步长。最近,已经进行了几次尝试来改进梯度下降方法,例如AdaGrad、AdaDelta、RMSProp和Adam。这些方法依赖于过去梯度平方的指数移动平均值的平方根。因此,这些方法不利用梯度的局部变化。在本文中,提出了一种新的优化器的基础上的差异,现在和刚刚过去的梯度(即,diffGrad)。在所提出的diffGrad优化技术中,针对每个参数调整步长,使得对于较快的梯度变化参数,步长应该较大,对于较低的梯度变化参数,步长应该较小。利用在线学习框架中的遗憾界方法进行收敛性分析。本文对三种综合的复非凸函数进行了严格的分析。在CIFAR10和CIFAR100数据集上进行了图像分类实验,以观察diffGrad相对于最先进的优化器(如SGDM,AdaGrad,AdaDelta,RMSProp,AMSGrad和Adam)的性能。在实验中使用基于残差单元(ResNet)的卷积神经网络(CNN)结构。实验结果表明,diffGrad优于其他优化器。此外,我们还证明了diffGrad在使用不同的激活函数训练CNN时表现一致。源代码可在https://github.com/shivram1987/diffGrad上公开获取。

英文摘要:

Stochastic Gradient Decent (SGD) is one of the core techniques behind the success of deep neural networks. The gradient provides information on the direction in which a function has the steepest rate of change. The main problem with basic SGD is to change by equal sized steps for all parameters, irrespective of gradient behavior. Hence, an efficient way of deep network optimization is to make adaptive step sizes for each parameter. Recently, several attempts have been made to improve gradient descent methods such as AdaGrad, AdaDelta, RMSProp and Adam. These methods rely on the square roots of exponential moving averages of squared past gradients. Thus, these methods do not take advantage of local change in gradients. In this paper, a novel optimizer is proposed based on the difference between the present and the immediate past gradient (i.e., diffGrad). In the proposed diffGrad optimization technique, the step size is adjusted for each parameter in such a way that it should have a larger step size for faster gradient changing parameters and a lower step size for lower gradient changing parameters. The convergence analysis is done using the regret bound approach of online learning framework. Rigorous analysis is made in this paper over three synthetic complex non-convex functions. The image categorization experiments are also conducted over the CIFAR10 and CIFAR100 datasets to observe the performance of diffGrad with respect to the state-of-the-art optimizers such as SGDM, AdaGrad, AdaDelta, RMSProp, AMSGrad, and Adam. The residual unit (ResNet) based Convolutional Neural Networks (CNN) architecture is used in the experiments. The experiments show that diffGrad outperforms other optimizers. Also, we show that diffGrad performs uniformly well for training CNN using different activation functions. The source code is made publicly available at https://github.com/shivram1987/diffGrad.

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

↑