NestQuant: nested lattice quantization for matrix products and LLMs
Semyon Savkin, Eitan Porat, Or Ordentlich, Yury Polyanskiy
摘要
Post-training quantization (PTQ) has emerged as a critical technique for efficient deployment of large language models (LLMs). This work proposes NESTQUANT, a novel PTQ scheme for weights and activations that is based on self-similar nested lattices. Recent works have mathematically shown such quantizers to be information-theoretically optimal for low-precision matrix multiplication. We implement a practical lowcomplexity version of NestQuant based on Gosset lattice, making it a drop-in quantizer for any matrix multiplication step (e.g., in self-attention, MLP etc). For example, NestQuant quantizes weights, KV-cache, and activations of Llama-3-8B to 4 bits, achieving perplexity of 6.6 on wikitext2. This represents more than 55% reduction in perplexity gap with respect to unquantized model (perplexity of 6.14) compared to state-of-the-art Meta's SpinQuant (perplexity 7.3), OstQuant (7.3) and QuaRot (8.2). Comparisons on bigger models (up to 70B) and on various LLM evaluation benchmarks confirm uniform superiority of NestQuant.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 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
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- WaterSIC: information-theoretically (near) optimal linear layer quantization 引用了 Model-Preserving Adaptive Rounding
- WaterSIC: information-theoretically (near) optimal linear layer quantization 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector Quantization 引用了 Model-Preserving Adaptive Rounding
- LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector Quantization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector Quantization 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector Quantization 引用了 UniSVQ: 2-bit Unified Scalar-Vector Quantization
- Model-Preserving Adaptive Rounding 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- QuIP: 2-Bit Quantization of Large Language Models With Guarantees 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- UniSVQ: 2-bit Unified Scalar-Vector Quantization 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
- UniSVQ: 2-bit Unified Scalar-Vector Quantization 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- UniSVQ: 2-bit Unified Scalar-Vector Quantization 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Learning Grouped Lattice Vector Quantizers for Low-Bit LLM Compression 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
引用它的顶会 Paper5
- Model-Preserving Adaptive RoundingAlbert Tseng, Zhaofeng Sun, Chris De SaICML 2026 · 17 次引用
- WaterSIC: information-theoretically (near) optimal linear layer quantizationEgor Lifar, Semyon Savkin, Or Ordentlich, Yury PolyanskiyICML 2026 · 5 次引用
- Learning Grouped Lattice Vector Quantizers for Low-Bit LLM CompressionXi Zhang, Xiaolin Wu, Jiamang Wang, Weisi LinNeurIPS 2025 · 4 次引用
- UniSVQ: 2-bit Unified Scalar-Vector QuantizationHaoyu Wang, Haiyan Zhao, Xingyu Yu, Zhangyang Yao 等ICML 2026 · 2 次引用
- LC-QAT: Data-Efficient 2-Bit QAT for LLMs via Linear-Constrained Vector QuantizationHaoyu Wang, Xingyu Yu, Haiyan Zhao, Fengxiang Wang 等ICML 2026 · 1 次引用
它引用的 Paper12
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li 等NeurIPS 2024 · 723 次引用
- QuIP: 2-Bit Quantization of Large Language Models With GuaranteesJerry Chee, Yaohui Cai, Volodymyr Kuleshov, Christopher De SaNeurIPS 2023 · 503 次引用
相关 Paper
- SpinQuant: LLM Quantization with Learned RotationsZechun Liu, Changsheng Zhao, Igor Fedorov, Bilge Soran 等ICLR 2025
- ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank ResidualsUtkarsh Saxena, Sayeh Sharify, Kaushik Roy, Xin WangICML 2025
- KurTail : Kurtosis-based LLM QuantizationMohammad Sadegh Akhondzadeh, Aleksandar Bojchevski, Evangelos Eleftheriou, Martino DazziEMNLP Findings 2025
- NanoQuant: Efficient Sub-1-Bit Quantization of Large Language ModelsHyochan Chong, Dongkyu Kim, Changdong Kim, Minseop ChoiICML 2026
- Exploring Post-training Quantization in LLMs from Comprehensive Study to Low Rank CompensationZhewei Yao, Xiaoxia Wu, Cheng Li, Stephen Youn 等AAAI 2024 · 50 次引用
