- The paper introduces a convex variational formulation for shallow neural networks, ensuring existence and uniqueness through optimization in a weighted Sobolev space.
- It establishes finite-width consistency by showing that discrete networks approximate the continuum optimum with an error scaling of O(1/N).
- The framework elucidates implicit regularization, linking parameter smoothness and statistical stability to explicit ridge regression and linear elliptic PDE solutions.
The paper "Born Discrete, Made Smooth: Variational Formulation of Shallow Neural Networks" (2607.02003) proposes and develops a mathematically rigorous, direct variational formulation for the training of shallow (single-hidden-layer) neural networks. Instead of relying on classical non-convex parameter optimization or mean-field/Wasserstein perspectives, the paper recasts shallow network training as a convex optimization problem over parameter densities in a weighted Sobolev space. This approach enables precise analysis of existence, uniqueness, regularity, and generalization, and provides new insight into the implicit bias and regularization behavior of overparameterized models.
The central technical contribution is a convex, well-posed variational formulation of the shallow neural network training problem. Given a target function f and feature map specified by the activation h(θ,x)=σ(θ0+θ′⋅x), the classical finite-N model corresponds to parameterizing signed measures (atomic, with N terms) over the parameter space Ω. The variational approach considers, instead, parameter densities u in the weighted Sobolev space W=W1,2(Ω)∩Lω2(Ω) and optimizes a functional
Fα,β(f)(u)=R(f,u)+α∥u∥Lω22+β∥∇u∥L22,
with R(f,u) the squared L2 risk and h(θ,x)=σ(θ0+θ′⋅x)0 regularization terms enforcing h(θ,x)=σ(θ0+θ′⋅x)1-norm control and Sobolev smoothness, respectively. This transformation to a continuum, convex, strongly regularized space yields several crucial properties:
Exactness (No Lavrentiev Gap): The infimum of the risk functional is unchanged whether one optimizes over finite atomic measures (finite-width networks), general measures in h(θ,x)=σ(θ0+θ′⋅x)2, h(θ,x)=σ(θ0+θ′⋅x)3 densities, or even compactly supported smooth functions. There is no gap between the finite-discrete and continuum problems (Theorem 1).
Finite-Width Consistency: Finite-h(θ,x)=σ(θ0+θ′⋅x)4 networks achieve the continuum optimum up to h(θ,x)=σ(θ0+θ′⋅x)5 error (Proposition 2). This places the continuum variational formulation as an exact relaxation justifying analytic techniques.
Convexity, Regularity, and Solution Structure
Unlike mean-field/Wasserstein approaches (which typically guarantee only displacement convexity and suffer limited regularity), this h(θ,x)=σ(θ0+θ′⋅x)6-based approach yields functional objectives with global h(θ,x)=σ(θ0+θ′⋅x)7-convexity (h(θ,x)=σ(θ0+θ′⋅x)8 in h(θ,x)=σ(θ0+θ′⋅x)9, N0 in N1), ensuring:
- Existence and uniqueness of minimizers.
- Exponential gradient flow convergence to equilibrium in continuous time, with explicit rates governed by N2.
- Structural stability to data perturbations.
The minimizer N3 is the solution to a linear elliptic PDE (an explicit Euler–Lagrange equation), yielding strong elliptic regularity. Remarkably, the optimal parameter density is always nearly N4 smooth (N5 for any N6), even for merely Lipschitz activations. This regularity surpasses typical results in NTK- or Wasserstein-limits, where minimizer smoothness is closely tied to the regularity of the activation.


Figure 1: Empirical reconstruction of a noisy N7 target with 50 samples. The regularized variational solution closely fits the target and extrapolates with high regularity, unlike the noisier neural network baseline and oscillatory unregularized solution.
Statistical Stability and Generalization
The variational framework enables explicit, quantitative analysis of stability and generalization. The paper proves that the minimizer N8 depends Lipschitz-continuously on the target N9 in both N0 and N1 norms, with explicit constants involving N2, N3, and weights. In the noisy data setting, the expected error in the density scales as N4 with the noise level N5, and the generalization error is correspondingly controlled.
This analysis yields regularization parameters N6 with explicit interpretation: for example, N7 directly governs stability and robustness, and the regularization does not merely serve as a heuristic but quantitatively shapes implicit bias and error.
Computational Implementation
A further significant result is that, due to the convex-quadratic structure of the regularized functional, the optimum can be computed by solving a single linear system—no iterative non-convex optimization or gradient descent is required. Using basis function expansions (polynomials, trigonometric), the parameter density is projected onto a finite-dimensional subspace, and the minimization reduces to ridge regression with explicit, positive-definite matrix structure.
Numerical examples confirm the theoretical analysis: regularized solutions exhibit strong denoising, high regularity, and stability even under outliers, and match classical neural network baselines in standard regression benchmarks. The method is also robust to the choice of basis and scales well for moderate N8 via exploitation of sparsity in the feature matrix.

Figure 2: Visualization for a two-dimensional regression problem (N9). The variational method reconstructs the smooth, radially-symmetric structure of the true function with high fidelity and regularity.
Theoretical and Practical Implications
Theoretical implications:
This variational approach provides a rigorous explanation for the empirical non-overfitting and implicit bias toward smooth parameterizations observed in overparameterized shallow networks. The absence of a Lavrentiev gap rules out non-physical minimizers and establishes a mathematically precise connection between continuum and finite networks. The derivation of near-Ω0 regular parameter densities—without explicit dependence on the smoothness of the activation—suggests that overparameterization systematically drives solutions toward low-dimensional, regular manifolds in parameter space.
Practical implications:
The framework provides a principled basis for new regularized training algorithms (ridge- or kernel-based, with explicit convexity and stability) in shallow architectures, without recourse to the infinite-width/lazy NTK regime or computationally intensive Wasserstein flows. The explicit error rates with respect to network width and regularization enable fine-grained algorithmic tuning.
Limitations and Future Directions:
The scope is currently restricted to single-layer networks, as deeper architectures introduce non-convexity and coupled nonlinear PDEs in the variational formulation. However, the analytical structure established—in particular, the convexity and regularity toolkit—suggest a viable route toward multilayer extensions, possibly via implicit/variational time discretization of gradient flows or other convex-analytic relaxations. The convex variational lens could guide future convergence analyses in deep learning and provide new insight into the geometry of implicit regularization.
Conclusion
This work establishes a new variational perspective for shallow neural network optimization, unifying convex analysis, elliptic PDE theory, and statistical learning bounds. The resulting theory delivers global convexity and near-Ω1 regularity for the continuum minimizers, exact correspondence with finite-width models, and principled regularization guarantees. These results clarify the implicit bias under overparameterization and open concrete avenues for future analytic and algorithmic development in the training and understanding of neural networks.
Reference:
Born Discrete, Made Smooth: Variational Formulation of Shallow Neural Networks (2607.02003)