Papers › Fast Unconstrained Optimization via Hessian Averaging and Adaptive Gradient Sampling Methods

Fast Unconstrained Optimization via Hessian Averaging and Adaptive Gradient Sampling Methods

14 Aug 2024arXiv:2408.07268archive 2025-07-28

Thomas O'Leary-Roseberry, Raghu Bollapragada

We consider minimizing finite-sum and expectation objective functions via Hessian-averaging based subsampled Newton methods. These methods allow for gradient inexactness and have fixed per-iteration Hessian approximation costs. The recent work (Na et al. 2023) demonstrated that Hessian averaging can be utilized to achieve fast 𝒪(√(logkk)) local superlinear convergence for strongly convex functions in high probability, while maintaining fixed per-iteration Hessian costs. These methods, however, require gradient exactness and strong convexity, which poses challenges for their practical implementation. To address this concern we consider Hessian-averaged methods that allow gradient inexactness via norm condition based adaptive-sampling strategies. For the finite-sum problem we utilize deterministic sampling techniques which lead to global linear and sublinear convergence rates for strongly convex and nonconvex functions respectively. In this setting we are able to derive an improved deterministic local superlinear convergence rate of 𝒪(1k). For the %expected risk expectation problem we utilize stochastic sampling techniques, and derive global linear and sublinear rates for strongly convex and nonconvex functions, as well as a 𝒪(1√(k)) local superlinear convergence rate, all in expectation. We present novel analysis techniques that differ from the previous probabilistic results. Additionally, we propose scalable and efficient variations of these methods via diagonal approximations and derive the novel diagonally-averaged Newton (Dan) method for large-scale problems. Our numerical results demonstrate that the Hessian averaging not only helps with convergence, but can lead to state-of-the-art performance on difficult problems such as CIFAR100 classification with ResNets.

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

Code

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

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

tomoleary/hessianaveraging officialmentioned on GitHubjaxApache-2.0 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

8 samples harvested; 4 ran; 0 honoured the contract we drafted; 4 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
4unverified

Licence: 0 of the 8 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 tomoleary/hessianaveraging. “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.

adaHessian_update tomoleary/hessianaveraging/hessavg/adaHessian.py official repository ran Apache-2.0 (permissive) · cf5d6f3b8700ab87 · report
diagonal_Newton_update tomoleary/hessianaveraging/hessavg/diagonalNewton.py official repository ran Apache-2.0 (permissive) · af37aae9d5a1ff1e · report
numpy_collate tomoleary/hessianaveraging/applications/resnet/dataUtilities.py official repository ran Apache-2.0 (permissive) · b683ce54519b23b0 · report
ravel_adam_update tomoleary/hessianaveraging/hessavg/adam.py official repository ran Apache-2.0 (permissive) · f0ae0b39189495eb · report
diagonally_averaged_Newton_update tomoleary/hessianaveraging/hessavg/diagonalNewton.py official repository unverified Apache-2.0 (permissive) · 5a40341434cd861c · report
get_cifar10_dataset tomoleary/hessianaveraging/applications/resnet/dataUtilities.py official repository unverified Apache-2.0 (permissive) · 4e118497a397a8e2 · report
get_cifar10_dataset_unmodified tomoleary/hessianaveraging/applications/resnet/dataUtilities.py official repository unverified Apache-2.0 (permissive) · 306859531f723b14 · report
ravel_adagrad_update tomoleary/hessianaveraging/hessavg/adaGrad.py official repository unverified Apache-2.0 (permissive) · 844041b8dc400cf1 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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