potentialpaper

PatternKV: Flattening KV Representation Expands Quantization Headroom

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:46 UTC · 6b7666ba0159 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,31 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "mzLJ1XVNNj"
- }
- ],
- "title": "PatternKV: Flattening KV Representation Expands Quantization Headroom",
- "authors": [
- "Ji Zhang",
- "Yiwei Li",
- "Shaoxiong Feng",
- "Peiwen Yuan",
- "Xinglin Wang",
- "Yueqi Zhang",
- "Jiayi Shi",
- "Chuyi Tan",
- "Boyuan Pan",
- "Yao Hu",
- "Kan Li"
- ],
- "abstract": "KV cache in autoregressive LLMs eliminates redundant recomputation but has emerged as the dominant memory and bandwidth bottleneck during inference, notably with long contexts and test-time scaling.\nKV quantization is a key lever for reducing cache cost, but accuracy drops sharply as the native KV distribution lacks flatness and thus maintains a wide quantization range. \nPrior work focuses on isolating outliers, which caps their error but fails to flatten the overall distribution, leaving performance fragile under low-bit settings.\nIn this work, we show that the K cache maintains a stable structure that evolves gradually with context, while the V cache carries latent semantic regularities. Building on these insights, we propose **PatternKV**, a pattern-aligned residual quantization scheme. It mines representative pattern vectors online, aligns each KV vector to its nearest pattern, and quantizes only the residual. This reshaping of the KV distribution flattens the quantization target and narrows its range, thereby improving the fidelity of low-bit KV quantization.\nAcross long-context and test-time scaling settings on multiple backbones, PatternKV delivers consistent 2-bit gains, with a 0.08\\% average 4-bit drop relative to FP16, improves test-time scaling accuracy by 10\\% on average, and raises throughput by 1.4× while supporting 1.25× larger batches.",
- "year": 2026,
- "venue": "ICLR 2026 submission",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "c9fdd102-1bc1-4f55-9385-2efdf8f7a723"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,21 @@
+{
+ "title": "PatternKV: Flattening KV Representation Expands Quantization Headroom",
+ "authors": [
+ "Ji Zhang",
+ "Yiwei Li",
+ "Shaoxiong Feng",
+ "Peiwen Yuan",
+ "Xinglin Wang",
+ "Yueqi Zhang",
+ "Jiayi Shi",
+ "Chuyi Tan",
+ "Boyuan Pan",
+ "Yao Hu",
+ "Kan Li"
+ ],
+ "abstract": "KV cache in autoregressive LLMs eliminates redundant recomputation but has emerged as the dominant memory and bandwidth bottleneck during inference, notably with long contexts and test-time scaling.\nKV quantization is a key lever for reducing cache cost, but accuracy drops sharply as the native KV distribution lacks flatness and thus maintains a wide quantization range. \nPrior work focuses on isolating outliers, which caps their error but fails to flatten the overall distribution, leaving performance fragile under low-bit settings.\nIn this work, we show that the K cache maintains a stable structure that evolves gradually with context, while the V cache carries latent semantic regularities. Building on these insights, we propose **PatternKV**, a pattern-aligned residual quantization scheme. It mines representative pattern vectors online, aligns each KV vector to its nearest pattern, and quantizes only the residual. This reshaping of the KV distribution flattens the quantization target and narrows its range, thereby improving the fidelity of low-bit KV quantization.\nAcross long-context and test-time scaling settings on multiple backbones, PatternKV delivers consistent 2-bit gains, with a 0.08\\% average 4-bit drop relative to FP16, improves test-time scaling accuracy by 10\\% on average, and raises throughput by 1.4× while supporting 1.25× larger batches.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}