arXiv cs.CL· Zhichen Zeng, Xichong Zhang, Junpan Wu, Yifei Zuo, Chi-Chih Chang, Jiayi Wang, Maohua Nie, Ji Liu, Ang Li, Banghua Zhu·· 11 小时前AI 评分31
Step-dLLM:面向扩散 LLM 高效推理的自适应步感知稀疏注意力
Step-dLLM: Adaptive Step-aware Sparse Attention for Efficient Diffusion LLM Inference
AI 导读
Step-dLLM 通过沿去噪轨迹在锚点步周期性刷新块稀疏掩码、并采用头自适应全局预算,解决扩散大语言模型双向注意力无法复用 KV 缓存的问题。
正文 · 原文
Abstract:Diffusion large language models (dLLMs) generate tokens in parallel via iterative denoising, but their bidirectional attention prevents the KV caching used by autoregressive models and recomputes the full attention map at every step, incurring quadratic per-step cost. Existing sparse attention methods for dLLMs construct a sparse mask after an initial full-attention warm-up and reuse it for the remaining steps, while allocating the sparsity budget uniformly across heads. We argue both choices ignore key structural properties of attention in dLLMs: empirically, attention patterns are only locally consistent across steps and shift abruptly at certain transitions, and different heads concentrate their attention mass to very different extents. To this end, we design Step-dLLM, which periodically refreshes a block-sparse mask at anchor steps along the denoising trajectory and reuses it within each locally consistent interval, while employing a head-adaptive global budget that more aggressively compresses heads with concentrated attention. Backed by a fused IO-aware Triton kernel for block-sparse attention, Step-dLLM applies to pre-trained LLaDA-1.5 and Dream-7B-Instruct without retraining, achieving a 2.78x end-to-end speedup over dense FlashAttention on LLaDA-1.5 at 8K context with 256 denoising steps and 90% sparsity, while improving the accuracy-latency trade-off over prior sparse-attention methods.
| Comments: | Accepted at NeurIPS 2026. 18 pages |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.01320 [cs.CL] |
| (or arXiv:2611.01320v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.01320 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Zhichen Zeng [view email]
[v1]
Sat, 31 Oct 2026 22:42:20 UTC (502 KB)
来源:arXiv cs.CL · arxiv.org