Source-linked AI summary

An Analytical Formula of Population Gradient for two-layered ReLU network and its Applications in Convergence and Critical Point Analysis

Yuandong Tian

arXiv:1703.00560v2cs.LG

TL;DR

The paper asks how gradient descent behaves when training a two-layer ReLU student against a fixed teacher in a non-convex setting. It derives an analytic population gradient for spherical Gaussian inputs and uses it to characterize critical points and convergence. The results include manifold-valued out-of-plane critical points, single-node convergence guarantees, and spontaneous symmetry breaking for multiple nodes.

  • Problem

    The paper examines the limited theoretical understanding of gradient descent for non-convex nonlinear networks, focusing on two-layer ReLU student–teacher training.

  • Method

    The paper derives an analytic population-gradient formula for l2 training of a two-layer ReLU student with spherical Gaussian inputs and analyzes its dynamics.

  • Results

    The analysis shows that out-of-hyperplane critical points form manifolds, one ReLU node converges to w* with at least (1−ε)/2 probability under suitable initialization, and infinitesimal perturbations can yield convergence to w* or its permutation for multiple nodes.

  • Takeaways & Limitations

    The paper formally characterizes critical-point structure and spontaneous symmetry breaking in two-layer ReLU gradient dynamics without assuming independent activations.

  • Takeaways & Limitations

    For the two-ReLU case, when exactly one ground-truth weight lies inside Cone(w1,w2), whether the pair is a critical point remains unresolved; noisy-initialization convergence for multiple ReLUs is left as a conjecture.

Abstract

from arXiv · show

In this paper, we explore theoretical properties of training a two-layered ReLU network $g(\mathbf{x}; \mathbf{w}) = \sum_{j=1}^K σ(\mathbf{w}_j^T\mathbf{x})$ with centered $d$-dimensional spherical Gaussian input $\mathbf{x}$ ($σ$=ReLU). We train our network with gradient descent on $\mathbf{w}$ to mimic the output of a teacher network with the same architecture and fixed parameters $\mathbf{w}^*$. We show that its population gradient has an analytical formula, leading to interesting theoretical analysis of critical points and convergence behaviors. First, we prove that critical points outside the hyperplane spanned by the teacher parameters ("out-of-plane") are not isolated and form manifolds, and characterize in-plane critical-point-free regions for two ReLU case. On the other hand, convergence to $\mathbf{w}^*$ for one ReLU node is guaranteed with at least $(1-ε)/2$ probability, if weights are initialized randomly with standard deviation upper-bounded by $O(ε/\sqrt{d})$, consistent with empirical practice. For network with many ReLU nodes, we prove that an infinitesimal perturbation of weight initialization results in convergence towards $\mathbf{w}^*$ (or its permutation), a phenomenon known as spontaneous symmetric-breaking (SSB) in physics. We assume no independence of ReLU activations. Simulation verifies our findings.

1. Introduction

The paper studies why gradient descent can train a non-convex two-layer ReLU student network to match a fixed teacher, using an analytic population-gradient formula. It characterizes critical points and convergence, including manifold-valued out-of-plane points, single-node guarantees, and symmetry breaking for multiple nodes.

  • Motivation and setup: The student minimizes l2 prediction error against a same-architecture teacher with fixed parameters, although coupling ReLU predictions to loss makes optimization highly non-convex.The resulting objective is described as having an exponential number of critical points.
  • Analytical approach: The paper introduces an analytic population-gradient formula for zero-mean spherical Gaussian inputs and uses it for critical-point and convergence analysis.The analysis assumes no independence of ReLU activations.
  • Critical points: Critical points outside the teacher-parameter hyperplane form manifolds, while the two-ReLU in-plane analysis identifies regions without critical points.The teacher-parameter hyperplane is the subspace spanned by the teacher weights.
  • Convergence: At least (1−ε)/2 probability of convergence to w* is guaranteed for one ReLU node when random initialization has standard deviation at most O(ε/√d).This condition is presented as consistent with common initialization techniques.
  • Convergence: For multiple ReLU nodes with orthonormal teacher parameters, symmetric initialization reaches a saddle point, whereas a particular infinitesimal perturbation converges to w* or its permutation.The paper identifies this as spontaneous symmetry breaking and formally characterizes it for two-layer ReLU networks.

2. Related Works

