Deformed semicircle law and concentration of nonlinear random matrices for ultra-wide neural networks

Zhichao Wang, Yizhe Zhu · OpenReview

Introduction

In the study of deep learning theory, the spectral properties of kernel matrices—specifically the Conjugate Kernel (CK) and the Neural Tangent Kernel (NTK)—provide fundamental insights into the optimization and generalization of neural networks. While the "linear-width" regime (where the hidden layer width $d_1$ is proportional to the number of samples $n$) has been extensively studied using standard Random Matrix Theory (RMT), modern architectures often operate in the "ultra-wide" regime ($d_1 \gg n$). This paper investigates the limiting spectral distributions and concentration properties of these kernels in this highly overparameterized limit.

The Shift to the Deformed Semicircle Law

A central finding of this research is the transition in the limiting spectral distribution of kernel matrices as the network width increases. In the linear-width regime, these matrices typically follow the Marchenko-Pastur law. However, as $d_1/n \to \infty$, the authors demonstrate that a "deformed semicircle law" emerges.

This law is derived using Stieltjes transforms and tools from free probability. The resulting distribution is characterized as a free multiplicative convolution of the standard semicircle law and a distribution determined by the input data and the activation function. This shift represents a significant departure from classical RMT results and provides a more accurate description of the eigenvalue distribution in highly overparameterized models.

Technical Contributions: Nonlinear Hanson-Wright Inequality

To establish rigorous concentration bounds, the authors introduce a novel nonlinear version of the Hanson-Wright inequality. The classical Hanson-Wright inequality provides concentration results for quadratic forms of random vectors. However, neural networks involve nonlinear activation functions $\sigma(\cdot)$ applied to these random weights.

The authors extend this inequality to handle Lipschitz activation functions, allowing them to prove that the empirical CK and NTK concentrate around their expectations in the spectral norm. Specifically, they show the error is of the order $O(\sqrt{n/d_1})$. This result implies that as the network width increases, the empirical kernel becomes increasingly deterministic, behaving like its infinite-width limit.

Data Assumptions and Implicit Regularization

The analysis assumes $(\epsilon, B)$-orthonormal data, a condition where the input data matrix $X$ is nearly orthogonal. This assumption is often satisfied in high-dimensional settings and allows for a cleaner analysis of the interaction between data and random weights.

Furthermore, the paper identifies an "effective ridge parameter" ($\lambda_{eff}$) that arises from the nonlinearity of the activation function. This suggests that the choice of activation function (e.g., ReLU, Tanh, Sigmoid) inherently provides a form of implicit regularization, influencing the network's generalization capabilities without the need for explicit weight decay.

Convergence and Regression Equivalence

The theoretical framework leads to several key results:

  1. Spectral Convergence: Theorems formally establish the weak convergence of eigenvalue distributions to the deformed semicircle law for both CK and NTK.
  2. Smallest Eigenvalue Bounds: The authors provide lower bounds for the smallest eigenvalues based on the Hermite coefficients of the activation function. This ensures the kernels remain non-singular, which is a prerequisite for the convergence of gradient descent to a global minimum.
  3. Random Feature Regression (RFR): The paper proves that RFR achieves the same asymptotic training and test error as its corresponding kernel regression in the ultra-wide limit. This validates the use of kernel methods as a proxy for understanding wide neural networks.

Conclusion and Limitations

This work provides a comprehensive spectral characterization of ultra-wide two-layer networks. However, several avenues for future research remain. The current results are specific to two-layer architectures and Gaussian weight distributions. Extending the "deformed semicircle" result to multi-layer networks and non-Gaussian weights (such as heavy-tailed distributions) is a logical next step. Additionally, the emergence of "outlier" eigenvalues—observed in simulations with ReLU activations—warrants further investigation, as these outliers can significantly influence the optimization dynamics of the network.

Summary updated

BibTeX
@misc{wang2021deformed,
  author = {Zhichao Wang and Yizhe Zhu},
  title = {{Deformed semicircle law and concentration of nonlinear random matrices for ultra-wide neural networks}},
  year = {2021},
  eprint = {2109.09304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.09304},
}
Figure