Two-layer linear network training converges globally with explicit rates

Global Exponential Convergence of Two-Layer Linear Network Training

Machine Learning

Summary

Training a simple type of neural network can be tricky because the learning process sometimes gets stuck or is slow. This paper shows that for wide networks with two layers, the learning process converges quickly and reliably under certain mathematical conditions. The authors connect how the network's internal parts evolve during training to a well-understood mathematical flow, which helps prove this fast convergence. Their results also extend to deeper versions of these networks and settings using momentum for training. Simulations support their theoretical findings about how fast training happens.

What this means in practice

  • For machine learning engineers: Predict guaranteed training performance and choose stable hyperparameters for two-layer linear models trained with certain smooth losses.
  • For deep learning framework developers: Incorporate theoretical guarantees about convergence speeds for linear networks to improve optimizer behavior and training diagnostics.

Tested on simulated data.

Authors

Stephen Y Zhang, Gabriel Peyré

Abstract

We prove global exponential (linear) convergence with an explicit rate in the rich scaling for wide two-layer linear networks trained with smooth Polyak-Lojasiewicz predictor losses. Gradient flow in the factors closes exactly in terms of a finite-dimensional Bures flow of the neuron law covariance, in which the predictor dynamics are preconditioned by hidden covariance blocks. Mean-field conservation laws provide uniform spectral lower bounds on the hidden preconditioning blocks when the initial covariance satisfies a spectral support gap condition. This condition encompasses positive definiteness while still allowing for singular initializations. For an initial covariance $Σ_0 = σ^2 \mathrm{Id}$, the loss converges to the global minimum with linear rate at least $4σ^2κ$, where $κ$ is the PL constant. We establish stability of this rate under finite-width sampling, as well as global convergence of factor gradient descent for an explicit stepsize interval depending on smoothness, the initial loss, and conserved spectral margins. Our argument extends layerwise to deep linear ResNets, subject to a residual-path bound. In the case of heavy-ball momentum, training dynamics close instead over positions and velocities in terms of a lifted phase covariance. Linear convergence holds under an explicit condition on the energy and damping, specifying a window of admissible dampings. For two-scale white initializations, this interval is nonempty for sufficiently large position scales, with a fixed initial loss gap and velocity covariance. Numerical experiments illustrate the covariance geometry and compare the predicted and observed rates.