potentialpaper

Exact Finite-Query KV Cache Compilation

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:59 UTC · d89b748cb054 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "OQhOBMNVeN"
- }
- ],
- "title": "Exact Finite-Query KV Cache Compilation",
- "authors": [],
- "abstract": "Query-aware key value (KV) cache compression fits a chosen slot count to\nreference queries, but a successful fit cannot show that fewer slots would\nfail. We characterize the number of shared KV slots needed to preserve the\nnormalized attention outputs of a finite protected query set exactly.\nA ratio identity maps each query to a ray of feasible replacement values.\nWith query-specific positive weights, the minimum count is one plus the\nsmallest dimension of an affine subspace meeting all rays. Two queries can\nalready rule out one slot. For grouped query attention (GQA) with $g$ query\nheads per KV head, protecting $t$ positions requires $\\min(k,tg)$ slots\nfor $k$ entries under explicit rank and key-realizability conditions.\nAll 431,256 evaluated KV-head configurations satisfy the conditional law.\nWith full query rank and realizable weights, a related construction represents\nan entire prefix by $Tg$ standard KV slots per head for a known\n$T$-step trace. Across four models, native\n32-bit floating-point (FP32) execution preserves every protected token through\neight steps, removing 89.31\\% to 96.95\\% of same-dtype KV tensor bytes on\n524-slot prefixes. The results separate fitting a cache from certifying its\ncapacity within the shared KV representation.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "afe539d6-c293-4b87-8357-e3eb15dd2d28"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Exact Finite-Query KV Cache Compilation",
+ "authors": [],
+ "abstract": "Query-aware key value (KV) cache compression fits a chosen slot count to\nreference queries, but a successful fit cannot show that fewer slots would\nfail. We characterize the number of shared KV slots needed to preserve the\nnormalized attention outputs of a finite protected query set exactly.\nA ratio identity maps each query to a ray of feasible replacement values.\nWith query-specific positive weights, the minimum count is one plus the\nsmallest dimension of an affine subspace meeting all rays. Two queries can\nalready rule out one slot. For grouped query attention (GQA) with $g$ query\nheads per KV head, protecting $t$ positions requires $\\min(k,tg)$ slots\nfor $k$ entries under explicit rank and key-realizability conditions.\nAll 431,256 evaluated KV-head configurations satisfy the conditional law.\nWith full query rank and realizable weights, a related construction represents\nan entire prefix by $Tg$ standard KV slots per head for a known\n$T$-step trace. Across four models, native\n32-bit floating-point (FP32) execution preserves every protected token through\neight steps, removing 89.31\\% to 96.95\\% of same-dtype KV tensor bytes on\n524-slot prefixes. The results separate fitting a cache from certifying its\ncapacity within the shared KV representation.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}