Abstract
Deep SimNets introduce a generalization of Convolutional Neural Networks (ConvNets) by replacing standard linear inner products with expressive kernel-based similarity operators and flexible "MEX" (log-mean-exp) pooling. This architecture provides a higher level of abstraction, allowing small, computationally efficient networks to achieve significantly higher accuracy than traditional ConvNets on mobile and resource-constrained platforms.
Introduction
While ConvNets have revolutionized computer vision, they are notoriously resource-intensive. To deploy them on mobile devices or embedded systems, researchers often have to "shrink" the networks by reducing layers or channels. However, traditional ConvNets rely on a very simple building block: the linear inner product ($w^\top x + b$).
The authors argue that when a network is small, this simple operator lacks the "expressive power" to approximate complex functions well, leading to high approximation errors. The challenge is to design a new architectural primitive that is more "intelligent" than a standard neuron, allowing a small network to do more with less.
Architecture and Methods
Similarity Networks (SimNets) are driven by two novel operators that replace the standard convolution-activation-pooling pipeline:
- The Similarity Operator: Instead of a standard dot product, this measures the similarity between an input $x$ and a template $z$.
- Linear Similarity: Corresponds to standard convolutions but realizes the feature space of an Exponential kernel.
- $\ell_p$ Similarity: Measures the $p$-distance between inputs and templates. This realizes more powerful Generalized Gaussian kernels (like RBF or Laplacian).
- The MEX Operator: A log-mean-exp function defined as $MEX_\beta \{c_i\} := \frac{1}{\beta} \log (\frac{1}{n} \sum \exp\{\beta \cdot c_i\})$. By varying $\beta$, MEX can smoothly transition between maximum ($\beta \to \infty$), average ($\beta \to 0$), and minimum ($\beta \to -\infty$). Crucially, MEX has a "collapsing property" where a MEX of MEXes is just a larger MEX, simplifying the mathematical analysis of deep layers.
The paper also introduces a "Whitened" $\ell_p$ similarity layer, which uses a standard convolution to decorrelate (whiten) the data before applying the similarity operator, effectively performing a form of Independent Component Analysis (ICA).
Experimental Results
The authors evaluated SimNets on three standard image recognition benchmarks: CIFAR-10, CIFAR-100, and the Street View House Numbers (SVHN) dataset.
Superior Efficiency
On CIFAR-10, a two-layer SimNet achieved 85.5% accuracy using only 14.2M FLOPs, whereas a standard Caffe ConvNet required 24.8M FLOPs to reach a lower 81.1% accuracy. This trend of higher accuracy with fewer parameters and FLOPs was consistent across all tested datasets, demonstrating the architecture's suitability for resource-constrained environments.
Small-Scale Dominance and Scalability
In experiments with extremely compact networks (only 5,000 parameters), SimNet reached 76.8% accuracy, significantly outperforming the "Network in Network" (NiN) architecture (72.3%). When scaled up to three layers with proper regularization, SimNets achieved 92.18% on CIFAR-10, matching the performance of state-of-the-art architectures like Highway Networks and All-CNN.
Key Insights
- Neurons in Feature Space: By using kernel-based similarities, a single SimNet layer acts like a "neuron in feature space," achieving abstraction in one layer that might require multiple layers in a standard ConvNet.
- Kernel Machine Connection: SimNets are closely related to Generalized Multiple Kernel Learning (GMKL), providing a strong theoretical foundation for their expressiveness.
- Unsupervised Pre-training: SimNets benefit from a natural unsupervised pre-training scheme using ICA for whitening filters and Expectation-Maximization (EM) for similarity templates.
Discussion and Future Work
While SimNets require fewer FLOPs, current deep learning libraries are heavily optimized for standard convolutions. Realizing "wall-clock" speedups on GPUs will require custom CUDA kernels for similarity and MEX operators. Additionally, because SimNets are highly expressive, they require careful regularization to avoid overfitting. Future work includes exploring automatic architecture search based on the statistical complexity of the data.
Summary updated