Shifter Quantization: a new LLM quantization method for faster prefill
The paper introduces Shifter Quantization (SQ), a new quantization method for LLMs. Groupwise quantization[1] improves accuracy at low bit widths, but grouping keeps standard integer MMA[2] from covering the full dot product, which slows GPU inference. SQ rebuilds native-width integer operands by appending and shifting shared bits, and the authors also present Shifter Integer (SHI), a variant that uses INT4 kernels.
The authors say that SQ and SHI beat standard groupwise quantization in quality, measured by projection error and KL divergence[3], and in speed, measured during decoding and prefill[4]. At 2 bits, SQ2 and SHI2 reach 2.71-3.77x the 4,096-token prefill throughput of llama.cpp's Q2_K checkpoint and reduce WikiText-2 KL by 6.6-7.8%. At 4 bits, SQ4 reaches 1.43-2.47x the prefill throughput of NInfer's groupwise-integer baselines, with 24-40% lower KL.
At 8 bits, SQ8 gives 27.4% higher batch-one prefill throughput and 72.7% lower KL than vLLM's online FP8.
Read the original arxiv.orgDiscussion
Discussion
Commenters mostly want the method in llama.cpp, citing slow prompt processing and the weak Q2_K format. One commenter asks why SHI4 is 23.5 GB while SQ4 is 17.6 GB, and requests a tensor-level breakdown. Another reports 480 tps for a single request with SQ4 on a PRO6000 and notes that requests queue up above a concurrency of 8.
Links from the post and discussion
- Model a commenter asks whether it uses SQ huggingface.co
Sources
-
arXiv
Shifter Quantization (SQ) — New Quantization Format for 2x-4x PP for Most GPUs



