Theoretical characterisation of the Gauss-Newton conditioning in Neural Networks
Jim Zhao, Sidak Pal Singh, Aurelien Lucchi
TL;DR
This work provides a theoretical characterization of Gauss-Newton conditioning in neural networks, establishing tight upper bounds on the GN matrix condition number for deep linear networks of arbitrary depth and width, and extending the analysis to two-layer ReLU networks. By expressing the GN spectrum through data covariance $\boldsymbol{\Sigma}$ and layer-wise weight conditioning, the authors show that the conditioning scales with $\kappa(\boldsymbol{\Sigma})$ and can be controlled via architectural choices such as skip connections and Batch Normalization. They further extend the analysis to non-linear activations in simple settings and demonstrate empirically that architectural components like residuals and BN can substantially improve conditioning, aligning with observed training dynamics. Overall, the paper links classic optimization conditioning to modern network design, offering principled guidance on width-depth scaling and normalization strategies to improve optimization speed and stability.
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.
