[Paper Review] Shallow Univariate ReLu Networks as Splines: Initialization, Loss Surface, Hessian, & Gradient Flow Dynamics.
This paper reinterprets shallow univariate ReLU networks as continuous piecewise linear (CPWL) splines, revealing that weight initialization induces extremely flat functions due to low-variance delta-slope distributions. The spline perspective uncovers that flat minima arise from breakpoint degeneracy, and that implicit regularization in overparameterized networks stems from flat initialization, curvature-based parametrization, and gradient flow—offering a transparent, geometric explanation complementary to kernel-based analyses.
Understanding the learning dynamics and inductive bias of neural networks (NNs) is hindered by the opacity of the relationship between NN parameters and the function represented. We propose reparametrizing ReLU NNs as continuous piecewise linear splines. Using this spline lens, we study learning dynamics in shallow univariate ReLU NNs, finding unexpected insights and explanations for several perplexing phenomena. We develop a surprisingly simple and transparent view of the structure of the loss surface, including its critical and fixed points, Hessian, and Hessian spectrum. We also show that standard weight initializations yield very flat functions, and that this flatness, together with overparametrization and the initial weight scale, is responsible for the strength and type of implicit regularization, consistent with recent work arXiv:1906.05827. Our implicit regularization results are complementary to recent work arXiv:1906.07842, done independently, which showed that initialization scale critically controls implicit regularization via a kernel-based argument. Our spline-based approach reproduces their key implicit regularization results but in a far more intuitive and transparent manner. Going forward, our spline-based approach is likely to extend naturally to the multivariate and deep settings, and will play a foundational role in efforts to understand neural networks. Videos of learning dynamics using a spline-based visualization are available at http://shorturl.at/tFWZ2.
Motivation & Objective
- To understand the inductive bias and learning dynamics of shallow univariate ReLU networks, which remain opaque under standard parameterization.
- To resolve the paradox of generalization in overparameterized networks by analyzing the functional structure of the loss surface.
- To provide a geometric, transparent lens—via spline reparametrization—for interpreting implicit regularization, especially the role of weight initialization scale.
- To characterize the Hessian, critical points, and gradient flow dynamics in terms of breakpoint and delta-slope evolution.
Proposed method
- Reparametrizes fully connected ReLU networks as CPWL splines using breakpoints (βi), delta-slopes (µi), and orientations (si), mapping network weights to functional parameters.
- Derives the time evolution of delta-slopes µi(t) via gradient flow, showing µi(t) = ∫₀ᵗ ⟨ϵ(t), (x−βi)si⟩ dt, linking weight updates to functional changes.
- Analyzes the Hessian of the loss at critical points, proving it is positive semi-definite with zero eigenvalues when breakpoint Gram matrices are rank-deficient.
- Demonstrates that in the infinite-width limit, the second derivative ˆf′′(x) becomes a piecewise linear function with knots at data points, converging to a natural cubic smoothing spline.
- Uses Riemann sum approximations in the H→∞ limit to show that minimizing ∑µi² is equivalent to minimizing ∫(f′′(x))²dx, linking weight decay to smoothness.
- Establishes that the initialization scale α controls the type of implicit regularization (e.g. kernel vs. rich regime), with no functional impact but strong gradient effects.
Experimental results
Research questions
- RQ1Why do overparameterized ReLU networks generalize well despite zero training error, and what role does initialization play in this?
- RQ2How does the structure of the loss surface—particularly its critical points and Hessian—arise from the network’s functional parameterization?
- RQ3What is the functional interpretation of implicit regularization in shallow ReLU networks, and how does it relate to weight initialization scale?
- RQ4How does gradient flow dynamics preserve or regularize the initial functional form, especially in the overparameterized regime?
- RQ5Can the spline reparametrization explain the emergence of natural cubic splines in the infinite-width limit?
Key findings
- Standard weight initialization leads to extremely flat initial functions because delta-slope distributions have mean 0 and low variance, with the distribution concentrating near 0 as width increases.
- The Hessian of the loss at critical points is positive semi-definite, with zero eigenvalues arising when breakpoint Gram matrices are linearly dependent—common when multiple breakpoints share the same active data.
- Flat minima are not local phenomena but result from global degeneracy: when breakpoints are linearly dependent in their active data regions, the loss surface becomes flat in many directions.
- Implicit regularization in overparameterized ReLU networks arises from three factors: flat initialization, curvature-based parametrization (breakpoints and delta-slopes), and gradient descent preserving and regularizing the initial functional structure.
- The initialization scale α controls the type of implicit regularization, with larger α favoring richer, less smooth functions and smaller α promoting smoother, kernel-like behavior.
- In the infinite-width limit, the learned function converges to a natural cubic smoothing spline that minimizes ∫(f′′(x))²dx subject to interpolation at data points, confirming the spline-based regularization mechanism.
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.