NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Filter Basis for Convolutional Neural Network Compression

Yawei Li, Shuhang Gu, Luc Van Gool, Radu Timofte

Abstract

Deep learning models often require millions of parameters, hindering deployment on resource-constrained devices. This paper introduces a novel "split-wise" filter basis learning method to compress Convolutional Neural Networks (CNNs). By decomposing 3D convolutional filters into smaller segments represented as linear combinations of a learned basis, the proposed method achieves state-of-the-art compression rates on image classification and super-resolution tasks while maintaining high accuracy.

Introduction: The Challenge of Model Heavyweight

Modern deep learning models are notoriously parameter-heavy, making their deployment on mobile phones and edge devices a significant challenge. While various network compression techniques exist, a gap remains in effective filter decomposition. Previous methods often utilized "all-or-nothing" approaches, treating filters either as 2D slices—ignoring cross-channel correlations—or as intact 3D blocks, which prevents reducing input channel counts. These "hard" decompositions struggle with modern architectures like DenseNet or efficient 1x1 convolutions. There is a clear need for a "fine-grained" middle ground that balances parameter reduction with representational power.

Methodology: Split-wise Filter Decomposition

The core innovation of this work is Split-wise Filter Decomposition. Instead of treating a 3D filter ($c \times w \times h$) as a single unit, the method splits it along the input channel dimension ($c$) into $s$ smaller groups.

Comparison of filter decomposition strategies: 3D Filter-wise, Split-wise, and Channel-wise.

The process involves several key steps:

  1. Basis Learning: A set of "basis elements" (small filter fragments) is learned and shared across the ensemble of splits within a layer.
  2. Linear Combination: Each original filter segment is approximated as a weighted sum of these basis elements.
  3. Efficient Implementation: During inference, this is implemented as a two-step process: a lightweight convolution using the basis filters, followed by a $1 \times 1$ convolution applying the learned coefficients.
  4. Joint Optimization: The basis and coefficients are trained together, minimizing a loss function that combines filter approximation error with the actual task loss (e.g., classification or reconstruction error).
  5. Basis Sharing: To further enhance compression, multiple layers or residual blocks can share the same set of basis filters.

The authors provide a mathematical derivation suggesting an optimal number of splits ($s \approx \sqrt{w \times h}$), offering a theoretical starting point for engineers.

Experimental Setup

The approach was validated across two distinct domains:

  • Image Classification: Evaluated on the CIFAR-10 dataset using VGG-16, ResNet-56, and DenseNet-12-40 architectures.
  • Image Super-Resolution (SR): Trained on the DIV2K dataset and tested on standard benchmarks (Set5, Set14, B100, and Urban100). Compression was applied to SRResNet and the large-scale EDSR (Enhanced Deep Residual Networks) models.

Key Results and Insights

The experiments demonstrated that the "middle way" of split-wise decomposition is superior to 2D or 3D extremes. By tuning the number of splits ($s$), the method provides fine-grained control over the size-performance trade-off.

Super-resolution results on the 'bird' image for upscaling factor x4. Comparison of different compression methods on EDSR.

Significant findings include:

  • EDSR Compression: For the heavy EDSR model, a compression rate of 9.0% (over 10x reduction) was achieved with negligible PSNR drops (e.g., 32.33 dB vs 32.48 dB on Set5).
  • VGG-16 Efficiency: On CIFAR-10, VGG-16 was compressed to 21.8% of its original size with only a 0.2% increase in error rate, outperforming K-means and "Factor" decomposition.
  • FLOPs Reduction: Beyond storage, computational cost was significantly reduced. For VGG-16, FLOPs were reduced to 23.5% of the baseline.
  • Robustness in Low-Level Vision: Unlike many methods that focus solely on classification, this approach proves robust for Super-Resolution, where accurate pixel reconstruction is required.

Conclusion and Future Work

This paper demonstrates that $1 \times 1$ convolutions contain significant redundancy exploitable through basis learning. While the method shows a 2x speedup in PyTorch, actual "wall-clock" performance on mobile hardware depends on library-level optimizations for decomposed operations. Future work may extend this basis-sharing approach to other tasks like object detection and semantic segmentation or combine it with quantization for even more extreme compression.

Summary updated

BibTeX
@inproceedings{li2019learning,
  author = {Yawei Li and Shuhang Gu and Luc Van Gool and Radu Timofte},
  title = {{Learning Filter Basis for Convolutional Neural Network Compression}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00572},
}
Figure