AWQ: Activation-Aware Weight Protection for Low Bits
AWQ (Activation-Aware Weight Quantization) identifies and protects a small percentage (e.g., 1%) of highly salient weights, which disproportionately influence LLM outputs, allowing for aggressive 4-bit weight-only quantization with minimal accuracy loss.
The top 3
- AWQ's Core Insight: Protecting Salient Weights: AWQ identifies critical 'salient' weights (approximately 1%) in LLMs by analyzing the magnitudes of activations they interact with, not the weights themselves. It then applies per-channel scaling to these important weights before quantization to minimize error, a technique that avoids hardware-inefficient mixed-precision.
- AWQ's Performance Edge: Speed, Memory, and Accuracy: AWQ significantly reduces LLM memory footprint, cutting VRAM by roughly half (e.g., a 70B model from 140GB to ~38GB in INT4). It also delivers 1.5-3x inference speedups over FP16, with its TinyChat framework achieving 2.7x on an RTX 4090. Critically, it maintains high accuracy, with typical drops of only 1-3%, outperforming GPTQ's 2-4% and naive quantization.
- AWQ vs. GPTQ & QLoRA: Quantization Showdown: AWQ consistently outperforms GPTQ in 4-bit quantization quality benchmarks by 1-2% and offers better throughput due to its optimized weight layout for fast INT4 matrix multiplication. Unlike GPTQ's layer-wise error minimization, AWQ focuses on activation-aware weight protection and requires significantly less calibration data (e.g., 16 sequences vs. GPTQ's 192). While QLoRA's NF4 is optimized for fine-tuning, AWQ excels in inference quality.
Sources
Open the full topic