potentialpaper

HATS: Efficient Threshold-based Sparse Attention via History-Guided Block Traversal

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:13 UTC · 7c21e1a9488d ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "yuOdJqxwqj"
- }
- ],
- "title": "HATS: Efficient Threshold-based Sparse Attention via History-Guided Block Traversal",
- "authors": [],
- "abstract": "Long-context decoding is bottlenecked by repeated access to an ever-growing KV cache. While sparse attention can skip insignificant KV blocks, inexpensive history-based selection is query-agnostic, whereas query-aware selection incurs additional computational overhead. An alternative is to make skip decisions during KV-block traversal, where a threshold determines whether to skip value-side computation right after computing a block's attention score.\nHowever, we observe that the achieved sparsity depends not only on the threshold but also on the traversal order: visiting low-scoring blocks before high-scoring ones can retain blocks that would otherwise be skipped,\ncreating a traversal-induced sparsity gap. To close this gap, we propose HATS (History-guided\nAttention with Thresholded Skipping).\nHATS uses blocks that scored highly at the previous decoding step to guide traversal for the current token, thereby increasing the likelihood of visiting high-scoring blocks as early as possible.\nHistory only guides the order of block traversal, while value skipping remains determined by the newly computed current token score and a preset threshold. We prove that, for a given current token\nand fixed threshold, visiting the globally highest-scoring block first\nmaximizes the attainable sparsity, thereby defining an oracle upper bound on\nsparsity over the set of all traversal orders.\nExperiments show that HATS closes 98.6--99.5\\% of the sparsity gap to the oracle, delivering a 1.98$\\times$ speedup for the decode-attention kernel at 92.4\\% sparsity and a 1.26$\\times$ decode-throughput speedup at 88.2\\% sparsity.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "fafe58ca-397c-4e8a-b1e2-4bb2f0c43866"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "HATS: Efficient Threshold-based Sparse Attention via History-Guided Block Traversal",
+ "authors": [],
+ "abstract": "Long-context decoding is bottlenecked by repeated access to an ever-growing KV cache. While sparse attention can skip insignificant KV blocks, inexpensive history-based selection is query-agnostic, whereas query-aware selection incurs additional computational overhead. An alternative is to make skip decisions during KV-block traversal, where a threshold determines whether to skip value-side computation right after computing a block's attention score.\nHowever, we observe that the achieved sparsity depends not only on the threshold but also on the traversal order: visiting low-scoring blocks before high-scoring ones can retain blocks that would otherwise be skipped,\ncreating a traversal-induced sparsity gap. To close this gap, we propose HATS (History-guided\nAttention with Thresholded Skipping).\nHATS uses blocks that scored highly at the previous decoding step to guide traversal for the current token, thereby increasing the likelihood of visiting high-scoring blocks as early as possible.\nHistory only guides the order of block traversal, while value skipping remains determined by the newly computed current token score and a preset threshold. We prove that, for a given current token\nand fixed threshold, visiting the globally highest-scoring block first\nmaximizes the attainable sparsity, thereby defining an oracle upper bound on\nsparsity over the set of all traversal orders.\nExperiments show that HATS closes 98.6--99.5\\% of the sparsity gap to the oracle, delivering a 1.98$\\times$ speedup for the decode-attention kernel at 92.4\\% sparsity and a 1.26$\\times$ decode-throughput speedup at 88.2\\% sparsity.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}