Penalising the biases in norm regularisation enforces sparsity
Etienne Boursier, Nicolas Flammarion
TL;DR
The paper investigates how regularising the parameters' norm in a univariate one-hidden-layer ReLU network with a skip connection relates to the function the network represents. It shows that with a free skip, the representational cost of a function is the weighted total variation of its second derivative, $\|\sqrt{1+x^2}\,f''\|_{\mathrm{TV}}$, whereas omitting bias penalisation yields the unweighted $\|f''\|_{\mathrm{TV}}$; this weighting drives uniqueness and sparsity of the minimal-norm interpolator. A dynamic-programming reformulation on slopes yields a provable unique minimiser, and under mild data assumptions, this minimiser is among the sparsest interpolators (fewest kinks). Experiments corroborate the theory: including biases in the regularisation yields markedly sparser estimators compared to not penalising biases, illustrating how implicit regularisation of biases impacts the learned function and potential generalisation benefits.
Abstract
Controlling the parameters' norm often yields good generalisation when training neural networks. Beyond simple intuitions, the relation between regularising parameters' norm and obtained estimators remains theoretically misunderstood. For one hidden ReLU layer networks with unidimensional data, this work shows the parameters' norm required to represent a function is given by the total variation of its second derivative, weighted by a $\sqrt{1+x^2}$ factor. Notably, this weighting factor disappears when the norm of bias terms is not regularised. The presence of this additional weighting factor is of utmost significance as it is shown to enforce the uniqueness and sparsity (in the number of kinks) of the minimal norm interpolator. Conversely, omitting the bias' norm allows for non-sparse solutions. Penalising the bias terms in the regularisation, either explicitly or implicitly, thus leads to sparse estimators.
