From Hard to Soft: Understanding Deep Network Nonlinearities via Vector Quantization and Statistical Inference
Not on the map. Why?
Abstract (arXiv)
Nonlinearity is crucial to the performance of a deep (neural) network (DN). To date there has been little progress understanding the menagerie of available nonlinearities, but recently progress has been made on understanding the role played by piecewise affine and convex nonlinearities like the ReLU and absolute value activation functions and max-pooling. In particular, DN layers constructed from these operations can be interpreted as em max-affine spline operators (MASOs) that have an elegant link to vector quantization (VQ) and K-means. While this is good theoretical progress, the entire MASO approach is predicated on the requirement that the nonlinearities be piecewise affine and convex, which precludes important activation functions like the sigmoid, hyperbolic tangent, and softmax. em This paper extends the MASO framework to these and an infinitely large class of new nonlinearities by linking deterministic MASOs with probabilistic Gaussian Mixture Models (GMMs). We show that, under a GMM, piecewise affine, convex nonlinearities like ReLU, absolute value, and max-pooling can be interpreted as solutions to certain natural "hard" VQ inference problems, while sigmoid, hyperbolic tangent, and softmax can be interpreted as solutions to corresponding "soft" VQ inference problems. We further extend the framework by hybridizing the hard and soft VQ optimizations to create a β-VQ inference that interpolates between hard, soft, and linear VQ inference. A prime example of a β-VQ DN nonlinearity is the em swish nonlinearity, which offers state-of-the-art performance in a range of computer vision tasks but was developed ad hoc by experimentation. Finally, we validate with experiments an important assertion of our theory, namely that DN performance can be significantly improved by enforcing orthogonality in its linear filters.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Oct 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 4; 2023: 1; 2024: 3; 2025: 1; 2026: 1.
13 papers.
Sort:
By area:
- 2022Interpreting Neural Networks through the Polytope Lenscited by 33
- 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networkscited by 19
- 2023Characterizing Large Language Model Geometry Helps Solve Toxicity Detection and Generationcited by 11
- 2022Batch Normalization Explainedcited by 8
- 2024What Secrets Do Your Manifolds Hold? Understanding the Local Geometry of Generative Modelscited by 7
- 2021Max-Affine Spline Insights Into Deep Network Pruningcited by 5
- 2024Fast and Exact Enumeration of Deep Networks Partitions Regionscited by 5
- 2025Curvature Tuning: Provable Training-free Model Steering From a Single Parametercited by 4
- 2026The Linear Centroids Hypothesis: Features as Directions Learned by Local Expertscited by 3
- 2021Disentangling deep neural networks with rectified linear units using dualitycited by 1
- 2021NeuroView: Explainable Deep Network Decision Makingcited by 1
- 2022Explicitising The Implicit Intrepretability of Deep Neural Networks Via Dualitycited by 1
1 more
- 2024On the Geometry of Deep Learningcited by 0
- 2026The Linear Centroids Hypothesis: Features as Directions Learned by Local Experts13 Apr 2026
- 2025Curvature Tuning: Provable Training-free Model Steering From a Single Parameter11 Feb 2025
- 2024What Secrets Do Your Manifolds Hold? Understanding the Local Geometry of Generative Models15 Aug 2024
- 2024On the Geometry of Deep Learning9 Aug 2024
- 2024Fast and Exact Enumeration of Deep Networks Partitions Regions20 Jan 2024
- 2023Characterizing Large Language Model Geometry Helps Solve Toxicity Detection and Generation4 Dec 2023
- 2022Interpreting Neural Networks through the Polytope Lens22 Nov 2022
- 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networks2 Nov 2022
- 2022Batch Normalization Explained29 Sep 2022
- 2022Explicitising The Implicit Intrepretability of Deep Neural Networks Via Duality1 Mar 2022
- 2021NeuroView: Explainable Deep Network Decision Making15 Oct 2021
- 2021Disentangling deep neural networks with rectified linear units using duality6 Oct 2021
1 more
- 2021Max-Affine Spline Insights Into Deep Network Pruning7 Jan 2021
- 2022Interpreting Neural Networks through the Polytope Lenscited by 33
- 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networkscited by 19
- 2023Characterizing Large Language Model Geometry Helps Solve Toxicity Detection and Generationcited by 11
- 2022Batch Normalization Explainedcited by 8
- 2021Max-Affine Spline Insights Into Deep Network Pruningcited by 5
- 2024Fast and Exact Enumeration of Deep Networks Partitions Regionscited by 5
- 2025Curvature Tuning: Provable Training-free Model Steering From a Single Parametercited by 4
- 2026The Linear Centroids Hypothesis: Features as Directions Learned by Local Expertscited by 3
- 2021Disentangling deep neural networks with rectified linear units using dualitycited by 1
- 2021NeuroView: Explainable Deep Network Decision Makingcited by 1
- 2022Explicitising The Implicit Intrepretability of Deep Neural Networks Via Dualitycited by 1
- 2024On the Geometry of Deep Learningcited by 0
- 2026The Linear Centroids Hypothesis: Features as Directions Learned by Local Experts13 Apr 2026
- 2025Curvature Tuning: Provable Training-free Model Steering From a Single Parameter11 Feb 2025
- 2024On the Geometry of Deep Learning9 Aug 2024
- 2024Fast and Exact Enumeration of Deep Networks Partitions Regions20 Jan 2024
- 2023Characterizing Large Language Model Geometry Helps Solve Toxicity Detection and Generation4 Dec 2023
- 2022Interpreting Neural Networks through the Polytope Lens22 Nov 2022
- 2022POLICE: Provably Optimal Linear Constraint Enforcement for Deep Neural Networks2 Nov 2022
- 2022Batch Normalization Explained29 Sep 2022
- 2022Explicitising The Implicit Intrepretability of Deep Neural Networks Via Duality1 Mar 2022
- 2021NeuroView: Explainable Deep Network Decision Making15 Oct 2021
- 2021Disentangling deep neural networks with rectified linear units using duality6 Oct 2021
- 2021Max-Affine Spline Insights Into Deep Network Pruning7 Jan 2021