Papers › Studying K-FAC Heuristics by Viewing Adam through a Second-Order Lens

Studying K-FAC Heuristics by Viewing Adam through a Second-Order Lens

23 Oct 2023arXiv:2310.14963archive 2025-07-28

Ross M. Clarke, José Miguel Hernández-Lobato

Research into optimisation for deep learning is characterised by a tension between the computational efficiency of first-order, gradient-based methods (such as SGD and Adam) and the theoretical efficiency of second-order, curvature-based methods (such as quasi-Newton methods and K-FAC). Noting that second-order methods often only function effectively with the addition of stabilising heuristics (such as Levenberg-Marquardt damping), we ask how much these (as opposed to the second-order curvature model) contribute to second-order algorithms' performance. We thus study AdamQLR: an optimiser combining damping and learning rate selection techniques from K-FAC (Martens & Grosse, 2015) with the update directions proposed by Adam, inspired by considering Adam through a second-order lens. We evaluate AdamQLR on a range of regression and classification tasks at various scales and hyperparameter tuning methodologies, concluding K-FAC's adaptive heuristics are of variable standalone general effectiveness, and finding an untuned AdamQLR setting can achieve comparable performance vs runtime to tuned benchmarks.

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="2310.14963")

Code

Syntology Ran 7 of 16 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 7 ran with no contract checked.

By repository: official repository: 16 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.

rmclarke/adamthroughasecondorderlens officialmentioned in paperjax 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

16 samples harvested; 7 ran; 0 honoured the contract we drafted; 9 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.

7ran
9unverified

Licence: 16 of the 16 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 rmclarke/adamthroughasecondorderlens. “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.

bootstrap_sample rmclarke/adamthroughasecondorderlens/util.py official repository ran no licence file found · pointer only · 257367ad05bc7c21 · report
compute_regrets rmclarke/adamthroughasecondorderlens/play.py official repository ran no licence file found · pointer only · fc7c3f257d2193b8 · report
compute_sgd_trajectory rmclarke/adamthroughasecondorderlens/play.py official repository ran no licence file found · pointer only · f7f1eb814f1e4e7d · report
cosine_similarity rmclarke/adamthroughasecondorderlens/util.py official repository ran no licence file found · pointer only · f10708dbee71608b · report
create_model rmclarke/adamthroughasecondorderlens/models.py official repository ran no licence file found · pointer only · 1d46e386a844b390 · report
log_directory rmclarke/adamthroughasecondorderlens/config.py official repository ran no licence file found · pointer only · 176c79969c679521 · report
pad_dataset_for_equal_batches rmclarke/adamthroughasecondorderlens/datasets.py official repository ran no licence file found · pointer only · 8c0747124badb4dc · report
correction_line_search_by_jvp rmclarke/adamthroughasecondorderlens/optimisers.py official repository unverified no licence file found · pointer only · 379dfdf7f2210c62 · report
create_loss rmclarke/adamthroughasecondorderlens/models.py official repository unverified no licence file found · pointer only · d9123205375186bb · report
curvature_loss rmclarke/adamthroughasecondorderlens/play.py official repository unverified no licence file found · pointer only · f9d1f74db9f050e2 · report
get_best_config rmclarke/adamthroughasecondorderlens/hyperparameter_optimisation.py official repository unverified no licence file found · pointer only · cfef9f25e27b585e · report
key_to_sort_order rmclarke/adamthroughasecondorderlens/plot.py official repository unverified no licence file found · pointer only · b2c5afc2f8e707ed · report
learning_rate_from_fisher rmclarke/adamthroughasecondorderlens/optimisers.py official repository unverified no licence file found · pointer only · ae5f7be907de0e09 · report
learning_rate_from_hessian rmclarke/adamthroughasecondorderlens/optimisers.py official repository unverified no licence file found · pointer only · a328664915e79be2 · report
make_split_datasets rmclarke/adamthroughasecondorderlens/datasets.py official repository unverified no licence file found · pointer only · 6556173b1b08119e · report
save_plot rmclarke/adamthroughasecondorderlens/plot.py official repository unverified no licence file found · pointer only · 2a558d12e10cc21b · report

Tasks

Computational EfficiencySecond-order methods

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdamSGD

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