Gradient Descent Provably Escapes Saddle Points in the Training of Shallow ReLU Networks

Patrick Cheridito, Arnulf Jentzen, Florian Rossmannek

Abstract

Classical optimization theory provides guarantees for gradient descent (GD) on smooth loss landscapes, yet modern neural networks utilize non-smooth activation functions like ReLU. This paper bridges the gap by proving that vanilla gradient descent almost surely escapes saddle points in shallow ReLU networks. By introducing a generalized center-stable manifold theorem for non-smooth functions, the authors demonstrate that GD converges to global minima under specific initialization conditions, even when traditional smoothness assumptions are violated.

1. Introduction

The success of deep learning is predicated on the ability of gradient-based methods to navigate non-convex loss landscapes. A significant theoretical hurdle is the presence of saddle points—critical points that are neither local minima nor maxima. While the Stable Manifold Theorem guarantees that GD avoids strict saddle points in $C^2$ smooth functions, ReLU networks are inherently non-smooth. This work provides a rigorous proof that GD maintains its ability to escape these points in the non-smooth regime of shallow ReLU architectures.

2. Theoretical Framework

2.1 The Non-Smooth Challenge

The ReLU activation function, defined as $\sigma(x) = \max(0, x)$, is not differentiable at zero. Consequently, the loss function of a ReLU network is not $C^2$ smooth, which invalidates classical proofs regarding the avoidance of saddle points. These classical results require the loss function to have a Lipschitz continuous gradient, a condition ReLU networks fail to meet.

2.2 A Generalized Center-Stable Manifold Theorem

The authors' core contribution is a new variant of the center-stable manifold theorem. The key innovation is relaxing the requirement for a non-degenerate Jacobian at fixed points. This theorem allows for degeneracy provided the system remains non-degenerate "almost everywhere" else. This measure-theoretic approach allows the proof to handle the "kinks" in the ReLU landscape by showing that the set of problematic points is small enough to be ignored by the optimization trajectory.

2.3 Generalized Gradients

To define the optimization path in the absence of standard derivatives, the authors utilize left-hand directional derivatives as generalized gradients. This ensures that the gradient descent trajectory is well-defined even at points of non-differentiability.

3. Landscape Analysis and Results

The study analyzes a shallow network with one hidden layer using a squared $L^2$ loss function, specifically targeted at learning affine functions $f(x) = ax + b$ over a closed interval.

3.1 Almost Sure Convergence

The primary result states that for both ReLU and Leaky ReLU networks, the set of initializations leading to a saddle point has Lebesgue measure zero. In practical terms, random initialization ensures that the probability of getting stuck at a saddle point is zero; the algorithm will almost certainly "slide off" and continue toward a minimum.

3.2 Global Convergence Threshold

The authors derive an explicit threshold for the initial loss. If the optimization begins with a loss below this value—determined by the target function and network width—GD is mathematically guaranteed to reach a global minimum where the loss is zero.

3.3 The Role of Leaky ReLU

The analysis confirms that Leaky ReLU is theoretically more "well-behaved" than standard ReLU. Because Leaky ReLU lacks the zero-gradient flat regions of standard ReLU, it avoids certain regularity issues, making the proof of escape more direct and the landscape less prone to stagnation.

4. Discussion and Limitations

While this research provides a critical theoretical milestone, several limitations remain for future exploration:

  • Architecture Depth: The current proofs are limited to shallow (one hidden layer) networks. The geometry of deep networks is significantly more complex and remains an open challenge.
  • Target Complexity: The results assume affine target functions. Real-world datasets involve highly non-linear and high-dimensional relationships.
  • Input Dimensionality: The detailed analysis focuses on scalar inputs. Extending these results to high-dimensional data requires a more sophisticated classification of critical points.

5. Conclusion

This work provides a rigorous mathematical justification for the empirical success of gradient descent in ReLU networks. By extending dynamical systems theory to non-smooth functions, it offers a new set of tools for the optimization community to analyze modern machine learning architectures beyond the constraints of classical smoothness.

Summary updated

BibTeX
@article{cheridito2024gradient,
  author = {Patrick Cheridito and Arnulf Jentzen and Florian Rossmannek},
  title = {{Gradient Descent Provably Escapes Saddle Points in the Training of Shallow ReLU Networks}},
  journal = {J. Optim. Theory Appl.},
  year = {2024},
  doi = {10.1007/s10957-024-02513-3},
}
Figure