mlsanityData to 14 Oct 2026

Effective Interplay between Sparsity and Quantization: From Theory to Practice

arXiv 2405.20935 ↗First posted 31 May 2024cs.LG cs.AIcited by 19

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  7. 2023Mistral 7Bcited by 3,164
  8. 2016Pointer Sentinel Mixture Modelscited by 3,096
  9. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  10. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
  11. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  12. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
38 more
  1. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  2. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  3. 2017Mixed Precision Trainingcited by 1,156
  4. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  5. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  6. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
  7. 2016Learning Structured Sparsity in Deep Neural Networkscited by 541
  8. 2023The Falcon Series of Open Language Modelscited by 535
  9. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
  10. 2019Rigging the Lottery: Making All Tickets Winnerscited by 495
  11. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
  12. 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
  13. 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 308
  14. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  15. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  16. 2016Dynamic Network Surgery for Efficient DNNscited by 233
  17. 2021Accelerating Sparse Deep Neural Networkscited by 223
  18. 2022FP8 Formats for Deep Learningcited by 196
  19. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 179
  20. 2023Microscaling Data Formats for Deep Learningcited by 152
  21. 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
  22. 2023OWQ: Outlier-Aware Weight Quantization for Efficient Fine-Tuning and Inference of Large Language Modelscited by 114
  23. 2021Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Maskscited by 103
  24. 2020APQ: Joint Search for Network Architecture, Pruning and Quantization Policycited by 99
  25. 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
  26. 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 64
  27. 2023With Shared Microexponents, A Little Shifting Goes a Long Waycited by 50
  28. 2023Pruning vs Quantization: Which is Better?cited by 46
  29. 2023Scaling Laws for Sparsely-Connected Foundation Modelscited by 43
  30. 2018Training DNNs with Hybrid Block Floating Pointcited by 40
  31. 2023Dynamic Sparse Training with Structured Sparsitycited by 38
  32. 2021Ps and Qs: Quantization-aware pruning for efficient low latency neural network inferencecited by 31
  33. 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Roundingcited by 31
  34. 2023FP8 versus INT8 for efficient deep learning inferencecited by 31
  35. 2018Balanced Sparsity for Efficient DNN Inference on GPUcited by 27
  36. 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 26
  37. 2018Accelerator-Aware Pruning for Convolutional Neural Networkscited by 22
  38. 2023Boost Vision Transformer with GPU-Friendly Sparsity and Quantizationcited by 20

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 10; 2026: 4.

19 papers.

Sort:

By area:

  1. 2024ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterizationcited by 30
  2. 2024A Survey: Collaborative Hardware and Software Design in the Era of Large Language Modelscited by 23
  3. 2025Automatic Joint Structured Pruning and Quantization for Efficient Neural Network Training and Compressioncited by 14
  4. 2024SLiM: One-shot Quantization and Sparsity with Low-rank Approximation for LLM Weight Compressioncited by 12
  5. 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Modelscited by 9
  6. 2025Mustafar: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inferencecited by 7
  7. 2025Optimal Brain Restoration for Joint Quantization and Sparsification of LLMscited by 6
  8. 2025Unified Scaling Laws for Compressed Representationscited by 5
  9. 2026Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compressioncited by 3
  10. 2024Communication Compression for Distributed Learning without Control Variatescited by 2
  11. 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Modelcited by 2
  12. 2025SwiftPrune: Hessian-Free Weight Pruning for Large Language Modelscited by 0
7 more
  1. 2025Efficient Quantization-Aware Neural Receivers: Beyond Post-Training Quantizationcited by 0
  2. 2025Cat: Post-Training Quantization Error Reduction via Cluster-based Affine Transformationcited by 0
  3. 2025Extreme Model Compression with Structured Sparsity at Low Precisioncited by 0
  4. 2025Communication Compression for Distributed Learning with Aggregate and Server-Guided Feedbackcited by 0
  5. 2026Joint Structural Pruning and Mixed-Precision Quantization for LLM Compressioncited by 0
  6. 2026Reliability Scaling Laws for Quantized Large Language Modelscited by 0
  7. 2026Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Expertscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Sparse-BitNet: 1.58-bit LLMs are Naturally Friendly to Semi-Structured Sparsity
  2. 2023Accurate Neural Network Pruning Requires Rethinking Sparse Optimization
  3. 2025Low-bit Model Quantization for Deep Neural Networks: A Survey
  4. 2025SQS: Bayesian DNN Compression through Sparse Quantized Sub-distributions
  5. 2021Compact representations of convolutional neural networks via weight pruning and quantization
  6. 2026Quantization-Aware Regularizers for Deep Neural Networks Compression
  7. 2021Post-Training Sparsity-Aware Quantization
  8. 2026Soft Quantization: Model Compression Via Weight Coupling