Sparser Block-Sparse Attention via Token Permutation
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:46 UTC · 20ad0c7fc3c1 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,30 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "wTZt07hzZf"- }- ],- "title": "Sparser Block-Sparse Attention via Token Permutation",- "authors": [- "Xinghao Wang",- "Pengyu Wang",- "Dong Zhang",- "Chenkun Tan",- "Shaojun Zhou",- "Zhaoxiang Liu",- "Shiguo Lian",- "Fangxu Liu",- "Kai Song",- "Xipeng Qiu"- ],- "abstract": "Scaling the context length of large language models (LLMs) offers significant benefits but is computationally expensive.\nThis expense stems primarily from the self-attention mechanism, whose $O(N^2)$ complexity with respect to sequence length presents a major bottleneck for both memory and latency.\nFortunately, the attention matrix is often sparse, particularly for long sequences, suggesting an opportunity for optimization.\nBlock-sparse attention has emerged as a promising solution that partitions sequences into blocks and skips computation for a subset of these blocks.\nHowever, the effectiveness of this method is highly dependent on the underlying attention patterns, which can lead to sub-optimal block-level sparsity.\nFor instance, important key tokens for queries within a single block may be scattered across numerous other blocks, leading to computational redundancy.\nIn this work, we propose Permuted Block-Sparse Attention (\\textbf{PBS-Attn}), a plug-and-play method that leverages the permutation properties of attention to increase block-level sparsity and enhance the computational efficiency of LLM prefilling.\nWe conduct comprehensive experiments on challenging long-context datasets, demonstrating that PBS-Attn consistently outperforms existing block-sparse attention methods in model accuracy and closely matches the full attention baseline.\nPowered by our custom permuted-FlashAttention kernels, PBS-Attn achieves an end-to-end speedup of up to $2.75\\times$ in long-context prefilling, confirming its practical viability.\nCode will be released after the reviewing period.",- "year": 2026,- "venue": "ICLR 2026 submission",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "23e055a8-fdc6-444c-8476-33568228ae70"}
paper.json added
+++ b/paper.json@@ -0,0 +1,20 @@+{+ "title": "Sparser Block-Sparse Attention via Token Permutation",+ "authors": [+ "Xinghao Wang",+ "Pengyu Wang",+ "Dong Zhang",+ "Chenkun Tan",+ "Shaojun Zhou",+ "Zhaoxiang Liu",+ "Shiguo Lian",+ "Fangxu Liu",+ "Kai Song",+ "Xipeng Qiu"+ ],+ "abstract": "Scaling the context length of large language models (LLMs) offers significant benefits but is computationally expensive.\nThis expense stems primarily from the self-attention mechanism, whose $O(N^2)$ complexity with respect to sequence length presents a major bottleneck for both memory and latency.\nFortunately, the attention matrix is often sparse, particularly for long sequences, suggesting an opportunity for optimization.\nBlock-sparse attention has emerged as a promising solution that partitions sequences into blocks and skips computation for a subset of these blocks.\nHowever, the effectiveness of this method is highly dependent on the underlying attention patterns, which can lead to sub-optimal block-level sparsity.\nFor instance, important key tokens for queries within a single block may be scattered across numerous other blocks, leading to computational redundancy.\nIn this work, we propose Permuted Block-Sparse Attention (\\textbf{PBS-Attn}), a plug-and-play method that leverages the permutation properties of attention to increase block-level sparsity and enhance the computational efficiency of LLM prefilling.\nWe conduct comprehensive experiments on challenging long-context datasets, demonstrating that PBS-Attn consistently outperforms existing block-sparse attention methods in model accuracy and closely matches the full attention baseline.\nPowered by our custom permuted-FlashAttention kernels, PBS-Attn achieves an end-to-end speedup of up to $2.75\\times$ in long-context prefilling, confirming its practical viability.\nCode will be released after the reviewing period.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}