paper-with-me

홈 › Papers

Mitigating the Impact of Outlier Channels for Language Model Quantization with Activation Regularization

2024-04-04 · Aniruddha Nrusimha, Mayank Mishra, Naigang Wang, Dan Alistarh, Rameswar Panda, Yoon Kim

We consider the problem of accurate quantization for language models, where both the weights and activations are uniformly quantized to 4 bits per parameter, the lowest bitwidth format natively supported by GPU hardware. In this context, the key challenge is activation quantization: it is known that language models contain outlier channels whose values on average are orders of magnitude higher than than other channels, which prevents accurate low-bitwidth quantization with known techniques. We systematically study this phenomena and find that these outlier channels emerge early in training, and that they occur more frequently in layers with residual streams. We then propose a simple strategy which regularizes a layer's inputs via quantization-aware training (QAT) and its outputs via activation kurtosis regularization. We show that regularizing both the inputs and outputs is crucial for preventing a model's "migrating" the difficulty in input quantization to the weights, which makes post-training quantization (PTQ) of weights more difficult. When combined with weight PTQ, we show that our approach can obtain a W4A4 model that performs competitively to the standard-precision W16A16 baseline.

📄 PDF Abstract BibTeX arXiv:2404.03605

Code (1)

aninrusimha/qat-pretrain 공식 구현 pytorch

Tasks

GPULanguage ModelingLanguage ModellingQuantization

Similar Papers 제목 키워드 기반

QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language Models

2023-10-12 · Jing Liu, Ruihao Gong, Xiuying Wei, Zhiwei Dong 외

Large Language Models (LLMs) excel in NLP, but their demands hinder their widespread deployment. While Quantization-Aware Training (QAT) offers a solution, its extensive training costs make Post-Training Quantization (PT…

GPUQuantization

LRQ-DiT: Log-Rotation Post-Training Quantization of Diffusion Transformers for Image and Video Generation

2025-08-05 · Lianwei Yang, Haokun Lin, Tianchen Zhao, Yichen Wu 외 arxiv

Diffusion Transformers (DiTs) have achieved impressive performance in text-to-image and text-to-video generation. However, their high computational cost and large parameter sizes pose significant challenges for usage in …

Text-to-Video Generation

Breaking Modality Heterogeneity in Low-Bit Quantization for Large Vision-Language Models

2026-05-19 · Yi Zhong, Haotong Qin, Xindong Zhang, Lei Zhang 외 arxiv

Low-bit post-training quantization (PTQ) is a pivotal technique for deploying Vision-Language Models (VLMs) on resource-constrained devices. However, existing PTQ methods often degrade VLMs' accuracy due to the heterogen…

RPTQ: Reorder-based Post-training Quantization for Large Language Models

2023-04-03 · Zhihang Yuan, Lin Niu, Jiawei Liu, Wenyu Liu 외

Large-scale language models (LLMs) have demonstrated impressive performance, but their deployment presents challenges due to their significant memory usage. This issue can be alleviated through quantization. In this pape…

Quantization

Outlier Suppression+: Accurate quantization of large language models by equivalent and optimal shifting and scaling

2023-04-18 · Xiuying Wei, Yunchen Zhang, Yuhang Li, Xiangguo Zhang 외

Post-training quantization~(PTQ) of transformer language models faces significant challenges due to the existence of detrimental outliers in activations. We observe that these outliers are concentrated in specific channe…

Quantization