EMNLP Findings2024
ATQ: Activation Transformation forWeight-Activation Quantization of Large Language Models
摘要
There are many emerging quantization methods to resolve the problem that the huge demand on computational and storage costs hinders the deployment of Large language models (LLMs). However, their accuracy performance still can not satisfy the entire academic and industry community. In this work, we propose ATQ, an INT8 weight-activation quantization of LLMs, that can achieve almost lossless accuracy. We employ a mathematically equivalent transformation and a triangle inequality to constrain weight-activation quantization error to the sum of a weight quantization error and an activation quantization error. For the weight part, transformed weights are quantized along the in-feature dimension and the quantization error is compensated by optimizing following in-features. For the activation part, transformed activations are in the normal range and can be quantized easily. We provide comparison experiments to demonstrate that our ATQ method can achieve almost lossless in accuracy on OPT and LLaMA families in W8A8 quantization settings. The increase of perplexity is within 1 and the accuracy degradation is within 0.5 percent even in the worst case.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models 引用了 Language Models are Few-Shot Learners
- Energy-Efficient and Dequantization-Free Quantization of LLMs: A Spiking Neural Network Approach to Salient Value Mitigation 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
引用它的顶会 Paper1
它引用的 Paper7
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 次引用
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
相关 Paper
- LQER: Low-Rank Quantization Error Reconstruction for LLMsCheng Zhang, Jianyi Cheng, George Anthony Constantinides, Yiren ZhaoICML 2024 · 33 次引用
- "Give Me BF16 or Give Me Death"? Accuracy-Performance Trade-Offs in LLM QuantizationEldar Kurtic, Alexandre Noll Marques, Shubhra Pandit, Mark Kurtz 等ACL 2025
- MobileQuant: Mobile-friendly Quantization for On-device Language ModelsFuwen Tan, Royson Lee, Lukasz Dudziak, Shell Xu Hu 等EMNLP Findings 2024 · 13 次引用
- Exploring Post-training Quantization in LLMs from Comprehensive Study to Low Rank CompensationZhewei Yao, Xiaoxia Wu, Cheng Li, Stephen Youn 等AAAI 2024 · 50 次引用
- ACBQ: Adaptive Cross-Block Quantization of Large Language ModelsHailing Wang, Jianglin Lu, Yitian Zhang, Huimin Zeng 等ACL 2026
