Lune

ICLR2025Top-tier venue

SpinQuant: LLM Quantization with Learned Rotations

Zechun Liu, Changsheng Zhao, Igor Fedorov, Bilge Soran, Dhruv Choudhary, Raghuraman Krishnamoorthi, Vikas Chandra, Yuandong Tian, Tijmen Blankevoort

Abstract

Post-training quantization (PTQ) techniques applied to weights, activations, and the KV cache greatly reduce memory usage, latency, and power consumption of Large Language Models (LLMs), but may lead to large quantization errors when outliers are present. Rotating activation or weight matrices helps remove outliers and benefits quantization. In this work, we identify a collection of applicable rotation parameterizations that lead to identical outputs in full-precision Transformer architectures while enhancing quantization accuracy. In addition, we find that some random rotations lead to much better quantization than others, with an up to 13 points difference in downstream zero-shot reasoning performance. As a result, we propose SpinQuant, a novel approach that incorporates learned rotation matrices for optimal quantized network accuracy. With 4-bit quantization of weight, activation, and KV-cache, SpinQuant narrows the accuracy gap on zero-shot reasoning tasks with full precision to merely 2.9 points on the LLaMA-2 7B model, surpassing LLM-QAT by 19.1 points and SmoothQuant by 25.0 points. Furthermore, Spin-Quant also outperforms concurrent work QuaRot, which applies random rotations to remove outliers. In particular, for LLaMA-3 8B models that are hard to quantize, SpinQuant reduces the gap to full precision by up to 45.1% relative to QuaRot. Code is available at github.com/facebookresearch/SpinQuant.

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.

99 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • PIQA: Reasoning about Physical Commonsense in Natural Language cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs cites PIQA: Reasoning about Physical Commonsense in Natural Language
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization cites PIQA: Reasoning about Physical Commonsense in Natural Language
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization cites QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization cites QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization cites Up or Down? Adaptive Rounding for Post-Training Quantization
  • Understanding and Minimising Outlier Features in Transformer Training cites QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Understanding and Minimising Outlier Features in Transformer Training cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization cites PIQA: Reasoning about Physical Commonsense in Natural Language
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization cites QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization cites SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization cites WinoGrande: An Adversarial Winograd Schema Challenge at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers99

  1. ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM QuantizationZechun Liu, Changsheng Zhao, Hanxian Huang, Sijia Chen et al.NeurIPS 2025 · 50 citations
  2. BitsFusion: 1.99 bits Weight Quantization of Diffusion ModelYang Sui, Yanyu Li, Anil Kag, Yerlan Idelbayev et al.NeurIPS 2024 · 48 citations
  3. Bridging the Gap Between Promise and Performance for Microscaling FP4 QuantizationVage Egiazarian, Roberto L. Castro, Denis Kuznedelev, Andrei Panferov et al.ICLR 2026 · 38 citations
  4. Qronos: Correcting the Past by Shaping the Future... in Post-Training QuantizationShihao Zhang, Haoyu Zhang, Ian Colbert, Rayan SaabICLR 2026 · 27 citations
  5. Understanding and Minimising Outlier Features in Transformer TrainingBobby He, Lorenzo Noci, Daniele Paliotta, Imanol Schlag et al.NeurIPS 2024 · 27 citations

Builds on20

  1. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 citations
  2. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao et al.AAAI 2020 · 2,916 citations
  3. 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
  4. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos et al.ICML 2020 · 816 citations
  5. QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li et al.NeurIPS 2024 · 723 citations

Related papers

  1. ReSpinQuant: Efficient Layer-Wise LLM Quantization via Subspace Residual Rotation ApproximationSuyoung Kim, Sunghyun Wee, Hyeonjin Kim, Kyomin Hwang et al.ICML 2026 · 1 citation
  2. ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank ResidualsUtkarsh Saxena, Sayeh Sharify, Kaushik Roy, Xin WangICML 2025
  3. KurTail : Kurtosis-based LLM QuantizationMohammad Sadegh Akhondzadeh, Aleksandar Bojchevski, Evangelos Eleftheriou, Martino DazziEMNLP Findings 2025
  4. FlatQuant: Flatness Matters for LLM QuantizationYuxuan Sun, Ruikang Liu, Haoli Bai, Han Bao et al.ICML 2025
  5. NestQuant: nested lattice quantization for matrix products and LLMsSemyon Savkin, Eitan Porat, Or Ordentlich, Yury PolyanskiyICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines