ClusQuant: Mitigating Outliers with Clustering-Based Representations for Low-Precision LRMs
Xingyu Liu, Xiangyang Yin, Tianhua Xia, Haiyu Wang, Sai Qian Zhang
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Low-Precision LLM Optimization · Type: new method · Keywords: quantization, clustering, outlier mitigation, low-precision inference, large reasoning models, LUT quantization
Areas: LLM Reasoning › Efficient Reasoning › KV Cache Compression
Summary
ClusQuant introduces a clustering-based LUT quantization framework that mitigates outliers and adapts codebook capacity to improve accuracy and speed for low-precision large reasoning models.
Explained to a 5-year-old
Big computers that think step by step need a lot of power to run. We want to make them smaller and faster, but that makes them less accurate. The new idea groups the numbers the computer uses into clusters, which helps it handle unusual numbers and keep the answers right. It also picks the best numbers to learn from, so the computer works better. All together, the computer can think faster and give better answers.
Explained to a 5-year-old, longer
Imagine a super-smart robot that writes long stories by thinking through each step. Because it thinks a lot, it uses a lot of energy and is slow to answer questions. We want the robot to be small and quick, but when we shrink its brain, it often makes mistakes. The new trick looks at all the numbers the robot uses and groups similar numbers together, like sorting crayons by color. This helps the robot notice when a number is weird and not like the others, so it can fix those mistakes. The robot also learns which numbers are most important by looking at the early steps of its thinking, so it focuses on the right information. Finally, the robot uses a special fast memory that quickly finds the best numbers to use, making it both accurate and speedy. All of these ideas let the robot think faster, give better answers, and use less power.
For a technical reader
The paper presents a quantization method that clusters model activations to better represent their distribution, reducing outlier impact through rotation and scaling. It dynamically adjusts codebook sizes per layer and refines calibration data based on early-decoding statistics. A custom CUDA kernel implements the look-up-table quantization efficiently, resulting in higher accuracy and a 2.85× speedup for low-precision inference of large reasoning models.
Problem
Deploying large models that generate long intermediate reasoning traces in low-precision settings is difficult because aggressive quantization often harms performance. This challenge is exacerbated by high variability in activations during early decoding steps and the inadequacy of uniform quantization and conventional calibration.
Method
The approach uses clustering-based representations to capture non-uniform activation distributions, applies rotation and scaling to mitigate outliers, and employs an adaptive clustering strategy that allocates codebook capacity per layer. It also improves calibration sample selection based on observed early-decoding activation behavior and implements a custom LUT CUDA kernel for efficient low-precision inference.
Results
The approach achieves substantial accuracy improvements on reasoning benchmarks while providing a 2.85× speedup compared to baseline quantization methods.
Contributions
The approach introduces a clustering-based quantization framework that adaptively allocates codebook capacity, enhances outlier mitigation through rotation and scaling, and improves calibration for reasoning-time activations. Combined with an optimized LUT kernel, it delivers both higher accuracy and faster inference for low-precision large models.
Practical relevance
It enables faster and more accurate deployment of large reasoning models on resource-constrained hardware, reducing inference costs.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction