Skip to main content
QUICK REVIEW

[Paper Review] Convergence Analysis of Two-layer Neural Networks with ReLU Activation

Yuanzhi Li, Yuan Yang|arXiv (Cornell University)|May 28, 2017
Stochastic Gradient Optimization TechniquesComputer Science23 references273 citations
TL;DR

This paper proves SGD converges to the global minimum for a two-layer ReLU network with an identity mapping under Gaussian inputs, via a two-phase convergence framework, and provides supporting experiments.

ABSTRACT

In recent years, stochastic gradient descent (SGD) based techniques has become the standard tools for training neural networks. However, formal theoretical understanding of why SGD can train neural networks in practice is largely missing. In this paper, we make progress on understanding this mystery by providing a convergence analysis for SGD on a rich subset of two-layer feedforward networks with ReLU activations. This subset is characterized by a special structure called "identity mapping". We prove that, if input follows from Gaussian distribution, with standard $O(1/\sqrt{d})$ initialization of the weights, SGD converges to the global minimum in polynomial number of steps. Unlike normal vanilla networks, the "identity mapping" makes our network asymmetric and thus the global minimum is unique. To complement our theory, we are also able to show experimentally that multi-layer networks with this mapping have better performance compared with normal vanilla networks. Our convergence theorem differs from traditional non-convex optimization techniques. We show that SGD converges to optimal in "two phases": In phase I, the gradient points to the wrong direction, however, a potential function $g$ gradually decreases. Then in phase II, SGD enters a nice one point convex region and converges. We also show that the identity mapping is necessary for convergence, as it moves the initial point to a better place for optimization. Experiment verifies our claims.

Motivation & Objective

  • Motivate theoretical understanding of why SGD trains neural networks in practice.
  • Introduce an identity-mapped two-layer ReLU network to break symmetry and ease optimization.
  • Prove a two-phase convergence to the ground truth W* under Gaussian input and small initialization.
  • Demonstrate the necessity and effect of the identity mapping on convergence and performance.
  • Provide experimental evidence aligning theory with observed training dynamics.

Proposed method

  • Model and analyze a two-layer ReLU network with an identity mapping: f(x,W)=||ReLU((I+W)^T x)||1.
  • Use l2 loss between the student and teacher networks: L(W)=E_x[(f(x,W)−f(x,W∗))^2].
  • Define a potential function g = ∑_i (||e_i+w_i∗||^2 − ||e_i+w_i||^2) to study convergence.
  • Establish a two-phase SGD convergence framework: Phase I reduces g and approaches a region; Phase II achieves one-point convexity and converges to W∗.
  • Introduce a joint Taylor-based approximation to handle correlated ReLU activations and dependence on W and W∗.
  • Prove small-step SGD with bounded noise leads to convergence under specified norms and initialization.

Experimental results

Research questions

  • RQ1Does SGD converge to the ground-truth weights W∗ for a two-layer ReLU network with an identity mapping under Gaussian inputs?
  • RQ2How does the identity mapping affect the loss landscape and convergence properties compared with vanilla networks?
  • RQ3Can a two-phase framework (potential-based Phase I and convex Phase II) guarantee convergence from small initializations?
  • RQ4What role does initialization and spectral norm bounds on W0 and W∗ play in convergence?
  • RQ5Are the theoretical insights robust to modest distributional assumptions beyond Gaussian inputs?

Key findings

  • SGD converges to the ground truth W∗ in polynomial steps, given Gaussian inputs and small initialization.
  • Convergence proceeds in two phases: Phase I reduces the potential g and moves toward a favorable region; Phase II achieves one-point convexity and converges to W∗.
  • The identity mapping is necessary to move the initial point into the easy optimization region and yields a unique global minimum in the analyzed region.
  • Zero initialization can perform as well as random initialization when identity mappings are present, illustrating asymmetry induced by the mapping.
  • Experiments show that identity-mapped networks outperform vanilla networks and that ResNet-like structures with skip connections improve training and test performance on CIFAR-10.
  • The framework and results remain qualitatively valid under rotation-invariant or near Gaussian input distributions and reasonable spectral norms of W∗.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.