The related-work discussion contrasts this analysis with prior theory for linear or smoother nonlinear networks and with approaches relying on independent activations. The paper instead studies gradient descent for ReLU networks under spherical Gaussian inputs with interdependent activations.

  • Existing theory: Prior work analyzes gradient dynamics and critical points in multilayer linear networks, while fewer theoretical results address nonlinear networks.Examples include global optimality of local minima for multilayer linear networks and convergence results for restricted nonlinear activations.
  • Activation assumptions: Several nonlinear-network analyses assume ReLU activations are independent of inputs or mutually independent, an assumption the paper does not make.The paper states that such dependency assumptions can miss important behaviors or produce misleading conclusions.
  • Alternative approaches: Other cited approaches study sigmoid networks or tensor-decomposition recovery, whereas this paper analyzes ReLU networks trained with gradient descent.The comparison is framed around the practical popularity of gradient descent and ReLU networks.

3. Problem Definition

The problem definition is a student–teacher population-learning setting for a bias-free two-layer ReLU network. The student minimizes l2 loss under spherical Gaussian inputs and follows vanilla population-gradient dynamics.

  • Data and parameters: The input data are represented by an N-by-d matrix X, with N samples and d input dimensions, while w* denotes the teacher’s fixed parameter.The current student estimate is denoted w.
  • Objective: The student is trained to reproduce the fixed teacher network’s output by minimizing l2 loss.The teacher and student use the same architecture.
  • Population dynamics: Population analysis assumes X follows the spherical Gaussian distribution N(0,I), and studies critical points satisfying E[∇J]=0.The corresponding vanilla update is w_t+1 = w_t − ηE[∇J(w_t)].

4. The Analytical Formula

The analytical section derives the population gating structure underlying the ReLU gradient for spherical Gaussian inputs. The resulting decomposition separates activation mass from asymmetry and supports analysis of nonlinear dynamics, critical points, and extensions beyond the Gaussian case.

  • ReLU gating: ReLU gating is represented by D(w)=diag(Xw>0), which selects activated samples and depends on the direction of w rather than its magnitude.At differentiable regions, the Jacobian is D(w)X.
  • One ReLU node: For one ReLU node, the population gradient is built from the population gating function F(e,w), whose analytic formula is available under spherical Gaussian inputs.Here e is a unit vector and the formula depends on the angle θ between e and w.
  • Gradient structure: The population-gradient expression separates a linear-approximation term from a nonlinear term, while expectation smooths ReLU except for a singularity at the origin.Approaching w=0 from different directions produces different population gradients.
  • Linear comparison: For spherical Gaussian inputs, the linear contribution satisfies E[XᵀX]=I, yielding a population gradient proportional to w−w* in the linear case and global convergence there.The nonlinear ReLU analysis uses the gating decomposition rather than this linear simplification.
  • Extensions: The decomposition extends to other isotropic distributions through angle-dependent mass and asymmetry functions, allowing parts of the critical-point analysis to carry over.The Gaussian case remains the paper’s primary setting.
  • Population gating: The gating function decomposes into a mass term proportional to activated-data amount and an asymmetric term aligned with e.The gate is controlled by the angle between w and e; aligned vectors yield fully on or fully off gating at θ=0 or θ=π.

5. Critical Point Analysis

The analysis reduces critical-point characterization to angle- and magnitude-dependent conditions, revealing manifold structure out of the teacher hyperplane and exclusion regions for two ReLU nodes.

  • Geometric setup: The principal hyperplane Π∗ is the at-most-K-dimensional subspace spanned by the K ground-truth weight vectors.Configurations are in-plane when every student weight lies in Π∗; otherwise they are out-of-plane.
  • In-plane normal equations: The in-plane normal equations decompose into angle- and magnitude-dependent matrix conditions that are rotationally invariant.Matrices Y, B∗, M, and M∗ depend on angles and magnitudes in structured ways, while M and M∗ depend only on angles.
  • Out-of-plane critical points: When d ≥ K + 2, out-of-plane critical points are non-isolated and lie in manifolds.Rotations preserving the principal hyperplane transform such critical points into other critical points.
  • Separable property: The separable Ljj′ conditions test each ground-truth unit weight against the current student weights, enabling necessary critical-point conditions based on sign consistency.If Ljj′ has the same strict sign for every ground-truth index, the parameter cannot be a critical point.
  • K = 2 case study: A collinear K = 2 configuration aligned with the teacher bisector is a saddle point, with infinitely many solutions because one constraint governs two weight magnitudes.The associated matrix becomes singular when the student weights are collinear.
  • K = 2 case study: For K = 2, if both student weights lie inside the cone spanned by the teacher weights or both lie outside it, they are not critical points under Conjecture 1.When exactly one teacher weight lies inside the student cone, criticality remains undecided.

6. Convergence Analysis

