arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.18420cs.LGcs.AI
收藏

梯度正则化的自然梯度

Gradient Regularized Natural Gradients

The University of Manchester(曼彻斯特大学);Aalto University(阿尔托大学)

Satya Prakash Dash, Hossein Abdi, Wei Pan, Samuel Kaski, Mingfei Sun

AI总结:

本文提出梯度正则化的自然梯度(GRNG),一种可扩展的二阶优化器,结合显式梯度正则化与自然梯度更新,通过正则化显式自然梯度和隐式自然梯度算法,提升模型泛化能力与优化速度。

摘要:

梯度正则化(GR)已被证明能提高训练模型的泛化能力。尽管自然梯度下降在训练初期能加速优化,但很少有人关注二阶优化器的训练动态如何从GR中受益。本文提出梯度正则化的自然梯度(GRNG),一种可扩展的二阶优化器,整合了显式梯度正则化与自然梯度更新。我们的框架引入了两种频域算法:正则化显式自然梯度(RENG),利用双反向传播显式最小化梯度范数;正则化隐式自然梯度(RING),将正则化隐式地融入更新方向。我们还提出基于正则化卡尔曼公式的贝叶斯变体,完全消除了对信息矩阵(FIM)求逆的需要。我们为GRNG建立了收敛保证,证明梯度正则化提高了稳定性并使模型能够收敛到全局极小值。实验证明,GRNG在速度和泛化能力上均优于一阶方法(SGD、AdamW)和二阶基线(K-FAC、Sophia),在视觉和语言基准测试中表现优异。

英文摘要:

Gradient regularization (GR) has been shown to improve the generalizability of trained models. While Natural Gradient Descent has been shown to accelerate optimization in the initial phase of training, little attention has been paid to how the training dynamics of second-order optimizers can benefit from GR. In this work, we propose Gradient-Regularized Natural Gradients (GRNG), a family of scalable second-order optimizers that integrate explicit gradient regularization with natural gradient updates. Our framework introduces two frequentist algorithms: Regularized Explicit Natural Gradient (RENG), which utilizes double backpropagation to explicitly minimize the gradient norm, and Regularized Implicit Natural Gradient (RING), which incorporates regularization implicitly into the update direction. We also propose a Bayesian variant based on a Regularized-Kalman formulation that eliminates the need for FIM inversion entirely. We establish convergence guarantees for GRNG, showing that gradient regularization improves stability and enables convergence to global minima. Empirically, we demonstrate that GRNG consistently enhances both optimization speed and generalization compared to first-order methods (SGD, AdamW) and second-order baselines (K-FAC, Sophia), with strong results on vision and language benchmarks.

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

↑