When is prefix KV reuse compatible with sparse prefill?
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:14 UTC · 2d1c390ce1e3 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "BTGpOZ0Kar"- }- ],- "title": "When is prefix KV reuse compatible with sparse prefill?",- "authors": [],- "abstract": "In sparse prefill with input-dependent attention selection, a prefix cache can depend on tokens outside that prefix. A selector may use later queries to choose the prefix's attention connections, even though the retained attention connections remain causal. We investigate when this dependence affects prefix key/value (KV) reuse in a reference implementation. Across 80 constructed document tasks, switching cache donors changed generated outputs in 11 tasks under sparse attention and 2 under dense attention. In a separate intervention, we tested 4 input pairs with identical prefixes and matched execution shapes. Dynamic routing produced different prefix KV states within each pair. These differences disappeared when the inputs shared attention connections while independently recomputing their own Q/K/V. We derive sufficient conditions for cache reuse to preserve the mathematical result. With matched deterministic execution and cache representation, these conditions also ensure that reuse and recomputation produce identical floating-point representations. On the task set, restricting reuse to complete prefill-call boundaries yielded 72 nonempty cache hits with unchanged reference outputs. Our results provide a diagnostic protocol and a conditional rule for recovering reference outputs during prefix-cache reuse.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "d484772e-9949-47a6-854e-5eda9f51123a"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "When is prefix KV reuse compatible with sparse prefill?",+ "authors": [],+ "abstract": "In sparse prefill with input-dependent attention selection, a prefix cache can depend on tokens outside that prefix. A selector may use later queries to choose the prefix's attention connections, even though the retained attention connections remain causal. We investigate when this dependence affects prefix key/value (KV) reuse in a reference implementation. Across 80 constructed document tasks, switching cache donors changed generated outputs in 11 tasks under sparse attention and 2 under dense attention. In a separate intervention, we tested 4 input pairs with identical prefixes and matched execution shapes. Dynamic routing produced different prefix KV states within each pair. These differences disappeared when the inputs shared attention connections while independently recomputing their own Q/K/V. We derive sufficient conditions for cache reuse to preserve the mathematical result. With matched deterministic execution and cache representation, these conditions also ensure that reuse and recomputation produce identical floating-point representations. On the task set, restricting reuse to complete prefill-call boundaries yielded 72 nonempty cache hits with unchanged reference outputs. Our results provide a diagnostic protocol and a conditional rule for recovering reference outputs during prefix-cache reuse.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}