Towards Compact CNNs via Collaborative Compression

Yuchao Li, Shaohui Lin, Jianzhuang Liu, Qixiang Ye, Mengdi Wang, Fei Chao, Fan Yang, Jincheng Ma, Qi Tian, Rongrong Ji

Introduction

Deep learning models have achieved remarkable success in computer vision but remain computationally expensive, hindering deployment on resource-constrained devices like mobile phones and wearables. Traditional model compression techniques typically rely on either channel pruning (removing redundant channels) or tensor decomposition (low-rank approximation). However, these methods are often applied in isolation, ignoring the potential synergy between sparsity and low-rankness. This paper introduces Collaborative Compression (CC), a unified framework that jointly optimizes these two strategies to achieve superior efficiency with minimal accuracy loss.

The Collaborative Compression Framework

The core innovation of CC lies in treating pruning and decomposition as a single, collaborative task. By doing so, the framework exploits the mutual influence between these techniques, allowing for deeper compression than sequential approaches. The CC pipeline consists of two primary stages: Global Compression Rate Optimization (GCRO) and Multi-step Heuristic Compression (MSHC).

The Collaborative Compression pipeline overview, showing the flow from a standard CNN through global optimization and heuristic compression to a fine-tuned compact model.

Global Compression Rate Optimization (GCRO)

A significant challenge in model compression is determining the optimal compression rate for each layer. Manual tuning is impractical for deep architectures. The authors observed that the relationship between a layer's compression rate and its resulting information loss follows a predictable exponential curve.

By sampling a few compression points per layer, the framework learns the parameters of these sensitivity curves. This transforms the tuning process into a global optimization problem, where the goal is to minimize the total network loss subject to a specific resource constraint (e.g., a 50% reduction in FLOPs).

Exponential sensitivity curve for GoogLeNet, showing the high correlation ($R^2 = 0.9904$) between the empirical data and the exponential model.

Multi-step Heuristic Compression (MSHC)

Once optimal rates are determined, the MSHC stage executes the actual weight removal. Unlike "one-shot" methods that calculate importance once, MSHC recognizes that removing one unit alters the importance of others. Inspired by Markov Decision Processes, the algorithm removes units in small batches, recalculating a "remaining compression space" metric at each step. This look-ahead approach ensures that the most redundant components are prioritized, preserving the network's representational power throughout the process.

Experimental Results

The researchers evaluated CC on CIFAR-10 and ImageNet across several architectures, including ResNet-50, VGG-16, and MobileNet-V2. Key findings include:

  • ResNet-50 (ImageNet): Achieved a 52.9% reduction in FLOPs and a 48.4% reduction in parameters with only a 0.56% drop in Top-1 accuracy.
  • GoogLeNet (CIFAR-10): Demonstrated an accuracy increase (from 95.05% to 95.18%) while halving the FLOP count.
  • Hardware Performance: Real-world testing on standard CPUs showed speedups of 1.54x for VGG-16 and 1.36x for ResNet-50.
  • Compact Architectures: Even on MobileNet-V2, CC outperformed automated pruning methods like AMC, achieving 70.91% accuracy with only 215M FLOPs.

Conclusion

Collaborative Compression demonstrates that sparsity and low-rankness are complementary rather than orthogonal. By automating rate optimization through exponential sensitivity modeling and employing a multi-step heuristic for weight removal, CC sets a new benchmark for efficient CNN deployment. Future work may extend this framework to include hardware-aware metrics and bit-precision quantization.

Summary updated

BibTeX
@inproceedings{li2021towards,
  author = {Yuchao Li and Shaohui Lin and Jianzhuang Liu and Qixiang Ye and Mengdi Wang and Fei Chao and Fan Yang and Jincheng Ma and Qi Tian and Rongrong Ji},
  title = {{Towards Compact CNNs via Collaborative Compression}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00637},
}
Figure