arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.09121cs.LGmath.OC
收藏

深度学习中随机拟牛顿方法的效率研究

On the efficiency of Stochastic Quasi-Newton Methods for Deep Learning

University of Trieste(的里雅斯特大学)

Mahsa Yousefi, Angeles Martinez

AI总结:

本研究针对一阶深度学习优化方法的缺陷,分析BFGS与SR1两种随机拟牛顿更新的训练性能,通过多变量实验验证其效率,部分场景下优于最优调参的Adam优化器。

摘要:

尽管一阶方法在求解大规模深度学习问题中的优化问题时应用广泛,但它们存在一些严重缺陷。为弥补这些不足,近年来学界开始关注二阶方法的应用,例如基于拟牛顿的方法——这类方法仅利用梯度信息来构造海森矩阵(Hessian)的近似。本研究的核心是探究随机拟牛顿算法在深度神经网络训练中的表现,分析了两种经典拟牛顿更新规则的性能:有限内存布罗伊登-弗莱彻-戈德法布-香农更新(BFGS)和对称秩一更新(SR1)。该研究填补了两种更新规则实际性能相关的研究空白,分析了采用更稳健的BFGS更新,还是成本更低、允许不定海森近似、从而有望更好地穿越深度学习非凸损失函数中病态鞍点的SR1公式,能实现更高效的训练。我们展示并讨论了大规模实验研究的结果,实验变量涵盖批量归一化、网络架构、有限内存参数、批量大小以及采样策略类型。研究表明,随机拟牛顿优化器具备高效性,在部分场景下性能优于经过大量超参数最优组合调优的经典一阶Adam优化器。

英文摘要:

While first-order methods are popular for solving optimization problems that arise in large-scale deep learning problems, they come with some acute deficiencies. To diminish such shortcomings, there has been recent interest in applying second-order methods such as quasi-Newton based methods which construct Hessians approximations using only gradient information. The main focus of our work is to study the behaviour of stochastic quasi-Newton algorithms for training deep neural networks. We have analyzed the performance of two well-known quasi-Newton updates, the limited memory Broyden-Fletcher-Goldfarb-Shanno (BFGS) and the Symmetric Rank One (SR1). This study fills a gap concerning the real performance of both updates and analyzes whether more efficient training is obtained when using the more robust BFGS update or the cheaper SR1 formula which allows for indefinite Hessian approximations and thus can potentially help to better navigate the pathological saddle points present in the non-convex loss functions found in deep learning. We present and discuss the results of an extensive experimental study which includes the effect of batch normalization and network's architecture, the limited memory parameter, the batch size and the type of sampling strategy. we show that stochastic quasi-Newton optimizers are efficient and able to outperform in some instances the well-known first-order Adam optimizer run with the optimal combination of its numerous hyperparameters.

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

↑