Source-linked AI summary

Gradient Descent Provably Optimizes Over-parameterized Neural Networks

Simon S. Du, Xiyu Zhai, Barnabas Poczos, Aarti Singh

arXiv:1810.02054v2cs.LGmath.OCstat.ML

TL;DR

The paper addresses why randomly initialized gradient descent can achieve zero training loss for non-convex, non-smooth neural-network objectives. It analyzes two-layer fully connected ReLU networks through stable prediction and Gram-matrix dynamics, proving global linear convergence under sufficient width and nonparallel inputs. The main scope boundary is that the required hidden-layer width may be reducible, so the stated over-parameterization bound is not necessarily tight.

  • Problem

    Randomly initialized first-order methods can reach zero training loss despite non-convex, non-smooth objectives, but the mechanism behind this behavior is not theoretically understood.

  • Method

    The paper analyzes prediction dynamics for a two-layer ReLU network and uses weight stability, activation-pattern stability, and Gram-matrix perturbation to study gradient descent.

  • Results

    With sufficiently large m and nonparallel inputs, randomly initialized gradient descent reaches the global minimum of the quadratic empirical loss at a linear convergence rate.

  • Takeaways & Limitations

    Over-parameterization can keep the Gram matrix positive definite throughout training, which guarantees linear convergence in this setting.

  • Takeaways & Limitations

    The paper indicates that the required number of hidden nodes m may be reducible, so its over-parameterization bound is not necessarily tight.

Abstract

from arXiv · show

One of the mysteries in the success of neural networks is randomly initialized first order methods like gradient descent can achieve zero training loss even though the objective function is non-convex and non-smooth. This paper demystifies this surprising phenomenon for two-layer fully connected ReLU activated neural networks. For an $m$ hidden node shallow neural network with ReLU activation and $n$ training data, we show as long as $m$ is large enough and no two inputs are parallel, randomly initialized gradient descent converges to a globally optimal solution at a linear convergence rate for the quadratic loss function. Our analysis relies on the following observation: over-parameterization and random initialization jointly restrict every weight vector to be close to its initialization for all iterations, which allows us to exploit a strong convexity-like property to show that gradient descent converges at a global linear rate to the global optimum. We believe these insights are also useful in analyzing deep models and other first order methods.

1 INTRODUCTION

The paper explains why randomly initialized gradient descent can reach zero training loss despite the non-convex, non-smooth objective of over-parameterized two-layer ReLU networks. With sufficiently many hidden nodes and nonparallel inputs, it proves global linear convergence by showing that weight vectors and the associated Gram matrix remain stable near initialization.

  • Motivation: Randomly initialized first-order methods can achieve zero training loss even when neural-network objectives are non-convex and non-smooth.This phenomenon has also been observed with randomly generated labels.
  • Motivation: Over-parameterization alone establishes that a fitting network exists, but does not explain why randomly initialized gradient descent finds one.The objective's non-smoothness and non-convexity prevent standard convex-optimization analysis from directly applying.
  • Setting: The analysis considers a two-layer fully connected ReLU network, quadratic empirical risk, and gradient descent that fixes the second layer while optimizing the first.The ReLU activation is non-smooth, so the gradient expression is interpreted as the practical update rule.
  • Main result: With sufficiently large m and nonparallel inputs, gradient descent reaches loss at most ϵ in O(log(1/ϵ)) iterations.Thus the result establishes both global convergence and a quantitative linear convergence rate.
  • Proof strategy: The proof tracks prediction dynamics through a Gram matrix rather than directly analyzing parameter dynamics.The Gram matrix is controlled through activation-pattern stability and matrix perturbation analysis.
  • Proof strategy: Over-parameterization, random initialization, and linear convergence keep each weight vector near initialization, which limits activation-pattern changes and stabilizes the Gram matrix.The resulting argument uses linear algebra and standard probability bounds.

2 COMPARISON WITH PREVIOUS RESULTS

