Abstract
Natural Gradient Descent (NGD) offers a theoretically principled way to accelerate deep learning optimization by accounting for the curvature of the loss landscape. However, the standard Empirical Fisher (EF) approximation often fails due to a fundamental scaling flaw. We present the Improved Empirical Fisher (iEF), which corrects this bias by re-scaling updates based on logit-level gradients. Our results across NLP and Computer Vision tasks demonstrate that iEF provides a more accurate approximation of the true Fisher Information Matrix, leading to faster convergence and better generalization than AdamW and standard EF, with negligible computational overhead.
Introduction: The Warped Landscape of Deep Learning
Stochastic Gradient Descent (SGD) is the workhorse of modern machine learning, yet it struggles with "warped" loss landscapes—regions where the surface is steep in some directions and extremely flat in others. Natural Gradient Descent (NGD) addresses this by using the Fisher Information Matrix (FIM) to pre-condition gradients, effectively straightening the path to the minimum.
While the exact FIM is computationally prohibitive for large models, practitioners often turn to the Empirical Fisher (EF) as a cheap substitute. Unfortunately, EF is notoriously unreliable. The authors identify the "inversely-scaled projection issue" as the primary culprit: EF updates are biased toward samples the model has already mastered. Because these "easy" samples have small gradients, the EF math produces massive, distorted updates that can derail training.
Methods: Fixing the Empirical Fisher
The proposed Improved Empirical Fisher (iEF) introduces a simple yet effective modification. Instead of using raw per-sample gradients, iEF scales updates based on the gradient norm at the model's output (the logits). This ensures that the influence of a sample is proportional to the model's remaining learning requirement, preventing "easy" samples from dominating the update.
Mathematically, iEF serves as an efficient approximation of the Gauss-Newton algorithm. To validate this approximation without computing the full FIM, the authors introduced the $γ$ indicator. This metric uses a double-differentiation trick to measure how closely an approximate update aligns with the true Natural Gradient.
Experimental Results
The authors evaluated iEF on a diverse set of benchmarks, including 7 GLUE tasks (NLP) and CIFAR-100 (Vision), focusing on Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA and Prompt-Tuning.
Approximation Quality and Robustness
Using the $γ$ indicator, the study confirmed that iEF updates are consistently closer to the ideal Natural Gradient than SGD or standard EF. Notably, iEF proved remarkably robust to "damping"—a hyperparameter typically required to stabilize second-order optimizers. While other methods require careful tuning of damping to avoid numerical instability, iEF performed well even with near-zero damping.
Performance and Efficiency
In 12 out of 15 experimental setups, iEF achieved the lowest training loss. More importantly, it translated this optimization advantage into better generalization, consistently outperforming well-tuned AdamW and Adafactor baselines on the GLUE benchmark. Because iEF reuses gradients already calculated during standard backpropagation, it adds negligible computational overhead, making it a "drop-in" replacement for existing approximate NGD optimizers.
Conclusion and Future Directions
The Improved Empirical Fisher resolves a long-standing flaw in a popular optimization shortcut. By fixing the scaling bias of the Empirical Fisher, iEF unlocks the benefits of second-order optimization for large-scale models. While currently most effective in PEFT scenarios due to memory constraints for per-sample gradients, future work integrating iEF with structured approximations like K-FAC could make it a standard tool for full-parameter training and model compression.
Summary updated