FOSI: Hybrid First and Second Order Optimization

Hadar Sivan, Moshe Gabel, Assaf Schuster
2/12/2026

No official code found. Best implementation: hsivan/fosi (6 stars, Apache-2.0, PyTorch, last commit 2024-03-21).

Abstract

Popular machine learning approaches forgo second-order information due to the difficulty of computing curvature in high dimensions. We present FOSI, a novel meta-algorithm that improves the performance of any base first-order optimizer by efficiently incorporating second-order information during the optimization process. In each iteration, FOSI implicitly splits the function into two quadratic functions defined on orthogonal subspaces, then uses a second-order method to minimize the first, and the base optimizer to minimize the other. We formally analyze FOSI's convergence and the conditions under which it improves a base optimizer. Our empirical evaluation demonstrates that FOSI improves the convergence rate and optimization time of first-order methods such as Heavy-Ball and Adam, and outperforms second-order methods (K-FAC and L-BFGS).

View on arXivView PDF

Code Implementations(1)

hsivan/fosiCommunity100%
PyTorchApache-2.0

FOSI library for improving first order optimizers with second order information

60Python, DockerfileFeb 1, 20232 years agoApache-2.0
deep-learninghessian-vector-productjaxlanczosoptimizer+2 more

Similar Papers

Cite this paper

@article{sivan2026fosi,
  title  = {FOSI: Hybrid First and Second Order Optimization},
  author = {Hadar Sivan and Moshe Gabel and Assaf Schuster},
  year   = {2026},
  eprint = {2302.08484},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2302.08484},
  journal = {ICLR 2023 2023}
}

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/2302.08484.svg)](https://codeofpaper.com/paper/2302.08484)

Discussion