The paper distinguishes its finite-width ReLU result from prior analyses based on landscape properties, distributional assumptions, continuous-time limits, or accuracy-dependent width. Its contribution is a direct convergence guarantee for randomly initialized gradient descent without requiring recovery of a planted network.

  • Landscape analysis: Prior landscape analyses establish favorable geometric properties in some ReLU settings, but do not imply gradient descent converges to a global empirical-risk minimizer.Some results show zero error at differentiable local minima, while nonsmoothness complicates connecting this fact to gradient descent.
  • Algorithm dynamics: Several dynamics-based studies assume Gaussian inputs and labels generated by a planted neural network.These assumptions support learning results but differ from the paper's focus on fitting observed training data.
  • Algorithm dynamics: This paper does not recover an underlying true neural network; it explains why randomly initialized gradient descent can achieve zero training loss.The target is the empirically observed optimization behavior rather than parameter recovery.
  • Kernel and Gram-matrix analyses: Prior kernel-based work analyzes smooth activations in infinite-width multilayer networks over finite training time, whereas this paper treats nonsmooth ReLU networks and proves Gram-matrix stability for infinite training time.The proof also relies on a Gram matrix associated with the ReLU network.
  • Comparison with prior convergence results: Li and Liang's result requires m to scale polynomially with 1/ϵ, while this paper makes the required over-parameterization independent of the desired accuracy.This difference allows the result to imply zero training loss without taking m to infinity.

3 CONTINUOUS TIME ANALYSIS

The continuous-time analysis tracks prediction dynamics through a time-varying Gram matrix and proves linear convergence under suitable initialization, width, and input assumptions. Stability follows because weights remain near initialization, preserving activation patterns and the Gram matrix's positive spectrum.

  • Assumptions: If no two inputs are parallel, the limiting Gram matrix has strictly positive minimum eigenvalue λ0.The theorem states λ0 > 0 under the non-parallel-input assumption.
  • Gradient flow result: With sufficiently many hidden nodes and random initialization, gradient flow reaches zero training loss at a linear convergence rate with high probability.The result assumes normalized inputs and bounded labels, with width scaling determined by problem parameters and failure probability.
  • Proof strategy: The proof analyzes individual predictions rather than parameter dynamics, reducing convergence to the spectral behavior of a Gram matrix.The prediction dynamics are governed by a Gram matrix that may vary across iterations.
  • Stability mechanism: Over-parameterization and random initialization keep every weight vector close to its initial value, which stabilizes activation patterns and preserves a lower-bounded Gram-matrix eigenvalue.The argument closes by showing the required width makes the allowable weight displacement smaller than the pattern-stability radius.
  • Joint training: The same prediction-space and Gram-matrix strategy yields linear convergence when gradient flow jointly trains both network layers.Under the same assumptions as the single-layer-training theorem, joint training achieves the same convergence rate.

4 DISCRETE TIME ANALYSIS

The discrete-time analysis proves that randomly initialized gradient descent with a constant positive step size converges linearly despite the ReLU objective's non-smooth, non-convex structure. An induction argument controls activation-pattern changes, weight movement, and perturbation terms across iterations.

  • Main result: Gradient descent with a constant positive step size converges to the global minimum at a linear rate under the continuous-time theorem's assumptions.The width and least-eigenvalue assumptions are unchanged from the gradient-flow result.
  • Proof strategy: The proof uses induction on empirical-loss decay and bounds the prediction change between consecutive iterations.The discrete update is decomposed into terms for unchanged and potentially changing activation patterns.
  • Convergence bound: The resulting empirical-loss bound decays geometrically as (1 − ηλ0/2)^k times the initial prediction error.This establishes the stated linear convergence rate over discrete iterations.
  • Perturbation control: Pattern changes are treated as perturbations, while the step-size bound and weight-displacement control keep their contribution sufficiently small.The analysis uses ReLU's 1-Lipschitz property and the bound that weights remain near initialization.

5 EXPERIMENTS

Synthetic experiments test how width affects convergence, activation-pattern changes, and weight displacement. The results match the theory: wider networks converge faster, change fewer patterns, and remain closer to initialization.

  • Experimental setup: The experiments use 1,000 unit-sphere inputs in 1,000 dimensions, Gaussian labels, 100 gradient-descent epochs, and a fixed step size.The data and training procedure are synthetic and follow the paper's described initialization and training setup.
  • Metrics: Three metrics assess width's effects on convergence rate, activation-pattern changes, and maximum weight displacement from initialization.The latter two metrics correspond to the theoretical stability lemmas.
  • Results: Larger width produces better convergence rates, fewer activation-pattern changes, and smaller maximum distances from initialization.The authors interpret these trends as evidence that wider networks stabilize the Gram matrix and increase its least eigenvalue.

6 CONCLUSION AND DISCUSSION

