Can Shallow Neural Networks Beat the Curse of Dimensionality? A mean field training perspective

Stephan Wojtowytsch, Weinan E

TL;DR

While approximation theory suggests shallow neural networks can represent high-dimensional functions efficiently, this paper proves that training them via gradient descent often falls victim to the "curse of dimensionality." The authors show that for general Lipschitz functions, the risk decreases at a rate that slows down exponentially with dimension, unless the target function belongs to a specific, well-behaved "Barron space."

What Problem Does This Paper Address?

Since the 1990s, researchers have leaned on "Barron’s Theorem" to justify using neural networks for high-dimensional problems. Barron proved that two-layer networks can approximate a large class of functions with an error rate independent of the dimension $d$. This suggested that neural networks could "beat the curse of dimensionality"—the phenomenon where the amount of data or time needed to learn a function grows exponentially with $d$.

However, Barron’s work only proved that such networks exist. It didn't guarantee that standard training methods, like gradient descent, could actually find them in a reasonable amount of time. This paper addresses this gap by analyzing the dynamics of training in the mean field regime, where the number of neurons is very large, and parameters are treated as a continuous distribution.

Methods

The authors employ a mean field training perspective, viewing the evolution of neural network parameters as a Wasserstein gradient flow. Instead of tracking individual weights, they track the evolution of the probability measure of the parameters.

Key technical components include:

  • Path-norm (Barron norm): A norm that measures the "complexity" or "distortion" a network applies to its input.
  • Growth Analysis: They prove that during gradient descent, the second moments of the parameter distribution (and thus the Barron norm) grow relatively slowly.
  • Approximation Lower Bounds: They leverage recent results showing that truly high-dimensional Lipschitz functions are poorly approximated by Barron functions with low norms.

By combining these, they derive a theoretical lower bound on the risk decay rate: $R(\Theta_t) \gtrsim t^{-4/(d-2)}$. As $d$ increases, this rate becomes agonizingly slow.

Datasets

The paper uses synthetic datasets to provide numerical evidence for their theoretical claims:

  • Barron Target Functions: Functions specifically designed to lie within the natural function space of two-layer ReLU networks (e.g., a difference of two ReLU-like components).
  • Non-Barron Target Functions: Lipschitz continuous functions that are "truly high-dimensional," such as a specific max-min function of coordinates.
  • Data Distribution: Inputs are sampled IID from a uniform distribution on the hypercube $[0, 1]^d$ or $[-1, 1]^d$.

Key Insights and Ideas

  • The Dynamic Curse: The "curse" isn't just about whether a network can represent a function, but whether gradient descent can reach that representation. If a target function requires a massive Barron norm to approximate, and the norm grows slowly during training, you're stuck.
  • Function Space Matters: Training speed is not universal. If the target function is in the "Barron space," convergence is fast and dimension-independent. If it's just a general Lipschitz function, it's slow.
  • Two Training Phases: For Barron targets, the authors observe a "radial" phase (rapid growth of parameters aligned with the target) followed by an "angular" phase (fine-tuning directions).
  • Generalization Gap: In high dimensions, the gap between empirical risk (on training data) and population risk (on new data) widens significantly, especially for non-Barron targets, as the model finds it easier to "memorize" points than to learn the underlying high-dimensional structure.

Key Results

The central result is Theorem 1 (and 2), which establishes that for some Lipschitz target functions, the population risk cannot decay faster than $t^{-\gamma}$ for any $\gamma > 4/(d-2)$.

Numerical experiments (Figures 1-3) confirm this:

  • Risk Decay: For Barron target functions, risk decay curves for $d=30, 100, 250$ are nearly identical. For non-Barron targets, the decay becomes visibly slower as $d$ increases.
Figure 1: A shallow neural network is trained to approximate Barron and non-Barron target functions in moderately high dimension. Plots for Barron target correspond to the colors starting with ‘b’ (blue, black, brown). Their risk decays so similarly across different dimensions that the plots are virtually indistinguishable. For non-Barron target functions, the decay of risk becomes noticeably slower in higher dimensions. Both empirical and population risk are monotone decreasing in all simulations.
  • Norm Growth: The Barron norm of the network stays relatively low and stable for Barron targets but grows slowly and persistently for non-Barron targets, illustrating the "lazy" parameter movement that causes the bottleneck.
Figure 2: Network parameters are initialized such that the Barron norm at time t = 0 is comparable for different dimensions. The Barron norm increases slowly for non-Barron target functions, which may seem counter-intuitive. Recall however that d
  • Decay Rates: The empirical decay rate $\gamma(t)$ stays high for Barron targets but drops toward zero as dimension increases for non-Barron targets.
Figure 3: Empirical decay rates showing the impact of dimensionality.

Limitations and Future Work

  • Shallow Focus: The results are specific to two-layer (shallow) networks. Whether deep networks can circumvent this dynamic curse through different feature learning mechanisms remains an open question.
  • Mean Field Regime: The analysis assumes the mean field scaling. Other regimes (like the Neural Tangent Kernel regime) might behave differently, though the authors suggest similar issues likely persist.
  • Target Function Classes: The paper highlights the need for a more comprehensive theory of Banach spaces associated with different neural architectures to better understand which functions are "easy" or "hard" to learn.
  • Optimization Algorithms: The study focuses on standard gradient descent. Exploring whether adaptive methods or specific noise injections (like in SGD) can accelerate the growth of the path-norm is a promising direction.

Summary updated

BibTeX
@article{wojtowytsch2020can,
  author = {Stephan Wojtowytsch and Weinan E},
  title = {{Can Shallow Neural Networks Beat the Curse of Dimensionality? A mean field training perspective}},
  journal = {IEEE Trans. Artif. Intell.},
  year = {2020},
  doi = {10.1109/tai.2021.3051357},
}
Figure