跳到正文
arXiv (AI + Vision + Imaging)· Yufeng Huang·· 1 天前AI 评分45

Shifter Quantization(SQ):面向原生整数计算的紧凑量化表示

Shifter Quantization: Compact Representations for Native Integer Computation

AI 导读

研究提出 Shifter Quantization(SQ)量化方法,通过拼接与移位共享比特重构原生位宽整数操作数,并衍生出可使用 INT4 kernel 的 Shifter Integer(SHI)变体。

正文 · 原文

arXiv:2611.33080v2 Announce Type: replace Abstract: Groupwise quantization is used in LLM quantization to improve accuracy at low bit widths, but grouping weights keeps standard integer MMA from spanning the full dot product for efficient GPU inference. We develop a new quantization method, Shifter Quantization (SQ), that reconstructs native-width integer operands by appending and shifting shared bits. To further extend the efficiency, we develop a special variant of SQ, Shifter Integer (SHI), to use INT4 kernels. We show that SQ and SHI formats perform better than standard groupwise quantization in quality, as measured by projection error and KL divergence, and in inference speed, as measured during decoding and prefill. For low precision like 2-bit quantization, SQ2 and SHI2 achieve 2.71-3.77x the 4,096-token prefill throughput of llama.cpp on a Q2_K checkpoint and reduce WikiText-2 KL by 6.6-7.8%. For mid precision like 4-bit quantization, SQ4 achieves 1.43-2.47x the prefill throughput of NInfer's groupwise-integer baselines across the tested models and prompt lengths, with 24-40% lower KL than the NInfer baselines. For high precision like 8-bit quantization, SQ8 achieves 27.4% higher batch-one prefill throughput and 72.7% lower KL than vLLM's online FP8.

来源:arXiv (AI + Vision + Imaging) · arxiv.org