Outlier Suppression+: Accurate quantization of large language models by equivalent and optimal shifting and scaling
Xiuying Wei, Yunchen Zhang, Yuhang Li, Xiangguo Zhang, Ruihao Gong,, Jinyang Guo, Xianglong Liu

TL;DR
Outlier Suppression+ (OS+) improves large language model quantization by channel-wise shifting and scaling, effectively handling activation outliers to achieve near-floating-point performance at low bit-widths.
Contribution
OS+ introduces a novel, equivalent shifting and scaling framework with a fast calculation scheme, enhancing quantization accuracy for large language models.
Findings
Achieves near-floating-point performance at 8-bit and 6-bit quantization.
Sets new state-of-the-art for 4-bit BERT with 15.5% improvement.
Demonstrates effectiveness across models like BERT, OPT, BLOOM, BLOOMZ, and LLaMA.
Abstract
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 channels and are asymmetric across channels. To address this issue, we propose the Outlier Suppression+~(OS+) framework, which contains the channel-wise shifting for asymmetry and channel-wise scaling for concentration. We show that these operations can be seamlessly migrated into subsequent modules while maintaining equivalence. Second, we propose a fast and stable scheme to calculate effective shifting and scaling values. The channel-wise shifting aligns the center of each channel for removal of outlier asymmetry. The channel-wise scaling quantitatively evaluates changes brought by migration and quantization for better quantization burden balance. We validate our OS+ under…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Speech Recognition and Synthesis · Natural Language Processing Techniques
MethodsMulti-Head Attention · Attention Is All You Need · OPT · Linear Layer · WordPiece · Adam · Dense Connections · Attention Dropout · Linear Warmup With Linear Decay · Weight Decay
