English

Linearized two-layers neural networks in high dimension

Statistics Theory 2020-02-18 v3 Machine Learning Statistics Theory

Abstract

We consider the problem of learning an unknown function ff_{\star} on the dd-dimensional sphere with respect to the square loss, given i.i.d. samples {(yi,xi)}in\{(y_i,{\boldsymbol x}_i)\}_{i\le n} where xi{\boldsymbol x}_i is a feature vector uniformly distributed on the sphere and yi=f(xi)+εiy_i=f_{\star}({\boldsymbol x}_i)+\varepsilon_i. We study two popular classes of models that can be regarded as linearizations of two-layers neural networks around a random initialization: the random features model of Rahimi-Recht (RF); the neural tangent kernel model of Jacot-Gabriel-Hongler (NT). Both these approaches can also be regarded as randomized approximations of kernel ridge regression (with respect to different kernels), and enjoy universal approximation properties when the number of neurons NN diverges, for a fixed dimension dd. We consider two specific regimes: the approximation-limited regime, in which n=n=\infty while dd and NN are large but finite; and the sample size-limited regime in which N=N=\infty while dd and nn are large but finite. In the first regime we prove that if d+δNd+1δd^{\ell + \delta} \le N\le d^{\ell+1-\delta} for small δ>0\delta > 0, then \RF\, effectively fits a degree-\ell polynomial in the raw features, and \NT\, fits a degree-(+1)(\ell+1) polynomial. In the second regime, both RF and NT reduce to kernel methods with rotationally invariant kernels. We prove that, if the number of samples is d+δnd+1δd^{\ell + \delta} \le n \le d^{\ell +1-\delta}, then kernel methods can fit at most a a degree-\ell polynomial in the raw features. This lower bound is achieved by kernel ridge regression. Optimal prediction error is achieved for vanishing ridge regularization.

Keywords

Cite

@article{arxiv.1904.12191,
  title  = {Linearized two-layers neural networks in high dimension},
  author = {Behrooz Ghorbani and Song Mei and Theodor Misiakiewicz and Andrea Montanari},
  journal= {arXiv preprint arXiv:1904.12191},
  year   = {2020}
}

Comments

65 pages; 17 pdf figures

R2 v1 2026-06-23T08:51:15.320Z