The Spectrum of Fisher Information of Deep Networks Achieving Dynamical Isometry

Tomohiro Hayase, Ryo Karakida

Abstract: The Fisher information matrix (FIM) is fundamental to understanding the trainability of deep neural nets (DNN), since it describes the parameter space’s local metric. We investigate the spectral distribution of the conditional FIM, which is the FIM given a single sample, by focusing on fully-connected networks achieving dynamical isometry. Then, while dynamical isometry is known to keep specific backpropagated signals independent of the depth, we find that the parameter space’s local metric linearly depends on the depth even under the dynamical isometry. More precisely, we reveal that the conditional FIM’s spectrum concentrates around the maximum and the value grows linearly as the depth increases. To examine the spectrum, considering random initialization and the wide limit, we construct an algebraic methodology based on the free probability theory. As a byproduct, we provide an analysis of the solvable spectral distribution in two-hidden-layer cases. Lastly, experimental results verify that the appropriate learning rate for the online training of DNNs is in inverse proportional to depth, which is determined by the conditional FIM’s spectrum.

Introduction

Training deep neural networks (DNNs) remains a challenge due to the inherent instability of gradient signals as they propagate through many layers. While techniques like Dynamical Isometry—achieved through careful weight initialization (e.g., orthogonal matrices)—ensure that the Jacobian of the network remains stable regardless of depth, practitioners have observed that deeper networks still require significantly smaller learning rates to avoid divergence.

This research investigates this phenomenon by analyzing the Fisher Information Matrix (FIM), which defines the local curvature of the loss landscape. The central question is whether dynamical isometry, while stabilizing gradients, also stabilizes the FIM, or if the optimization landscape becomes increasingly "sharp" as depth increases.

Theoretical Framework: Free Probability Theory

To analyze the spectral properties of the FIM in the limit of infinite width, the authors utilize Free Probability Theory (FPT). This mathematical framework is specifically designed to handle the eigenvalues of large random matrices.

Key components of the methodology include:

  1. Dual FIM Analysis: In over-parameterized networks, the standard FIM is often singular. The authors analyze the "Dual FIM," which shares the same non-zero eigenvalues but is more mathematically tractable.
  2. S-Transform Recursion: By employing the S-transform (an FPT tool analogous to the Fourier transform), the authors derive recursive equations that describe how the spectral distribution of the FIM evolves from the input layer to the output layer.
  3. Analytical Solutions: This approach allowed for the first explicit analytical solution for the FIM spectrum of a non-trivial two-hidden-layer architecture.
Spectral distribution of the conditional FIM for different activation functions, showing the match between theoretical predictions (black lines) and empirical simulations (orange histograms).

Key Findings: The Depth Penalty

The core discovery of this work is that dynamical isometry is not a complete solution for deep network training. While it stabilizes the mean singular value of the Jacobian, the parameter space's local metric still scales linearly with depth.

Spectral Concentration and Linear Growth

As networks grow deeper, the eigenvalues of the conditional FIM do not merely spread; they concentrate near a maximum value. Theorem 4.3 in the paper formally proves that this maximum eigenvalue ($\lambda_{max}$) grows as $O(L)$, where $L$ is the number of layers. This means the loss landscape becomes sharper as the network gets deeper, even if gradients are stable.

Linear growth of the maximum eigenvalue of the conditional FIM as a function of network depth L across various settings.

Implications for Learning Rates

Optimization stability requires the learning rate ($\eta$) to satisfy the condition $\eta < 2/\lambda_{max}$. Because $\lambda_{max}$ scales linearly with $L$, the maximum stable learning rate must scale inversely with depth ($1/L$). This theoretical boundary explains why practitioners must reduce learning rates as they add layers to their models.

Empirical Validation

The theoretical predictions were validated using empirical experiments on Fashion-MNIST, CIFAR-10, and synthetic datasets. The results confirmed:

  • Universal Scaling: The mean eigenvalue of the full FIM scales as $L/N$ (where $N$ is the sample size), clarifying the interplay between depth and batch size.
  • Stability Boundaries: Accuracy heatmaps (not shown) demonstrate a clear failure "cliff" for training that aligns precisely with the predicted $2/L$ learning rate limit.

Conclusion and Limitations

This study provides a rigorous explanation for the depth-dependent difficulty of neural network optimization. However, several avenues for future work remain. The current analysis relies on the assumption of "asymptotic freeness" and focuses on fully-connected architectures at initialization. Extending these findings to Convolutional Neural Networks (CNNs), Transformers, and the middle stages of training will be essential for a complete understanding of deep learning dynamics.

Summary updated

BibTeX
@inproceedings{hayase2021spectrum,
  author = {Tomohiro Hayase and Ryo Karakida},
  title = {{The Spectrum of Fisher Information of Deep Networks Achieving Dynamical Isometry}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
  url = {https://openreview.net/forum?id=O8PlrnhOqiI},
}
Figure