Lune

ICLR2025顶会

SpinQuant: LLM Quantization with Learned Rotations

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 99 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Qronos: Correcting the Past by Shaping the Future... in Post-Training Quantization 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • BitsFusion: 1.99 bits Weight Quantization of Diffusion Model 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Bridging the Gap Between Promise and Performance for Microscaling FP4 Quantization 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • Understanding and Minimising Outlier Features in Transformer Training 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • Understanding and Minimising Outlier Features in Transformer Training 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • ParetoQ: Improving Scaling Laws in Extremely Low-bit LLM Quantization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper99

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

它引用的 Paper20

  1. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  2. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  3. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
  4. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
  5. QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li 等NeurIPS 2024 · 723 次引用

相关 Paper

  1. ReSpinQuant: Efficient Layer-Wise LLM Quantization via Subspace Residual Rotation ApproximationSuyoung Kim, Sunghyun Wee, Hyeonjin Kim, Kyomin Hwang 等ICML 2026 · 1 次引用
  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 等ICML 2025
  5. NestQuant: nested lattice quantization for matrix products and LLMsSemyon Savkin, Eitan Porat, Or Ordentlich, Yury PolyanskiyICML 2025
黄昏的海面,两侧是细线勾勒的悬崖