Accelerating Sparse DNN Models without Hardware-Support via Tile-Wise Sparsity

Cong Guo, Bo Yang Hsueh, Jingwen Leng, Yuxian Qiu, Yue Guan +5 more
8/29/2020
cs.DCcs.AI

Official code: clevercool/TileSparsity (103 stars, C++, last commit 2020-12-11).

Abstract

Network pruning can reduce the high computation cost of deep neural network (DNN) models. However, to maintain their accuracies, sparse models often carry randomly-distributed weights, leading to irregular computations.

Show full abstract

Consequently, sparse models cannot achieve meaningful speedup on commodity hardware (e.g., GPU) built for dense matrix computations. As such, prior works usually modify or design completely new sparsity-optimized architectures for exploiting sparsity. We propose an algorithm-software co-designed pruning method that achieves latency speedups on existing dense architectures. Our work builds upon the insight that the matrix multiplication generally breaks the large matrix into multiple smaller tiles for parallel execution. We propose a tiling-friendly "tile-wise" sparsity pattern, which maintains a regular pattern at the tile level for efficient execution but allows for irregular, arbitrary pruning at the global scale to maintain the high accuracy. We implement and evaluate the sparsity pattern on GPU tensor core, achieving a 1.95x speedup over the dense model.

View on arXivView PDF

Code Implementations(1)

1034C++, PythonMay 31, 20205 years ago

Similar Papers

Cite this paper

@article{guo2020accelerating,
  title  = {Accelerating Sparse DNN Models without Hardware-Support via Tile-Wise Sparsity},
  author = {Cong Guo and Bo Yang Hsueh and Jingwen Leng and Yuxian Qiu and Yue Guan and Zehuan Wang and Xiaoying Jia and Xipeng Li and Minyi Guo and Yuhao Zhu},
  year   = {2020},
  eprint = {2008.13006},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.13006}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.13006.svg)](https://codeofpaper.com/paper/2008.13006)

Discussion