The paper shows that over-parameterization keeps the Gram matrix positive definite throughout training, yielding global linear convergence, and outlines extensions to deep networks and other first-order methods. It also identifies opportunities to reduce the hidden-node requirement and analyze accelerated methods.

  • Main result: Over-parameterization keeps the Gram matrix positive definite for all iterations, which guarantees gradient descent converges linearly to the empirical-loss global minimum.This is the paper’s central proof mechanism and conclusion.
  • Extensions: For deep networks, the authors conjecture that a sufficiently large width preserves a lower-bounded sum of layerwise Gram matrices, enabling analogous linear convergence.The proposed extension jointly considers Gram matrices associated with each layer.
  • Extensions: Under the conjectured Gram-matrix condition, gradient flow for deep networks would converge to zero training loss at a linear rate.The conclusion follows by reusing the arguments developed for the shallow-network setting.
  • Future directions: The required number of hidden nodes may be reducible because prior work establishes globality of differentiable local minima under the weaker condition m^d ≥ n.The authors suggest probability and matrix-perturbation tools could tighten their current width bound.
  • Future directions: Using a different potential function than empirical loss may enable convergence-rate analyses for accelerated methods and other first-order neural-network optimizers.The paper identifies this as a direction inspired by analyses of accelerated convex optimization.

A TECHNICAL PROOFS FOR SECTION 3

The technical proofs establish positive definiteness of the limiting ReLU Gram matrix from linear independence of feature maps when inputs are nonparallel, then control finite-width training through concentration and perturbation arguments.

  • Limiting Gram matrix: ReLU induces an infinite-dimensional feature map, and proving its Gram matrix positive definite reduces to showing the feature maps of the training inputs are linearly independent.The feature map is indexed by w and maps each input x to a function involving the ReLU activation pattern.
  • Limiting Gram matrix: If no two inputs are parallel, a linear combination of the ReLU feature maps that vanishes almost everywhere has every coefficient equal to zero.The proof isolates discontinuity sets associated with each input and uses their geometric separation.
  • Limiting Gram matrix: The resulting positive-definiteness argument concludes from the nonzero-input condition that each coefficient must vanish, completing the feature-map independence proof.The proof uses the fact that x_i ≠ 0.
  • Finite-width control: At initialization, Gram-matrix entries are averages of independent random variables, so Hoeffding’s inequality and a union bound provide simultaneous concentration over input pairs.The failure probability is distributed across the n^2 index pairs before applying the union bound.
  • Finite-width control: The induction argument shows that if a weight vector moves too far or prediction error decays too slowly, some Gram-matrix eigenvalue must become too small, contradicting the maintained bounds.The contradiction combines the eigenvalue lower bound with control of weight movement and prediction error.

A.1 PROOF OF THEOREM 3.3

The proof establishes linear convergence by showing the Gram matrix remains well-conditioned while weights stay close to initialization, then uses this stability to control the loss dynamics.

  • Joint training: The same framework extends to jointly training the first layer and output layer while preserving zero training loss.The joint-training analysis follows the approach used for the preceding setting.
  • Parameter stability: Gradient dynamics bound prediction changes, parameter gradients, and distances from initialization.The argument integrates gradient bounds and uses exponential loss decay to control parameter movement.
  • Initialization: An initialization argument gives a lower bound on λmin(H(0)) with high probability.The proof begins from λmin(H(0)) ≥ 3λ0/4 with probability at least 1−δ.
  • Gram-matrix conditioning: A lower-bounded least eigenvalue of H(t) implies gradient flow converges linearly.The proof tracks loss dynamics while λmin(H(s)) remains bounded below.
  • Gram-matrix stability: Small parameter perturbations keep the Gram matrix close to its initialization.A surrogate Gram matrix separates perturbations caused by first-layer and output-weight changes.
  • Bootstrap argument: A contradiction argument closes the bootstrap by showing the weights remain within prescribed radii and H(t) retains its eigenvalue bound.The required inequalities compare the accumulated perturbation radii with the allowed radii.

B TECHNICAL PROOFS FOR SECTION 4

The technical proof bounds gradient-flow quantities using anti-concentration and summation over training examples.

  • Technical bounds: Anti-concentration bounds control the relevant quantities for each input and hidden node.The proof fixes an input-hidden-node pair and then aggregates the resulting bound over all training examples.
  • Technical bounds: The argument concludes with a bound involving a sufficiently large positive constant.The final bound is stated for some C > 0.
Loading 1810.02054v2…