The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newton

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Abreu, Natalie, Vyas, Nikhil, Kakade, Sham, Morwani, Depen
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918453986721792
author Abreu, Natalie
Vyas, Nikhil
Kakade, Sham
Morwani, Depen
author_facet Abreu, Natalie
Vyas, Nikhil
Kakade, Sham
Morwani, Depen
contents Recent efforts to accelerate LLM pretraining have focused on computationally-efficient approximations that exploit second-order structure. This raises a key question for large-scale training: how much performance is forfeited by these approximations? To probe this question, we establish a practical upper bound on iteration complexity by applying full Gauss-Newton (GN) preconditioning to transformer models of up to 150M parameters. Our experiments show that full GN updates yield substantial gains over existing optimizers, achieving a 5.4x reduction in training iterations compared to strong baselines like SOAP and Muon. Furthermore, we find that a precise layerwise GN preconditioner, which ignores cross-layer information, nearly matches the performance of the full GN method. Collectively, our results suggest: (1) the GN approximation is highly effective for preconditioning, implying higher-order loss terms may not be critical for convergence speed; (2) the layerwise Hessian structure contains sufficient information to achieve most of these potential gains; and (3) a significant performance gap exists between current approximate methods and an idealized layerwise oracle.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09378
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newton
Abreu, Natalie
Vyas, Nikhil
Kakade, Sham
Morwani, Depen
Machine Learning
Artificial Intelligence
Recent efforts to accelerate LLM pretraining have focused on computationally-efficient approximations that exploit second-order structure. This raises a key question for large-scale training: how much performance is forfeited by these approximations? To probe this question, we establish a practical upper bound on iteration complexity by applying full Gauss-Newton (GN) preconditioning to transformer models of up to 150M parameters. Our experiments show that full GN updates yield substantial gains over existing optimizers, achieving a 5.4x reduction in training iterations compared to strong baselines like SOAP and Muon. Furthermore, we find that a precise layerwise GN preconditioner, which ignores cross-layer information, nearly matches the performance of the full GN method. Collectively, our results suggest: (1) the GN approximation is highly effective for preconditioning, implying higher-order loss terms may not be critical for convergence speed; (2) the layerwise Hessian structure contains sufficient information to achieve most of these potential gains; and (3) a significant performance gap exists between current approximate methods and an idealized layerwise oracle.
title The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newton
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2510.09378