CHIP: CHannel Independence-based Pruning for Compact Neural Networks

Yang Sui, Miao Yin, Yi Xie, Huy Phan, Saman Aliari Zonouz, Bo Yuan

TL;DR

CHIP (CHannel Independence-based Pruning) shifts the focus of network compression from looking at individual filters in isolation to analyzing how they interact. By measuring "Channel Independence" via changes in the nuclear norm of feature maps, the authors identify and remove redundant filters, achieving state-of-the-art compression—often while actually increasing model accuracy.

What Problem Does This Paper Address?

Deep learning models, particularly Convolutional Neural Networks (CNNs), are notoriously resource-hungry. To run them on edge devices like phones or IoT sensors, we use pruning to remove unnecessary parameters.

Most existing "filter pruning" methods look at intra-channel information—for example, calculating the $L_1$ norm (magnitude) of a filter’s weights and assuming "smaller is less important." However, this ignores the big picture: a filter might have large weights but still be redundant if its output is almost identical to another filter's output. The authors argue that we should look at inter-channel relationships to find filters that are "linearly dependent" on others and thus safe to remove.

Methods

The core innovation is a metric called Channel Independence (CI).

  1. The Metric: Instead of using "Rank" (which is a binary, "hard" measure of independence), the authors use the Nuclear Norm (the sum of singular values of a matrix). The nuclear norm acts as a "soft" proxy for rank, capturing more nuanced information about how much unique knowledge a channel contributes.
  2. The Calculation: For a given layer, they calculate the nuclear norm of the entire set of feature maps. Then, they "mask out" one channel at a time and see how much the nuclear norm drops. If the drop is tiny, that channel is highly dependent on others (redundant) and is a prime candidate for pruning.
CHIP Methodology Pipeline
  1. The Algorithm (CHIP):
    • Pass a small batch of images through the pre-trained network.
  2. Calculate the CI for every channel in every layer.
  3. Average these scores across the batch (the authors found this to be very stable).
  4. Prune the filters with the lowest CI scores.
  5. Perform a final fine-tuning step to recover any lost performance.

Datasets

The authors evaluated CHIP on standard computer vision benchmarks:

  • CIFAR-10: Used with ResNet-56, ResNet-110, and VGG-16.
  • ImageNet: Used with ResNet-50 to test scalability on large-scale, real-world data.

Key Insights and Ideas

  • Independence = Importance: A filter is important not because its weights are "large," but because it provides information that no other filter provides. If a feature map can be linearly reconstructed from its neighbors, the filter is "replaceable."
  • Nuclear Norm > Rank: A major "aha moment" in the research is the comparison between Rank and Nuclear Norm. As shown below, while the mathematical Rank of a feature map matrix barely changes when you remove different channels, the Nuclear Norm fluctuates significantly. This makes the Nuclear Norm a much more sensitive and precise tool for ranking importance.
Comparison of Rank vs. Nuclear Norm changes
  • Stability in Small Batches: One might worry that "importance" changes depending on the input image. However, the researchers discovered that Channel Independence is remarkably stable across different data batches. This allows for a "one-shot" pruning calculation that doesn't require complex, iterative optimization.
  • Pruning as Regularization: Interestingly, pruning often led to higher accuracy than the baseline. This suggests that removing redundant channels helps the model generalize better, acting as a form of architectural regularization.

Key Results

CHIP consistently outperformed state-of-the-art methods like HRank and SCOP:

  • ResNet-110 (CIFAR-10): Achieved a 52.1% reduction in FLOPs (floating-point operations) and a 48.3% reduction in parameters while actually increasing accuracy by 0.94%.
  • VGG-16 (CIFAR-10): Reduced FLOPs by a massive 78.6% with only a 0.78% drop in accuracy, significantly better than previous methods at that compression level.
  • ResNet-50 (ImageNet): At a moderate compression level, it reduced storage by 40.8% and computation by 44.8% while improving Top-1 accuracy by 0.15%. Even under "aggressive" pruning (68.6% storage reduction), it maintained competitive accuracy.

Limitations and Future Work

  • Architecture Scope: The paper focuses entirely on CNNs. While CNNs are the workhorse of computer vision, it remains to be seen how "Channel Independence" translates to Transformer-based architectures (like ViTs), where the concept of a "channel" is handled differently.
  • One-Shot vs. Iterative: The authors noted that trying to "learn" the pruning mask through additional training didn't provide much benefit over their one-shot CI calculation. While this speaks to the strength of the CI metric, it suggests we might be hitting a ceiling for how much "importance" can be extracted from feature map correlations alone.
  • Hardware Efficiency: While the paper reduces FLOPs and parameters (structured sparsity), the actual wall-clock speedup on specific hardware (like mobile DSPs or specialized AI accelerators) isn't extensively benchmarked, though structured pruning is generally hardware-friendly.

Summary updated

BibTeX
@inproceedings{sui2021chip,
  author = {Yang Sui and Miao Yin and Yi Xie and Huy Phan and Saman Aliari Zonouz and Bo Yuan},
  title = {{CHIP: CHannel Independence-based Pruning for Compact Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=EmeWbcWORRg},
}
Figure