Low-bit activation quantization of large language models remains challenging, as a small number of dominant directions dictate the quantization range. State-of-the-art methods isolate these directions in a high-precision subspace through transformations calibrated offline and folded into the weights, which fixes the subspace for all prompts, leaving each prompt's few unique directions unprotected, and rules it out wherever no weight can absorb the transformation. We present PLoQ, a prompt-adaptive low-rank decomposition that extracts the dominant activation components before quantization, quantizes them separately, and restores them within the layer's GEMM, without modifying the weights. The low-rank component's basis is estimated from each prompt during prefill and reused throughout decoding. At the same bit width as state-of-the-art mixed-precision quantization (4-bit weights, activations and K/V cache with an eighth of the channels at 8 bits, about 4.2 bits per activation on average), PLoQ outperforms it on all six Llama and Qwen models from 1B to 70B parameters, at up to 8k tokens (16k on two of them), recovering up to 46% of the perplexity that the state of the art still loses to 4-bit activations. On Llama-3.1-8B at 8k tokens it adds only 4% to prefill and 8% to decoding.
Figures & tables
Figure 1: Four ways to treat the dominant activation directions, Llama-3.1-8B, W4A4KV4, 8k tokens. QuaRot Ashkboos et al. (2024b) : a rotation, all activations at 4 bits. ResQ Saxena et al. (2025) : a calibrated eighth of the directions at 8 bits and the rest at 4. Per-prompt: each prompt’s own leading eighth at 8 bits instead, mapped into the 8-bit channels by a per-prompt block reflection. PLoQ: a calibrated block of 224 directions plus a per-prompt rank-32 component with 4-bit coefficients. All but QuaRot at equal bits. (a) WikiText-2 perplexity. (b) Prefill time relative to ResQ on an RTX 4090, batch 1. Per-prompt is unfused: ResQ’s time plus its measured extra work; dotted: lower bound, at the GPU’s peak fp16 rate.
Figure 2: PLoQ at one layer input, on an activation example (6 tokens, 12 channels; color: magnitude). Steps 1–3 and the INT8 GEMM are the offline mixed-precision method: a calibrated basis U , folded into the weights, gathers the directions that are large in every prompt into a block kept at 8 bits. PLoQ (dashed box) handles the remaining 4-bit part Xc , whose dominant direction depends on the prompt. Once per prompt, during prefill, it estimates that direction V from a sample of the prompt’s tokens (4). Each token’s component along it, C=XcV⊤ , is subtracted (5, 6); the remainder R has a smaller range and is quantized to 4 bits with clipping, and C to 4 bits on its own scale (7). C is restored through k extra rows VWc⊤ of the 4-bit GEMM (8). V and VWc⊤ are kept for decoding.
Figure 3: Energy of each input’s 4-bit part captured by k directions on held-out tokens: PLoQ’s, fitted on the prompt’s fit sample (solid); the calibrated ones (dotted); and the best for the scored tokens themselves (dashed, in-sample, not deployable). Vertical line: the rank PLoQ uses, which reaches 84–98% of the largest gap to the calibrated directions at a small overhead (Fig. 5). Llama-3.2-1B, eight 8k-token WikiText-2 prompts; held-out tokens are outside the fit sample and after the first quarter; averaged over layers. The 4-bit part is everything outside the calibrated 8-bit block; at the down-projection input, which has none, the whole input.
2k
8k
Fit sample
ppl
held-out
ppl
held-out
First quarter
11.357
10.587
10.074
9.925
b=256
11.346
10.573
10.035
9.871
b=128
11.321
10.535
10.021
9.833
b=64 (PLoQ)
11.329
10.540
10.032
9.843
b=32
11.326
10.491
10.034
9.796
Table 1: Block size b of the fit sample ( Eq. 5 ), a quarter of the prompt in every row; Llama-3.2-1B, WikiText-2. Held-out: tokens after the first quarter and outside every compared sample.
Figure 4: Activation magnitudes ∣X∣ over tokens and channels (max-pooled to a 128×128 grid) for one WikiText-2 prompt on Llama-3.2-1B, layer 15. From left to right: the original input; after QuaRot’s Hadamard rotation, all at 4 bits; what a calibrated 8-bit block leaves at 4 bits; and what PLoQ leaves at 4 bits after subtracting the prompt’s own 32 leading directions. The last two share one scale. Each title gives the mean per-token range, which sets the token’s 4-bit step. PLoQ narrows the calibrated block’s range by 12% at the attention input and by 47% at the down-projection input, where a few tokens carry very large values; averaged over all 16 layers, by 10% and 27%.
2k
8k
Iterations
ppl
prefill
ppl
prefill
0
11.436 (10.605)
− 0.4
10.148 (9.937)
+0.7
1 (PLoQ)
11.329 (10.540)
+14.2%
10.032 (9.843)
+4.1%
2
11.325 (10.500)
+4.4
10.008 (9.793)
+1.4
Table 2: Power iterations: quality (Llama-3.2-1B, WikiText-2; in parentheses, held-out tokens as in Table 1 ) and prefill overhead (Llama-3.1-8B shapes, RTX 4090, batch 1). For zero and two iterations, the change in overhead relative to one iteration, in percentage points, timed in one run in which every row runs the down-projection fit outside the SwiGLU kernel; for one iteration, the overhead from Table 7 .
Method
Llama-3.2
Llama-3.1
Qwen2.5
Llama-3.1
1B
3B
8B
7B
32B
70B
16-bit
9.761
7.828
6.249
6.850
5.023
2.839
W4KV4A16
10.452
8.114
6.531
8.003
5.198
3.246
QuIK
16.641
10.506
8.356
2.3×104
6.916
7.434
SpinQuant ∗
13.6
9.2
7.4
–
–
6.2
QuaRot
14.464
9.949
7.721
3624 †
5.919
5.302
Table 3: WikiText-2 perplexity at 2k tokens, W4A4KV4. ResQ and PLoQ at equal average activation bits. Rec. = recovered fraction of the 4-bit activation error. ∗ Reported by Saxena et al. (2025) , one decimal; Llama-3 for the 8B and 70B columns; no W4A4KV4 results are published for Qwen2.5, which the released code does not support. † No Hadamard matrix of the FFN width exists ( Saxena et al. (2025) report 4035.9).
Method
Llama-3.2
Llama-3.1-8B
Qwen2.5
Llama-3.1
1B
1B
3B
7B
32B
70B
8k
16k
8k
8k
16k
8k
8k
8k
16-bit
8.652
8.394
6.989
5.614
5.478
6.129
4.469
2.567
W4KV4A16
9.259
8.995
7.244
5.867
5.726
7.386
4.633
2.939
QuIK
14.923
14.769
9.606
7.472
7.282
1.9×104
6.178
6.708
QuaRot
12.700
12.355
8.804
6.905
6.724
– †
5.254
4.774
Table 4: WikiText-2 perplexity at long context, W4A4KV4, as in Table 3 . † QuaRot fails (4266). No long-context results are published for SpinQuant.
Method
Llama-3.2
Llama-3.1
Qwen2.5
Llama-3.1
1B
3B
8B
7B
32B
70B
Commonsense, mean of eight tasks
QuIK
44.7
51.8
57.7
31.5
61.0
58.2 ∗
QuaRot
45.1
53.9
59.2
36.1
62.2
63.2
ResQ
47.9
56.0
60.7
60.6
64.3
65.5
PLoQ
48.2
56.8
61.1
62.0
65.0
67.3
Table 5: Zero-shot accuracy (%): mean of eight commonsense tasks, and MMLU. PLoQ fits on the whole (short) prompt. ∗ Reported by Saxena et al. (2025) under their protocol (full test sets, normalized accuracy on five tasks, 0-shot MMLU; Llama-3 for the 8B and 70B columns; none published for Qwen2.5), where their ResQ scores 50.1, 59.0, 63.9 and 71.1, and 29.4, 49.8, 57.2 and 74.0 on MMLU.
Configuration
2k
8k
Calibrated block, 256 directions at 8 bits
12.005
10.561
224 calibrated only
12.067
10.595
+ rank-32 per-prompt component
11.595
10.275
+ clipping the 4-bit tier
11.357
10.074
+ fit on spaced blocks (PLoQ)
11.329
10.032
Random basis instead of per-prompt
–
10.599
Table 6: Building up PLoQ on Llama-3.2-1B, WikiText-2, equal bits.
Figure 5: Per-prompt rank k at equal bits: 512−k calibrated directions and k per-prompt ones ( k=0 is ResQ), Llama-3.1-8B, WikiText-2 at 8k tokens. Prefill time relative to ResQ (RTX 4090, batch 1); kernels are tuned for k=32 (star) only. Hollow: whole 8-bit block per prompt ( Fig. 1 ).
2k
8k
Prefill
+14.2%
+4.1%
Prefill, fit on 1/8 of the prompt
+14.3%
+2.4%
Decode, per step
+8.1%
+7.9%
Table 7: Overhead of PLoQ over ResQ on its fastest kernels, Llama-3.1-8B shapes, RTX 4090, W4A4 kernels for both, batch 1; median of three runs. Decode: one step after a prefill of the given length.
FP16
ResQ
PLoQ
Weights (GB)
16.06
5.92 (2.7 × )
5.91 (2.7 × )
Per-sequence state, 8k (MB)
1074
336
424
Prefill, 2k (ms)
193.2
68.7 (2.81 × )
78.4 (2.46 × )
Prefill, 8k (ms)
836.2
379.3 (2.20 × )
394.7 (2.12 × )
Decode at 8k (ms/step)
17.66
7.86 (2.25 × )
8.47 (2.08 × )
Prefill, batch 8 (k tokens/s)
10.7
27.2 (2.53 × )
24.3 (2.26 × )
Table 8: Against FP16: Llama-3.1-8B shapes, RTX 4090, CUDA graphs, same attention kernel and K/V cache layout; in parentheses, speedup over FP16. FP16 uses cuBLAS GEMMs with the elementwise operations fused. Weights: all parameters, with the embedding and LM head in 16 bits for all three. Decode at 8k: one step after a prefill of 8k tokens. Batch 8: eight prompts of 2k tokens.
Table 10: Low-rank component on subsets of the layer inputs: accuracy (Llama-3.2-1B, 8k, WikiText-2; ResQ 10.561) and overhead (8B shapes, 8k, batch 1, RTX 4090, median of three; overhead over ResQ). Gain: share of the full method’s improvement. The down-projection fit runs inside the SwiGLU kernel only when the FFN input carries the component, which is why removing the FFN input raises the prefill overhead.
Model
Ctx
ResQ
Per prompt
Calibrated
Shrunk
Llama-3.2-1B
2k
12.005
11.329
11.485
11.353
8k
10.561 (10.100)
10.032 ( 9.628 )
10.112 (9.684)
10.068 (9.679)
16k
10.210 (9.756)
9.754 ( 9.338 )
9.802 (9.391)
9.785 (9.404)
Llama-3.2-3B
2k
8.680
8.451
8.552
8.474
8k
7.731 (7.431)
7.552 ( 7.262 )
7.607 (7.315)
7.567 (7.283)
Llama-3.1-8B
2k
7.093
6.835
6.913
6.861
Appendix
Table 11: The component’s basis on every model, WikiText-2, equal bits, final setting: per prompt (PLoQ), calibrated offline, and shrunk toward the calibrated basis ( Eq. 7 ). Full-sequence perplexity; in parentheses, perplexity on held-out tokens ( Section 5 ). Bold: lowest in each row.
Budget
ResQ
PLoQ
256
10.561
10.032
(224 + 32)
320
10.407
9.952
(256 + 64)
384
10.242
9.843
(256 + 128)
512
10.106
9.731
(256 + 256)
Appendix
Table 12: More bits, Llama-3.2-1B, 8k: ResQ with a larger protected block against its 256 plus PLoQ’s low-rank component of rank 64, 128 or 256; at 256, PLoQ as in the main results (224 + 32).
Model
Method
ARC-c
ARC-e
BoolQ
HellaS.
OBQA
PIQA
SIQA
WinoG.
Mean
MMLU
Llama-3.2-1B
QuIK
27.8
52.2
59.0
40.8
20.0
66.0
37.4
54.6
44.7
28.0
SpinQuant ∗
32.3
51.8
59.3
55.4
30.4
67.7
38.6
54.7
48.8
25.6
QuaRot
25.8
57.2
57.4
42.8
19.6
65.6
39.2
53.6
45.1
27.7
ResQ
28.4
58.2
59.6
44.0
23.6
72.0
40.6
56.6
47.9
28.1
PLoQ
29.6
59.6
55.6
43.4
25.6
72.2
41.4
58.0
48.2
33.7
Llama-3.2-3B
QuIK
34.0
66.2
66.0
45.6
27.4
72.4
43.2
59.4
51.8
39.1
Appendix
Table 13: Zero-shot accuracy per task (%), first 500 examples per task; MMLU: first 25 questions per subject. ∗ Reported by Saxena et al. (2025) under their protocol, not comparable to the other rows: full test sets, normalized accuracy on ARC, HellaSwag, OBQA and PIQA, 0-shot MMLU; Llama-3 for the 8B and 70B rows (QuIK at 70B does not fit in memory in our runs). Bold: best of our own runs for each model.
2k
8k
Prefill
+20.8%
+7.2%
Prefill, fit on 1/8 of the prompt
+19.2%
+4.7%
Decode, per step
+19.2%
+18.4%
Prefill vs FP16
1.89 / 1.56 ×
1.71 / 1.59 ×
Decode vs FP16
1.56 / 1.30 ×
1.57 / 1.33 ×
Appendix
Table 14: PLoQ on an A100, Llama-3.1-8B shapes, batch 1, median of three runs. Top: overhead over ResQ, as in Table 7 . Bottom: speedup over FP16 ( Table 8 ), ResQ / PLoQ.
Low-bit activation quantization remains a major bottleneck in efficient large language model (LLM) deployment. The difficulty is not only that activations contain outliers, but that their distributions are often poorly matched to a low-bit uniform quantizer. Existing post-training quantization (PTQ) methods suppress peaks, balance channels, or minimize reconstruction error, yet they rarely specify what activation distribution is actually easy to discretize. As a result, activations may appear numerically smoother while still incurring large quantization error because the quantization range remains wide or most values collapse into a few levels near the mean. We recast activation transformation as quantizer-facing distribution design and analyze quantization error from an information-theoretic perspective. Our analysis shows that quantization-friendly activations should jointly have a smaller numerical range and sufficient dispersion within that range. Guided by this analysis, we propose InfoQuant, a train-free method that employs Peak Suppression Orthogonal Transformation (PSOT) to shape activations into more quantization-friendly distributions. We further introduce adaptive outlier-token selection to improve the robustness of PSOT during optimization. Across multiple LLM families, InfoQuant consistently outperforms prior PTQ and end-to-end training baselines. Under W4A4KV4, it preserves 97% of floating-point accuracy on average and reduces the LLaMA-2 13B performance gap by 42% over the previous state of the art. Code is available at https://github.com/LLIKKE/InfoQuant
Ke Li, Dong An, Xiaoling Zang +6
School of Software Technology, Zhejiang University · Ant Group · College of Computer Science and Technology, Zhejiang University of Technology +3
Post-training quantization (PTQ) has become an important technique for reducing the inference cost of Large Language Models (LLMs). While recent mixed-precision methods improve ultra-low bit quantization by preserving critical subspaces in high precision, they typically construct these subspaces relying solely on activation statistics. This ignores the fundamental nature of linear operations, where the output perturbation is jointly driven by both activation and weight quantization noise. In this paper, we propose CoQuant, a joint weight-activation subspace projection method. By theoretically modeling the expected output error, CoQuant formulates a closed-form weighted PCA solution that balances activation and weight covariances to select the optimal high-precision subspace. Extensive experiments on Llama-3.2 and Qwen2.5 models show that CoQuant consistently outperforms strong PTQ baselines in both WikiText perplexity and zero-shot common-sense reasoning accuracy. These results demonstrate that joint weight-activation subspace modeling provides a principled and effective direction for low-bit LLM quantization. The source code is available at https://github.com/Zachary5895/CoQuant.
Zhe Ding, Su Pan, Duowei Pan
School of Internet of Things, Nanjing University of Posts and Telecommunications, Nanjing, China · Amazon AGI, Seattle, WA, USA
Post-Training Quantization (PTQ) and Low-Rank Adaptation (LoRA) constitute the standard pipeline for efficient Large Language Model (LLM) deployment. However, applying them sequentially poses a problem: PTQ often leaves behind random noise that is spread out (across the model's weights) in a way LoRA can't easily fix, meaning that LoRA ends up wasting its limited capacity trying to fix uncorrectable noise instead of improving task performance. In this paper, we propose ProjQ, a novel framework for constraining quantization noise to the low-rank manifold via orthogonal subspace projection. We derive an efficient alternating algorithm that shapes the quantization noise into a low-rank structure, effectively offloading dominant error components to the subsequent adapter while minimizing the residual error in the orthogonal "uncorrectable" subspace. Our theoretical analysis demonstrates that ProjQ preserves strictly greater model plasticity for downstream tasks compared to standard PTQ. Extensive experiments on LLaMA-2, Qwen2.5 and Qwen3 confirm that ProjQ consistently outperforms existing methods in both quantization error compensation and downstream task fine-tuning, achieving up to 2× lower evaluation loss for compensation and matching the performance of standard 4-bit baselines on language modeling tasks with only 3 bits. The code is available on https://github.com/yy9301/ProjQ .
Wenya Yu, Chao Zhang, Li Wang +2
School of Mathematics and Statistics, Central South University, Changsha, China · Department of Computer Science, Central South University, Changsha, China · CRAN, Université de Lorraine, CNRS, Nancy, France +1