Achieving Small Test Error in Mildly Overparameterized Neural Networks

Shiyu Liang, Ruoyu SunarXiv 2021

Introduction

In deep learning theory, a significant gap exists between the theoretical requirements for optimization and the practical success of neural networks. While the Neural Tangent Kernel (NTK) regime provides rigorous proofs of convergence and generalization, it typically requires "ultra-wide" networks where the width $m$ scales as $\Omega(n^2)$ or even $\Omega(n^4)$ relative to the number of samples $n$. In contrast, practitioners successfully train "mildly" overparameterized networks where the width is much smaller.

This paper bridges this gap by demonstrating that two-layer ReLU networks only require a width proportional to the number of samples—$O(n)$—to achieve small test error. By analyzing the loss landscape under $\ell_2$ regularization, the authors show that every local minimum generalizes well and can be reached in polynomial time using a modified gradient descent algorithm.

The Landscape of Mild Overparameterization

The core challenge in non-convex optimization is the presence of "bad" local minima or stationary points that do not generalize. The authors address this through two primary mechanisms:

  1. Explicit $\ell_2$ Regularization: Adding a standard weight decay term to the empirical loss function. This regularization effectively "cleans" the landscape, ensuring that the points the algorithm converges to possess desirable generalization properties.
  2. The "One More Neuron" Rule: For fully connected networks, the authors identify a critical threshold: $m \ge n+1$. When the width exceeds the number of data points, any local minimum is guaranteed to have at least one "inactive" neuron (a neuron with very small weights). This structural property is key to escaping suboptimal stationary points.

Algorithmic Innovation: Modified Gradient Descent

Standard gradient descent can become trapped at "directional stationary points"—points where the gradient is zero but which are not true local minima. To overcome this, the authors propose a modified Gradient Descent algorithm that utilizes the inactive neurons identified in their landscape analysis.

If the algorithm reaches a stationary point that is not a global minimum, it identifies an inactive neuron and applies a specific perturbation to its parameters. This perturbation acts as an "escape hatch," providing a new descent direction that allows the optimization to continue toward a better solution. For Convolutional Neural Networks (CNNs), this search is performed via an exhaustive patch-based search, while for Fully Connected Networks (FNNs), a "Fast Solver" using random sampling is introduced to maintain polynomial complexity.

Theoretical Guarantees

The paper provides rigorous bounds on both generalization and computational complexity under the assumption that the data is separable by a neural network with a positive margin $\gamma$.

  • Generalization: For a network of width $O(n)$, any local minimum $\theta^*$ is proven to achieve a test error of approximately $O\left(\frac{1}{\gamma\sqrt{n}} + \frac{E}{\gamma n}\right)$, where $E$ represents the number of noisy or mislabeled samples.
  • Convergence: The modified GD algorithm is guaranteed to find such a point in time polynomial in the input dimension $d$ and the number of samples $n$. For CNNs with a fixed filter size $r$, the complexity is $O(dn^{r/2})$.

Conclusion and Future Directions

This work provides a theoretical foundation for why mildly overparameterized networks perform so well in practice. It shifts the focus from global minima in ultra-wide regimes to the quality of local minima in more realistic architectures.

However, several challenges remain. The current analysis is restricted to two-layer architectures and ReLU activation functions, which possess specific homogeneity properties. Extending these landscape results to deeper networks and alternative activations like GeLU or Swish remains a vital area for future research. Additionally, the current framework is tailored for binary classification, leaving multi-class problems for subsequent investigation.

Summary updated

BibTeX
@misc{liang2021achieving,
  author = {Shiyu Liang and Ruoyu Sun and R. Srikant},
  title = {{Achieving Small Test Error in Mildly Overparameterized Neural Networks}},
  year = {2021},
  eprint = {2104.11895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.11895},
}
Figure