Certified Best-First Sparse Attention: Provable Early Termination via Admissible Block Bounds
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:30 UTC · 51b8c6eba9c8 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "XGIZanh6cz"- }- ],- "title": "Certified Best-First Sparse Attention: Provable Early Termination via Admissible Block Bounds",- "authors": [],- "abstract": "Sparse attention makes long-context decoding affordable, but most methods\nsilently discard KV blocks: they do not report how much attention mass was\ndropped. Fixed-budget selectors commit to a budget independently of the\nquery, dynamic heuristics adapt but provide no bound, and probabilistic\nverifiers offer only high-probability guarantees at a fixed configuration\nbudget. We recast sparse attention as best-first search with provable early\ntermination. BNB-Attention reads KV blocks in decreasing order of an\nadmissible upper bound on the attention scores inside each block, and stops\nonce the unread blocks can contain at most an $\\varepsilon$ fraction of the\nattention mass accumulated so far. This yields a deterministic, per-query,\nper-head certificate bounding the output error relative to dense attention;\nin the worst case, the method falls back to dense attention. The practicality\nof the certificate hinges on bound tightness: on real activations, min/max\nand ball bounds are 22-24 nats loose, forcing near-dense visits, whereas\nper-block quantized bounds with explicit rounding radii are roughly\n$80\\times$ tighter, making certified early termination viable. Across more\nthan 19 million evaluations on seven checkpoints from four base model\nfamilies, we observe zero certificate violations. At\n$\\varepsilon = 10^{-2}$, BNB-Attention matches dense performance on\nRULER32K-HARD using only 3.1\\% KV density, remains within sampling noise of\ndense on AIME 2024 where certificate-free SnapKV collapses, and matches the\nstrongest probabilistic verifier on its own LongBench protocol at roughly\none-third the KV budget. It also achieves ${\\sim}2.7\\times$ attention-kernel\nspeedup over FlashAttention at 128K context under the quality-verified\nsetting $\\varepsilon = 10^{-2}$.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "dff33215-ca15-4f60-a6d3-6c2b78c3548e"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Certified Best-First Sparse Attention: Provable Early Termination via Admissible Block Bounds",+ "authors": [],+ "abstract": "Sparse attention makes long-context decoding affordable, but most methods\nsilently discard KV blocks: they do not report how much attention mass was\ndropped. Fixed-budget selectors commit to a budget independently of the\nquery, dynamic heuristics adapt but provide no bound, and probabilistic\nverifiers offer only high-probability guarantees at a fixed configuration\nbudget. We recast sparse attention as best-first search with provable early\ntermination. BNB-Attention reads KV blocks in decreasing order of an\nadmissible upper bound on the attention scores inside each block, and stops\nonce the unread blocks can contain at most an $\\varepsilon$ fraction of the\nattention mass accumulated so far. This yields a deterministic, per-query,\nper-head certificate bounding the output error relative to dense attention;\nin the worst case, the method falls back to dense attention. The practicality\nof the certificate hinges on bound tightness: on real activations, min/max\nand ball bounds are 22-24 nats loose, forcing near-dense visits, whereas\nper-block quantized bounds with explicit rounding radii are roughly\n$80\\times$ tighter, making certified early termination viable. Across more\nthan 19 million evaluations on seven checkpoints from four base model\nfamilies, we observe zero certificate violations. At\n$\\varepsilon = 10^{-2}$, BNB-Attention matches dense performance on\nRULER32K-HARD using only 3.1\\% KV density, remains within sampling noise of\ndense on AIME 2024 where certificate-free SnapKV collapses, and matches the\nstrongest probabilistic verifier on its own LongBench protocol at roughly\none-third the KV budget. It also achieves ${\\sim}2.7\\times$ attention-kernel\nspeedup over FlashAttention at 128K context under the quality-verified\nsetting $\\varepsilon = 10^{-2}$.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}