potentialpaper

QKSieve: Query-Key Balanced Mixed-Bit Retrieval for Efficient Long-Context Attention

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:04 UTC · 19838e461cf4 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "ihD01i4wdi"
- }
- ],
- "title": "QKSieve: Query-Key Balanced Mixed-Bit Retrieval for Efficient Long-Context Attention",
- "authors": [],
- "abstract": "Autoregressive decoding repeatedly scans the complete key-value (KV) history. Query-aware sparse attention helps only when selection is cheaper than dense QK scoring and faithful to joint Query-Key geometry. We present QKSieve, a training-free, GPU-resident exact-KV retrieval method. Request-local Query and Key second moments define biorthogonal coordinates that preserve every unquantized dot product and order dimensions by joint score energy. A per-layer, per-head allocator assigns 0/1/2/4/8 bits to eight 16-D bands under a 240-bit token/head budget by minimizing a separable logit-MSE surrogate. The packed index targets B(N) = min{N, 1280, max(256, ceil(0.06N))} positions, after which the original 16-bit K/V receive exact sparse attention. No learned router, exact-QK reranking, task rule, or dense fallback is used.\n\nQKSieve-Robust adds a current-Query rank-16 INT4 estimate of the omitted softmax partition and Value numerator, bringing total auxiliary storage to 7.47%. On complete LongBench, Robust retains 99.98%, 99.73%, and 100.00% of Full macro score on Llama-3.1-8B, Qwen3-4B, and Mistral-7B while targeting 6.85-7.43% of history. Across 13 RULER tasks from 4K to 128K, it retains 100.33% on average with 4.97% measured active attention. In a controlled native-MHA RTX 3090 implementation, the complete Robust attention path is 2.09-4.12x faster at 32K-128K, and real steady decode is 1.32-3.98x faster. We separately report index construction and persistent-cache break-even rather than hiding fixed cost in steady-state timing. Analysis connects representation error to ranking margins, omitted probability mass, and attention-output error.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "d2f0cb39-bf30-4e18-ad46-bbd18185eac5"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "QKSieve: Query-Key Balanced Mixed-Bit Retrieval for Efficient Long-Context Attention",
+ "authors": [],
+ "abstract": "Autoregressive decoding repeatedly scans the complete key-value (KV) history. Query-aware sparse attention helps only when selection is cheaper than dense QK scoring and faithful to joint Query-Key geometry. We present QKSieve, a training-free, GPU-resident exact-KV retrieval method. Request-local Query and Key second moments define biorthogonal coordinates that preserve every unquantized dot product and order dimensions by joint score energy. A per-layer, per-head allocator assigns 0/1/2/4/8 bits to eight 16-D bands under a 240-bit token/head budget by minimizing a separable logit-MSE surrogate. The packed index targets B(N) = min{N, 1280, max(256, ceil(0.06N))} positions, after which the original 16-bit K/V receive exact sparse attention. No learned router, exact-QK reranking, task rule, or dense fallback is used.\n\nQKSieve-Robust adds a current-Query rank-16 INT4 estimate of the omitted softmax partition and Value numerator, bringing total auxiliary storage to 7.47%. On complete LongBench, Robust retains 99.98%, 99.73%, and 100.00% of Full macro score on Llama-3.1-8B, Qwen3-4B, and Mistral-7B while targeting 6.85-7.43% of history. Across 13 RULER tasks from 4K to 128K, it retains 100.33% on average with 4.97% measured active attention. In a controlled native-MHA RTX 3090 implementation, the complete Robust attention path is 2.09-4.12x faster at 32K-128K, and real steady decode is 1.32-3.98x faster. We separately report index construction and persistent-cache break-even rather than hiding fixed cost in steady-state timing. Analysis connects representation error to ranking margins, omitted probability mass, and attention-output error.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}