arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.18240cs.LGcs.AI
收藏

XGrad:利用权重预测增强基于梯度的优化器

XGrad: Boosting Gradient-Based Optimizers With Weight Prediction

National University of Defense Technology(国防科技大学)

Lei Guan, Dongsheng Li, Yanqi Shi, Jian Meng

AI总结:

本文提出 XGrad 框架,通过依据优化器更新规则预测未来权重并用于前向与反向传播,提升多种梯度优化器训练 DNN 时的收敛性、泛化能力和准确率。

摘要:

本文提出一种通用深度学习训练框架 XGrad,它将权重预测引入流行的基于梯度的优化器,以在训练深度神经网络(DNN)模型时提升其收敛性和泛化能力。具体而言,在每个小批量训练之前,框架根据所用优化器的更新规则预测未来权重,然后将这些权重同时应用于前向传播和反向传播。这样,在整个训练期间,优化器始终利用相对于未来权重的梯度来更新 DNN 参数,使基于梯度的优化器相比没有权重预测的原始优化器获得更好的收敛性和泛化能力。XGrad 的实现相当直接,但在提升基于梯度的优化器的收敛性以及 DNN 模型的准确率方面非常有效。针对带动量的 SGD、Adam、AdamW、AdaBelief 和 AdaM3 这五种流行优化器的实证结果证明了所提方法的有效性。实验结果验证了在训练 DNN 模型时,XGrad 能够比基线优化器取得更高的模型准确率。XGrad 的代码将在 https://github.com/guanleics/XGrad 提供。

英文摘要:

In this paper, we propose a general deep learning training framework XGrad which introduces weight prediction into the popular gradient-based optimizers to boost their convergence and generalization when training the deep neural network (DNN) models. In particular, ahead of each mini-batch training, the future weights are predicted according to the update rule of the used optimizer and are then applied to both the forward pass and backward propagation. In this way, during the whole training period, the optimizer always utilizes the gradients w.r.t. the future weights to update the DNN parameters, making the gradient-based optimizer achieve better convergence and generalization compared to the original optimizer without weight prediction. XGrad is rather straightforward to implement yet pretty effective in boosting the convergence of gradient-based optimizers and the accuracy of DNN models. Empirical results concerning five popular optimizers including SGD with momentum, Adam, AdamW, AdaBelief, and AdaM3 demonstrate the effectiveness of our proposal. The experimental results validate that XGrad can attain higher model accuracy than the baseline optimizers when training the DNN models. The code of XGrad will be available at: https://github.com/guanleics/XGrad.

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

↑