Papers › AdaFisher: Adaptive Second Order Optimization via Fisher Information

AdaFisher: Adaptive Second Order Optimization via Fisher Information

26 May 2024arXiv:2405.16397archive 2025-07-28

Damien Martins Gomes, Yanlei Zhang, Eugene Belilovsky, Guy Wolf, Mahdi S. Hosseini

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2405.16397")

Code

Syntology Ran 7 of 10 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

AtlasAnalyticsLab/AdaFisher officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 7 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
2ran
3unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AtlasAnalyticsLab/AdaFisher. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

smart_detect_inf AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · b2678c5c61eb8deb · report
AdaFisher AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · metamorphic tier: deterministic GPL-3.0 (copyleft) · pointer only · 4f43efbc35c93ca0 · report
Compute_S_D AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran GPL-3.0 (copyleft) · pointer only · a98240a56c6339b6 · report
MinMaxNormalization AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · a95fe0f88dd753ff · report
MinMaxNormalization AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · 4eac4b80c07a7103 · report
_extract_patches AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · 227d433fcf298d4e · report
smart_detect_inf AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository ran · our draft was wrong fingerprinted GPL-3.0 (copyleft) · pointer only · 8c8c65f2ad1706c4 · report
AdaFisherBackBone AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository unverified GPL-3.0 (copyleft) · pointer only · 1711986ac8070f59 · report
Compute_H_D AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository unverified GPL-3.0 (copyleft) · pointer only · 0803247e64ad1d52 · report
update_running_avg AtlasAnalyticsLab/AdaFisher/optimizers/AdaFisher.py official repository unverified GPL-3.0 (copyleft) · pointer only · 1b03719b988e4b7f · report

Tasks

Computational EfficiencyImage ClassificationLanguage ModelingLanguage Modellingimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: AdaFisher

AdaFisherAdamSGD

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections