The Sparsity Roofline: Understanding the Hardware Limits of Sparse Neural Networks
Not on the map. Why?
Abstract (arXiv)
We introduce the Sparsity Roofline, a visual performance model for evaluating sparsity in neural networks. The Sparsity Roofline jointly models network accuracy, sparsity, and theoretical inference speedup. Our approach does not require implementing and benchmarking optimized kernels, and the theoretical speedup becomes equal to the actual speedup when the corresponding dense and sparse kernels are well-optimized. We achieve this through a novel analytical model for predicting sparse network performance, and validate the predicted speedup using several real-world computer vision architectures pruned across a range of sparsity patterns and degrees. We demonstrate the utility and ease-of-use of our model through two case studies: (1) we show how machine learning researchers can predict the performance of unimplemented or unoptimized block-structured sparsity patterns, and (2) we show how hardware designers can predict the performance implications of new sparsity patterns and sparse data formats in hardware. In both scenarios, the Sparsity Roofline helps performance experts identify sparsity regimes with the highest performance potential.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 34 of its 54 references that are in the map. First posted on arXiv 30 Sep 2023.
Builds on
34 of 54 references.
References · 34
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2022A ConvNet for the 2020scited by 3,579
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2016Matching Networks for One Shot Learningcited by 2,255
22 more
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2019Searching for MobileNetV3cited by 1,994
- 2017Random Erasing Data Augmentationcited by 1,239
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 812
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 603
- 2020What is the State of Neural Network Pruning?cited by 583
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 378
- 2021ResNet strikes back: An improved training procedure in timmcited by 368
- 2017Variational Dropout Sparsifies Deep Neural Networkscited by 265
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
- 2020Comparing Rewinding and Fine-tuning in Neural Network Pruningcited by 240
- 2020Sparse GPU Kernels for Deep Learningcited by 141
- 2022Revisiting Random Channel Pruning for Neural Network Compressioncited by 50
- 2019Comprehensive SNN Compression Using ADMM Optimization and Activity Regularizationcited by 45
- 2017Block-Sparse Recurrent Neural Networkscited by 39
- 2018Dissecting the NVIDIA Volta GPU Architecture via Microbenchmarkingcited by 35
- 2020SparseRT: Accelerating Unstructured Sparsity on GPUs for Deep Learning Inferencecited by 30
- 2020Hierarchical Roofline Performance Analysis for Deep Learning Applicationscited by 11
- 2020Time-Based Roofline for Deep Learning Performance Analysiscited by 7
- 2018Hierarchical Block Sparse Neural Networkscited by 3
- 2020Applying the Roofline model for Deep Learning performance optimizationscited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization
- 2021SparseDNN: Fast Sparse Deep Learning Inference on CPUs
- 2026Fundamental Limits of Neural Network Sparsification: Evidence from Catastrophic Interpretability Collapse
- 2022FasterAI: A Lightweight Library for Creating Sparse Neural Networks
- 2026To 2:4 Sparsity and Beyond: Neuron-level Activation Function to Accelerate LLM Pre-Training
- 2025Polar Sparsity: High Throughput Batched LLM Inferencing with Scalable Contextual Sparsity
- 2024Effective Interplay between Sparsity and Quantization: From Theory to Practice
- 2025BLaST: High Performance Inference and Pretraining using BLock Sparse Transformers