potentialpaper

CarryKV: Logarithmic Branch Routing for Sparse Attention with Additive States on a Carry Forest

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:03 UTC · d643aeb88e1b ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "OQH6sJ4sN8"
- }
- ],
- "title": "CarryKV: Logarithmic Branch Routing for Sparse Attention with Additive States on a Carry Forest",
- "authors": [],
- "abstract": "Efficient hierarchical sparse attention requires identifying useful regions\nwithout scanning the full history. We introduce CarryKV, a training-free\nretriever with compact, mergeable branch summaries. Each branch partitions\npost-RoPE keys into cells storing counts and key sums; weighted log-sum-exp\nover cell means estimates attention mass. States merge additively in a\npersistent hierarchy, and final attention uses original K/V selected at\nthe leaves. We cast HiP's implicit interval pruning and CarryKV's\npersistent hierarchy in a common bounded-refinement framework, exposing\nhow branch information determines pruning quality. Multi-cell summaries\nweakly improve the one-sided mass estimate over a single mean, and lower\nresiduals strengthen a same-frontier retained-mass guarantee. The remaining\nresidual has a reverse-KL interpretation; a merge decomposition separates\ninherited residual from new readout error. Controlled branch experiments\nmeasure the resulting mass estimates and pruning decisions across scales.\nOn Qwen3-8B at native 32K,\nCarryKV improves RULER by 13.37 points over HiP and\n6.80 over InfiniteHiP. On Qwen3-1.7B, it outperforms\nInfiniteHiP on RULER and PG19 from 4K to 128K. At fixed budgets, routing\nrequires $O(\\log N)$ work per query block and sparse-prefill retrieval\nrequires $O(N\\log N)$ work over a length-$N$ context.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "303e6943-3c43-4fec-b507-bf286bdedaa1"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "CarryKV: Logarithmic Branch Routing for Sparse Attention with Additive States on a Carry Forest",
+ "authors": [],
+ "abstract": "Efficient hierarchical sparse attention requires identifying useful regions\nwithout scanning the full history. We introduce CarryKV, a training-free\nretriever with compact, mergeable branch summaries. Each branch partitions\npost-RoPE keys into cells storing counts and key sums; weighted log-sum-exp\nover cell means estimates attention mass. States merge additively in a\npersistent hierarchy, and final attention uses original K/V selected at\nthe leaves. We cast HiP's implicit interval pruning and CarryKV's\npersistent hierarchy in a common bounded-refinement framework, exposing\nhow branch information determines pruning quality. Multi-cell summaries\nweakly improve the one-sided mass estimate over a single mean, and lower\nresiduals strengthen a same-frontier retained-mass guarantee. The remaining\nresidual has a reverse-KL interpretation; a merge decomposition separates\ninherited residual from new readout error. Controlled branch experiments\nmeasure the resulting mass estimates and pruning decisions across scales.\nOn Qwen3-8B at native 32K,\nCarryKV improves RULER by 13.37 points over HiP and\n6.80 over InfiniteHiP. On Qwen3-1.7B, it outperforms\nInfiniteHiP on RULER and PG19 from 4K to 128K. At fixed budgets, routing\nrequires $O(\\log N)$ work per query block and sparse-prefill retrieval\nrequires $O(N\\log N)$ work over a length-$N$ context.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}