Skip to main content
QUICK REVIEW

[Paper Review] On the Power and Limitations of Random Features for Understanding Neural Networks

Gilad Yehudai, Ohad Shamir|arXiv (Cornell University)|Apr 1, 2019
Neural Networks and ApplicationsComputer Science29 citations
TL;DR

This paper demonstrates that random feature methods—commonly used to explain over-parameterized neural network training—cannot efficiently approximate even a single ReLU neuron under standard Gaussian inputs, requiring either exponentially many features or exponentially large weights in the input dimension d. This reveals a fundamental limitation of current theoretical frameworks based on random features, implying they cannot fully explain the generalization success of gradient-based training in deep networks.

ABSTRACT

Recently, a spate of papers have provided positive theoretical results for training over-parameterized neural networks (where the network size is larger than what is needed to achieve low error). The key insight is that with sufficient over-parameterization, gradient-based methods will implicitly leave some components of the network relatively unchanged, so the optimization dynamics will behave as if those components are essentially fixed at their initial random values. In fact, fixing these explicitly leads to the well-known approach of learning with random features. In other words, these techniques imply that we can successfully learn with neural networks, whenever we can successfully learn with random features. In this paper, we first review these techniques, providing a simple and self-contained analysis for one-hidden-layer networks. We then argue that despite the impressive positive results, random feature approaches are also inherently limited in what they can explain. In particular, we rigorously show that random features cannot be used to learn even a single ReLU neuron with standard Gaussian inputs, unless the network size (or magnitude of the weights) is exponentially large. Since a single neuron is learnable with gradient-based methods, we conclude that we are still far from a satisfying general explanation for the empirical success of neural networks.

Motivation & Objective

  • To formalize the connection between over-parameterized neural network training and random feature methods.
  • To identify inherent limitations of random feature approaches in explaining the generalization of neural networks.
  • To prove that approximating a single ReLU neuron using random features requires either exponentially many features or exponentially large weights in the input dimension d.
  • To show that this limitation holds even for general random features, including multi-layered neural networks and kernel-based features.
  • To demonstrate that despite positive results on polynomial functions, random features cannot capture the full representational power of neural networks.

Proposed method

  • Formalizing the link between gradient-based training of over-parameterized networks and learning with random features, where first-layer weights are effectively fixed at initialization.
  • Analyzing the approximation power of random features of the form $ f_i(x) = f(Wx) $, where $ W $ is a random matrix, under standard Gaussian input distributions.
  • Using concentration of measure and anti-concentration arguments to show that no linear combination of $ r $ random features can well-approximate a ReLU neuron unless $ r ext{ or } ext{max}|u_i| $ is exponentially large in $ d $.
  • Extending the analysis to general random features $ f_i(x) $ without structural assumptions, proving that for any distribution over such features, there exists a ReLU neuron that cannot be approximated efficiently.
  • Applying homogeneity of the ReLU function to scale the target weight vector $ w^* $ and bias $ b^* $, enabling a trade-off between norm size and required approximation error.
  • Using high-probability bounds over random feature sampling to establish that the failure is not due to bad initialization but inherent to the random feature framework.

Experimental results

Research questions

  • RQ1Can random feature methods efficiently approximate a single ReLU neuron with standard Gaussian inputs in $ \mathbb{R}^d $?
  • RQ2What is the minimum number of random features or magnitude of weights required to approximate a ReLU neuron within a constant error?
  • RQ3Does the limitation of random features extend to general feature families, including multi-layered neural networks and kernel methods?
  • RQ4Can random feature-based analysis explain the success of gradient-based training in learning ReLU neurons, given that such neurons are known to be learnable via gradient descent?
  • RQ5Is there a trade-off between the norm of the target weight vector and the required feature complexity in random feature approximation?

Key findings

  • For any distribution over $ r $ random features $ f_i(x) = f(Wx) $ with $ W $ a random matrix, if the approximation error of a ReLU neuron $ [\langle w^*, x \rangle + b^*]_+ $ is at most $ 1/50 $, then $ r \cdot \max_i |u_i| \geq \frac{1}{200d^4} \exp(c_3 d) $ for some universal constant $ c_3 $, implying exponential dependence on $ d $.
  • Even for general random features $ f_i(x) $ with $ \|f_i\| \leq \exp(c_2 d) $, there exists a ReLU neuron with $ \|w^*\| = d^3 $ and $ |b^*| \leq 6d^4 + 1 $ that cannot be approximated within error $ 1/50 $ unless $ r \cdot \max_i |u_i| \geq \frac{1}{200d^4} \exp(c_3 d) $ with high probability.
  • The lower bound holds for any distribution over feature families, including multi-layered neural networks and kernel-based features, showing the limitation is fundamental to the random feature paradigm.
  • The result implies that random feature-based analyses cannot explain the generalization of gradient-based training in deep networks, since a single ReLU neuron is learnable via gradient descent but not via random features.
  • A trade-off exists: for a ReLU neuron with $ \|w^*\| = \alpha d $, the required $ r \cdot \max_i |u_i| $ scales as $ \Omega(\exp(c_3 d)/\alpha) $, showing that higher norm targets require exponentially more resources.
  • The failure is not due to poor initialization but is inherent to the random feature framework, as the result holds with high probability over the sampling of features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.