Sparse GPU Kernels for Deep Learning

By Trevor Gale, Matei A. Zaharia, Cliff Young, Erich Elsen. 2020

296 citations recorded by the source corpus.

Scientific workloads have traditionally exploited high levels of sparsity to accelerate computation and reduce memory requirements. While deep neural networks can be made sparse, achieving practical speedups on GPUs is difficult because these applications have relatively moderate levels of sparsity that are not sufficient for existing sparse kernels to outperform their dense counterparts. In this work, we study sparse matrices from deep learning applications and identify favorable properties that can be exploited to accelerate computation. Based on these insights, we develop high-performance GPU kernels for two sparse matrix operations widely applicable in neural networks: sparse matrix–dense matrix multiplication and sampled dense– dense matrix multiplication. Our kernels reach 27% of single-precision peak on Nvidia V100 GPUs. Using our kernels, we demonstrate sparse Transformer and MobileNet models that achieve $1.2-2.1 \times $ speedups and up to $12.8 \times $ memory savings without sacrificing accuracy.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Jianfeng Gao
  5. Barret Zoph
  6. Noah A. Smith
  7. William Fedus
  8. Graham Neubig

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Ming-Hsuan Yang
  5. Andrew Zisserman
  6. Yi Yang
  7. Quoc V. Le
  8. Xiaogang Wang

In Efficiency & Compression

  1. William Fedus
  2. Barret Zoph
  3. Noam Shazeer
  4. Julia Kreutzer
  5. Orevaoghene Ahia
  6. Dan Alistarh
  7. Dongsoo Lee
  8. Jinwoo Shin

Citations in the corpus