Abstract
Deep Convolutional Neural Networks (CNNs) have achieved remarkable success in computer vision but often require significant memory and computational resources. SEP-Nets (Small and Effective Pattern Networks) propose a hybrid compression strategy that binarizes spatial "pattern" kernels ($k \times k$) while maintaining "projection" kernels ($1 \times 1$) in higher precision. By integrating this approach with a novel Pattern Residual Block and group-wise convolutions, SEP-Nets achieve state-of-the-art performance for extremely compact models, reaching sizes as small as 1.3MB while outperforming established architectures like SqueezeNet and MobileNet on ImageNet.
Introduction
The deployment of deep CNNs on mobile devices and embedded systems, such as FPGAs, is frequently hindered by their massive parameter counts. While techniques like weight binarization and compact architecture design (e.g., SqueezeNet) have been explored, they often result in a substantial "performance gap" compared to full-precision models. SEP-Nets aim to bridge this gap by rethinking the role of different kernel types within a network and applying selective quantization.
Methodology
Pattern Binarization
A key insight of SEP-Nets is that not all convolutional layers require the same level of precision. The authors distinguish between $k \times k$ kernels, which extract spatial "patterns" (e.g., edges, textures), and $1 \times 1$ kernels, which serve as "data projections" across channels. Empirical evidence suggests that $1 \times 1$ kernels suffer from significantly higher quantization errors when binarized compared to $k \times k$ kernels.
Consequently, SEP-Nets employ Pattern Binarization, where only the $k \times k$ filters are converted to binary values (-1 or 1), while $1 \times 1$ filters are kept in floating-point or 8-bit precision. This preserves the high-dimensional information flow while drastically reducing the footprint of spatial feature extraction.
Architectural Innovations
To further enhance efficiency and accuracy, the authors introduce two structural components:
- Pattern Residual Block (PRB): Inspired by residual learning, the PRB executes a $k \times k$ pattern convolution and a $1 \times 1$ projection convolution in parallel. The outputs are then summed. In this configuration, the high-precision $1 \times 1$ path acts as a learned "offset" that compensates for the information loss incurred by the binarized $k \times k$ path.
- Group-wise Convolutions: By splitting input channels into independent groups, the number of parameters is reduced by a factor of $N$, further slimming the model without severely impacting representational power.
The training process involves a three-stage pipeline: training a full-precision base model, binarizing the $k \times k$ filters, and finally fine-tuning the remaining parameters to recover accuracy.
Experimental Results
The effectiveness of SEP-Nets was evaluated on the CIFAR-10 and ImageNet (ILSVRC 2012) datasets.
- CIFAR-10: Applying pattern binarization to a ResNet-56 architecture resulted in an 86% reduction in parameter count with negligible loss in accuracy.
- ImageNet: A SEP-Net with 1.3 million parameters achieved 65.8% Top-1 accuracy. This outperforms the similarly sized MobileNet (63.7%) and the significantly larger SqueezeNet (60.4%).
- Extreme Compression: When $k \times k$ filters are binarized and $1 \times 1$ filters are quantized to 8-bit, the model size shrinks to just 1.3MB while maintaining a Top-1 accuracy of 63.5% on ImageNet.
Conclusion
SEP-Nets demonstrate that selective precision, based on the functional role of kernels, is a powerful tool for model compression. By treating $1 \times 1$ convolutions as high-precision error-correctors for binarized spatial patterns, the architecture achieves an impressive balance of size and accuracy. Future research may extend this paradigm to more complex tasks like object detection and explore native hardware acceleration for binary pattern operations.
Summary updated