Accelerating DNN Training with Structured Data Gradient Pruning

Bradley McDanel, Helia Dinh, John Magallanes
2/1/2022
cs.LGcs.CV
quantization-pruning

Official code: BradMcDanel/sdgp (10 stars, Python, last commit 2022-02-01).

Abstract

Weight pruning is a technique to make Deep Neural Network (DNN) inference more computationally efficient by reducing the number of model parameters over the course of training. However, most weight pruning techniques generally does not speed up DNN training and can even require more iterations to reach model convergence.

Show full abstract

In this work, we propose a novel Structured Data Gradient Pruning (SDGP) method that can speed up training without impacting model convergence. This approach enforces a specific sparsity structure, where only N out of every M elements in a matrix can be nonzero, making it amenable to hardware acceleration. Modern accelerators such as the Nvidia A100 GPU support this type of structured sparsity for 2 nonzeros per 4 elements in a reduction. Assuming hardware support for 2:4 sparsity, our approach can achieve a 15-25\% reduction in total training time without significant impact to performance. Source code and pre-trained models are available at \url{https://github.com/BradMcDanel/sdgp}.

View on arXivView PDF

Code Implementations(1)

BradMcDanel/sdgpOfficial100%
102Python, CudaJan 13, 20214 years ago

Similar Papers

Cite this paper

@article{mcdanel2022accelerating,
  title  = {Accelerating DNN Training with Structured Data Gradient Pruning},
  author = {Bradley McDanel and Helia Dinh and John Magallanes},
  year   = {2022},
  eprint = {2202.00774},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00774}
}

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/2202.00774.svg)](https://codeofpaper.com/paper/2202.00774)

Discussion