Linearized two-layers neural networks in high dimension

Abstract

We consider the problem of learning an unknown function f on the d-dimensional sphere with respect to the square loss, given i.i.d. samples \(yi, xi)\i n where xi is a feature vector uniformly distributed on the sphere and yi=f( xi)+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 N diverges, for a fixed dimension d. We consider two specific regimes: the approximation-limited regime, in which n=∞ while d and N are large but finite; and the sample size-limited regime in which N=∞ while d and n are large but finite. In the first regime we prove that if d + δ N d+1-δ for small δ > 0, then \, effectively fits a degree- polynomial in the raw features, and \, fits a degree-(+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 + δ n d +1-δ, then kernel methods can fit at most a a degree- polynomial in the raw features. This lower bound is achieved by kernel ridge regression. Optimal prediction error is achieved for vanishing ridge regularization.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…