Shifter Quantization rebuilds integer operands for faster LLM inference
Original title: Shifter Quantization: Compact Representations for Native Integer Computation
SQ and SHI beat groupwise baselines on projection error, WikiText-2 KL, and prefill throughput at 2-, 4-, and 8-bit widths.
The paper introduces Shifter Quantization (SQ), which rebuilds native-width integer operands by appending and shifting shared bits so integer matrix-multiply can cover a full dot product. A variant, Shifter Integer (SHI), targets INT4 kernels. Authors report better projection error and KL divergence than standard groupwise quantization, plus higher decoding and prefill speed.
Unconfirmed: Speed and KL gains are the authors' measurements against the named baselines.
- SQ2 and SHI2 reach 2.71–3.77x llama.cpp Q2_K prefill throughput at 4,096 tokens.
- Those 2-bit formats cut WikiText-2 KL by 6.6–7.8%.
- SQ4 is 1.43–2.47x NInfer groupwise-integer prefill throughput with 24–40% lower KL.
- SQ8 is 27.4% faster than vLLM online FP8 batch-one prefill and 72.7% lower KL.
From the original article
1 min read at arxiv.orgGroupwise 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.
By Yufeng Huang · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.