Dual-QK: Sharp Queries and Flat Keys for Prunable 2-bit KV Caches
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:04 UTC · 7a4eb6541f57 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "wrC04D13fL"- }- ],- "title": "Dual-QK: Sharp Queries and Flat Keys for Prunable 2-bit KV Caches",- "authors": [],- "abstract": "Long inputs and extended generation increase the storage and access costs of the key--value (KV) cache. Low-bit quantization reduces\nstorage and memory traffic, while query-channel pruning can further reduce key-cache reads. Rotation-based quantization redistributes\nthe energy of key outliers across channels. To maintain computational invariance, the same orthogonal transform must be applied to queries, preserving query--key dot products. However, this rotation can disperse query energy, weakening the separation between a few large components to retain and many small ones to prune. We introduce Dual-QK, which uses paired non-orthogonal query and key transforms to address this conflict. Using calibrated query and key statistics, Dual-QK combines partial key whitening with a query-aligned basis to balance key scales for INT2 quantization and concentrate query energy for dynamic channel pruning. Channel-0 protection and bucket-relative RoPE support low-bit accuracy over long contexts. Experiments on four models across five generative benchmarks and long-context retrieval tasks show improved accuracy over OSCAR on most tasks at 40\\% query-channel sparsity. At a 128K context, Dual-QK provides $6.8\\times$ KV-cache compression and an estimated $8.3\\times$ reduction in KV read volume relative to unpruned BF16. Under the evaluated configurations, our SGLang implementation achieves up to $3.75\\times$ the decoding throughput of unpruned BF16.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "90e226dd-c1e2-4333-8b87-7de9afa8c32b"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Dual-QK: Sharp Queries and Flat Keys for Prunable 2-bit KV Caches",+ "authors": [],+ "abstract": "Long inputs and extended generation increase the storage and access costs of the key--value (KV) cache. Low-bit quantization reduces\nstorage and memory traffic, while query-channel pruning can further reduce key-cache reads. Rotation-based quantization redistributes\nthe energy of key outliers across channels. To maintain computational invariance, the same orthogonal transform must be applied to queries, preserving query--key dot products. However, this rotation can disperse query energy, weakening the separation between a few large components to retain and many small ones to prune. We introduce Dual-QK, which uses paired non-orthogonal query and key transforms to address this conflict. Using calibrated query and key statistics, Dual-QK combines partial key whitening with a query-aligned basis to balance key scales for INT2 quantization and concentrate query energy for dynamic channel pruning. Channel-0 protection and bucket-relative RoPE support low-bit accuracy over long contexts. Experiments on four models across five generative benchmarks and long-context retrieval tasks show improved accuracy over OSCAR on most tasks at 40\\% query-channel sparsity. At a 128K context, Dual-QK provides $6.8\\times$ KV-cache compression and an estimated $8.3\\times$ reduction in KV read volume relative to unpruned BF16. Under the evaluated configurations, our SGLang implementation achieves up to $3.75\\times$ the decoding throughput of unpruned BF16.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}