Multi-layer random features and the approximation power of neural networks
Rustem Takhanov
TL;DR
This work develops an approximation theory for multi-layer neural networks in the random-weight, infinite-width regime via the Neural Network Gaussian Process (NNGP) kernel. It proves that the RKHS $\mathcal{H}_{\Sigma^{(L)}}$ associated with the NNGP contains exactly the functions approximable by the corresponding architecture, and that a multi-layer random features model (ML-RFM) can approximate any $f$ in this RKHS with error decaying as $1/\sqrt{T}$ when the last-layer weights are learned from supervised data. The authors contrast this RKHS-based view with Barron-space theory on the sphere, showing a two-class activation-function dichotomy determined by the decay rate of the NNGP eigenvalues: slow decay yields potential advantages for ML-RFM over Barron’s theorem, while fast decay yields cases where Barron bounds remain competitive. Experiments corroborate the theory and reveal that realistic networks can learn target functions even outside rigorous guarantees, underscoring that optimization and finite-width effects extend beyond NTK-type analyses. These results advance understanding of when and how deep random feature constructions can efficiently approximate and learn functions in neural architectures.
Abstract
A neural architecture with randomly initialized weights, in the infinite width limit, is equivalent to a Gaussian Random Field whose covariance function is the so-called Neural Network Gaussian Process kernel (NNGP). We prove that a reproducing kernel Hilbert space (RKHS) defined by the NNGP contains only functions that can be approximated by the architecture. To achieve a certain approximation error the required number of neurons in each layer is defined by the RKHS norm of the target function. Moreover, the approximation can be constructed from a supervised dataset by a random multi-layer representation of an input vector, together with training of the last layer's weights. For a 2-layer NN and a domain equal to an $n-1$-dimensional sphere in ${\mathbb R}^n$, we compare the number of neurons required by Barron's theorem and by the multi-layer features construction. We show that if eigenvalues of the integral operator of the NNGP decay slower than $k^{-n-\frac{2}{3}}$ where $k$ is an order of an eigenvalue, then our theorem guarantees a more succinct neural network approximation than Barron's theorem. We also make some computational experiments to verify our theoretical findings. Our experiments show that realistic neural networks easily learn target functions even when both theorems do not give any guarantees.
