Shifter Quantization: Compact Representations for Native Integer Computation
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 Q2K 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.
Create a lesson
Related papers
RAP: Radial-Angular Random Projection for Hyperbolic Representations
Shared title terminologycs.LGJiahong Liu, Wenhao Yu, Yifan Li et al.
Compute-Aware Submodular Online Learning in Open Multi-Agent Systems
Shared title terminologycs.LGJing Liu, Luca Ballotta, Fangfei Li et al.
A Hierarchy of Risk Certificates for Representation-Based Prediction
Shared title terminologycs.LGMohit Kumar, Somayeh Kargaran
Two Timescales of Forgetting in Fine-tuning of Language Models: Fast Behavioral Suppression and Slow Representational Drift
Shared title terminologycs.LGYilin Luo, Jin Hwa Lee, Andrew M. Saxe et al.
Can a Frontier LLM Repair a Quantized Network by Tool-Free Weight-Space Programming?
Shared title terminologycs.LGSteffen Urban
AVQ-Attention-2: Adaptive Vector-Quantized Attention with Exact Local Blocks and Linear-Cost Training
Shared title terminologycs.LGWinfried van den Dool, Patrick Forré, Amir Habibian et al.