Gradient Regularized Natural Gradients
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-10 (test) | Accuracy97.1 | 3381 | |
| Image Classification | ImageNet-100 (test) | Clean Accuracy90.1 | 119 | |
| Image Classification | Food-101 (test) | -- | 89 | |
| Image Classification | ImageNet-100 | -- | 87 | |
| Image Classification | Oxford-IIIT Pet (test) | Overall Accuracy92.8 | 59 | |
| Natural Language Understanding | GLUE (test) | MNLI-mm98.6 | 39 | |
| Image Classification | CIFAR-100 | Total Running Time (s)817 | 5 | |
| Image Classification | Food-101 | Total Runtime (s)4.73e+3 | 5 | |
| Natural Language Inference | MNLI mm | Total Latency (s)8.84e+3 | 5 | |
| Paraphrase Detection | QQP | Total Running Time (s)8.28e+3 | 5 |