APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models
Ziyi Guan, Hantao Huang, Yupeng Su, Hong Huang, Ngai Wong, Hao Yu
摘要
Large Language Models (LLMs) have greatly advanced the natural language processing paradigm. However, the high computational load and huge model sizes pose a grand challenge for deployment on edge devices. To this end, we propose APTQ (Attention-aware Post-Training Mixed-Precision Quantization) for LLMs, which considers not only the second-order information of each layer's weights, but also, for the first time, the nonlinear effect of attention outputs on the entire model. We leverage the Hessian trace as a sensitivity metric for mixed-precision quantization, ensuring an informed precision reduction that retains model performance. Experiments show APTQ surpasses previous quantization methods, achieving an average of 4 bit width a 5.22 perplexity nearly equivalent to full precision in the C4 dataset. In addition, APTQ attains state-of-the-art zero-shot accuracy of 68.24% and 70.48% at an average bitwidth of 3.8 in LLaMa-7B and LLaMa-13B, respectively, demonstrating its effectiveness to produce high-quality quantized LLMs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- AxCore: A Quantization-Aware Approximate GEMM Unit for LLM Inference 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantization 引用了 SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression
- Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantization 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Quantization Error Propagation: Revisiting Layer-Wise Post-Training Quantization 引用了 Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- ARCQuant: Boosting NVFP4 Quantization with Augmented Residual Channels for LLMs 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- ARCQuant: Boosting NVFP4 Quantization with Augmented Residual Channels for LLMs 引用了 Block Rotation is All You Need for MXFP4 Quantization
引用它的顶会 Paper12
- Quantization Error Propagation: Revisiting Layer-Wise Post-Training QuantizationYamato Arai, Yuma IchikawaNeurIPS 2025 · 46 次引用
- Block Rotation is All You Need for MXFP4 QuantizationYuantian Shao, Peisong Wang, Yuanteng Chen, Chang Xu 等ICML 2026 · 16 次引用
- RILQ: Rank-Insensitive LoRA-Based Quantization Error Compensation for Boosting 2-Bit Large Language Model AccuracyGeonho Lee, Janghwan Lee, Sukjin Hong, Minsoo Kim 等AAAI 2025 · 7 次引用
- ARCQuant: Boosting NVFP4 Quantization with Augmented Residual Channels for LLMsHaoqian Meng, Yilun Luo, Yafei Zhao, Wenyuan Liu 等ACL 2026 · 5 次引用
- AxCore: A Quantization-Aware Approximate GEMM Unit for LLM InferenceJiaxiang Zou, Yonghao Chen, Xingyu Chen, Chenxi Xu 等MICRO 2025 · 2 次引用
它引用的 Paper9
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 次引用
- HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural NetworksZhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami 等NeurIPS 2020 · 434 次引用
- SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight CompressionTim Dettmers, Ruslan Svirschevski, Vage Egiazarian, Denis Kuznedelev 等ICLR 2024 · 392 次引用
相关 Paper
- SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language ModelsWei Huang, Haotong Qin, Yangdong Liu, Yawei Li 等ICML 2025
- Exploring Layer-wise Information Effectiveness for Post-Training Quantization in Small Language ModelsHe Xiao, Qingyao Yang, Dirui Xie, Wendong Xu 等ACL Findings 2026
- NestQuant: nested lattice quantization for matrix products and LLMsSemyon Savkin, Eitan Porat, Or Ordentlich, Yury PolyanskiyICML 2025
- AffineQuant: Affine Transformation Quantization for Large Language ModelsYuexiao Ma, Huixia Li, Xiawu Zheng, Feng Ling 等ICLR 2024 · 56 次引用
- QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language ModelsJing Liu, Ruihao Gong, Xiuying Wei, Zhiwei Dong 等ICLR 2024 · 75 次引用
