Effective Interplay between Sparsity and Quantization: From Theory to Practice
Simla Burcu Harma, Ayan Chakraborty, Elizaveta Kostenok, Danila Mishin, Dongho Ha, Babak Falsafi, Martin Jaggi, Ming Liu, Yunho Oh, Suvinay Subramanian, Amir Yazdanbakhsh
Abstract
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. 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Simple and Effective Pruning Approach for Large Language Models cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- A Simple and Effective Pruning Approach for Large Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A Simple and Effective Pruning Approach for Large Language Models cites Rigging the Lottery: Making All Tickets Winners
- A Simple and Effective Pruning Approach for Large Language Models cites Language Models are Few-Shot Learners
- ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization cites A Simple and Effective Pruning Approach for Large Language Models
- ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less Reparameterization cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compression cites A Simple and Effective Pruning Approach for Large Language Models
- Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model Compression cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Optimal Brain Restoration for Joint Quantization and Sparsification of LLMs cites A Simple and Effective Pruning Approach for Large Language Models
- Optimal Brain Restoration for Joint Quantization and Sparsification of LLMs cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Optimal Brain Restoration for Joint Quantization and Sparsification of LLMs cites Language Models are Few-Shot Learners
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models cites Language Models are Few-Shot Learners
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- MUSTAFAR: Promoting Unstructured Sparsity for KV Cache Pruning in LLM Inference cites A Simple and Effective Pruning Approach for Large Language Models
Cited by top-tier papers7
- ShiftAddLLM: Accelerating Pretrained LLMs via Post-Training Multiplication-Less ReparameterizationHaoran You, Yipin Guo, Yichao Fu, Wei Zhou et al.NeurIPS 2024 · 47 citations
- MUSTAFAR: Promoting Unstructured Sparsity for KV Cache Pruning in LLM InferenceDonghyeon Joo, Helya Hosseini, Ramyad Hadidi, Bahar AsgariNeurIPS 2025 · 12 citations
- Optimal Brain Restoration for Joint Quantization and Sparsification of LLMsHang Guo, Luca Benini, Yawei LiICLR 2026 · 6 citations
- Prune-then-Quantize or Quantize-then-Prune? Understanding the Impact of Compression Order in Joint Model CompressionMinjun Kim, Jaehyeon Choi, Hyunwoo Yang, Jongjin Kim et al.ICLR 2026 · 5 citations
- Unified Scaling Laws for Compressed RepresentationsAndrei Panferov, Alexandra Volkova, Ionut-Vlad Modoranu, Vage Egiazarian et al.NeurIPS 2025 · 5 citations
Builds on26
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu et al.ICML 2023 · 1,493 citations
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 citations
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro et al.ICML 2020 · 723 citations
Related papers
- Break Through the Compression Bottleneck: From Theory to PracticeXiusheng Huang, Lu Wang, Yequan Wang, Jun Zhao et al.ACL Findings 2026
- Pruning vs Quantization: Which is Better?Andrey Kuzmin, Markus Nagel, Mart van Baalen, Arash Behboodi et al.NeurIPS 2023 · 152 citations
- Compressing Large Language Models by Joint Sparsification and QuantizationJinyang Guo, Jianyu Wu, Zining Wang, Jiaheng Liu et al.ICML 2024 · 33 citations
- When Compression Meets Model Compression: Memory-Efficient Double Compression for Large Language ModelsWeilan Wang, Yu Mao, Dongdong Tang, Hongchao Du et al.EMNLP Findings 2024 · 7 citations
- 1+1>2: A Synergistic Sparse and Low-Rank Compression Method for Large Language ModelsZeliang Zong, Kai Zhang, Zheyang Li, Wenming Tan et al.EMNLP Findings 2025
