yavin质观yavin质观// 2026
← 返回人才与论文主库 全部 53 篇里程碑论文 四层资本与股权穿透
新窗口全屏打开 PDF (18.89 MB) ↗ 下载站内原件 ↓ arXiv 官方页 ↗

[AWQ]AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration

arXiv:2306.00978 MLSys 2024 Best Paper AI编译、量化与推理系统 首次提交日期:2023-06-01 站内 PDF 镜像体积:18.89 MB

Authors: Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang 等 (10位作者)

ARCHITECTURAL BREAKTHROUGH & INDUSTRIAL SIGNIFICANCE // 核心架构突破与产业里程碑意义

发现仅保护由激活幅值决定的 1% 关键显著权重通道即可大幅降低 4-bit 权重量化误差,成为端侧与云端大模型 W4A16 推理事实标准。

ORIGINAL ARXIV ABSTRACT // 英文原版摘要

Large language models (LLMs) have transformed numerous AI applications. On-device LLM is becoming increasingly important: running LLMs locally on edge devices can reduce the cloud computing cost and protect users' privacy. However, the astronomical model size and the limited hardware resource pose significant deployment challenges. We propose Activation-aware Weight Quantization (AWQ), a hardware-friendly approach for LLM low-bit weight-only quantization. AWQ finds that not all weights in an LLM are equally important. Protecting only 1% salient weights can greatly reduce quantization error. To identify salient weight channels, we should refer to the activation distribution, not weights. To avoid the hardware-inefficient mix-precision quantization, we mathematically derive that scaling up the salient channels can reduce the quantization error. AWQ employs an equivalent transformation to scale the salient weight channels to protect them. The scale is determined by collecting the activation statistics offline. AWQ does not rely on any backpropagation or reconstruction, so it generalizes to different domains and modalities without overfitting the calibration set. AWQ outperforms existing work on various language modeling and domain-specific benchmarks (coding and math). Thanks to better generalization, it achieves excellent quantization performance for instruction-tuned LMs and, for the first time, multi-modal LMs. Alongside AWQ, we implement TinyChat, an efficient and flexible inference framework tailored for 4-bit on-device LLM/VLMs. With kernel fusion and platform-aware weight packing, TinyChat offers more than 3x speedup over the Huggingface FP16 implementation on both desktop and mobile GPUs. It also democratizes the deployment of the 70B Llama-2 model on mobile GPUs.

HOSTED PDF READER // 阿里云站内高速原件直读

论文原版 PDF 在线阅读(免外网拥堵直出)

移动端/全屏直接打开 PDF ↗
RELATED MILESTONES

同领域(AI编译、量化与推理系统)其他殿堂级代表论文