potentialpaper

BudgetKV: Pre-Attention KV Retention with Resident Input Embeddings

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:32 UTC · f07bdcb8f33c ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "82dkUjRn7Q"
- }
- ],
- "title": "BudgetKV: Pre-Attention KV Retention with Resident Input Embeddings",
- "authors": [],
- "abstract": "Long-context inference on memory-constrained devices must preserve nonlocal evidence while the key--value (KV) cache grows throughout prompt prefill. A request can therefore exceed available memory even when the model weights and intended final cache fit. Block-wise prefill can bound persistent state, but retention policies may still require contextual attention profiles, patched-prompt forwards, or auxiliary semantic encoders before deciding what matters. We introduce BudgetKV, a training-free method for requests whose task query is known before shared-context prefill. BudgetKV scores prompt tokens against the target model's resident input embeddings before contextual attention statistics are available, then refines a frozen lexical anchor through guarded equal-size block exchanges. This reuse of model parameters provides a query-conditioned pre-attention signal without another Transformer forward or learned encoder; under protected-block feasibility, persistent-KV token residency is at most B after selection and B+p between selections. On a frozen 400-document LongBench study, resident-embedding refinement yields a statistically supported +6.81-point gain for Qwen3-1.7B at B=1024, while the other tested model--budget cells remain inconclusive after adjustment. At 32K, the largest observed advantage is on needle retrieval rather than reasoning. On an 8GB Jetson, BudgetKV completes all six tested 8K requests at both budgets, whereas Full KV completes two; relative to successful Full-KV runs, persistent-KV footprint falls by 85.9--92.2\\%. These results support resident input embeddings as a useful pre-attention signal when contextual profiling is constrained by prefill memory, but benefits remain model- and task-dependent and scheduling adds overhead.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "9bec11a1-ebeb-4c81-b8ce-51932a6a7141"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "BudgetKV: Pre-Attention KV Retention with Resident Input Embeddings",
+ "authors": [],
+ "abstract": "Long-context inference on memory-constrained devices must preserve nonlocal evidence while the key--value (KV) cache grows throughout prompt prefill. A request can therefore exceed available memory even when the model weights and intended final cache fit. Block-wise prefill can bound persistent state, but retention policies may still require contextual attention profiles, patched-prompt forwards, or auxiliary semantic encoders before deciding what matters. We introduce BudgetKV, a training-free method for requests whose task query is known before shared-context prefill. BudgetKV scores prompt tokens against the target model's resident input embeddings before contextual attention statistics are available, then refines a frozen lexical anchor through guarded equal-size block exchanges. This reuse of model parameters provides a query-conditioned pre-attention signal without another Transformer forward or learned encoder; under protected-block feasibility, persistent-KV token residency is at most B after selection and B+p between selections. On a frozen 400-document LongBench study, resident-embedding refinement yields a statistically supported +6.81-point gain for Qwen3-1.7B at B=1024, while the other tested model--budget cells remain inconclusive after adjustment. At 32K, the largest observed advantage is on needle retrieval rather than reasoning. On an 8GB Jetson, BudgetKV completes all six tested 8K requests at both budgets, whereas Full KV completes two; relative to successful Full-KV runs, persistent-KV footprint falls by 85.9--92.2\\%. These results support resident input embeddings as a useful pre-attention signal when contextual profiling is constrained by prefill memory, but benefits remain model- and task-dependent and scheduling adds overhead.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}