Optimization-Based Separations for Neural Networks

Itay Safran, Jason D. Lee

Abstract: Depth separation results propose a possible theoretical explanation for the benefits of deep neural networks over shallower architectures, establishing that the former possess superior approximation capabilities. However, a significant gap remains: does the superior expressivity of deep networks translate into an advantage in learnability via standard optimization algorithms? This paper, originally presented at the 35th Annual Conference on Learning Theory (COLT 2022), provides the first rigorous proof of an optimization-based separation. We demonstrate that while shallow networks fail to efficiently learn ball indicator functions, a slightly deeper architecture can learn them perfectly using standard gradient descent.

1. Introduction

One of the most fundamental questions in deep learning theory is why depth provides such a significant advantage. Historically, this has been addressed through approximation theory. Mathematicians have shown that certain functions require an exponential number of neurons to be represented by a shallow network, whereas a deep network can represent them with polynomial complexity.

However, representation is only half the battle. Just because a deep network can represent a function does not guarantee that Gradient Descent (GD) will ever find those parameters. Many functions used to prove representation-based depth separation are highly complex or "wiggly," making them essentially unlearnable by standard algorithms. This paper addresses this "optimization gap" by identifying a natural class of functions where depth provides a provable advantage in both representation and the ability to be trained via gradient descent.

2. The Problem: Learning Ball Indicator Functions

The researchers focus on ball indicator functions, defined as $f(x) = \mathbb{1}\{\|x\| \le \lambda\}$, which output 1 if a point is inside a certain radius $\lambda$ and 0 otherwise. These functions are fundamental in geometric classification tasks.

The study utilizes synthetic $d$-dimensional data distributions, specifically focusing on Radial Distributions:

  • Heavy-tailed distributions: Data that can appear far from the origin (e.g., Cauchy-like distributions).
  • Compactly-supported distributions: Data restricted to a specific range, such as the sum of two uniform hyperspheres.

3. Methods and Architectures

The authors compare two distinct architectures to evaluate the impact of depth on optimization:

  1. The "Weak" (Shallow) Architecture: A standard depth-2 network consisting of one hidden layer with sigmoidal activations and a linear output layer.
  2. The "Strong" (Deeper) Architecture: A network with two layers of non-linearities, utilizing an "erf" (error function) hidden layer and a clipped ReLU output layer.

3.1 Positive Result: Deep Success

To prove that the deeper network can learn efficiently, the authors employ a Random Features approach. They demonstrate that if the hidden layer is initialized randomly and kept fixed, training only the output layer with Gradient Descent is sufficient to learn the target function. By focusing on radial functions, the high-dimensional problem is reduced to a one-dimensional optimization problem, allowing for a rigorous proof of linear convergence.

3.2 Negative Result: Shallow Failure

To establish the failure of shallow networks, the authors use sophisticated Fourier analysis and the properties of Bessel functions. They prove that any shallow network attempting to learn these functions would require either an exponential number of neurons or an exponential amount of training time to achieve meaningful accuracy.

4. Key Insights

The Optimization-Based Separation

The core contribution of this work is showing that the difficulty for shallow networks is not merely a lack of neurons; rather, the optimization landscape itself is fundamentally broken for certain tasks. Even if a shallow network could theoretically approximate the function, GD cannot navigate the landscape to find that approximation.

The Power of Output Non-linearity

A critical technical insight is the role of the non-linearity at the output (the clipped ReLU). This addition allows the network to "threshold" radial information in a way that a linear output layer cannot, drastically simplifying the learning problem for radial functions.

5. Results and Impact

  • Shallow Failure: The authors prove that no algorithm can learn ball indicators to an accuracy better than $\Omega(d^{-4})$ using a shallow network without exponential resources. Standard GD on a shallow network fails to beat even a constant error rate.
  • Deep Success: Conversely, GD on the stronger, deeper architecture achieves $\epsilon$-accuracy with polynomial sample size, network width, and running time.
  • Bridging Theory and Practice: These results establish the first optimization-based separation where the theoretical benefits of depth are shown to manifest in actual practice using standard training methods.

6. Limitations and Future Work

While groundbreaking, the study notes several areas for further exploration:

  • Fixed Hidden Layers: The positive result currently relies on the Random Features regime where the hidden layer is not trained. Proving similar results for "fully trained" networks remains an open challenge.
  • Radial Symmetry: The proof is tailored to radial data. While these are natural functions, extending these proofs to non-radial, real-world settings is a necessary next step.
  • Activation Functions: Some proofs rely on the specific mathematical properties of the "erf" activation. While the authors conjecture that results hold for standard ReLUs, the mathematical complexity of such a proof is significantly higher.

7. Conclusion

By proving that depth facilitates optimization where shallow architectures fail, this paper provides a vital link between the mathematical potential of neural networks and their practical performance. It moves the conversation beyond what networks can be, to what they can actually become through training.

Summary updated

BibTeX
@inproceedings{safran2022optimization,
  author = {Itay Safran and Jason D. Lee},
  title = {{Optimization-Based Separations for Neural Networks}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=RZyDWi48viq},
}
Figure