NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Step-dLLM: Adaptive Step-aware Sparse Attention for Efficient Diffusion LLM Inference

Zhichen Zeng, Xichong zhang, Junpan Wu, Yifei Zuo, Chi-Chih Chang, Jiayi Wang, Maohua Nie, Ji Liu, Ang Li, Banghua Zhu

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Efficient LLM Inference · Type: new method · Keywords: diffusion LLM, sparse attention, step-aware masking, head-adaptive sparsity, block-sparse attention, efficient inference

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Diffusion Generation Acceleration

Summary

Step-dLLM introduces adaptive step-aware sparse attention that periodically refreshes block-sparse masks and uses a head-adaptive sparsity budget to achieve up to 8.5× speedup over dense attention while preserving accuracy.

Explained to a 5-year-old

Diffusion LLMs make pictures of words step by step. They look at all words at once, which is slow. The paper makes a smarter way to look at only a few words each step. It changes which words it looks at as it goes. This makes the process faster while keeping the results good.

Explained to a 5-year-old, longer

Diffusion LLMs are models that create text by repeatedly cleaning up guesses, like erasing and rewriting a sentence many times. In each cleaning step, they look at all the words together, which takes a lot of time because the work grows quickly with the number of words. The paper notices that the way they look at words changes a little from step to step and that some parts of the brain (attention heads) focus on only a few words while others look at many. They create a new plan where they only look at a small group of words in each step, and they update this small group at certain important moments. This plan also gives more attention to the parts that already focus on few words, making the process even more efficient. By using a special fast computer code, they can run this new plan on existing models without having to train them again. The result is that the model runs much faster-up to eight times faster-while still producing correct and high-quality text. This helps people use large language models on devices with limited power, like phones or small servers, and makes advanced AI more accessible. It also reduces the energy needed to run these models, which is good for the environment. Overall, the paper makes large language models quicker, cheaper, and greener without sacrificing performance.

For a technical reader

Diffusion LLMs perform token generation through iterative denoising, using a bidirectional attention that prevents standard KV caching and leads to quadratic compute per step. Existing sparse attention approaches apply a static mask and uniform sparsity, which does not capture the step-wise consistency and head-dependent concentration observed in practice. The proposed solution dynamically refreshes a block-sparse mask at anchor steps, reuses it within locally consistent intervals, and allocates a head-adaptive sparsity budget to concentrate blocks where attention is denser. A fused IO-aware Triton kernel implements the block-sparse attention, allowing the technique to be applied to pre-trained models without retraining. The result is a 4.2× to 8.5× speedup over dense FlashAttention at long sequence lengths while maintaining or improving accuracy.

Problem

Diffusion LLMs generate tokens in parallel via iterative denoising, but their bidirectional attention prevents KV caching and leads to quadratic per-step computational cost. Existing sparse attention methods compute a static mask and allocate sparsity uniformly, ignoring the step-varying and head-dependent nature of attention patterns.

Method

The approach periodically refreshes a block-sparse attention mask at anchor steps along the denoising trajectory, reusing it within locally consistent intervals, and allocates a head-adaptive sparsity budget that gives more blocks to heads with concentrated attention. It implements block-sparse attention with a fused IO-aware Triton kernel, enabling application to pre-trained models without retraining.

Results

The approach achieves a 4.2× kernel-level speedup over dense FlashAttention at 16K context with 90% sparsity (up to 8.5× at 95%) and yields better model accuracy and lower latency than prior methods.

Contributions

It identifies step-wise consistency and head-dependent attention concentration, proposes periodic mask refreshing and head-adaptive sparsity allocation, and provides an efficient block-sparse implementation that can be applied to existing diffusion LLMs without retraining.

Practical relevance

Enables faster and more efficient inference for diffusion LLMs on long sequences, reducing computational cost and latency for applications such as text generation and editing.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction