[Paper Review] How Implicit Regularization of ReLU Neural Networks Characterizes the Learned Function -- Part I: the 1-D Case of Two Layers with Random First Layer
This paper establishes that training a two-layer ReLU neural network with random first-layer weights and trained second-layer weights implicitly regularizes the learned function, converging to a smooth spline interpolation under ℓ² regularization. For least squares regression, early-stopped gradient descent on such networks corresponds to smoothing spline regression, revealing a deep connection between implicit bias in training and classical regularization in function space.
In this paper, we consider one dimensional (shallow) ReLU neural networks in which weights are chosen randomly and only the terminal layer is trained. First, we mathematically show that for such networks L2-regularized regression corresponds in function space to regularizing the estimate's second derivative for fairly general loss functionals. For least squares regression, we show that the trained network converges to the smooth spline interpolation of the training data as the number of hidden nodes tends to infinity. Moreover, we derive a novel correspondence between the early stopped gradient descent (without any explicit regularization of the weights) and the smoothing spline regression.
Motivation & Objective
- To understand the implicit regularization induced by training shallow ReLU networks with random first-layer weights.
- To characterize the function learned by ℓ²-regularized regression in such networks.
- To establish a correspondence between early-stopped gradient descent and smoothing spline regression in the infinite-width limit.
- To clarify the role of the first-layer weights in shaping the inductive bias of the trained model.
- To provide a rigorous theoretical foundation for the generalization and optimization behavior of wide, randomized ReLU networks.
Proposed method
- Analyzes two-layer ReLU networks with random first-layer weights and trainable second-layer weights.
- Uses the limit of infinite hidden units to derive macroscopic behavior via mean-field-type analysis.
- Applies functional analysis and weak derivatives to characterize the second derivative of the learned function.
- Establishes a correspondence between the regularization of the second-layer weights and the second derivative of the function in L² space.
- Derives an equivalence between early-stopped gradient descent and smoothing spline regression using a novel regularization functional.
- Employs adapted regression splines with and without skip connections to model the learned function and compare regularization effects.
Experimental results
Research questions
- RQ1How does ℓ²-regularized training of a two-layer ReLU network with random first-layer weights regularize the learned function in function space?
- RQ2What is the limiting function class that such networks converge to as the number of hidden units tends to infinity?
- RQ3How does early-stopped gradient descent on such networks relate to classical smoothing spline regression?
- RQ4What role does the distribution of first-layer weights play in shaping the implicit bias of the model?
- RQ5Can the learned function be characterized as a spline with specific regularization terms derived from the first-layer weight distribution?
Key findings
- For ℓ²-regularized regression, the trained network converges to the smoothing spline interpolation of the training data as the number of hidden units tends to infinity.
- Early-stopped gradient descent on such networks corresponds exactly to smoothing spline regression, establishing a direct link between optimization dynamics and classical regularization.
- The second derivative of the learned function is regularized in a way that depends on the distribution of the first-layer weights, particularly through integrals over the tails of the weight distribution.
- When the first-layer weight distribution has heavy tails (e.g., uniform on large intervals), the regularization on the coefficients of the linear and absolute-value terms becomes negligible, leading to near-identical behavior across models with and without skip connections.
- The solution to the optimization problem is equivalent to minimizing a functional that combines the training loss and a weighted L² norm of the second derivative, with weights derived from the first-layer weight density.
- In the limit of increasingly heavy-tailed first-layer weight distributions, the adapted regression spline converges uniformly in W¹,∞ to the classical smoothing spline, regardless of skip connections.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.