QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebooks
Albert Tseng, Jerry Chee, Qingyao Sun, Volodymyr Kuleshov, Christopher De Sa
摘要
Post-training quantization (PTQ) reduces the memory footprint of LLMs by quantizing their weights to low-precision. In this work, we introduce QuIP#, a weight-only PTQ method that achieves state-of-the-art results in extreme compression regimes (≤ 4 bits per weight) using three novel techniques. First, QuIP# improves QuIP's (Chee et al., 2023) incoherence processing by using the randomized Hadamard transform, which is faster and has better theoretical properties. Second, QuIP# uses vector quantization to take advantage of the ball-shaped sub-Gaussian distribution that incoherent weights possess: specifically, we introduce a set of hardware-efficient codebooks based on the highly symmetric E 8 lattice, which achieves the optimal 8-dimension unit ball packing. Third, QuIP# uses fine-tuning to improve fidelity to the original model. Our experiments show that QuIP# outperforms existing PTQ methods, enables new behaviors in PTQ scaling, and supports fast inference. Our code can be found at https://github.com/ Cornell-RelaxML/quip-sharp .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 138 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 Extreme Compression of Large Language Models via Additive Quantization
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
- DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Extreme Compression of Large Language Models via Additive Quantization 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- Extreme Compression of Large Language Models via Additive Quantization 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision 引用了 QuIP: 2-Bit Quantization of Large Language Models With Guarantees
- QuIP: 2-Bit Quantization of Large Language Models With Guarantees 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
- OneBit: Towards Extremely Low-bit Large Language Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
引用它的顶会 Paper138
- FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisionJay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar 等NeurIPS 2024 · 727 次引用
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li 等NeurIPS 2024 · 723 次引用
- DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMsHaokun Lin, Haobo Xu, Yichen Wu, Jingzhi Cui 等NeurIPS 2024 · 206 次引用
- Extreme Compression of Large Language Models via Additive QuantizationVage Egiazarian, Andrei Panferov, Denis Kuznedelev, Elias Frantar 等ICML 2024 · 187 次引用
- OneBit: Towards Extremely Low-bit Large Language ModelsYuzhuang Xu, Xu Han, Zonghan Yang, Shuo Wang 等NeurIPS 2024 · 110 次引用
它引用的 Paper13
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningTri DaoICLR 2024 · 2,600 次引用
- Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
- QuIP: 2-Bit Quantization of Large Language Models With GuaranteesJerry Chee, Yaohui Cai, Volodymyr Kuleshov, Christopher De SaNeurIPS 2023 · 503 次引用
相关 Paper
- QTIP: Quantization with Trellises and Incoherence ProcessingAlbert Tseng, Qingyao Sun, David Hou, Christopher De SaNeurIPS 2024 · 101 次引用
- PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM CompressionVladimir Malinovskii, Denis Mazur, Ivan Ilin, Denis Kuznedelev 等NeurIPS 2024 · 69 次引用
- Q-Palette: Fractional-Bit Quantizers Toward Optimal Bit Allocation for Efficient LLM DeploymentDeokjae Lee, Hyun Oh SongNeurIPS 2025 · 9 次引用
- MLWQ: Efficient Small Language Model Deployment via Multi-Level Weight QuantizationChun Hu, Junhui He, Shangyu Wu, Yuxin He 等EMNLP 2025 · 1 次引用
- NeUQI: Near-Optimal Uniform Quantization Parameter Initialization for Low-Bit LLMsLi Lin, Xinyu Hu, Xiaojun WanICML 2026 · 1 次引用