The paper analyzes convergence of population-gradient dynamics for single and multiple ReLU networks. It establishes Lyapunov-based convergence guarantees for one ReLU and symmetry-driven branching behavior for multiple ReLUs.

  • General setup: The population objective does not increase under the infinitesimal gradient dynamics used for convergence analysis.
  • 6.1. Single ReLU case: For a single ReLU, the Lyapunov function V(w) = 1/2∥w − w∗∥^2 decreases within Ω, making w∗ asymptotically stable.The region Ω excludes the origin, where the population gradient is discontinuous.
  • 6.1. Single ReLU case: Uniform sampling with sufficiently small radius makes almost half of initializations useful, whereas larger-radius sampling has exponentially small success in high dimensions.The sampling strategy targets the region Ω without requiring knowledge of w∗.
  • 6.2. Multiple ReLU case: For multiple ReLUs, Lyapunov analysis is inconclusive, so the paper studies symmetric teacher parameters and reduces the dynamics using group symmetry.Orthogonal group actions preserve the population-gradient structure and allow a lower-dimensional analysis.
  • 6.2. Multiple ReLU case: Spontaneous symmetric-breaking occurs because the objective and gradient field remain invariant under group transformations while the solution selects a particular permutation.The paper reports convergence from arbitrarily small coordinates in the analyzed special case, but w∗-independent noisy initialization remains conjectural.
  • 6.2. Multiple ReLU case: Under orthonormal teacher parameters, asymmetric initialization converges to the teacher or a permutation, while symmetric initialization converges to a saddle point.An arbitrarily small perturbation of symmetric initialization selects different permuted fixed points.

7. Simulations

Simulations support the analytical gradient formula and illustrate the predicted convergence dynamics, including detours, faster convergence with more nodes, and sensitivity to initialization and top-layer signs.

  • Analytical formula verification: For small angles, the analytical estimate is reliable, whereas error variance grows as θ approaches π.The gating functions overlap less at larger angles, increasing estimation variance.
  • Analytical formula verification: Relative RMS error decreases with sample size, supporting the asymptotic behavior of the analytical formula.The formula also works for uniform inputs, although broader-distribution usability remains open.
  • Convergence dynamics: Larger networks converge faster in the displayed training curves, while sufficiently small initialization deviations generally still converge to w∗.When top-layer coefficients include negative values, convergence to w∗ is not achieved, even from true student values.
  • Critical-point analysis: No extra zero-crossings were found beyond e∗ = e1 or e2 in dense empirical enumeration of the two-ReLU setting.The search used a 10^4 × 10^4 grid over θ1^2 and e∗.
  • Convergence dynamics: Even aligned initialization takes detours because all ReLU nodes initially explain the error similarly before specialization occurs.The trajectories begin at w0 = (10^-3, 0) while the teacher direction is (1, 0).

8. Extension to multilayer ReLU network

The multilayer extension provides a gradient framework beyond the two-layer case and simulations examine how top-layer coefficients affect convergence, while geometric critical-point behavior is explored empirically.

  • Extension framework: Proposition 2 expresses the gradient immediately below a node using teacher and student outputs, data entering the layer, and diagonal activation matrices.The matrices Qj and Q∗j encode layer-dependent activation structure.
  • Convergence experiments: Large positive top-layer coefficients correspond to faster convergence, whereas mixed coefficient signs prevent convergence to w∗.The latter failure occurs even when the student is initialized with the true coefficient values.
  • Critical-point experiments: The displayed experiments vary teacher directions and angular quantities, with L12 and L21 positive inside Cone(e1, e2) and negative outside.The empirical evaluation densely enumerates a 10^4 × 10^4 grid without finding extra zero-crossings.
  • Extension framework: The two-layer network is recovered as the special case Qj = Q∗j = I, while the multilayer setting has weight-dependent upper-layer terms and non-Gaussian intermediate inputs.The proposition supplies a mathematical framework for studying population gradients in this broader setting.

9. Conclusion and Future Work

The paper concludes that its population-gradient formula supports critical-point and convergence analysis for two-layer ReLU networks, while identifying broader distributions and multilayer analysis as open problems.

  • Conclusion: The paper studies gradient-descent dynamics for a bias-free two-layer ReLU student trained to match a fixed teacher under l2 loss.The population-gradient formula assumes zero-mean spherical Gaussian inputs.
  • Conclusion: For multiple ReLU nodes, infinitesimal initialization changes lead to convergence toward different optima, formalizing spontaneous symmetric-breaking behavior.The paper identifies convergence toward w∗ or its permutations.
  • Future work: The analysis leaves open how input-distribution symmetries determine critical-point geometry and notes that observed convergence cases exceed the theorem conditions.These observations suggest the current theorem assumptions may be weakened.
  • Future work: Extending the analysis to broader input distributions and multiple layers remains an open problem.The conclusion explicitly lists both extensions as future directions.
Loading 1703.00560v2…