GPTQ's Output Error Minimization vs. AWQ's Salient Weight Protection
GPTQ quantizes weights by iteratively minimizing the layer-wise reconstruction error using second-order information (Hessian matrix), ensuring the output remains close to the full-precision model. In contrast, AWQ identifies approximately 1% of 'salient' weights, crucial due to large activation magnitudes, and scales them to better preserve accuracy in low-bit formats, often without needing explicit error compensation.
Sources
- AWQ: Activation-aware Weight Quantization Explained - ApX Machine Learning
- What is GPTQ Quantization for LLMs? - Picovoice
- AWQ — Activation-aware Weight Quantization - ZeroEntropy
- AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration, Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang, Guangxuan Xiao, Xingyu Dang, Chuang Gan, Song Han, 2023 MLSys 2024 DOI: 10.48550/arXiv.
- Quantizing Models with Activation-Aware Quantization (AWQ) - LLM Compressor Docs
- ultimate guide to GPTQ quantization - Newline.co
Open the full topic