Controlled Learning of Pointwise Nonlinearities in Neural-Network-Like Architectures
Michael Unser, Alexis Goujon, Stanislas Ducotterd
TL;DR
The paper develops a variational framework for learning freeform pointwise nonlinearities in layered architectures under slope constraints by penalizing the second-order total variation ${\rm TV}^{(2)}(f)$. It proves that the global optimum is an adaptive nonuniform linear spline and provides a discretization via nonuniform B-splines, enabling efficient training with explicit control of Lipschitz properties. By enforcing slope bounds, learned activations can be 1-Lipschitz, firmly non-expansive (proximal operators), monotone, or invertible, making them compatible with plug-and-play methods and unrolled optimization. The framework is demonstrated on function fitting, image denoising, and inverse problems (CT/MRI), with a DeepSplines toolbox released to enable practical adoption.
Abstract
We present a general variational framework for the training of freeform nonlinearities in layered computational architectures subject to some slope constraints. The regularization that we add to the traditional training loss penalizes the second-order total variation of each trainable activation. The slope constraints allow us to impose properties such as 1-Lipschitz stability, firm non-expansiveness, and monotonicity/invertibility. These properties are crucial to ensure the proper functioning of certain classes of signal-processing algorithms (e.g., plug-and-play schemes, unrolled proximal gradient, invertible flows). We prove that the global optimum of the stated constrained-optimization problem is achieved with nonlinearities that are adaptive nonuniform linear splines. We then show how to solve the resulting function-optimization problem numerically by representing the nonlinearities in a suitable (nonuniform) B-spline basis. Finally, we illustrate the use of our framework with the data-driven design of (weakly) convex regularizers for the denoising of images and the resolution of inverse problems.
