CodeQuant2: Enhanced Outlier Mitigation and Adaptive Clustering for Low-Precision LRMs
Xingyu Liu, Xiangyang Yin, Tianhua Xia, Haiyu Wang, Sai Qian Zhang
NeurIPS 2026
TL;DR. We apply a hybrid quantization and clustering method to improve the VLM efficiency.
Abstract. Large reasoning models (LRMs) improve task performance by generating longer intermediate reasoning traces, but this substantially increases inference costs and makes low-precision quantization increasingly important. However, aggressively quantized models often perform poorly on reasoning tasks. We observe larger activation fluctuations during the first decoding steps of reasoning. Calibration that omits these early states may miss their activation fluctuations. To address these reasoning-specific quantization challenges, we propose \textbf{CodeQuant2}, a clustering-based LUT quantization framework for low-precision large reasoning models. CodeQuant2 mitigates activation outliers with rotation and scaling, uses clustering to represent non-uniform weight distributions, and adapts codebook sizes to the quantization difficulty of each layer. Guided by our observation of reasoning-time activation behavior, CodeQuant2 further improves calibration sample selection to better match actual decoding statistics. Combined with our customized LUT CUDA kernel, CodeQuant2 delivers substantial accuracy improvements on reasoning benchmarks while achieving up to speedup over BF16.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a post-training quantization method for low-precision inference of large reasoning models. It combines rotation and scaling for outlier mitigation, clustering-based weight representations, adaptive allocation of cluster capacity, learnable clustering parameters, and a custom CUDA kernel.
My current evaluation is borderline reject. The primary concern is that the experiments do not yet cleanly isolate or validate the components that distinguish ClusQuant from closely related quantization systems. In particular, it remains unclear how much of the improvement comes from reasoning-aware calibration, adaptive cluster allocation, rotation and scaling, learnable clustering, or other system-level choices.
The reasoning-specific calibration claim requires stronger support. The paper motivates calibration using the higher activation variability of early reasoning tokens, but calibration over longer traces reportedly reduces performance, and the benefit appears uneven across model families. It is therefore unclear whether early-token calibration captures a general property of reasoning models or an empirical pattern specific to particular checkpoints and datasets. The currently reported aggregate ablation also appears to show only a modest contribution from this component.
The adaptive cluster allocation mechanism is similarly insufficiently isolated. The paper does not provide directly comparable accuracy-latency results for adaptive allocation versus fixed cluster counts under the same complete pipeline, nor does it report the resulting distribution of cluster sizes across layers. These omissions make it difficult to determine whether adaptive allocation provides a meaningful advantage over simpler fixed-capacity alternatives.
The author response should focus on the following:
- Provide a controlled attribution of the accuracy improvements to the main components of ClusQuant, especially reasoning-aware calibration, adaptive cluster allocation, and rotation/scaling. Please identify per-benchmark ablations rather than relying only on aggregate averages.
- Establish the benefit of adaptive cluster allocation through direct accuracy-latency comparisons against fixed cluster counts under otherwise identical settings. Please also clarify the allocation algorithm and report the cluster capacities selected across layers or modules.
- Clarify the evidence for reasoning-aware calibration. In particular, explain why early reasoning tokens are preferable to full-trace or conventional calibration, how sensitive the result is to the calibration mixture and token range, and why the benefit differs substantially between Qwen and Phi-4.
- Confirm that all accuracy baselines use comparable calibration data, token budgets, and optimization procedures. For methods extended from weight-only to weight-and-activation quantization, clarify whether their transformations were re-optimized under the same conditions.
- Strengthen the systems comparison with the closest LUT-based methods, particularly CodeQuant, and clarify why relevant accuracy baselines are omitted from some latency or throughput comparisons.
- Provide additional implementation details concerning kernel memory overhead, batch-size sensitivity, and the conditions under which the reported speedups hold.
====Post Rebuttal==== My main concerns in the initial meta-review were whether the gains from the individual components were isolated and whether the baseline comparisons were fair. The rebuttal addressed these concerns with additional ablations, matched fixed-capacity comparisons for ACA, and further clarifications for the baselines. The reviewers also generally found these responses satisfactory and all now give positive scores. Therefore, I change my original recommendation and now recommend acceptance.
Also, authors should fix the reported reference issue. To me it doesn't look at an AI hallucination though.
Final justification
see above under "Post Rebuttal"
- Final justification
- see above under "Post Rebuttal"
Read meta-review
Meta-review
This paper proposes a post-training quantization method for low-precision inference of large reasoning models. It combines rotation and scaling for outlier mitigation, clustering-based weight representations, adaptive allocation of cluster capacity, learnable clustering parameters, and a custom CUDA kernel.
My current evaluation is borderline reject. The primary concern is that the experiments do not yet cleanly isolate or validate the components that distinguish ClusQuant from closely related quantization systems. In particular, it remains unclear how much of the improvement comes from reasoning-aware calibration, adaptive cluster allocation, rotation and scaling, learnable clustering, or other system-level choices.
The reasoning-specific calibration claim requires stronger support. The paper motivates calibration using the higher activation variability of early reasoning tokens, but calibration over longer traces reportedly reduces performance, and the benefit appears uneven across model families. It is therefore unclear whether early-token calibration captures a general property of reasoning models or an empirical pattern specific to particular checkpoints and datasets. The currently reported aggregate ablation also appears to show only a modest contribution from this component.
The adaptive cluster allocation mechanism is similarly insufficiently isolated. The paper does not provide directly comparable accuracy-latency results for adaptive allocation versus fixed cluster counts under the same complete pipeline, nor does it report the resulting distribution of cluster sizes across layers. These omissions make it difficult to determine whether adaptive allocation provides a meaningful advantage over simpler fixed-capacity alternatives.
The author response should focus on the following:
- Provide a controlled attribution of the accuracy improvements to the main components of ClusQuant, especially reasoning-aware calibration, adaptive cluster allocation, and rotation/scaling. Please identify per-benchmark ablations rather than relying only on aggregate averages.
- Establish the benefit of adaptive cluster allocation through direct accuracy-latency comparisons against fixed cluster counts under otherwise identical settings. Please also clarify the allocation algorithm and report the cluster capacities selected across layers or modules.
- Clarify the evidence for reasoning-aware calibration. In particular, explain why early reasoning tokens are preferable to full-trace or conventional calibration, how sensitive the result is to the calibration mixture and token range, and why the benefit differs substantially between Qwen and Phi-4.
- Confirm that all accuracy baselines use comparable calibration data, token budgets, and optimization procedures. For methods extended from weight-only to weight-and-activation quantization, clarify whether their transformations were re-optimized under the same conditions.
- Strengthen the systems comparison with the closest LUT-based methods, particularly CodeQuant, and clarify why relevant accuracy baselines are omitted from some latency or throughput comparisons.
- Provide additional implementation details concerning kernel memory overhead, batch-size sensitivity, and the conditions under which the reported speedups hold.
====Post Rebuttal==== My main concerns in the initial meta-review were whether the gains from the individual components were isolated and whether the baseline comparisons were fair. The rebuttal addressed these concerns with additional ablations, matched fixed-capacity comparisons for ACA, and further clarifications for the baselines. The reviewers also generally found these responses satisfactory and all now give positive scores. Therefore, I change my original recommendation and now recommend acceptance.
Also, authors should fix the reported reference issue. To me it doesn't look at an AI hallucination though.
2 comments
Final Rebuttal Update
Thank you for considering our rebuttal. Our response to the meta-review already summarizes the new component ablations, matched ACA comparison, broader RAC validation, clarified baseline protocol, and kernel profiling. We therefore provide only the main update from the subsequent discussion.
To address the remaining concern about ParoQuant, we used the released ParoQuant code and Appendix A.3 to reproduce its W4A4 setting under matched calibration and optimization budgets. We now distinguish three settings: the direct ParoQuant W4A4 reproduction, the ParoQuant + RAC setting used in our submission, and ClusQuant. Across Qwen3-4B-Thinking and Qwen3-8B on WikiText2 and C4, RAC substantially improves ParoQuant, while ClusQuant achieves the lowest perplexity.
Reviewer LxGg reviewed this additional evidence, acknowledged the effectiveness of the proposed transform, and raised the score. All three reviewers now rate the paper 4. In the revision, we will report the three ParoQuant-related settings separately and clearly explain their implementation differences. Together with the evidence summarized in our meta-review response, the rebuttal now directly addresses the main concerns about component attribution, RAC generality, ACA effectiveness, baseline construction, and system evaluation.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a low-bit post-training quantization framework called ClusQuant for large-scale inference models. It combines inference-aware calibration, rotation/scaling for outlier smoothing, adaptive cluster assignment, learnable clustering, and CUDA LUT kernels. Experiments on the Qwen3-4B-Thinking, Qwen3-8B, and Phi-4-Reasoning datasets demonstrate that ClusQuant improves inference/encoding performance and significantly increases decoding speed under A4W4/A8W4 quantization.
Strengths and weaknesses
This paper is motivated by the strong activation variability inherent in early thought pattern decoding. The evaluation is broad, encompassing robust baselines, mathematical/code benchmarks, ablation experiments, and GPU latency results. The performance improvement of A4W4 on Qwen3-4B-Thinking is noteworthy.
Limitations include the complexity of the approach, uneven performance improvements on Phi-4-Reasoning, and the fact that most system performance claims are specific to the CUDA platform. The analysis of reliability risks associated with long inference trajectories and how these risks affect crashed inference output is also insufficient.
Questions
-
How sensitive is this method to mixed datasets of WikiText2/reasoning-calibration with different proportions?
-
Why the performance improvement on the Qwen3-4B-Thinking dataset significantly greater than on the Phi-4-Reasoning dataset?
-
More experimental details regarding kernel memory overhead, batch size sensitivity, and pre-padding would helps a lot?
-
Does ClusQuant affect consistency under invalid inference chains or repeated sampling?
Limitations
Yes
Final justification
Thank you for your detailed response and clarification. I appreciate the authors’ efforts in addressing my concerns. The response has sufficiently clarified the issues I raised, and I will therefore maintain my positive score.
Formatting concerns
None
6 comments
Response to Question 1
To report the sensitivity to calibration-data composition, we sweep the ratio between WikiText2 samples and RAC-selected reasoning samples while keeping the total calibration budget fixed. Table 1 reports the complete results.
Table 1. Sensitivity to the WikiText2 and RAC calibration ratio under a fixed total calibration budget.
| WikiText2:RAC | C4 PPL ↓ | WikiText2 PPL ↓ | Math-500 ↑ | GSM8K ↑ | AIME25@Pass1 ↑ | AIME26@Pass1 ↑ | HumanEval ↑ | LiveCodeBench ↑ | Average ↑ |
|---|---|---|---|---|---|---|---|---|---|
| 10:0 | 21.002 | 13.232 | 0.950 | 0.937 | 0.546 | 0.567 | 0.939 | 0.619 | 0.760 |
| 9:1 | 20.203 | 12.721 | 0.950 | 0.938 | 0.563 | 0.613 | 0.945 | 0.614 | 0.770 |
| 7:3 | 20.742 | 12.263 | 0.954 | 0.942 | 0.563 | 0.594 | 0.933 | 0.595 | 0.763 |
| 5:5 | 20.674 | 12.280 | 0.942 | 0.936 | 0.533 | 0.538 | 0.939 | 0.568 | 0.743 |
| 0:10 | 21.056 | 12.545 | 0.940 | 0.942 | 0.479 | 0.542 | 0.945 | 0.549 | 0.733 |
The sweep intervals are non-uniform by design. Our preliminary experiments showed that WikiText2-dominant mixtures generally perform better. We therefore evaluate the high-WikiText2 region more densely with 10:0, 9:1, and 7:3. We use larger intervals for 5:5 and 0:10 to cover the broader trend toward RAC-heavy calibration.
As shown in Table 1, performance is stable in the WikiText2-dominant region, and the 9:1 ratio achieves the best overall average of 0.770. The 10:0 and 7:3 ratios achieve averages of 0.760 and 0.763. The selected 9:1 ratio improves the average by 1.0 point over WikiText2-only calibration and by 3.7 points over RAC-only calibration. We therefore use 9:1 in the main experiments.
WikiText2 provides broad activation coverage for stable transformation optimization. A smaller set of RAC samples adds reasoning-specific activation states that are not well represented by generic text. Increasing the RAC proportion too far reduces the coverage of general activation states and places too much weight on a narrower set of early reasoning trajectories. This explains the lower performance of the RAC-heavy mixtures.
Response to Question 2
In the original submission, we did not separately tune the hyper-parameters for Phi-4. Due to limited GPU resources, we directly used the hyperparameters tuned for Qwen3-4B-Thinking. We have now retrained Phi-4 with model-specific hyperparameters under the same evaluation protocol. Table 2 reports the complete results.
Table 2. Phi-4-Reasoning results under A4W4 before and after Phi-specific hyperparameter tuning.
| Method | C4 PPL ↓ | WikiText2 PPL ↓ | Math-500 ↑ | GSM8K ↑ | AIME25@Pass1 ↑ | AIME26@Pass1 ↑ | HumanEval ↑ | LiveCodeBench ↑ | Average ↑ |
|---|---|---|---|---|---|---|---|---|---|
| BF16 | 13.187 | 7.393 | 0.858 | 0.943 | 0.283 | 0.250 | 0.872 | 0.410 | 0.603 |
| QuaRot | 16.564 | 9.511 | 0.766 | 0.908 | 0.192 | 0.129 | 0.640 | 0.238 | 0.479 |
| SqueezeLLM | 14.871 | 8.375 | 0.806 | 0.921 | 0.258 | 0.188 | 0.750 | 0.321 | 0.541 |
| ParoQuant | 16.584 | 9.489 | 0.770 | 0.908 | 0.183 | 0.150 | 0.683 | 0.235 | 0.488 |
| CodeQuant | 14.358 | 8.087 | 0.840 | 0.940 | 0.246 | 0.242 | 0.732 | 0.353 | 0.559 |
| ClusQuant, Qwen3 configuration | 14.316 | 8.074 | 0.844 | 0.944 | 0.271 | 0.225 | 0.726 | 0.374 | 0.564 |
| ClusQuant, Phi-tuned | 13.660 | 7.739 | 0.840 | 0.932 | 0.246 | 0.250 | 0.823 | 0.362 | 0.575 |
As shown in Table 2, Phi-specific tuning improves the average reasoning accuracy from 0.564 to 0.575 and increases the margin over CodeQuant from 0.5 to 1.6 points. It also reduces C4 and WikiText2 perplexity from 14.316 and 8.074 to 13.660 and 7.739.
We also evaluate the tuned model under repeated sampling. Table 3 reports AIME Pass@1 and Pass@8.
Table 3. Phi-4-Reasoning accuracy under single and repeated sampling after Phi-specific tuning.
| Method | Average ↑ | AIME25@Pass1 ↑ | AIME25@Pass8 ↑ | AIME26@Pass1 ↑ | AIME26@Pass8 ↑ |
|---|---|---|---|---|---|
| CodeQuant | 0.559 | 0.246 | 0.333 | 0.242 | 0.400 |
| ClusQuant, Phi-tuned | 0.575 | 0.246 | 0.400 | 0.250 | 0.433 |
Table 3 shows that the tuned model matches CodeQuant on AIME25 Pass@1 and improves Pass@8 from 0.333 to 0.400. It also improves AIME26 Pass@1 from 0.242 to 0.250 and Pass@8 from 0.400 to 0.433.
The remaining difference between Qwen3-4B and Phi-4 may also reflect their different quantization headroom. Phi-4 is substantially larger, and its strong quantized baselines already retain more of the full-precision performance. This leaves less degradation for ClusQuant to recover. Prior work has shown that larger Transformers can retain accuracy better under compression (Li et al., 2020). A recent study of quantized reasoning models also identified model size as an important factor in quantization degradation and found that larger models can achieve better quantized reasoning performance (Liu et al., 2025). We treat model scale as a contributing factor rather than the only explanation because Qwen3 and Phi-4 also differ in architecture and post-training.
References:
- [1] Li, Zhuohan, et al. “Train Big, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformers.” ICML, 2020.
- [2] Liu, Ruikang, et al. “Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Models.” arXiv:2504.04823, 2025.
Response to Question 3
We profile the ClusQuant kernel using Nsight Compute (NVIDIA's GPU profiling tool) on an A100 GPU using Qwen3-4B-Thinking model. Following the LUT-based kernel described in Section 3.5, we measure the kernel performance with W4A4 setting and compare it with the FP16 GEMM baseline.
First, we analyze the kernel memory overhead. Across all layers in Qwen3-4B-Thinking, ClusQuant reduces global memory (GPU off-chip memory) read traffic by an average of 71%, because weights are stored as compact cluster indices instead of FP16 values and activations are processed in their packed 4-bit representation. The lookup table (LUT) occupies only 8 KB of shared memory, the small on-chip memory inside each GPU Streaming Multiprocessor (SM), which is less than 5% of the 164 KB shared memory available on an A100 SM. Overall, the additional kernel memory overhead (mainly the LUT) is negligible compared with the memory reduction obtained from clustered low-bit weights.
Second, we analyze the batch size sensitivity of the ClusQuant GPU kernel. We evaluate the ClusQuant kernel on the Qwen3-4B-Thinking model on an A6000 GPU under the same three workload configurations used for the system evaluation in Section 4.2, namely WikiText2 with (prefill, decode) lengths of (1024, 100), GSM8K with (100, 4000), and AIME25 with (150, 6000). For each configuration we sweep the batch size from 1 to 16 and report the end-to-end speedup over the FP16 baseline in the table below.
Table 4. End-to-end speedup over FP16 across different batch sizes.
| Batch size | WikiText2 | GSM8K | AIME25 |
|---|---|---|---|
| 1 | 2.31× | 2.45× | 2.48× |
| 4 | 2.32× | 2.46× | 2.48× |
| 8 | 2.30× | 2.44× | 2.46× |
| 16 | 2.28× | 2.43× | 2.45× |
As the batch size increases, the amount of weight and activation data processed by both the FP16 baseline and ClusQuant grows proportionally. However, ClusQuant consistently represents weights using compact cluster indices and activations using 4-bit quantization indices, substantially reducing memory traffic for both operands. In addition, arithmetic multiplications are replaced with efficient LUT lookups. Since these advantages scale proportionally with batch size, the relative speedup remains nearly constant across different batch sizes.
Lastly, we analyze the pre-padding impact. After clustering, each weight is represented by a small integer index indicating its assigned centroid, while each activation is represented by a 4-bit quantization index. Since these indices are much smaller than full-precision values, multiple indices are packed into a 32-bit word to reduce memory traffic. The number of weight indices per word depends on the cluster number K: 10, 8, and 6 indices for K=8, 16, and 32, respectively, while each 32-bit word always stores 8 activation indices. During matrix multiplication, the kernel reads one word of weight indices and one word of activation indices at a time. To avoid partially filled words, each kernel iteration processes a fixed-size block of elements. The block size is chosen as the least common multiple of the numbers of weight and activation indices packed into a 32-bit word, ensuring that both streams remain word-aligned. If the reduction dimension is not an exact multiple of the corresponding block size, a small number of zero-valued elements are appended to complete the final block. Since Adaptive Cluster Allocation selects K differently for each matrix, different layers may require different processing block sizes. We therefore evaluate the padding overhead for all three cluster numbers across every reduction dimension appearing in Qwen3-4B-Thinking, Qwen3-8B, and Phi-4-Reasoning. The padding ratio is defined as the number of padded elements divided by the original reduction dimension.
Table 5. Pre-padding ratios across reduction dimensions and cluster sizes.
| Reduction dimension | |||
|---|---|---|---|
| 2560 | 0.00% | 0.00% | 0.31% |
| 4096 | 0.59% | 0.00% | 0.20% |
| 5120 | 0.00% | 0.00% | 0.31% |
| 9278 | 0.33% | 0.00% | 0.16% |
| 12288 | 0.26% | 0.00% | 0.00% |
| 17920 | 0.00% | 0.00% | 0.04% |
The worst-case padding ratio across all layers, models, and cluster numbers is only 0.59%, while the average padding ratio remains below 0.2%, demonstrating that pre-padding introduces negligible kernel overhead.
- Rating
- 4/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes ClusQuant, a post-training quantization framework for low-precision inference of large reasoning models. The method combines several components: a calibration strategy that incorporates early reasoning-decoding samples, fine-tuned rotation and scaling transformations for outlier smoothing, clustering-based weight representations with learnable centroids and assignments, adaptive allocation of cluster counts across matrices, and a LUT-based CUDA kernel for efficient decode-time execution. The paper evaluates the approach on Qwen3 and Phi-4 reasoning models across language modeling, math reasoning, code generation, and general QA benchmarks under W4A4 and W4A8 settings, and reports both accuracy improvements over several quantization baselines and speedups from the custom LUT kernel.
Strengths and weaknesses
Strengths
- The adaptive cluster allocation idea is a useful and relatively novel adaptation of mixed-capacity quantization to clustering-based LUT representations. Instead of using a fixed number of clusters for all matrices, the method allocates different cluster counts according to estimated sensitivity and latency, which is a natural fit for clustered weight representations.
- The paper includes a system implementation rather than stopping at an algorithmic proposal. The custom LUT CUDA kernel and measurements on multiple GPUs make the work more practically grounded, and the paper attempts to connect quantization design choices with decode-time inference efficiency.
- The analysis of reasoning versus non-reasoning activation statistics is interesting and well motivated. The observation that early reasoning decoding exhibits stronger activation variability provides a plausible motivation for reasoning-aware calibration, and the calibration-position ablation further supports the importance of early decoded tokens.
Weaknesses
- Adaptive cluster allocation is not sufficiently substantiated. The paper claims ACA gives a better accuracy–latency trade-off than uniform cluster counts, but the fixed-K comparison reports throughput only, not the corresponding accuracies. The ACA accuracy ablation is cumulative and does not directly compare against fixed K=8,16,32 variants under the same full pipeline. The allocation algorithm is also under-specified: the paper defines a gradient-weighted importance score, but does not clearly explain the exact optimization or selection rule. Finally, the paper does not report the final distribution of selected K values across layers/modules, making ACA difficult to interpret.
- Ablations do not cleanly isolate all components. The component ablation starts from rotation/scaling rather than including a no-transform ClusQuant variant, so the contribution of the transform itself is not directly measured.
- Baseline comparisons are under-specified and may not be fully fair. The paper describes ClusQuant’s calibration setup in detail, but it is unclear whether all baselines use the same calibration data, token budget, and reasoning-aware samples. This matters because reasoning-aware calibration is itself a proposed contribution. In addition, weight-only baselines such as ParoQuant and SqueezeLLM are extended to W4A4/W4A8 by adding activation quantization, but the paper does not state whether their rotations/transforms are re-optimized for activation quantization under the same objective. ParoQuant is also omitted from the system-speed comparison despite being a main accuracy baseline. These issues make the accuracy–efficiency comparison harder to interpret.
Questions
Please see the weaknesses.
Limitations
None
Final justification
The authors have addressed most of the concerns raised in my review. The only remaining concern is that the baseline evaluation is not completely faithful to the original methods.
Formatting concerns
None
9 comments
Response to Weakness 1
We agree that the original paper did not provide a complete accuracy–latency comparison or explain the ACA selection rule clearly enough. ACA starts every target matrix with and applies cluster changes in pairs. Each promotion from to is paired with a demotion of another matrix from to . The promotion changes the assignment width from 4 to 5 bits, while the demotion changes it from 4 to 3 bits. Each pair therefore preserves the average assignment width at 4 bits. This makes uniform the capacity-matched reference for the dominant index storage.
ACA uses the gradient-weighted reconstruction score in Eq. 2 together with matrix-specific LUT latency measured on the target GPU. For a promotion, ACA selects the matrix that benefits most from increasing from 16 to 32. It then applies the same criterion to select the matrix with the lowest cost when reducing from 16 to 8. The two changes are applied together within the target latency budget.
We compare fixed and ACA using the same complete Qwen3-4B-Thinking pipeline. Table 1 reports both task accuracy and decoding throughput.
Table 1. Accuracy and throughput of fixed cluster counts and ACA under the same complete pipeline.
| K | C4 ↓ | Wiki2 ↓ | Math-500 ↑ | GSM8K ↑ | AIME25@Pass1 ↑ | AIME26@Pass1 ↑ | HumanEval ↑ | LiveCodeBench ↑ | Average ↑ | Throughput |
|---|---|---|---|---|---|---|---|---|---|---|
| 8 | 25.25 | 16.96 | 0.76 | 0.86 | 0.15 | 0.12 | 0.13 | 0.01 | 0.34 | 94 tokens/s |
| 16 | 20.56 | 12.95 | 0.94 | 0.94 | 0.53 | 0.56 | 0.94 | 0.59 | 0.75 | 86 tokens/s |
| 32 | 19.78 | 11.76 | 0.96 | 0.95 | 0.60 | 0.64 | 0.95 | 0.63 | 0.79 | 75 tokens/s |
| ACA | 20.20 | 12.72 | 0.95 | 0.94 | 0.56 | 0.61 | 0.95 | 0.61 | 0.77 | 92 tokens/s |
Table 1 shows that ACA provides a better accuracy–latency balance than the fixed settings. Compared with fixed , ACA improves the average reasoning accuracy from 0.75 to 0.77 and increases throughput from 86 to 92 tokens/s. It also reduces C4 and WikiText2 perplexity from 20.56 and 12.95 to 20.20 and 12.72. Compared with fixed , ACA remains within 2.0 accuracy points while providing 22.7% higher throughput. It also avoids the large accuracy loss of fixed while retaining similar throughput.
We also report the final ACA allocation by projection type and layer range in Tables 2 and 3.
Table 2. Final ACA cluster allocation by projection type.
| Projection | |||
|---|---|---|---|
attn.q_proj |
14 (38.9%) | 22 (61.1%) | 0 (0.0%) |
attn.k_proj |
9 (25.0%) | 16 (44.4%) | 11 (30.6%) |
attn.v_proj |
1 (2.8%) | 20 (55.6%) | 15 (41.7%) |
mlp.gate_proj |
2 (5.6%) | 34 (94.4%) | 0 (0.0%) |
mlp.up_proj |
1 (2.8%) | 34 (94.4%) | 1 (2.8%) |
| Overall | 27 (15.0%) | 126 (70.0%) | 27 (15.0%) |
Table 3. Final ACA cluster allocation by layer range.
| Layer range | Matrices | |||
|---|---|---|---|---|
| Early, layers 0–11 | 60 | 20 (33.3%) | 39 (65.0%) | 1 (1.7%) |
| Middle, layers 12–23 | 60 | 5 (8.3%) | 46 (76.7%) | 9 (15.0%) |
| Late, layers 24–35 | 60 | 2 (3.3%) | 41 (68.3%) | 17 (28.3%) |
| Overall | 180 | 27 (15.0%) | 126 (70.0%) | 27 (15.0%) |
Tables 2 and 3 show that the learned allocation is structured rather than uniform or random. ACA assigns mainly to key and value projections. Specifically, 30.6% of k_proj matrices and 41.7% of v_proj matrices receive . Capacity also shifts toward later layers. The number of matrices increases from 1 in layers 0–11 to 9 in layers 12–23 and 17 in layers 24–35. Overall, and are each assigned to 27 matrices, which matches the paired allocation rule.
Response to Weakness 2
Rotation and scaling are commonly used in W4A4 quantization methods such as SmoothQuant, QuaRot, SpinQuant, and CodeQuant. We do not treat their use as a standalone contribution of ClusQuant. The transform-related contribution evaluated here is their joint fine-tuning. Our ablation measures this gain separately from ACA, learnable clustering, and RAC.
We compare fixed random rotation and SmoothQuant scaling against jointly fine-tuned rotation and scaling. ACA, learnable clustering, and RAC are disabled in both settings. Table 4 then reports the complete cumulative ablation.
Table 4. Cumulative ablation of joint rotation and scaling fine-tuning and the proposed ClusQuant components.
| R&S fine-tuning | ACA | Centroid tuning | Assignment tuning | RAC | C4 PPL ↓ | Wiki2 PPL ↓ | Math-500 ↑ | GSM8K ↑ | AIME25@Pass1 ↑ | AIME26@Pass1 ↑ | HumanEval ↑ | LiveCodeBench ↑ | Average ↑ | Average gain |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No | No | No | No | No | 21.410 | 13.623 | 0.930 | 0.929 | 0.392 | 0.367 | 0.902 | 0.464 | 0.664 | – |
| Yes | No | No | No | No | 20.148 | 12.811 | 0.928 | 0.934 | 0.450 | 0.421 | 0.933 | 0.5573 | 0.704 | +4.00 points |
| Yes | Yes | No | No | No | 20.837 | 13.125 | 0.938 | 0.938 | 0.542 | 0.4875 | 0.937 | 0.5991 | 0.740 | +3.64 points |
| Yes | Yes | Yes | Yes | No | 21.002 | 13.232 | 0.950 | 0.937 | 0.546 | 0.567 | 0.939 | 0.619 | 0.760 | +1.94 points |
| Yes | Yes | Yes | Yes | Yes | 20.203 | 12.721 | 0.950 | 0.938 | 0.563 | 0.613 | 0.945 | 0.614 | 0.770 | +1.08 points |
As shown in Table 4, jointly fine-tuning rotation and scaling improves the average reasoning accuracy from 0.664 to 0.704, a gain of 4.0 points. We keep this fine-tuned transformation fixed in the remaining rows. ACA, learnable clustering, and RAC further improve the average to 0.740, 0.760, and 0.770, respectively. Together, these proposed components provide another 6.6 points. The ablation therefore separates the gain from transform fine-tuning from the gains of the proposed ClusQuant components.
Response to Weakness 3
Thank you for raising this concern. Our original description did not clearly explain the calibration data, activation transformations, and weight quantization used for the baselines.
To ensure a fair comparison, the transformation procedure varies across baselines. QuaRot uses its original random rotation. For methods with optimized transformations, we use the same RAC-selected calibration data and optimization budget to fine-tune rotation and scaling. For SqueezeLLM and ParoQuant, we first apply the RAC-trained rotation and scaling from ClusQuant and then run each method’s own weight quantization algorithm.
We additionally match the calibration sequence count, sequence length, total token budget, target W4A4/W4A8 precision, and quantization granularity. All methods use per-channel weight quantization and per-token activation quantization. Because ParoQuant originally uses a finer weight granularity, we reconfigure its weight quantizer to the same per-channel granularity used by ClusQuant. The reported ParoQuant entry therefore compares its weight-side algorithm with ClusQuant under the same activation preprocessing, precision, and weight granularity.
We also note that the kernel optimization proposed in ParoQuant is orthogonal to ClusQuant. ParoQuant requires an online rotation operation during inference, whereas ClusQuant does not perform any online rotation. Therefore, ParoQuant addresses a different inference pipeline and its kernel optimizations are complementary to our method rather than directly comparable. Instead, we compare against QuaRot, which shares the same rotation-free inference workflow and represents the current state-of-the-art baseline in this setting.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper propose ClusQuant, a clustering and LUT based quantization framework that uses a 4bit post-training quantization pipeline for (large) reasoning models. The method is a mix of mainly four different techniques of utilizing scalign and rotation for outlier mitigation, adaptive cluster allocation for dynamically assigning cluster capacities at runtime, using LoRA trick to finetune the clustered weights and finally lookup table (LUT) based cuda kernel designs.
Strengths and weaknesses
Strengths:
- The paper is well rounded, there is a good mix of theory and practical aspects to the solution, the experimental section is fairly comprehensive.
- The results while in some cases modest improvement over some baselines are consistent, and shows benefits both performance and in the latency.
Weakness:
-
The core narrative about the reasoning token is unconvincing. Calibration on the first 256 reasoning tokens relies on the understated assumption that the models early exploration leads to a successful logical path. If the model generates a false star, or is exploring a dead end search space at the beginning or simply hallucinating, the framework would end up optimizing the 4bit representation to mimic bad reasoning.
-
From the experiments it seems that actually tuning on the full 768 tok length trace leads to performance drop, suggesting this is a highly empirical and potentially brittle method. Table 4 does not resolve this concern. It could be because the early tokes are wild high variance exploration tokens, middle tokens are self corrections like
wait, let me go backand late tokens and low variance confident conclusions etc. Does this behavior follow across diverse reasoning model selection and across diverse datasets and across diverse problem difficulty? On that note, is the early token volatility an RL artifact of distribution collapse forcing models to highly specific high variance preamble or is this also true for non reasoning (e.g. instruct or the standard qwen 8B model). -
The LRM specific novelty (routing system) barely moves the needle in Table 3 with a 1pp improvement, which may be just noise. As such the importance of LRM seems highly overstated. This needs some ablations or more clarity.
-
Majority of the mathematical heavy lifting has been done in prior art, the rotation for outlier smoothing, kmeans clustering for weights or LUT based CUDA execution exists in quarot, squeezelm and codequant. The paper's gains primarily come from system-level tweaks to these existing methods. The authors need to better differentiate their delta of improvement and motivate it more clearly. For example, in the systems evaluation where ClusQuant gets 2.42x speedup against baselines, authors did not compare with closest performing work codequant. Given that CodeQuant also uses a LUT-based implementation and similar methods, the speedup and throughput improvements between the two should be compared.
-
The results are very narrow with advanced methods specifically in general language modeling tasks, ClusQuant and CodeQuant are neck to neck. However we do see some better difference with harder tasks like AIME but the gap closes again between A4W4 to A8W4. It is therefore not clear which specific sub-methods in ClusQuant are driving the improvements on complex reasoning tasks. Table 3 just shows how much it impacts average reasoning accuracy; it does not show how much that specific step impacted AIME 25/26.
-
There is no direct evidence presented in the paper that reasoning aware calibration selection is what caused the AIME scores to jump in ClusQuant in Qwen models. This is particularly concerning given that on Phi-4-Reasoning, the baseline CodeQuant actually outperforms ClusQuant.
Questions
I am currently leaning towards a Marginal Accept, but I am willing to raise my score if the authors can adequately address some of the concerns raised in the weaknesses, particularly by providing a stronger empirical defense for the reasoning-specific calibration claims and including some (fully respectful of time and resource constraints) of the missing ablations and baselines.
Limitations
N/A
Final justification
The rebuttal successfully addressed some concerns and I appreciate the authors effort. I have increased my score to reflect that accordingly.
Formatting concerns
N/A
8 comments
Response to Weakness 1
We agree that early reasoning can include false starts, dead ends, or incorrect hypotheses. However, RAC does not assume that these early tokens are semantically correct. Instead, RAC uses them as reconstruction targets to keep the quantized model close to the full-precision model. The selected tokens are therefore not correctness labels but quantization-sensitive. If the full-precision model follows an incorrect path, RAC aims to preserve its behavior while reducing additional errors introduced by quantization. Correcting the reasoning path would require a different training objective based on semantic or reward signals.
Our choice of early tokens is based on their numerical behavior. Early reasoning tokens show larger activation fluctuations and higher quantization sensitivity, and errors introduced at this stage can affect the rest of the generation. This makes them important calibration targets even when their semantic content is uncertain. We will revise the paper to clearly separate these two points. RAC targets quantization-sensitive tokens, while the correctness of the original reasoning path remains a property of the full-precision model.
Response to Weakness 2
Thanks for pointing out this question. We observe the early-stage fluctuation across multiple reasoning models and datasets, while other non-reasoning models do not show the same pattern. Beyond Qwen3-4B-Thinking on GSM8K, we observe the same trend in GPT-OSS-20B and Qwen3-30B-A3B-Thinking. We also observe it on MATH-500 and the more difficult AIME problems using the Qwen3-4B-Thinking model.
Table 1. Early-stage activation fluctuation across reasoning models and datasets.
| Comparison | Setting | Peak step | Stabilization step | Peak over stabilization |
|---|---|---|---|---|
| Model | GPT-OSS-20B | 0 | 23 | +24.1% |
| Model | Qwen3-30B-A3B-Thinking | 0 | 34 | +38.7% |
| Dataset | MATH-500 | 0 | 26 | +17.1% |
| Dataset | AIME24 | 5 | 39 | +20.5% |
We further compare Qwen3-4B-Thinking with the standard Qwen3-4B model. We also compare the reasoning and non-reasoning modes of the same Qwen3-8B model. In both comparisons, non-reasoning generation does not show the same concentration of activation fluctuation in the early stage. Together with Table 1, these results show that the pattern is linked to explicit reasoning behavior rather than general early decoding.
The token-length sweep shows that 256 tokens is an empirically selected operating point, not a universal constant. Table 2 reports the complete results from 64 to 768 calibration tokens.
Table 2. Reasoning accuracy under different early-token calibration lengths.
| Completion length | Math-500 | GSM8K | AIME25@Pass1 | AIME26@Pass1 | HumanEval | LiveCodeBench | Average |
|---|---|---|---|---|---|---|---|
| 64 | 0.912 | 0.923 | 0.358 | 0.354 | 0.884 | 0.392 | 0.637 |
| 128 | 0.936 | 0.939 | 0.521 | 0.567 | 0.933 | 0.549 | 0.741 |
| 256 | 0.950 | 0.938 | 0.563 | 0.613 | 0.945 | 0.614 | 0.770 |
| 512 | 0.938 | 0.938 | 0.529 | 0.571 | 0.915 | 0.591 | 0.747 |
| 768 | 0.944 | 0.941 | 0.467 | 0.496 | 0.921 | 0.560 | 0.721 |
As shown in Table 2, the average increases from 0.637 at 64 tokens to 0.770 at 256 tokens, then decreases to 0.721 at 768 tokens. Later tokens have weaker and different sensitivity patterns. Including the full trace gives less relative weight to the early high-sensitivity states. This explains why using more calibration tokens does not always improve performance. RAC uses measured numerical sensitivity rather than fixed semantic labels such as exploration, self-correction, or conclusion. As for RL artifact, conceptually, early reasoning tokens correspond to the stage in which the model interprets the problem and selects among possible solution trajectories. Before a trajectory is established, its internal states can therefore vary more sharply from token to token. RAC is designed for this observed numerical behavior and does not depend on whether it arises from RL, supervised reasoning data, or another post-training stage. Isolating the causal role of RL would require matched checkpoints before and after reasoning-oriented RL. We therefore claim an association with explicit reasoning behavior, rather than causality from RL.
Finally, we also directly examined whether this pattern appears in non-reasoning generation. Compared with Qwen3-4B-Thinking used in our main experiments, the standard Qwen3-4B model does not exhibit the same early-stage concentration of activation fluctuation and quantization sensitivity. We further compare the reasoning and non-reasoning modes of the same Qwen3-8B model and again observe this trend only in the reasoning mode. Together, these cross-model and within-model comparisons indicate that this pattern is associated with reasoning generation rather than being a general property of early decoding.
Response to Weakness 3
We first clarify that RAC is a calibration-selection method, not an inference-time routing system. The reported 1.0-point average gain is the marginal gain of RAC after rotation and scaling, ACA, and learnable clustering are already enabled. Table 3 directly compares the same pipeline with and without RAC.
Table 3. Direct contribution of RAC after all other ClusQuant components are enabled.
| RAC | AIME25@Pass1 | AIME26@Pass1 | Six-task average |
|---|---|---|---|
| No | 0.546 | 0.567 | 0.760 |
| Yes | 0.563 | 0.613 | 0.770 |
As shown in Table 3, RAC improves AIME25 by 1.7 points and AIME26 by 4.6 points. These gains are larger than the 1.0-point change in the six-task average. The average combines easier and harder benchmarks, so it hides the stronger effect of RAC on difficult reasoning tasks. The RAC ablation above measures the contribution of RAC. To test whether the AIME gains depend on a single stochastic generation, we additionally evaluate Pass@8 under A4W4. Pass@8 measures whether the model produces at least one correct answer across eight stochastic generations.
Table 4. AIME Pass@8 accuracy under A4W4 quantization.
| Benchmark | Best baseline | ClusQuant | Improvement |
|---|---|---|---|
| AIME25 Pass@8 | 0.500 | 0.800 | +0.300 |
| AIME26 Pass@8 | 0.667 | 0.800 | +0.133 |
Table 4 shows that ClusQuant improves Pass@8 by 0.300 on AIME25 and 0.133 on AIME26. The advantage remains when each problem is sampled eight times, rather than appearing only in a single Pass@1 generation.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Meta Review
Thank you for identifying the main concerns. Our rebuttal adds controlled component ablations, a matched ACA comparison, broader evidence for RAC, a clarified baseline protocol, and additional kernel analysis. These results directly address attribution, generality, fairness, and system efficiency. We summarize the main evidence below and refer to the detailed reviewer responses.
Together, these results isolate the main component gains, establish ACA’s accuracy–throughput benefit, validate RAC across settings, and clarify the matched baseline and system protocols.