Asymptotic Freeness of Layerwise Jacobians Caused by Invariance of Multilayer Perceptron: The Haar Orthogonal Case

Benoit Collins, Tomohiro HayaseOpenReview 2021 · DOI

TL;DR

This paper proves a crucial mathematical property called "asymptotic freeness" for the layerwise Jacobians of Multilayer Perceptrons (MLPs) when using Haar orthogonal initialization. This theoretical breakthrough is vital for understanding and analyzing the behavior of deep neural networks, particularly concerning dynamical isometry and training dynamics.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are incredibly successful in practice, but their theoretical understanding lags behind. A key challenge in analyzing DNNs is the presence of large random matrices (weights and their Jacobians) and the complex interactions between them. Free Probability Theory (FPT) offers a powerful framework to handle these mathematical difficulties, especially for analyzing properties like "dynamical isometry" (how well gradients propagate) and the "Fisher Information Matrix" (which relates to training efficiency).

A critical assumption in FPT applications to DNNs is "asymptotic freeness" of layerwise Jacobians. This means that as the network size grows, certain random matrices become independent in a specific probabilistic sense. While this assumption is fundamental for theoretical analysis, it has remained unproven for MLPs, particularly in the context of orthogonal weight initialization, which is known to be important for achieving dynamical isometry. This paper aims to fill this gap by providing a rigorous mathematical proof of asymptotic freeness for MLPs with Haar orthogonal weights.

Methods

The core of the paper's contribution lies in proving the asymptotic freeness of layerwise Jacobians. The authors leverage a key property: the invariance of the MLP under certain orthogonal transformations. Specifically, they show that if they multiply each layer's weight matrix by an appropriate orthogonal matrix, the overall MLP's output remains unchanged. This invariance is crucial.

The proof involves several technical steps:

  • Invariance of MLP: They construct specific orthogonal matrices that, when applied to the weight matrices, leave the MLP's computation invariant. This is a central lemma (Lemma 3.1).
  • Matrix Size Cutoff: They use techniques to show that certain operations on matrices become negligible in the large-dimensional limit (N → ∞). This is achieved by "cutting off" specific parts of the matrices (Section 3.3).
  • Haar Orthogonal Matrices: The proof heavily relies on the properties of Haar distributed orthogonal random matrices, which are known to have certain independence properties.
  • Free Probability Theory: The paper builds upon definitions and theorems from FPT, particularly concerning asymptotic freeness of random matrices and their joint distributions.

Datasets

Not discussed in the paper. The paper is theoretical and focuses on the mathematical properties of MLPs rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • MLP Invariance is Key: The paper demonstrates that the invariance of the MLP's computation under specific orthogonal transformations is the linchpin for proving asymptotic freeness. This invariance allows for a decoupling of different parts of the network.
  • Orthogonal Initialization Matters: The proof specifically addresses Haar orthogonal initialization, highlighting its importance for achieving both dynamical isometry and the desired asymptotic freeness property. This contrasts with Gaussian initialization, where asymptotic freeness has been proven but dynamical isometry is less reliably achieved.
  • Bridging Theory and Practice: By proving asymptotic freeness, this work provides a solid theoretical foundation for many existing heuristic analyses of DNNs, particularly those involving FPT, dynamical isometry, and Fisher Information Matrix.

Key Results

The paper's main results are theoretical guarantees of asymptotic freeness:

  • Theorem 4.1: Establishes that for MLPs with Haar orthogonal weights, the families of layerwise Jacobians and their transposes, along with the activation function Jacobians, are asymptotically free as the network width N → ∞.
  • Proposition 4.2: Shows that the Jacobian of a layer squared, and its interaction with the next layer's weight matrix and activation Jacobian, are asymptotically free. This is crucial for analyzing the spectral distribution of the overall Jacobian.
  • Proposition 4.3: Proves that certain matrices related to the Fisher Information Matrix (specifically, the recursively defined $H_l$) and the activation function Jacobians are asymptotically free. This is important for understanding training dynamics.

Limitations and Future Work

  • Specific Initialization: The current proof is for Haar orthogonal initialization. The authors suggest that extending the results to Haar unitary and Haar permutation weights is straightforward due to similar invariance properties.
  • Network Architecture: The analysis primarily focuses on standard Multilayer Perceptrons (MLPs). Extending these results to more complex architectures like Convolutional Neural Networks (CNNs) or Recurrent Neural Networks (RNNs) would be a significant future direction.
  • Activation Functions: While the paper covers a broad class of activation functions (smooth functions), specific properties of ReLU derivatives were used in related work, and further exploration for specific activation functions might be beneficial.
  • Limit Joint Moments: Theorem 4.1 requires the existence of limit joint moments for activation function Jacobians. The paper notes that Proposition 4.2 and 4.3 do not require this assumption, suggesting a path for broader applicability.

Summary updated

BibTeX
@misc{collins2021asymptotic,
  author = {Benoit Collins and Tomohiro Hayase},
  title = {{Asymptotic Freeness of Layerwise Jacobians Caused by Invariance of Multilayer Perceptron: The Haar Orthogonal Case}},
  year = {2021},
  eprint = {2103.13466},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13466},
  howpublished = {OpenReview},
}
Figure