Extreme Network Compression via Filter Group Approximation

Bo Peng, Wenming Tan, Zheyang Li, Shun Zhang, Di Xie, Shiliang Pu

Introduction

Modern deep neural networks such as VGG and ResNet have achieved state-of-the-art performance in computer vision but at the cost of massive computational requirements. For instance, VGG16 requires over 30 billion FLOPs for a single image inference, making deployment on edge devices like smartphones or embedded systems challenging. This paper proposes a novel filter group approximation method to achieve extreme network compression—reducing FLOPs by over 80%—while maintaining high accuracy.

The Challenge of Network Degeneracy

Existing compression techniques generally involve pruning or low-rank decomposition. While low-rank methods are mathematically elegant, they often suffer from performance collapse at high compression ratios. This phenomenon, termed degeneracy, occurs because forcing a layer into a very low-rank representation creates a bottleneck that destroys feature diversity. Consequently, the Jacobian rank of the network drops, hindering gradient flow during fine-tuning.

Methodology: Filter Group Approximation

The authors address degeneracy by decomposing a standard convolutional layer into two components: a filter group convolution ($D$) and a point-wise ($1 \times 1$) convolution ($P$).

Decomposition of a standard convolution into group and point-wise convolutions.

The process involves:

  1. Decomposition: The original weight tensor $W$ is split into sub-matrices. Singular Value Decomposition (SVD) is applied to these sub-matrices to initialize the group and point-wise layers.
  2. Reconstruction: A least-squares optimization problem is solved to find a reconstruction matrix that minimizes the error between the original and compressed layer outputs. This matrix is merged into the $1 \times 1$ convolution, adding no runtime overhead.
  3. Fine-tuning: The compressed model undergoes a brief training period (typically under 20 epochs) to recover accuracy.

Analysis of Information Flow

A critical insight of this work is the preservation of the Jacobian rank. In standard SVD-based compression, the rank of the Jacobian—which measures the correlation between inputs and outputs—decreases linearly with the compression ratio. In contrast, the proposed filter group approximation maintains a high rank (equal to the number of input channels) regardless of the compression level. This keeps the "information highway" open, allowing for effective fine-tuning even at extreme compression levels.

Experimental Results

The method was evaluated on CIFAR-100 and ImageNet-2012. The results demonstrate that the proposed approach significantly outperforms training the same small architectures from scratch, indicating that the decomposition effectively distills pre-trained knowledge.

Top-1 accuracy loss vs. FLOPs reduction for ResNet34 on ImageNet.

Key results include:

  • VGG16 on ImageNet: Achieved an 85.80% reduction in FLOPs with only a 3.49% drop in Top-1 accuracy.
  • ResNet34 on ImageNet: Reduced FLOPs by 84.84% with a 3.03% Top-1 accuracy drop.
  • Hardware Speedup: On an Nvidia Jetson TX1, the inference time for VGG16 was reduced from 122.36ms to 40.92ms per image.

Conclusion

Filter group approximation provides a robust framework for extreme network compression by preventing model degeneracy. While current GPU implementations of group convolutions may not yet reach theoretical peak efficiency, the method offers a clear path for deploying large-scale models on resource-constrained hardware. Future work may explore combining this approach with spatial decomposition to further push the boundaries of efficiency.

Summary updated

BibTeX
@inproceedings{peng2018extreme,
  author = {Bo Peng and Wenming Tan and Zheyang Li and Shun Zhang and Di Xie and Shiliang Pu},
  title = {{Extreme Network Compression via Filter Group Approximation}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01237-3\_19},
}
Figure