paper-with-me

홈 › Papers

GWQ: Gradient-Aware Weight Quantization for Large Language Models

2024-10-30 · Yihua Shao, Siyu Liang, Zijian Ling, Minxi Yan, Haiyang Liu, Siyu Chen, Ziyang Yan, Chenyu Zhang, Haotong Qin, Michele Magno, Yang Yang, Zhen Lei, Yan Wang, Jingcai Guo, Ling Shao, Hao Tang

Large language models (LLMs) show impressive performance in solving complex language tasks. However, its large number of parameters present significant challenges for the deployment and application of the model on edge devices. Compressing large language models to low bits can enable them to run on resource-constrained devices, often leading to performance degradation. To address this problem, we propose gradient-aware weight quantization (GWQ), the first quantization approach for low-bit weight quantization that leverages gradients to localize outliers, requiring only a minimal amount of calibration data for outlier detection. GWQ retains the weights corresponding to the top 1% outliers preferentially at FP16 precision, while the remaining non-outlier weights are stored in a low-bit format. GWQ found experimentally that utilizing the sensitive weights in the gradient localization model is more scientific compared to utilizing the sensitive weights in the Hessian matrix localization model. Compared to current quantization methods, GWQ can be applied to multiple language models and achieves lower PPL on the WikiText2 and C4 dataset. In the zero-shot task, GWQ quantized models have higher accuracy compared to other quantization methods. GWQ is also suitable for multimodal model quantization, and the quantized Qwen-VL family model is more accurate than other methods. Zero-shot target detection task dataset RefCOCO outperforms the current stat-of-the-arts method SPQR. GWQ achieves 1.2 times inference speedup in comparison to the original model, and effectively reduces the inference memory.

📄 PDF Abstract BibTeX arXiv:2411.00850

Code (0)

등록된 구현이 없습니다.

Tasks

Outlier DetectionQuantization

Similar Papers 제목 키워드 기반

AWP: Activation-Aware Weight Pruning and Quantization with Projected Gradient Descent

2025-06-11 · Jing Liu, Toshiaki Koike-Akino, Ye Wang, Hassan Mansour 외

To address the enormous size of Large Language Models (LLMs), model compression methods, such as quantization and pruning, are often deployed, especially on edge devices. In this work, we focus on layer-wise post-trainin…

Model CompressionQuantization

WinQ: Accelerating Quantization-Aware Training of Language Models Around Saddle Points

2026-05-17 · Dongyue Li, Zechun Liu, Kai Yi, Zhenshuo Zhang 외 arxiv

Quantization-aware training (QAT) is widely adopted to quantize language models by training full-precision weights using gradients from the quantized model. The main bottleneck is its slow convergence and early performan…

AAAC: Activation-Aware Adaptive Codebooks for 4-bit LLM Weight Quantization

2026-05-09 · Beshr IslamBouli, David Jin arxiv

Post-training weight-only quantization to 4 bits is widely used to reduce the memory and compute costs of large language model inference. Existing PTQ methods, such as AWQ and GPTQ, improve how weights are mapped onto a …

Optimize Weight Rounding via Signed Gradient Descent for the Quantization of LLMs

2023-09-11 · Wenhua Cheng, Weiwei Zhang, Haihao Shen, Yiyang Cai 외

Large Language Models (LLMs) have demonstrated exceptional proficiency in language-related tasks, but their deployment poses significant challenges due to substantial memory and storage requirements. Weight-only quantiza…

Quantization

MGVQ: Synergizing Multi-dimensional Sensitivity-Aware and Gradient-Hessian Fusion for Vector Quantization

2026-05-20 · Zhong Wang, Zukang Xu, Xing Hu, Dawei Yang arxiv

Vision-Language Models (VLMs) achieve outstanding performance, yet their huge model size severely hinders deployment on edge devices with limited resources. As an efficient model compression technique, vector quantizatio…

Model Compression