ICLR 2023top-25%11 citations

Fisher-Legendre (FishLeg) optimization of deep neural networks

Jezabel R Garcia, Federica Freddi, Stathi Fotiadis, Maolin Li, Sattar Vakili, Alberto Bernacchia, Guillaume Hennequin

Abstract

Incorporating second-order gradient information (curvature) into optimization can dramatically reduce the number of iterations required to train machine learning models. In natural gradient descent, such information comes from the Fisher information matrix which yields a number of desirable properties. As exact natural gradient updates are intractable for large models, successful methods such as KFAC and sequels approximate the Fisher in a structured form that can easily be inverted. However, this requires model/layer-specific tensor algebra and certain approximations that are often difficult to justify. Here, we use ideas from Legendre-Fenchel duality to learn a direct and efficiently evaluated model for the product of the inverse Fisher with any vector, in an online manner, leading to natural gradient steps that get progressively more accurate over time despite noisy gradients. We prove that the resulting “Fisher-Legendre” (FishLeg) optimizer converges to a (global) minimum of non-convex functions satisfying the PL condition, which applies in particular to deep linear networks. On standard auto-encoder benchmarks, we show empirically that FishLeg outperforms standard first-order optimization methods, and performs on par with or better than other second-order methods, especially when using small batches. Thanks to its generality, we expect our approach to facilitate the handling of a variety neural network layers in future work.

Second-order optimizationNatural GradientDeep LearningMeta-learningFisher informationLegendre-Fenchel duality
BibTeX
@inproceedings{
garcia2023fisherlegendre,
title={Fisher-Legendre (FishLeg) optimization of deep neural networks},
author={Jezabel R Garcia and Federica Freddi and Stathi Fotiadis and Maolin Li and Sattar Vakili and Alberto Bernacchia and Guillaume Hennequin},
booktitle={The Eleventh International Conference on Learning Representations },
year={2023},
url={https://openreview.net/forum?id=c9lAOPvQHS}
}
Fisher-Legendre (FishLeg) optimization of deep neural networks · ICLR 2023