Skip to main content
QUICK REVIEW

[Paper Review] Holistic SparseCNN: Forging the Trident of Accuracy, Speed, and Size

Jongsoo Park, Sheng R. Li|arXiv (Cornell University)|Jan 1, 2016
Advanced Neural Network ApplicationsComputer Science28 citations
TL;DR

This paper proposes Holistic SparseCNN, a method that simultaneously improves model accuracy, inference speed, and model size by enabling efficient sparse convolution operations with arbitrary sparsity patterns. It achieves 3.1–7.3× speedups over dense convolution in AlexNet across diverse architectures, using a novel sparse-dense matrix multiplication kernel and a predictive performance model for optimal sparsity levels.

ABSTRACT

Phenomenally successful in practical inference problems, convolutional neural networks (CNN) are widely deployed in mobile devices, data centers, and even supercomputers. The number of parameters needed in CNNs, however, are often large and undesirable. Consequently, various methods have been developed to prune a CNN once it is trained. Nevertheless, the resulting CNNs offer limited benefits. While pruning the fully connected layers reduces a CNN's size considerably, it does not improve inference speed noticeably as the compute heavy parts lie in convolutions. Pruning CNNs in a way that increase inference speed often imposes specific sparsity structures, thus limiting the achievable sparsity levels. We present a method to realize simultaneously size economy and speed improvement while pruning CNNs. Paramount to our success is an efficient general sparse-with-dense matrix multiplication implementation that is applicable to convolution of feature maps with kernels of arbitrary sparsity patterns. Complementing this, we developed a performance model that predicts sweet spots of sparsity levels for different layers and on different computer architectures. Together, these two allow us to demonstrate 3.1--7.3$ imes$ convolution speedups over dense convolution in AlexNet, on Intel Atom, Xeon, and Xeon Phi processors, spanning the spectrum from mobile devices to supercomputers. We also open source our project at this https URL.

Motivation & Objective

  • To address the limitations of existing CNN pruning methods that fail to improve inference speed despite reducing model size.
  • To enable significant speedups in convolutional inference by supporting arbitrary sparsity patterns in kernels and feature maps.
  • To develop a performance model that predicts optimal sparsity levels for different layers and hardware architectures.
  • To bridge the gap between model compression and actual inference speedup in real-world systems.
  • To deliver a practical, open-source solution for deploying sparse CNNs efficiently across mobile, server, and supercomputing platforms.

Proposed method

  • Designing an efficient general sparse-with-dense matrix multiplication kernel that supports arbitrary sparsity patterns in convolutions.
  • Integrating a performance model that predicts the optimal sparsity levels for each layer based on hardware characteristics and layer-specific compute patterns.
  • Applying structured and unstructured pruning to CNNs while preserving accuracy and enabling high-speed inference.
  • Using the performance model to guide pruning decisions, ensuring that sparsity levels maximize speedup on target hardware.
  • Implementing the method on Intel platforms including Atom, Xeon, and Xeon Phi to validate cross-architecture performance.
  • Open-sourcing the implementation to enable reproducibility and real-world deployment across diverse systems.

Experimental results

Research questions

  • RQ1Can arbitrary sparsity patterns in CNN kernels be efficiently exploited to accelerate inference without sacrificing model accuracy?
  • RQ2What sparsity levels yield maximum speedup for different layers and hardware platforms?
  • RQ3Can a performance model accurately predict optimal sparsity levels to balance speed, size, and accuracy?
  • RQ4To what extent can sparse convolution operations achieve speedups across mobile, server, and supercomputing systems?
  • RQ5How does the combination of sparse computation and performance modeling enable holistic optimization of CNNs?

Key findings

  • Holistic SparseCNN achieves 3.1–7.3× speedup over dense convolution in AlexNet across Intel Atom, Xeon, and Xeon Phi processors.
  • The method enables simultaneous improvements in model size, inference speed, and accuracy through efficient sparse convolution operations.
  • The performance model successfully identifies optimal sparsity levels for different layers and hardware, maximizing speedup.
  • Arbitrary sparsity patterns are efficiently supported via a novel sparse-with-dense matrix multiplication kernel, enabling high flexibility and performance.
  • The open-source implementation allows deployment across a wide range of systems, from mobile devices to supercomputers.
  • Pruning fully connected layers alone is insufficient for speedup, but sparse convolutions enable substantial gains when optimized with the performance model.

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.