Saved in:
Bibliographic Details
Main Authors: Lasby, Mike, Golubeva, Anna, Evci, Utku, Nica, Mihai, Ioannou, Yani
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2305.02299
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929251246145536
author Lasby, Mike
Golubeva, Anna
Evci, Utku
Nica, Mihai
Ioannou, Yani
author_facet Lasby, Mike
Golubeva, Anna
Evci, Utku
Nica, Mihai
Ioannou, Yani
contents Dynamic Sparse Training (DST) methods achieve state-of-the-art results in sparse neural network training, matching the generalization of dense models while enabling sparse training and inference. Although the resulting models are highly sparse and theoretically less computationally expensive, achieving speedups with unstructured sparsity on real-world hardware is challenging. In this work, we propose a sparse-to-sparse DST method, Structured RigL (SRigL), to learn a variant of fine-grained structured N:M sparsity by imposing a constant fan-in constraint. Using our empirical analysis of existing DST methods at high sparsity, we additionally employ a neuron ablation method which enables SRigL to achieve state-of-the-art sparse-to-sparse structured DST performance on a variety of Neural Network (NN) architectures. Using a 90% sparse linear layer, we demonstrate a real-world acceleration of 3.4x/2.5x on CPU for online inference and 1.7x/13.0x on GPU for inference with a batch size of 256 when compared to equivalent dense/unstructured (CSR) sparse layers, respectively.
format Preprint
id arxiv_https___arxiv_org_abs_2305_02299
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Dynamic Sparse Training with Structured Sparsity
Lasby, Mike
Golubeva, Anna
Evci, Utku
Nica, Mihai
Ioannou, Yani
Machine Learning
Computer Vision and Pattern Recognition
Dynamic Sparse Training (DST) methods achieve state-of-the-art results in sparse neural network training, matching the generalization of dense models while enabling sparse training and inference. Although the resulting models are highly sparse and theoretically less computationally expensive, achieving speedups with unstructured sparsity on real-world hardware is challenging. In this work, we propose a sparse-to-sparse DST method, Structured RigL (SRigL), to learn a variant of fine-grained structured N:M sparsity by imposing a constant fan-in constraint. Using our empirical analysis of existing DST methods at high sparsity, we additionally employ a neuron ablation method which enables SRigL to achieve state-of-the-art sparse-to-sparse structured DST performance on a variety of Neural Network (NN) architectures. Using a 90% sparse linear layer, we demonstrate a real-world acceleration of 3.4x/2.5x on CPU for online inference and 1.7x/13.0x on GPU for inference with a batch size of 256 when compared to equivalent dense/unstructured (CSR) sparse layers, respectively.
title Dynamic Sparse Training with Structured Sparsity
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2305.02299