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, focusing on fully-connected networks achieving dynamical isometry. We find that the parameter space's local metric linearly depends on the depth even under dynamical isometry. Specifically, the conditional FIM's spectrum concentrates around the maximum, which grows linearly with depth. Using free probability theory, we construct an algebraic methodology to analyze this spectrum in the wide limit. Experimental results verify that the appropriate learning rate for online training is inversely proportional to depth, as determined by the FIM's spectrum.

Introduction

Training deep neural networks (DNNs) requires careful initialization to prevent gradients from vanishing or exploding. Dynamical isometry, often achieved through orthogonal initialization, ensures stable signal propagation by keeping the Jacobian's singular values near unity. However, optimization stability also depends on the curvature of the loss landscape, characterized by the Fisher Information Matrix (FIM). This paper explores how depth affects the FIM spectrum even when dynamical isometry is maintained.

The Problem of Curvature in Deep Networks

While dynamical isometry stabilizes gradient magnitudes, it does not necessarily stabilize the local metric of the parameter space. If the FIM has very large eigenvalues, the loss surface becomes "sharp," requiring smaller learning rates to avoid instability. The authors demonstrate that in deep networks, the curvature grows linearly with depth ($L$), fundamentally impacting the choice of hyperparameters.

Key Insights: Spectral Concentration and Scaling

A core finding of this work is that the FIM spectrum behaves differently than the Jacobian under dynamical isometry. As depth increases, the eigenvalues of the FIM do not remain bounded; instead, they concentrate around a maximum value that scales linearly with $L$.

Comparison between the theoretical spectral distribution (black lines) and empirical histograms (orange) for a multi-layer network.

This concentration implies that the parameter space becomes "uniformly sharp" in many directions as the network gets deeper. The authors provide explicit formulas for these distributions using Free Probability Theory (FPT), matching empirical results with high precision.

Key Results: The 1/L Learning Rate Rule

The linear growth of the maximum eigenvalue $\lambda_{\max}$ has a direct consequence for optimization. For gradient descent to remain stable, the learning rate $\eta$ must satisfy $\eta < 2/\lambda_{\max}$. Since $\lambda_{\max} \propto L$, the maximum stable learning rate must scale as $1/L$.

Scaling of the maximum eigenvalue of the FIM with network depth L. The linear relationship on this log-log plot confirms that curvature increases proportionally with depth.

Experiments on datasets like Fashion-MNIST and CIFAR-10 confirm this theoretical boundary. Training remains stable and successful only when the learning rate is adjusted according to this $1/L$ rule, providing a principled foundation for hyperparameter tuning in ultra-deep architectures.

Methodology: Free Probability Theory

To derive these results, the authors utilize Free Probability Theory (FPT), a mathematical framework for analyzing large random matrices. By considering the "wide limit" (infinite neurons per layer), they use tools like the S-transform to track the spectral distribution through recursive layers. This algebraic approach allows for exact solutions of the FIM spectrum, providing a rigorous foundation for their observations.

Conclusion

By quantifying how depth distorts the parameter space, this research provides a principled explanation for why deeper networks often require smaller learning rates. Even with dynamical isometry, the linear increase in curvature with depth is an inherent property of deep architectures that must be accounted for during training.

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},
}

Loading related content...

Figure