23
18

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

Abstract

In this paper, we investigate a two-layer fully connected neural network of the form f(X)=1d1aσ(WX)f(X)=\frac{1}{\sqrt{d_1}}\boldsymbol{a}^\top \sigma\left(WX\right), where XRd0×nX\in\mathbb{R}^{d_0\times n} is a deterministic data matrix, WRd1×d0W\in\mathbb{R}^{d_1\times d_0} and aRd1\boldsymbol{a}\in\mathbb{R}^{d_1} are random Gaussian weights, and σ\sigma is a nonlinear activation function. We study the limiting spectral distributions of two empirical kernel matrices associated with f(X)f(X): the empirical conjugate kernel (CK) and neural tangent kernel (NTK), beyond the linear-width regime (d1nd_1\asymp n). We focus on the ultra-wide regime\textit{ultra-wide regime}, where the width d1d_1 of the first layer is much larger than the sample size nn. Under appropriate assumptions on XX and σ\sigma, a deformed semicircle law emerges as d1/nd_1/n\to\infty and nn\to\infty. We first prove this limiting law for generalized sample covariance matrices with some dependency. To specify it for our neural network model, we provide a nonlinear Hanson-Wright inequality that is suitable for neural networks with random weights and Lipschitz activation functions. We also demonstrate non-asymptotic concentrations of the empirical CK and NTK around their limiting kernels in the spectral norm, along with lower bounds on their smallest eigenvalues. As an application, we show that random feature regression induced by the empirical kernel achieves the same asymptotic performance as its limiting kernel regression under the ultra-wide regime. This allows us to calculate the asymptotic training and test errors for random feature regression using the corresponding kernel regression.

View on arXiv
Comments on this paper