Effective Interplay between Sparsity and Quantization: From Theory to Practice
Not on the map. Why?
Abstract (arXiv)
The increasing size of deep neural networks (DNNs) necessitates effective model compression to reduce their computational and memory footprints. Sparsity and quantization are two prominent compression methods that have been shown to reduce DNNs' computational and memory footprints significantly while preserving model accuracy. However, how these two methods interact when combined together remains a key question for developers, as many tacitly assume that they are orthogonal, meaning that their combined use does not introduce additional errors beyond those introduced by each method independently. In this paper, we provide the first mathematical proof that sparsity and quantization are non-orthogonal. We corroborate these results with experiments spanning a range of large language models, including the OPT and LLaMA model families (with 125M to 8B parameters), and vision models like ViT and ResNet. We show that the order in which we apply these methods matters because applying quantization before sparsity may disrupt the relative importance of tensor elements, which may inadvertently remove significant elements from a tensor. More importantly, we show that even if applied in the correct order, the compounded errors from sparsity and quantization can significantly harm accuracy. Our findings extend to the efficient deployment of large models in resource-constrained compute platforms to reduce serving cost, offering insights into best practices for applying these compression methods to maximize hardware resource efficiency without compromising accuracy.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 60 of its 87 references that are in the map. First posted on arXiv 31 May 2024.
Builds on
60 of 87 references.
References · 60
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023Mistral 7Bcited by 3,164
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
38 more
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2017Mixed Precision Trainingcited by 1,156
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 541
- 2023The Falcon Series of Open Language Modelscited by 535
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
- 2019Rigging the Lottery: Making All Tickets Winnerscited by 495
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2016Dynamic Network Surgery for Efficient DNNscited by 233
- 2021Accelerating Sparse Deep Neural Networkscited by 223
- 2022FP8 Formats for Deep Learningcited by 196
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 179
- 2023Microscaling Data Formats for Deep Learningcited by 152
- 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
- 2023OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Modelscited by 114
- 2021Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Maskscited by 103
- 2020APQ: Joint Search for Network Architecture, Pruning and Quantization Policycited by 99
- 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
- 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 64
- 2023With Shared Microexponents, A Little Shifting Goes a Long Waycited by 50
- 2023Pruning vs Quantization: Which is Better?cited by 46
- 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 43
- 2018Training DNNs with Hybrid Block Floating Pointcited by 40
- 2023Dynamic Sparse Training with Structured Sparsitycited by 38
- 2021Ps and Qs: Quantization-aware pruning for efficient low latency neural network inferencecited by 31
- 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Roundingcited by 31
- 2023FP8 versus INT8 for efficient deep learning inferencecited by 31
- 2018Balanced Sparsity for Efficient DNN Inference on GPUcited by 27
- 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 26
- 2018Accelerator-Aware Pruning for Convolutional Neural Networkscited by 22
- 2023Boost Vision Transformer with GPU-Friendly Sparsity and Quantizationcited by 20
50 most cited of 60 All 60 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 10; 2026: 4.
19 papers.
Sort:
By area:
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 30
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
- 2025Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compressioncited by 14
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Modelscited by 9
- 2025Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inferencecited by 7
- 2025Optimal Brain Restoration for Joint Quantization and Sparsification of LLMscited by 6
- 2025Unified Scaling Laws for Compressed Representationscited by 5
- 2026Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compressioncited by 3
- 2024Communication Compression for Distributed Learning without Control Variatescited by 2
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Modelcited by 2
- 2025SwiftPrune: Hessian-Free Weight Pruning for Large Language Modelscited by 0
7 more
- 2025Efficient Quantization-Aware Neural Receivers: Beyond Post-Training Quantizationcited by 0
- 2025Cat: Post-Training Quantization Error Reduction via Cluster-based Affine Transformationcited by 0
- 2025Extreme Model Compression with Structured Sparsity at Low Precisioncited by 0
- 2025Communication Compression for Distributed Learning with Aggregate and Server-Guided Feedbackcited by 0
- 2026Joint Structural Pruning and Mixed-Precision Quantization for LLM Compressioncited by 0
- 2026Reliability Scaling Laws for Quantized Large Language Modelscited by 0
- 2026Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Expertscited by 0
- 2026Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Experts29 Sep 2026
- 2026Reliability Scaling Laws for Quantized Large Language Models12 Jul 2026
- 2026Joint Structural Pruning and Mixed-Precision Quantization for LLM Compression5 Jun 2026
- 2026Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compression19 Mar 2026
- 2025Communication Compression for Distributed Learning with Aggregate and Server-Guided Feedback27 Dec 2025
- 2025Extreme Model Compression with Structured Sparsity at Low Precision11 Nov 2025
- 2025Cat: Post-Training Quantization Error Reduction via Cluster-based Affine Transformation30 Sep 2025
- 2025Efficient Quantization-Aware Neural Receivers: Beyond Post-Training Quantization17 Sep 2025
- 2025Optimal Brain Restoration for Joint Quantization and Sparsification of LLMs14 Sep 2025
- 2025Unified Scaling Laws for Compressed Representations2 Jun 2025
- 2025Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inference28 May 2025
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Model25 May 2025
7 more
- 2025Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compression23 Feb 2025
- 2025SwiftPrune: Hessian-Free Weight Pruning for Large Language Models24 Jan 2025
- 2024Communication Compression for Distributed Learning without Control Variates5 Dec 2024
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compression12 Oct 2024
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Models8 Oct 2024
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models11 Jun 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization10 Jun 2024
- 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 30
- 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
- 2025Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compressioncited by 14
- 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
- 2025Optimal Brain Restoration for Joint Quantization and Sparsification of LLMscited by 6
- 2025Unified Scaling Laws for Compressed Representationscited by 5
- 2026Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compressioncited by 3
- 2024Communication Compression for Distributed Learning without Control Variatescited by 2
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Modelcited by 2
- 2025SwiftPrune: Hessian-Free Weight Pruning for Large Language Modelscited by 0
- 2025Efficient Quantization-Aware Neural Receivers: Beyond Post-Training Quantizationcited by 0
- 2025Cat: Post-Training Quantization Error Reduction via Cluster-based Affine Transformationcited by 0
12 most cited of 16 All 16 (JSON)
- 2026Reliability Scaling Laws for Quantized Large Language Models12 Jul 2026
- 2026Joint Structural Pruning and Mixed-Precision Quantization for LLM Compression5 Jun 2026
- 2026Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compression19 Mar 2026
- 2025Communication Compression for Distributed Learning with Aggregate and Server-Guided Feedback27 Dec 2025
- 2025Extreme Model Compression with Structured Sparsity at Low Precision11 Nov 2025
- 2025Cat: Post-Training Quantization Error Reduction via Cluster-based Affine Transformation30 Sep 2025
- 2025Efficient Quantization-Aware Neural Receivers: Beyond Post-Training Quantization17 Sep 2025
- 2025Optimal Brain Restoration for Joint Quantization and Sparsification of LLMs14 Sep 2025
- 2025Unified Scaling Laws for Compressed Representations2 Jun 2025
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Model25 May 2025
- 2025Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compression23 Feb 2025
- 2025SwiftPrune: Hessian-Free Weight Pruning for Large Language Models24 Jan 2025
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Sparse-BitNet: 1.58-bit LLMs are Naturally Friendly to Semi-Structured Sparsity
- 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization
- 2025Low-bit Model Quantization for Deep Neural Networks: A Survey
- 2025SQS: Bayesian DNN Compression through Sparse Quantized Sub-distributions
- 2021Compact representations of convolutional neural networks via weight pruning and quantization
- 2026Quantization-Aware Regularizers for Deep Neural Networks Compression
- 2021Post-Training Sparsity-Aware Quantization
- 2026Soft Quantization: Model Compression Via Weight Coupling