On the Benefit of Width for Neural Networks: Disappearance of Bad Basins

Dawei Li, Tian Ding, Ruoyu Sun · DOI

Abstract

Wide networks are often believed to have a nice optimization landscape, but what rigorous results can we prove? To understand the benefit of width, it is important to identify the difference between wide and narrow networks. In this work, we prove that from narrow to wide networks, there is a phase transition from having sub-optimal basins to no sub-optimal basins. Specifically, we prove two results: on the positive side, for any continuous activation functions, the loss surface of a class of wide networks has no sub-optimal basins, where "basin" is defined as the set-wise strict local minimum; on the negative side, for a large class of networks with width below a threshold, we construct strict local minima that are not global. These two results together show the phase transition from narrow to wide networks.

Introduction

Deep learning practitioners have long observed that wider networks are generally easier to train. While this is often attributed to increased "representation power," empirical evidence from network pruning suggests that even small networks have the capacity to fit data; the difficulty lies in the optimization process. This paper investigates whether network width fundamentally alters the geometry of the loss surface, specifically focusing on the existence of sub-optimal basins—regions of parameter space that act as traps where every local direction leads "uphill" despite the loss being higher than the global minimum.

Theoretical Framework

The authors introduce two formal concepts to characterize the optimization landscape:

  1. Property PT: A geometric condition where a tiny perturbation from any point can place the optimizer on a strictly decreasing path toward a global minimum.
  2. Weakly Global Functions: Functions that contain no sub-optimal basins (set-wise strict local minima).

To establish results for wide networks, the study employs an approximation trick. The authors first prove the absence of bad basins for "nice" analytic activation functions (e.g., Sigmoid, Softplus). By demonstrating that these functions are dense in the space of all continuous functions, they extend the proof to virtually any continuous activation, including non-smooth ones like ReLU, using compact convergence. For narrow networks, the authors use constructive proofs, designing specific activation functions and data distributions that explicitly create "bad basins" to demonstrate that the $N$ threshold (number of samples) is a critical boundary.

The Phase Transition of Width

The core finding is a sharp "phase transition" in the optimization landscape based on the width of the last hidden layer relative to the number of training samples $N$.

Comparison of optimization landscapes: (a) shows a landscape with no bad basins (weakly global), while (b) contains a sub-optimal basin that can trap optimization algorithms.
  • The $N$ Threshold: If the last hidden layer has a width $d_H \ge N$, bad basins disappear. This threshold is significantly lower than previous "ultra-wide" theories requiring $N^4$ or $N^{10}$ neurons.
  • Basins vs. Points: The authors argue that set-wise basins are the primary threat to optimization. Unlike isolated local minima, basins represent entire regions surrounded by "barriers" that noise or small gradient steps cannot easily escape.
  • The Pyramid Effect: The "no bad basins" property is robust; it holds even if the network narrows after the wide layer (a pyramid structure), provided the wide layer exists and subsequent activations are monotonic.

Main Results

The paper provides both positive and negative theoretical results regarding the $N$ threshold:

  • Positive Result (Theorem 2): For any fully connected network where the last hidden layer width $d_H \ge N$, and for any continuous activation function, the loss surface is "weakly global."
  • Negative Result (Theorem 4): For narrow networks ($m < N$), it is always possible to construct a network and dataset that result in a sub-optimal strict local minimum.
  • Broad Applicability: Unlike prior work limited to specific functions, this theory applies to most popular activations, including Swish, GeLU, and Sine.

As a theoretical work, the paper assumes generic training data (non-zero and distinct input samples). Interestingly, while ImageNet has ~1.2 million samples, architectures like VGG and Inception have layers with 1.3 to 3 million neurons, suggesting that modern wide networks are operating in the regime described by this theory.

Discussion and Future Work

While this work proves the landscape is "nice" in a set-wise sense, it does not provide a convergence rate for Gradient Descent (GD). It ensures GD won't get stuck in a trap, but not how fast it will reach the global minimum. Furthermore, while the negative results prove bad basins can exist in narrow networks, whether they appear in practice on natural datasets with standard activations remains an open question. Future research is needed to extend these rigorous proofs to Convolutional Neural Networks (CNNs) and Transformers.

Summary updated

BibTeX
@article{li2022benefit,
  author = {Dawei Li and Tian Ding and Ruoyu Sun},
  title = {{On the Benefit of Width for Neural Networks: Disappearance of Bad Basins}},
  journal = {SIAM J. Optim.},
  year = {2022},
  url = {https://openreview.net/forum?id=eg9NF31c8d},
}
Figure