potentialpaper

Certified Best-First Sparse Attention: Provable Early Termination via Admissible Block Bounds

Name the authors, now that its review has ended

potentialpaper · 2026-11-24 18:34 UTC · c029b49467ab ·

paper.json modified

+++ b/paper.json
@@ -1,7 +1,9 @@
{
"title": "Certified Best-First Sparse Attention: Provable Early Termination via Admissible Block Bounds",
- "authors": [],
+ "authors": [
+ "Narupol Hongthai"
+ ],
"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"