Skip to main content
QUICK REVIEW

[Paper Review] Compression of Deep Convolutional Neural Networks under Joint Sparsity Constraints

Yoojin Choi, Mostafa El‐Khamy|arXiv (Cornell University)|May 21, 2018
Advanced Neural Network ApplicationsComputer Science35 references5 citations
TL;DR

This paper proposes a universal compression framework for deep convolutional neural networks that enables joint sparsity in both spatial and Winograd domains through a novel regularization scheme. By optimizing filters to be sparse in either domain without accuracy loss, the method achieves up to 47.7× compression and 23.5× complexity reduction for models like AlexNet and CT-SRCNN, enabling single-model deployment across diverse hardware platforms without retraining.

ABSTRACT

We consider the optimization of deep convolutional neural networks (CNNs) such that they provide good performance while having reduced complexity if deployed on either conventional systems utilizing spatial-domain convolution or lower complexity systems designed for Winograd convolution. Furthermore, we explore the universal quantization and compression of these networks. In particular, the proposed framework produces one compressed model whose convolutional filters can be made sparse either in the spatial domain or in the Winograd domain. Hence, one compressed model can be deployed universally on any platform, without need for re-training on the deployed platform, and the sparsity of its convolutional filters can be exploited for further complexity reduction in either domain. To get a better compression ratio, the sparse model is compressed in the spatial domain which has a less number of parameters. From our experiments, we obtain $24.2 imes$, $47.7 imes$ and $35.4 imes$ compressed models for ResNet-18, AlexNet and CT-SRCNN, while their computational cost is also reduced by $4.5 imes$, $5.1 imes$ and $23.5 imes$, respectively.

Motivation & Objective

  • To address the lack of universal CNN compression frameworks that support both spatial-domain and Winograd-domain sparse inference.
  • To eliminate the need for retraining or fine-tuning when deploying compressed models on platforms using different convolutional computation methods.
  • To develop a single compressed model that maintains sparsity and performance across both spatial and Winograd domains.
  • To enable hardware-agnostic deployment of pre-trained models on resource-limited devices such as mobile phones.
  • To achieve high compression ratios and computational complexity reduction while preserving model accuracy.

Proposed method

  • Introduces a joint sparsity regularization that promotes sparsity in both spatial and Winograd domains simultaneously during training.
  • Applies a Winograd-domain regularizer to filter weights using the transformation $ W_{\text{win}} = G w G^T $, where $ G $ is the Winograd transformation matrix.
  • Uses a spatial-domain regularizer to encourage sparsity in the original filter space.
  • Employs universal quantization and source coding to further compress the sparse model, ensuring sparsity is preserved in both domains.
  • Derives the gradient of the joint sparsity regularizer using Kronecker products and vectorization, enabling end-to-end backpropagation.
  • Optimizes the model using stochastic gradient descent, with gradient updates defined even at discontinuous points via subgradient approximation.

Experimental results

Research questions

  • RQ1Can a single compressed CNN model be made sparse in both spatial and Winograd domains without accuracy degradation?
  • RQ2Is it possible to achieve high compression ratios while maintaining low computational complexity across different inference platforms?
  • RQ3Can universal quantization and source coding preserve joint sparsity in both domains after compression?
  • RQ4How does joint sparsity regularization compare to conventional single-domain pruning in terms of compression and accuracy?
  • RQ5Can the proposed framework be extended to other sparse convolution methods, such as frequency-domain convolution?

Key findings

  • The proposed method achieves a 24.2× compression ratio for ResNet-18 with a 4.5× reduction in MAC operations, maintaining accuracy within 1% loss.
  • For AlexNet, the framework achieves a 47.7× compression ratio and a 5.1× reduction in computational complexity, with minimal accuracy degradation.
  • The 9-layer CT-SRCNN model is compressed by 35.4×, reducing MAC operations by 23.5× when using sparse Winograd convolution.
  • The model maintains PSNR within 0.4 dB of the pre-trained model on the Set14 dataset, with SSIM values above 0.822.
  • Universal quantization and source coding preserve sparsity in both domains, enabling one model to be deployed on any platform without retraining.
  • The joint sparsity regularization enables effective pruning in both domains, with gradients computed via Kronecker product identities for backpropagation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.