Can Shallow Neural Networks Beat the Curse of Dimensionality? A Mean Field Training Perspective

Stephan Wojtowytsch, Weinan E

TL;DR

This paper investigates whether shallow neural networks can truly overcome the "curse of dimensionality" during training. The authors prove that for general Lipschitz target functions, gradient descent training can be surprisingly slow, decaying at a rate of $t^{-4/(d-2)}$ in high dimensions. However, for a specific class of functions (Barron functions), neural networks maintain a consistent, fast convergence rate regardless of dimension, suggesting that the network's hypothesis class plays a crucial role.

What Problem Does This Paper Address?

For decades, neural networks have been hailed as a solution to the "curse of dimensionality," a phenomenon where the complexity of learning a function grows exponentially with the number of input features. Approximation theory suggests that neural networks, unlike linear models, can represent complex functions in high dimensions efficiently. However, this paper focuses on the training dynamics of neural networks, specifically gradient descent, and asks: does the process of learning also escape the curse of dimensionality? The authors highlight a gap between theoretical approximation power and practical learning speed, particularly for general, smooth target functions. They question whether gradient descent, even in the idealized "mean field" regime (infinitely wide networks), can efficiently learn functions that aren't specifically tailored to the network's architecture.

Methods

The core of the paper's theoretical contribution lies in analyzing the gradient flow of the mean squared error loss functional in the "mean field" regime. This regime simplifies analysis by considering infinitely wide two-layer networks, where the distribution of parameters evolves according to a Wasserstein gradient flow. The authors derive a theoretical bound on the rate of population risk decrease, showing it can be as slow as $t^{-4/(d-2)}$ for general Lipschitz target functions.

To complement their theory, the authors employ numerical simulations. They train two-layer ReLU networks on both "Barron functions" (functions well-approximated by the network's architecture) and "non-Barron functions" (general Lipschitz functions). They track the empirical and population risk, as well as the evolution of the network's "Barron norm" (a measure of its representational capacity). These simulations are crucial for illustrating the theoretical findings and providing empirical evidence for the distinct training behaviors.

Datasets

The paper does not introduce new datasets. Instead, it uses synthetic data sampled from a uniform distribution on the $d$-dimensional unit cube $[-1,1]^d$. The target functions used for training are either specifically constructed "Barron functions" or general "Lipschitz continuous, non-Barron target functions."

Key Insights and Ideas

  • The Curse of Dimensionality Persists in Training: Contrary to the optimistic view from approximation theory, the training process itself, via gradient descent, can be severely hampered by high dimensionality for general target functions. This means even if a network can represent a function, learning it might take an impractically long time.
  • Hypothesis Class Matters Crucially: The paper strongly suggests that the "curse of dimensionality" is avoided not just by the capacity of a neural network, but by the alignment of the target function with the network's inherent function space (the "Barron space"). When the target function is a "Barron function," training is fast and dimension-independent.
  • Two Distinct Training Regimes: For Barron functions, training exhibits two phases: an initial rapid change in parameters and risk, followed by a slower, stable phase where the Barron norm remains relatively constant. This contrasts with non-Barron functions, where training appears to slow down considerably as dimension increases.
  • Barron Norm as a Key Indicator: The evolution of the Barron norm provides insight into the training dynamics. For Barron functions, it stabilizes, indicating efficient learning. For non-Barron functions, its slow growth might reflect the difficulty in finding a good representation.

Key Results

  • Theoretical Bound: Gradient descent training of a two-layer neural network in the mean field regime can take at least $O(t^{4/(d-2)})$ time to decrease population risk for general Lipschitz target functions in $d$ dimensions.
  • Numerical Evidence:
    • For "Barron target functions," both empirical and population risk decay similarly across dimensions (e.g., 30, 100, 250), showing a consistent and fast convergence.
  • For "non-Barron target functions," the decay of risk becomes noticeably slower as the dimension increases.
  • The empirical decay rate $\gamma(t) = -\log(R(t)) / \log(t)$ is comparable for Barron functions across dimensions but decreases for non-Barron functions as dimension grows.
  • The gap between empirical and population risk widens in high dimensions, especially for non-Barron targets, suggesting potential overfitting or difficulties in generalization.

Limitations and Future Work

  • Mean Field Assumption: The theoretical results are derived under the "mean field" assumption (infinitely wide networks). While this is a powerful simplification, it might not fully capture the dynamics of finite-width networks, although the authors suggest their results provide a strong indication.
  • Specific Loss Function: The analysis primarily focuses on the mean squared error loss. Extending the results to other loss functions would be valuable.
  • Generalization to Deep Networks: The paper focuses on shallow (two-layer) networks. Investigating whether similar phenomena occur in deeper architectures is a natural next step.
  • Practical Implications: While the paper provides theoretical and numerical evidence, further work is needed to precisely characterize which types of target functions are "Barron functions" in practice and how to identify them a priori to select appropriate models. The authors suggest that understanding these hypothesis classes is essential for choosing effective machine learning models.

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