Lune

AAAI2025顶会

ABQ-LLM: Arbitrary-Bit Quantized Inference Acceleration for Large Language Models

Chao Zeng, Songwei Liu, Yusheng Xie, Hong Liu, Xiaojian Wang, Miao Wei, Shu Yang, Fangmin Chen, Xing Mei

摘要

Large Language Models (LLMs) have revolutionized natural language processing tasks. However, their practical application is constrained by substantial memory and computational demands. Post-training quantization (PTQ) is considered an effective method to accelerate LLM inference. Despite its growing popularity in LLM model compression, PTQ deployment faces two major challenges. First, low-bit quantization leads to performance degradation. Second, restricted by the limited integer computing unit type on GPUs, quantized matrix operations with different precisions cannot be effectively accelerated. To address these issues, we introduce a novel arbitrary-bit quantization algorithm and inference framework, ABQ-LLM. It achieves superior performance across various quantization settings and enables efficient arbitrary-precision quantized inference on the GPU. ABQ-LLM introduces several key innovations: (1) a distribution correction method for transformer blocks to mitigate distribution differences caused by full quantization of weights and activations, improving performance at low bitwidths. (2) the bit balance strategy to counteract performance degradation from asymmetric distribution issues at very low bit-widths (e.g., 2-bit). ( 3 ) an innovative quantization acceleration framework that reconstructs the quantization matrix multiplication of arbitrary precision combinations based on BTC (Binary TensorCore) equivalents, gets rid of the limitations of INT4/INT8 computing units. ABQ-LLM can convert each component bit width gain into actual acceleration gain, maximizing performance under mixed precision(e.g., W6A6, W2A8). Based on W2*A8 quantization configuration on LLaMA-7B model, it achieved a WikiText2 perplexity of 7.59 (2.17↓ vs 9.76 in AffineQuant). Compared to SmoothQuant, we realized 1.6× acceleration improvement and 2.7× memory compression gain. Code will available at: https://github.com/bytedance/ABQ-LLM .

问 Lune

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

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

已有 7 篇顶会 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
  • ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • ADAngel: Accelerating Arbitrary-Precision Quantized LLMs with Adaptive Computing Mapping 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
  • STBLLM: Breaking the 1-Bit Barrier with Structured Binary LLMs 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Tilus: A Tile-Level GPGPU Programming Language for Low-Precision Computation 引用了 QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. STBLLM: Breaking the 1-Bit Barrier with Structured Binary LLMsPeijie Dong, Lujun Li, Yuedong Zhong, Dayou Du 等ICLR 2025 · 1 次引用
  2. Tilus: A Tile-Level GPGPU Programming Language for Low-Precision ComputationYaoyao Ding, Bohan Hou, Xiao Zhang, Allan Lin 等ASPLOS 2026 · 1 次引用
  3. DIAA: A Decoding-Efficient Inference Acceleration Approach for On-Device Large Language ModelsHao Tian, Sheng Lu, Fuwen Tian, Guangming Cui 等AAAI 2026
  4. SKIM: Any-bit Quantization Pushing The Limits of Post-Training QuantizationRunsheng Bai, Bo Liu, Qiang LiuICML 2025
  5. ADAngel: Accelerating Arbitrary-Precision Quantized LLMs with Adaptive Computing MappingYao Liu, Wenjie Wang, Yifei Feng, Bo Peng 等OSDI 2026

它引用的 Paper12

  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. ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale TransformersZhewei Yao, Reza Yazdani Aminabadi, Minjia Zhang, Xiaoxia Wu 等NeurIPS 2022 · 816 次引用
  5. QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMsSaleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li 等NeurIPS 2024 · 723 次引用

相关 Paper

  1. AffineQuant: Affine Transformation Quantization for Large Language ModelsYuexiao Ma, Huixia Li, Xiawu Zheng, Feng Ling 等ICLR 2024 · 56 次引用
  2. Theory-optimal Quantization Based on FlatnessXiusheng Huang, Zhe Li, Xuanwu Yin, Lu Wang 等ACL 2026
  3. SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language ModelsWei Huang, Haotong Qin, Yangdong Liu, Yawei Li 等ICML 2025
  4. ARB-LLM: Alternating Refined Binarizations for Large Language ModelsZhiteng Li, Xianglong Yan, Tianao Zhang, Haotong Qin 等ICLR 2025
  5. CBQ: Cross-Block Quantization for Large Language ModelsXin Ding, Xiaoyu Liu, Zhijun Tu, Yun Zhang 等ICLR 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