Mad Max: Affine Spline Insights into Deep Learning
Preprint
Abstract
We build a rigorous bridge between deep networks (DNs) and approximation theory via spline functions and operators. Our key result is that a large class of DNs can be written as a composition of max-affine spline operators (MASOs), which provide a powerful portal through which to view and analyze their inner workings. For instance, conditioned on the input signal, the output of a MASO DN can be written as a simple affine transformation of the input. This implies that a DN constructs a set of signal-dependent, class-specific templates against which the signal is compared via a simple inner product; we explore the links to the classical theory of optimal classification via matched filters and the effects of data memorization. Going further, we propose a simple penalty term that can be added to the cost function of any DN learning algorithm to force the templates to be orthogonal with each other; this leads to significantly improved classification performance and reduced overfitting with no change to the DN architecture. The spline partition of the input signal space that is implicitly induced by a MASO directly links DNs to the theory of vector quantization (VQ) and $K$-means clustering, which opens up new geometric avenue to study how DNs organize signals in a hierarchical fashion. To validate the utility of the VQ interpretation, we develop and validate a new distance metric for signals and images that quantifies the difference between their VQ encodings. (This paper is a significantly expanded version of Balestriero and richard baraniuk [2018].)Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Adversarial Examples in the Physical World2018
- Piecewise convexity of artificial neural networksNeural Networks, 2017
- Invariant Scattering Convolution NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2013
- A Block Coordinate Descent Method for Regularized Multiconvex Optimization with Applications to Nonnegative Tensor Factorization and CompletionSIAM Journal on Imaging Sciences, 2013
- Convex piecewise-linear fittingOptimization and Engineering, 2008
- A Wavelet Tour of Signal Processing1999
- Flat MinimaNeural Computation, 1997
- Hinging hyperplanes for regression, classification, and function approximationIEEE Transactions on Information Theory, 1993
- Vector Quantization and Signal Compression1992
- Approximation by superpositions of a sigmoidal functionMathematics of Control, Signals, and Systems, 1989