Dynamic Mask Attention: Trainable Sparse Attention with Fused Block Screening
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:56 UTC · 94c7876dbd7b ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "zraqHQNItR"- }- ],- "title": "Dynamic Mask Attention: Trainable Sparse Attention with Fused Block Screening",- "authors": [],- "abstract": "Dynamic sparse attention must keep selection overhead low to translate sparsity into GPU speedups. We introduce Dynamic Mask Attention (DMA), an algorithm--systems co-design that fuses learned block screening into IO-aware attention kernels. DMA uses a rank-1 query-key gate to derive cheap blockwise bounds on gate scores, reducing memory traffic and bypassing QK score computation and post-score operations on skipped tiles. This screening is integrated into forward, backward, and decoding kernels without materializing a dense routing matrix. The same gate modulates retained attention logits and is trained through the language-modeling objective. Across models ranging from 80M to 8B parameters, DMA improves the quality-efficiency trade-off in pre-training, long-context evaluation, and sparse adaptation, while maintaining quality comparable to full attention. On Qwen3-8B, DMA achieves an average score of 64.26 versus 62.50 for Full Attention across RULER-128K, LongBench, and benchmarks of reasoning, coding, and knowledge. It also delivers approximately 1.2$\\times$ the end-to-end prefill and decode serving throughput of Full Attention under an 8K-input/24K-output workload.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "f14e156d-bc08-4445-b359-7083e4dbd2ae"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Dynamic Mask Attention: Trainable Sparse Attention with Fused Block Screening",+ "authors": [],+ "abstract": "Dynamic sparse attention must keep selection overhead low to translate sparsity into GPU speedups. We introduce Dynamic Mask Attention (DMA), an algorithm--systems co-design that fuses learned block screening into IO-aware attention kernels. DMA uses a rank-1 query-key gate to derive cheap blockwise bounds on gate scores, reducing memory traffic and bypassing QK score computation and post-score operations on skipped tiles. This screening is integrated into forward, backward, and decoding kernels without materializing a dense routing matrix. The same gate modulates retained attention logits and is trained through the language-modeling objective. Across models ranging from 80M to 8B parameters, DMA improves the quality-efficiency trade-off in pre-training, long-context evaluation, and sparse adaptation, while maintaining quality comparable to full attention. On Qwen3-8B, DMA achieves an average score of 64.26 versus 62.50 for Full Attention across RULER-128K, LongBench, and benchmarks of reasoning, coding, and knowledge. It also delivers approximately 1.2$\\times$ the end-to-end prefill and decode serving throughput of Full Attention under an 8K-input/24K-output workload.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}