Mean-field Analysis of Piecewise Linear Solutions for Wide ReLU Networks
arXiv:2111.02278
Abstract
Understanding the properties of neural networks trained via stochastic gradient descent (SGD) is at the heart of the theory of deep learning. In this work, we take a mean-field view, and consider a two-layer ReLU network trained via SGD for a univariate regularized regression problem. Our main result is that SGD is biased towards a simple solution: at convergence, the ReLU network implements a piecewise linear map of the inputs, and the number of "knot" points - i.e., points where the tangent of the ReLU network estimator changes - between two consecutive training inputs is at most three. In particular, as the number of neurons of the network grows, the SGD dynamics is captured by the solution of a gradient flow and, at convergence, the distribution of the weights approaches the unique minimizer of a related free energy, which has a Gibbs form. Our key technical contribution consists in the analysis of the estimator resulting from this minimizer: we show that its second derivative vanishes everywhere, except at some specific locations which represent the "knot" points. We also provide empirical evidence that knots at locations distinct from the data points might occur, as predicted by our theory.
arXiv commentAccepted to the Journal of Machine Learning Research (JMLR)
References in corpus (12)
- Large Scale GAN Training for High Fidelity Natural Image Synthesis
- Reconciling modern machine learning practice and the bias-variance trade-off
- Neural Tangent Kernel: Convergence and Generalization in Neural Networks
- A Mean Field View of the Landscape of Two-Layers Neural Networks
- Towards Understanding the Role of Over-Parametrization in Generalization of Neural Networks
- Essentially No Barriers in Neural Network Energy Landscape
- The Role of Neural Network Activation Functions
- A mean-field limit for certain deep neural networks
- Gradient Dynamics of Shallow Univariate ReLU Networks
- Gradient Descent Quantizes ReLU Network Features
- Towards an Understanding of Benign Overfitting in Neural Networks
- Shallow Univariate ReLu Networks as Splines: Initialization, Loss Surface, Hessian, & Gradient Flow Dynamics