Width Provably Matters in Optimization for Deep Linear Neural Networks

Simon S. Du, Wei Hu

Introduction

While deep learning is notoriously difficult to analyze due to its non-convex nature, this paper proves that width is the key to efficient optimization. The authors demonstrate that for deep linear neural networks, if the hidden layers are sufficiently wide, standard gradient descent with random initialization will converge to the global optimum at a linear rate. This effectively turns a daunting non-convex problem into one as well-behaved as simple linear regression.

The Problem: Non-Convexity and the Curse of Depth

The "black box" of deep learning optimization remains one of the biggest mysteries in AI. Training deep networks involves navigating highly non-convex landscapes where "bad" local minima or saddle points could theoretically trap optimization algorithms.

To understand this phenomenon, researchers often study deep linear networks. Even though these networks only represent linear functions, their loss surfaces are highly non-convex because the weights of different layers are multiplied together. Previous research showed a "curse of depth": for narrow networks, gradient descent can take an exponential amount of time to converge.

Before this paper, most "global convergence" proofs for deep networks relied on highly specific, non-standard conditions—such as initializing the network as an identity matrix or requiring the input data to be perfectly "whitened" (pre-processed to have zero mean and unit variance). The lingering question remained: Can standard gradient descent, using standard random initialization, optimize deep networks in polynomial time?

Methodology: Trajectory Analysis

The authors employ trajectory analysis rather than merely examining the static geometry of the loss landscape. Their approach focuses on how the network's predictions evolve over time during training.

Key technical components of their framework include:

  • Xavier Initialization: The authors analyze the standard Xavier/Glorot initialization scheme, which scales weights to keep the variance of signals stable across many layers.
  • Gram Matrix Dynamics: The core of the proof involves analyzing a time-varying "Gram matrix" (or preconditioner) that governs the gradient flow. They prove that if the network is wide enough, the eigenvalues of this matrix stay within a favorable range throughout the entire training process.
  • Perturbation Analysis: They demonstrate that as long as the width $m$ is large, the "high-order terms" (the mathematically messy parts of the non-convexity) remain small enough that they do not derail linear convergence.

Theoretical Setup

As a theoretical work, this paper does not rely on empirical benchmarks like ImageNet or CIFAR-10. Instead, it uses a general mathematical framework consisting of an arbitrary input matrix of $n$ training samples ($X$) and corresponding target labels ($Y$). Crucially, the paper makes no assumptions on the input data (like whitening) or the rank of the target matrix, distinguishing it from prior theoretical work.

Key Insights: Width as an Optimizer

The most striking insight from this research is that increasing the width of a network does not just increase its "memory" or capacity; it fundamentally changes the difficulty of the optimization problem. Width effectively "smooths" the path for gradient descent.

Furthermore, the authors draw a compelling parallel to linear regression. They show that a sufficiently wide deep linear network converges at a rate of $O(\kappa \log(1/\epsilon))$, where $\kappa$ is the condition number of the data. This is the exact same convergence rate as a simple, single-layer convex linear regression. The proof hinges on showing that at the start of training, a wide network's layers are "balanced" enough that the gradient signal neither explodes nor vanishes, and this balance persists as the weights move toward the optimum.

Main Results

This paper delivers several landmark theoretical guarantees:

  • Polynomial Time Guarantee: This is the first work to provide a polynomial-time global convergence guarantee for randomly initialized gradient descent on deep linear networks.
  • Explicit Width Requirement: The authors quantify exactly how wide a network needs to be. The required width $m$ is roughly proportional to the depth $L$, the rank of the input data $r$, and the condition number $\kappa^3$. Specifically: $m \geq \tilde{\Omega}(L \cdot r \cdot d_{out} \cdot \kappa^3)$.
  • Linear Convergence: They prove the loss decreases geometrically, which is significantly faster than the sub-linear rates often found in non-convex optimization.

Limitations and Future Directions

While a major step forward, the work has natural limitations. Most obviously, the network analyzed is linear. While deep linear networks capture the "multiplicative" difficulty of depth, they lack the "thresholding" behavior of non-linear activations like ReLU.

Additionally, the authors acknowledge it is "open whether this dependence [on width] is tight." In practice, networks might converge even when they are narrower than the theoretical bound suggests. Ultimately, the authors suggest this work provides a roadmap for analyzing non-linear networks, where "over-parameterization" (making the network wider than strictly necessary to fit the data) likely plays a similar role in easing optimization.

Summary updated

BibTeX
@inproceedings{du2019width,
  author = {Simon S. Du and Wei Hu},
  title = {{Width Provably Matters in Optimization for Deep Linear Neural Networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=HkN2Ki-dbH},
}
Figure