Pushing the Efficiency Limit Using Structured Sparse Convolutions

Vinay Kumar Verma, Nikhil Mehta, Shijing Si, Ricardo Henao, Lawrence Carin

Abstract

Deep Neural Networks (DNNs) are notoriously overparameterized, making them difficult to deploy on edge devices with limited memory and power. While weight pruning can compress these models, traditional methods follow a costly three-stage pipeline: pre-train, prune, and fine-tune. This paper introduces Structured Sparse Convolution (SSC), a novel filter design that achieves the efficiency of pruned neural networks right at initialization. By using a fixed, "checkerboard" pattern of sparse kernels and a clever shift operation, SSC eliminates the need for expensive iterative training-and-pruning cycles while outperforming existing "foresight pruning" methods at extreme sparsity levels.

Introduction

The deployment of state-of-the-art DNNs is frequently hindered by their significant memory and power requirements. Weight pruning has emerged as a primary technique for model compression, typically involving a three-stage process: pre-training, pruning, and fine-tuning. Recent research into "Pruning Before Training" (PBT) seeks to identify efficient sub-networks at initialization, yet these methods often rely on data-driven heuristics and result in unstructured sparsity that is difficult for modern hardware to accelerate efficiently. To address these limitations, we propose Structured Sparse Convolution (SSC), which is structured by design, requires zero optimization to find, and is dataset-agnostic.

Methodology

The core of the paper is the SSC Filter, which replaces standard convolutional kernels with a heterogeneous mix of sparse components:

  1. Odd/Even $K \times K$ Kernels: Instead of a full $3 \times 3$ grid, SSC uses kernels where weights are only active at "odd" or "even" coordinates in a checkerboard pattern. This immediately halves the parameters for these kernels.
  2. $1 \times 1$ Kernels: To maintain information flow across channels, the filter also includes $1 \times 1$ kernels at fixed intervals.
Figure 1: Components of the proposed SSC filter, showing odd (a) and even (b) checkerboard patterns alongside 1x1 kernels (c).

The Shift Operation

If every filter used the same sparse pattern, the network would ignore half the input pixels. To prevent this, a "shift" operation is applied at initialization. Each filter in a layer is assigned a different spatial offset, ensuring that across the entire layer, every part of the input feature map is processed. Two hyperparameters, $g$ (grouping) and $p$ (interval), allow for precise control over the desired sparsity level. Crucially, SSC is a generalization of existing efficient layers; by tuning $g$ and $p$, it can be transformed into Depthwise, Groupwise, or Pointwise convolutions.

Key Insights and Results

SSC was evaluated across standard benchmarks including CIFAR-10/100, Tiny-ImageNet, and ImageNet (ILSVRC12).

Performance at the Limit

SSC shines at extreme sparsity. While other methods' performance collapses at 98% sparsity, SSC remains remarkably robust. On CIFAR-100 with a VGG-19 backbone at 98% sparsity, SSC achieved 68.95% accuracy, significantly outperforming SNIP (58.46%) and GraSP (68.90%).

Robustness and Transferability

Unlike methods like SNIP or GraSP, which look at gradients of a specific dataset to prune, SSC’s pattern is fixed. This makes the architecture highly transferable; a sparse SSC model designed for one task works just as well when transferred to another. Furthermore, when training data is scarce, SSC-based models are significantly more resistant to overfitting than standard models.

Figure 2: Performance comparison showing SSC's robustness to limited training data (left) and superior transfer accuracy compared to GraSP at high sparsity levels (right).

Implicit Orthogonality

Because SSC filters are designed to attend to non-overlapping regions of the input at initialization, they are naturally "near-orthogonal." This reduces filter redundancy without needing the complex mathematical constraints often used in training.

Conclusion and Future Work

SSC offers a promising path toward "naturally sparse" models, reducing the need for expensive train-then-prune cycles. The primary limitation is current hardware optimization; while SSC reduces theoretical FLOPs, existing deep learning libraries are optimized for dense tensors. Future work involves implementing custom CUDA kernels to realize the 2x-5x wall-clock speedups promised by this structured sparsity.

Summary updated

BibTeX
@inproceedings{verma2023pushing,
  author = {Vinay Kumar Verma and Nikhil Mehta and Shijing Si and Ricardo Henao and Lawrence Carin},
  title = {{Pushing the Efficiency Limit Using Structured Sparse Convolutions}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00644},
}
Figure