Skip to main content
QUICK REVIEW

[Paper Review] Gradient Descent on Two-layer Nets: Margin Maximization and Simplicity Bias

Kaifeng Lyu, Zhiyuan Li|arXiv (Cornell University)|Oct 26, 2021
Machine Learning and ELMComputer Science7 citations
TL;DR

This paper establishes that gradient flow on two-layer Leaky ReLU networks with small initialization converges to the global max-margin linear classifier for symmetric, linearly separable data, regardless of network width. It proves global optimality of margin maximization and provides theoretical justification for gradient descent's simplicity bias toward linear solutions early in training, while also showing this behavior is fragile under simple data manipulations.

ABSTRACT

The generalization mystery of overparametrized deep nets has motivated efforts to understand how gradient descent (GD) converges to low-loss solutions that generalize well. Real-life neural networks are initialized from small random values and trained with cross-entropy loss for classification (unlike the "lazy" or "NTK" regime of training where analysis was more successful), and a recent sequence of results (Lyu and Li, 2020; Chizat and Bach, 2020; Ji and Telgarsky, 2020) provide theoretical evidence that GD may converge to the "max-margin" solution with zero loss, which presumably generalizes well. However, the global optimality of margin is proved only in some settings where neural nets are infinitely or exponentially wide. The current paper is able to establish this global optimality for two-layer Leaky ReLU nets trained with gradient flow on linearly separable and symmetric data, regardless of the width. The analysis also gives some theoretical justification for recent empirical findings (Kalimeris et al., 2019) on the so-called simplicity bias of GD towards linear or other "simple" classes of solutions, especially early in training. On the pessimistic side, the paper suggests that such results are fragile. A simple data manipulation can make gradient flow converge to a linear classifier with suboptimal margin.

Motivation & Objective

  • To understand the implicit bias of gradient descent in overparametrized two-layer ReLU networks trained with small initialization and logistic loss.
  • To establish global optimality of margin maximization in two-layer Leaky ReLU networks under symmetric, linearly separable data.
  • To provide theoretical justification for the observed simplicity bias of GD toward linear solutions early in training.
  • To demonstrate that the max-margin convergence is fragile under simple data manipulations.

Proposed method

  • Analyzes gradient flow dynamics on two-layer Leaky ReLU networks with small initialization on symmetric, linearly separable data.
  • Uses a multi-phase analysis, including a late-phase analysis showing convergence to KKT conditions of a margin maximization problem.
  • Applies Grönwall’s inequality and ODE theory to prove trajectory uniqueness under orthogonally separable data, ensuring non-branching paths.
  • Leverages the symmetry of the data (if x is in the dataset, so is -x) to prove that any global max-margin solution must be linear.
  • Empirically validates convergence to max-margin linear classifiers using synthetic datasets and compares with SVM performance.
  • Uses mean-field analysis and covering arguments to extend results beyond the infinite-width regime.

Experimental results

Research questions

  • RQ1Does gradient flow on two-layer Leaky ReLU networks converge to the global max-margin solution for symmetric, linearly separable data, independent of network width?
  • RQ2Why does gradient descent exhibit a simplicity bias toward linear classifiers in early training, and can this be theoretically justified?
  • RQ3Is the convergence to max-margin solutions robust to data perturbations, or can simple manipulations break this behavior?
  • RQ4Can the KKT conditions derived in the late phase of training be shown to imply global margin optimality under additional structural assumptions?

Key findings

  • For symmetric, linearly separable data, any global max-margin solution of a two-layer Leaky ReLU network must be linear, even when the network is wide.
  • Gradient flow on two-layer Leaky ReLU networks with small initialization converges to the global max-margin linear classifier, regardless of network width, under symmetric data.
  • The convergence to the max-margin solution is fragile: simple data manipulations can cause gradient flow to converge to a suboptimal linear classifier with worse margin.
  • Empirical results show that two-layer Leaky ReLU networks achieve test errors nearly identical to SVM max-margin classifiers across various dataset sizes (10 to 100 points), confirming convergence to the same decision boundary.
  • The analysis proves trajectory uniqueness under orthogonally separable data, enabling rigorous ODE-based convergence arguments.
  • Theoretical results extend beyond the NTK regime, showing that small initialization leads to feature learning and global margin optimality, unlike the lazy training regime.

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.