Abstract
Training artificial neural networks (ANNs) using gradient-based methods is the cornerstone of modern machine learning. However, providing rigorous mathematical guarantees for convergence remains a significant challenge, particularly due to the non-differentiable nature of the Rectified Linear Unit (ReLU) activation function. This paper provides a theoretical analysis of Gradient Flows (GF)—the continuous-time limit of gradient descent—in the context of shallow ReLU networks. We demonstrate that for bounded trajectories, the training risk converges to the risk of a critical point. Furthermore, we establish specific conditions, particularly for affine linear target functions, under which the network is guaranteed to reach a global minimum (zero risk).
Introduction
While Gradient Descent (GD) is the industry standard for optimizing neural networks, its mathematical behavior is often treated as a "black box." A primary hurdle in formalizing its success is the ReLU activation function, which contains a non-differentiable "kink" at zero. Most classical optimization proofs require the objective function to be smooth (at least $C^1$ or $C^2$), a requirement that ReLU networks fail to meet.
To bypass the noise of discrete step sizes and isolate the fundamental dynamics of training, this research focuses on Gradient Flows (GF). By studying the differential equations of GF, we can analyze the continuous evolution of network parameters. This study specifically targets "shallow" architectures consisting of one input layer, one hidden layer, and one output layer.
Methodology
The non-smoothness of the ReLU function necessitates sophisticated mathematical techniques to ensure rigorous convergence proofs. The authors employ several key strategies:
- Generalized Gradients via Smoothing: Since the risk function is not differentiable everywhere, a generalized gradient is defined by taking the limit of gradients from a sequence of continuously differentiable (smooth) approximations of the ReLU function.
- Lower Semicontinuity: The authors prove that the norm of this generalized gradient is lower semicontinuous. This technical property ensures the gradient behaves predictably, preventing wild oscillations that would invalidate convergence proofs.
- Lyapunov-type Functions: To demonstrate that the system's "energy" (training risk) consistently dissipates over time, the authors construct Lyapunov functions to track the stability of the training trajectories.
- A Priori Estimates: By deriving bounds on ANN parameters, the research proves that if the initial risk is sufficiently small, the parameters remain bounded and the risk eventually vanishes.
Mathematical Setup
The theoretical framework assumes an input distribution that is absolutely continuous with respect to the Lebesgue measure, ensuring data is spread smoothly across the input space. While the proofs address continuous target functions generally, the most robust results are derived for 1-dimensional affine linear target functions defined as $f(x) = \alpha x + \beta$.
Key Insights and Convergence Results
Convergence to Critical Points
The analysis establishes that for any bounded gradient flow trajectory, the training risk will eventually settle at the value of a critical point. This confirms that training dynamics in shallow ReLU networks are stable and do not oscillate indefinitely, provided the parameters do not escape to infinity.
Global Convergence and the Risk Threshold
For affine target functions and a uniform input distribution, the authors identify a specific threshold for initial risk. If the training begins with a risk $L_\infty(\Theta_0)$ below this value, the gradient flow is mathematically guaranteed to converge to a global minimum (zero risk). The threshold is defined as:
$$L_\infty(\Theta_0) < \frac{\alpha^2(b-a)^3}{12(2\lfloor H/2 \rfloor + 1)^4}$$
where:
- $\alpha$ is the slope of the target function.
- $(b-a)$ represents the input interval.
- $H$ is the number of hidden neurons.
Single Neuron Dynamics
In the simplest case of a single hidden neuron, the research suggests that the risk converges to zero even if the trajectory is unbounded, provided the initial risk is small enough. This implies that even in scenarios where parameters grow significantly, the network can still achieve perfect learning.
Discussion and Limitations
This work validates the common empirical practice of treating ReLU as "differentiable enough" for optimization, providing the rigorous groundwork for why smooth approximations lead to the same results as the original ReLU function. However, several challenges remain:
- Architectural Depth: The current analysis is limited to shallow, three-layer networks. Extending these proofs to deep architectures remains difficult due to compounding non-linearities.
- The Boundedness Assumption: While the paper proves boundedness for specific cases, a general proof that all ReLU training trajectories remain bounded is still an open question.
- Discrete vs. Continuous Gap: While Gradient Flow provides deep insights, real-world applications use discrete Gradient Descent. Bridging the gap between continuous-time proofs and finite step-size implementations is a vital next step for the field.
Conclusion
By providing a rigorous convergence analysis for gradient flows in ReLU networks, this paper moves the field closer to a complete mathematical understanding of neural network training. The identification of a global convergence threshold for affine targets offers a concrete benchmark for evaluating the efficiency and reliability of optimization algorithms in shallow architectures.
Summary updated