LinearConv: Regenerating Redundancy in Convolution Filters as Linear Combinations for Parameter Reduction

Kumara Kahatapitiya, Ranga RodrigoarXiv 2019

Abstract

Convolutional Neural Networks (CNNs) are highly effective for computer vision but suffer from significant parameter redundancy, leading to high memory and storage requirements. We present LinearConv, a "plug-and-play" replacement for standard convolutional layers that reduces parameters by approximately 50% without compromising accuracy. LinearConv achieves this by learning a subset of independent "primary" filters and generating the remaining "secondary" filters as learnable linear combinations. By employing a correlation-based regularization loss to ensure the diversity of primary filters, LinearConv maintains model expressiveness while significantly compressing the network representation.

Introduction

Modern CNN architectures are often over-parameterized. Research indicates that many learned filters within a standard convolutional layer are highly correlated, performing redundant operations. While techniques like pruning can remove these redundancies, they often require complex pipelines or architecture-specific tuning. LinearConv addresses this by exploiting inherent redundancy during the learning process itself, offering a seamless integration into existing network designs like ResNet and VGG.

Methodology

The core innovation of LinearConv is the decomposition of the weight matrix into primary and secondary components. Instead of learning every filter independently, the layer defines:

  1. Primary Filters ($W^p$): A set of filters, comprising a fraction $\alpha$ of the total, which are learned directly through backpropagation.
  2. Secondary Filters ($W^s$): These filters are generated as linear combinations of the primary filters using a learnable coefficient matrix $A$.
Comparison of standard convolution weights and LinearConv's weight generation process.

To ensure that the primary filters provide a sufficiently diverse basis for generating secondary filters, the authors introduce a Correlation-based Regularization Loss. This loss functions as a constraint to keep primary filters orthogonal, preventing them from becoming redundant themselves.

Inference Efficiency

A key advantage of LinearConv is its performance during deployment. At inference time, the secondary filters can be pre-computed and concatenated with the primary filters to form a standard weight matrix. Consequently, a model using LinearConv layers runs at the same speed and requires the same number of Floating Point Operations (FLOPs) as its standard counterpart, while occupying significantly less memory.

Experimental Results

LinearConv was evaluated on several benchmarks, including CIFAR-10/100, SVHN, and MNIST, across various architectures such as VGG11, ResNet-18, and ResNeXt-29.

  • Parameter Reduction: The method consistently achieved a 44% to 50% reduction in learnable parameters.
  • Accuracy: Models using LinearConv maintained accuracy parity with baseline models. For instance, a VGG11 variant with LinearConv matched the baseline CIFAR-10 accuracy while utilizing 47% fewer parameters.
  • Optimal Configuration: Empirical results suggest that a primary filter ratio of $\alpha = 0.5$ provides the optimal balance between parameter savings and model performance.

Discussion and Limitations

While LinearConv offers significant storage benefits, it introduces additional computational overhead during the training phase due to the generation of secondary filters and the calculation of the correlation loss. Furthermore, its impact on already efficient architectures like MobileNetV2 is less pronounced, as these models already utilize depth-wise separable convolutions to minimize redundancy.

Conclusion

LinearConv provides an effective and easy-to-implement strategy for reducing the memory footprint of CNNs. By regenerating redundancy through learnable linear combinations rather than simply removing it, the method preserves the generalization capabilities of deep networks while making them more suitable for resource-constrained environments.

Summary updated

BibTeX
@misc{kahatapitiya2019linearconv,
  author = {Kumara Kahatapitiya and Ranga Rodrigo},
  title = {{LinearConv: Regenerating Redundancy in Convolution Filters as Linear Combinations for Parameter Reduction}},
  year = {2019},
  eprint = {1907.11432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.11432},
}
Figure