← All entries
Paper2023#963

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

Summary

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 deploymen…

Venue
arXiv 2306.00978
Publisher
arXiv 2306.00978
Source
arxiv
Access
open arXiv PDF/abs
Purpose
AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
Domain
OCR / vision-language; quantization / efficiency
Used for
LLM research reference
Time period
arXiv 2023/06/01; Discord LinkedIn mid harvested 2026-09-15
Author type
academic/industry (see abs)
Added
Sep 15, 2026
Verified
Sep 15, 2026
Research status
done
Found via
#random-papers

From the source

Published
Jun 1, 2023
Last revised
Apr 25, 2026
arXiv categories
cs.CL
Author comment
MLSys 2024 Best Paper Award. Code available at: https://github.com/mit-han-lab/llm-awq
Citations
1,868 (279 influential)
References
69
Published in
Conference on Machine Learning and Systems

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

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.

Tags

arxiv2306-00978ocr-vision-languagequantization-efficiencylinkedin-thread

Topics

OCR / vision-language; quantization / efficiency

Research notes

  • From LinkedIn thread (Discord mid 1344124864310804521). Primary: https://www.linkedin.com/posts/thom-wolf_after-6-months-in-the-making-and-burning-activity-7298040352278470656-wMrq?utm_source=share&utm_medium=member_desktop.

Cites, within this collection 1

Cited by, within this collection 5

Similar entries