Theoretical characterisation of the Gauss-Newton conditioning in Neural Networks

Jim Zhao, Sidak Pal Singh, Aurelien Lucchi
11/4/2024
cs.LGstat.ML

No official code found. Best implementation: jydzhao/GN_eigenspectrum (0 stars, Apache-2.0, last commit 2025-08-13).

Abstract

The Gauss-Newton (GN) matrix plays an important role in machine learning, most evident in its use as a preconditioning matrix for a wide family of popular adaptive methods to speed up optimization. Besides, it can also provide key insights into the optimization landscape of neural networks. In the context of deep neural networks, understanding the GN matrix involves studying the interaction between different weight matrices as well as the dependencies introduced by the data, thus rendering its analysis challenging. In this work, we take a first step towards theoretically characterizing the conditioning of the GN matrix in neural networks. We establish tight bounds on the condition number of the GN in deep linear networks of arbitrary depth and width, which we also extend to two-layer ReLU networks. We expand the analysis to further architectural components, such as residual connections and convolutional layers. Finally, we empirically validate the bounds and uncover valuable insights into the influence of the analyzed architectural components.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This is the source code to the Neurips2024 paper "Theoretical Characterisation of the Gauss Newton Conditioning in Neural Networks"

00Python, Jupyter NotebookAug 13, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2024theoretical,
  title  = {Theoretical characterisation of the Gauss-Newton conditioning in Neural Networks},
  author = {Jim Zhao and Sidak Pal Singh and Aurelien Lucchi},
  year   = {2024},
  eprint = {2411.02139},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.02139},
  url    = {http://arxiv.org/abs/2411.02139v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion