AdaFisher: Adaptive Second Order Optimization via Fisher Information

Damien Martins Gomes, Yanlei Zhang, Eugene Belilovsky, Guy Wolf, Mahdi S. Hosseini
5/26/2024
cs.LGmath.OC

Official code: AtlasAnalyticsLab/AdaFisher (54 stars, GPL-3.0, last commit 2025-02-07).

Abstract

First-order optimization methods are currently the mainstream in training deep neural networks (DNNs). Optimizers like Adam incorporate limited curvature information by employing the diagonal matrix preconditioning of the stochastic gradient during the training. Despite their widespread, second-order optimization algorithms exhibit superior convergence properties compared to their first-order counterparts e.g. Adam and SGD. However, their practicality in training DNNs is still limited due to increased per-iteration computations compared to the first-order methods. We present \emph{AdaFisher}--an adaptive second-order optimizer that leverages a \emph{diagonal block-Kronecker} approximation of the Fisher information matrix for adaptive gradient preconditioning. AdaFisher aims to bridge the gap between enhanced \emph{convergence/generalization} capabilities and computational efficiency in second-order optimization framework for training DNNs. Despite the slow pace of second-order optimizers, we showcase that AdaFisher can be reliably adopted for image classification, language modeling and stands out for its stability and robustness in hyper-parameter tuning. We demonstrate that AdaFisher \textbf{outperforms the SOTA optimizers} in terms of both accuracy and convergence speed. Code is available from https://github.com/AtlasAnalyticsLab/AdaFisher.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

[ICLR 2025] AdaFisher: Adaptive Second Order Optimization via Fisher Information

543Shell, PythonJan 27, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{gomes2024adafisher,
  title  = {AdaFisher: Adaptive Second Order Optimization via Fisher Information},
  author = {Damien Martins Gomes and Yanlei Zhang and Eugene Belilovsky and Guy Wolf and Mahdi S. Hosseini},
  year   = {2024},
  eprint = {2405.16397},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.16397v3},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.16397.svg)](https://codeofpaper.com/paper/2405.16397)

Discussion