atlas

Research map / Architectures and efficiency / Quantization

Effective Interplay between Sparsity and Quantization: From Theory to Practice

ICLR 2025 · Architectures and efficiency › Quantization · approach: Post-training weight quantization · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proves that sparsity and quantization are non-orthogonal, shows sparsity-before-quantization (S→Q) is the better order, and validates the claim empirically on OPT, LLaMA, ViT and ResNet.

Problem

Combining sparsity and quantization is commonly assumed to be orthogonal, adding no error beyond each method alone; the optimal order of applying them and their combined error interaction are not formally understood.

Approach

Formal analysis of max-scaled block-wise quantization and magnitude-based N:M/unstructured sparsity shows S→Q adds no extra tensor-level error while Q→S can, and that dot-product errors compound; an empirical "orthogonality threshold" tests whether combined error exceeds the sum of individual errors.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply magnitude-based sparsity before quantization rather than quantization before sparsityOPT-125M and LLaMA-2-7B with 50% unstructured or 2:4 sparsity · WikiText2perplexity: 34.71 -> 30.22; 45.06 -> 32.76; 10.20 -> 6.51; 18.64 -> 10.68Helped
Combine sparsity and quantization, even in the S→Q orderOPT-125M, OPT-6.7B, LLaMA-2-7B, LLaMA-3-8B, and ViT-B/16 · WikiText2 and ImageNet-1kperplexity / CE loss: 29.94 -> 30.22; 11.30 -> 11.37; 6.31 -> 6.94; 10.09 -> 10.85; 0.723 -> 0.728Hurt
Increase compression using HBFP6 with 2:4 rather than 50% unstructured sparsityOPT-125M · WikiText2perplexity increase: 4.86; 6.93Hurt
Increase compression using HBFP6 with 2:4 rather than 50% unstructured sparsityOPT-6.7B · WikiText2perplexity increase: 0.79; 6.12Hurt
Use post-training quantization rather than quantizing during S→Q sparse fine-tuning (ablation)OPT-125M with 50% sparsity and HBFP8/HBFP6 · WikiText2 validationperplexity: 33.51 -> 30.46; 36.20 -> 32.51Helped
Quantize during Q→S fine-tuning rather than using post-training quantization (ablation)OPT-125M with 50% sparsity and HBFP8/HBFP6 · WikiText2 validationperplexity: 39.04 -> 37.48; 41.97 -> 40.86Helped
Apply quantization before magnitude-based sparsity rather than afterMagnitude-based one-shot pruning · WikiText2perplexity: OPT-125M 50% HBFP6: 32.51 -> 40.86; OPT-125M 2:4 HBFP6: 34.58 -> 55.64Hurt
Change operation order for Wanda pruningWanda · WikiText2perplexity: OPT-125M 50% INT8: 39.29 -> 40.01; LLaMA-2-7B 50% INT8: 6.47 -> 6.46No clear effect
Change operation order for SparseGPT pruningSparseGPT · WikiText2perplexity: OPT-125M 50% INT8: 33.22 -> 33.54; LLaMA-2-7B 50% INT8: 6.51 -> 6.53No clear effect
Increase ViT compression to 75% or 1:4 sparsity with HBFP4ViT-B/16 · ImageNet-1kCE loss: 1.094 -> 1.058; 1.163 -> 1.149; 1.365 -> 1.272; 1.725 -> 1.446Hurt

Surprising findings

Limitations

Experimental setup

Datasets: WikiText2 ImageNet-1k

Benchmarks: WikiText2 ImageNet-1k

Metrics: perplexity cross-entropy loss accuracy orthogonality threshold

Baselines: SparseGPT Wanda Dense FP32

Builds on: SparseGPT Wanda HBFP MX formats

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy