Abstract
The recent WSNet [1] is a new model compression method through sampling filter weights from a compact set and has demonstrated to be effective for 1D convolution neural networks (CNNs). However, the weights sampling strategy of WSNet is handcrafted and fixed which may severely limit the expression ability of the resulted CNNs and weaken its compression ability. In this work, we present a novel auto-sampling method that is applicable to both 1D and 2D CNNs with significant performance improvement over WSNet. Specifically, our proposed auto-sampling method learns the sampling rules end-to-end instead of being independent of the network architecture design. With such differentiable weight sampling rule learning, the sampling stride and channel selection from the compact set are optimized to achieve better trade-off between model compression rate and performance. We demonstrate that at the same compression ratio, our method outperforms WSNet by 6.5% on 1D convolution. Moreover, on ImageNet, our method outperforms MobileNetV2 full model by 1.47% in classification accuracy with 25% FLOPs reduction. With the same backbone architecture as baseline models, our method even outperforms some neural architecture search (NAS) based methods such as AMC [2] and MNasNet [3].
Introduction
Deep Convolutional Neural Networks (CNNs) are powerful but computationally expensive, making them difficult to deploy on resource-constrained devices like smartphones. Traditional compression methods—such as pruning, quantization, or low-rank factorization—assume a strict one-to-one mapping between a network's architecture and its parameters. This coupling limits flexibility; changing the architecture often results in losing learned informative parameters.
Neural Epitome Search (NES) addresses this by disentangling weights from the architecture. Instead of fixed weights for each layer, NES learns a compact "epitome"—a shared pool of parameters—and a differentiable transformation to map these parameters onto any network structure. This approach allows for extreme compression without the typical performance drop associated with traditional methods.
Methodology
The NES framework consists of three main pillars:
- The Epitome ($E$): A small, dense tensor that acts as a universal parameter reservoir. It is significantly smaller than the total number of weights in a standard network.
- The Indexing Learner ($\eta$): A small sub-network that learns exactly where and how to sample from the epitome to construct weight tensors for specific layers. Because this process is differentiable (using an interpolation-based sampler), the sampling rules are learned end-to-end during training.
- Inference Efficiency: To ensure the model is fast in practice, the authors introduce Routing Maps (lookup tables for sampling indices) and Channel Wrapping. Channel Wrapping groups input features that share the same epitome weights, allowing the model to perform one multiplication for multiple features, drastically reducing Multiply-Adds (MAdds).
Experiments and Results
NES was evaluated across ImageNet, CIFAR-10, and ESC-50 (for 1D convolutions). It consistently outperformed both standard baselines and sophisticated Neural Architecture Search (NAS) methods.
On ImageNet, NES demonstrated superior efficiency compared to MobileNetV2 variants. As shown in the table below, NES variants consistently achieve higher top-1 accuracy than their corresponding MobileNetV2 counterparts at similar or higher compression rates.
Key results include:
- MobileNetV2: NES improved top-1 accuracy by 1.47% while reducing MAdds by 25%.
- EfficientNet-B0: NES yielded a 1.2% accuracy improvement with 10% fewer MAdds.
- 1D Convolution: On the ESC-50 dataset, NES outperformed the previous state-of-the-art (WSNet) by 6.5% in accuracy at the same compression ratio.
Discussion and Conclusion
NES demonstrates that separating parameter learning from architectural constraints acts as a powerful regularizer, preventing overfitting and encouraging the learning of robust features. By searching for optimal sampling strategies rather than relying on handcrafted rules, NES achieves state-of-the-art performance on mobile devices. Future work will focus on automating hyperparameter discovery and optimizing hardware-specific implementations to further bridge the gap between theoretical efficiency and real-world speed.
Summary updated