Skip to main content
QUICK REVIEW

[Paper Review] Focus-dLLM: Accelerating Long-Context Diffusion LLM Inference via Confidence-Guided Context Focusing

Lingkun Long, Yushi Huang|arXiv (Cornell University)|Feb 2, 2026
Topic ModelingComputer Science0 citations
TL;DR

Focus-dLLM is a training-free framework that accelerates long-context diffusion LLM inference by predicting unmasked token positions from past confidence and applying sink-aware sparse attention with cross-layer sink reuse.

ABSTRACT

Diffusion Large Language Models (dLLMs) deliver strong long-context processing capability in a non-autoregressive decoding paradigm. However, the considerable computational cost of bidirectional full attention limits the inference efficiency. Although sparse attention is promising, existing methods remain ineffective. This stems from the need to estimate attention importance for tokens yet to be decoded, while the unmasked token positions are unknown during diffusion. In this paper, we present Focus-dLLM, a novel training-free attention sparsification framework tailored for accurate and efficient long-context dLLM inference. Based on the finding that token confidence strongly correlates across adjacent steps, we first design a past confidence-guided indicator to predict unmasked regions. Built upon this, we propose a sink-aware pruning strategy to accurately estimate and remove redundant attention computation, while preserving highly influential attention sinks. To further reduce overhead, this strategy reuses identified sink locations across layers, leveraging the observed cross-layer consistency. Experimental results show that our method offers more than $29 imes$ lossless speedup under $32K$ context length. The code is publicly available at: https://github.com/Longxmas/Focus-dLLM

Motivation & Objective

  • Motivate efficient long-context inference for diffusion LLMs (dLLMs) given bidirectional full attention and unknown unmasked positions.
  • Investigate token confidence consistency and attention sink behavior to guide sparsification.
  • Develop a training-free framework that predicts unmasked positions and prunes attention to reduce computation.
  • Retain critical attention sinks and reuse sink locations across layers to save overhead.
  • Demonstrate substantial speedups with minimal accuracy loss on long-context benchmarks.

Proposed method

  • Introduce a past confidence-guided indicator to predict next unmasked positions using step t-1 confidences and expand them into active regions.
  • Develop a window-expanded active query set to leverage locality in attention and prune distant tokens.
  • Propose a sink-aware sparse attention mechanism that retains attention sinks across layers and identifies them at an intermediate dense layer.
  • Reuse identified sinks across layers to avoid repeated sink identification and reduce overhead.
  • Implement dynamic block-wise pruning of key/value history by selecting relevant prompt blocks and retaining sinks and response tokens.
  • Combine these components to perform sparse attention over predicted unmasked queries and selected key/value pairs, achieving speedups without sacrificing decoding quality.
Figure 1: Confidence dynamics analysis for LLaDA-8B-Instruct Nie et al. ( 2025 ) on GSM $8K$ Cobbe et al. ( 2021 ) ( $L=76$ , $N=128$ , and $T=128$ ). ( Left ) Confidence score correlation between adjacent steps. ( Right ) Step-wise recall rates of predicting the unmasked tokens at $t$ using the rem
Figure 1: Confidence dynamics analysis for LLaDA-8B-Instruct Nie et al. ( 2025 ) on GSM $8K$ Cobbe et al. ( 2021 ) ( $L=76$ , $N=128$ , and $T=128$ ). ( Left ) Confidence score correlation between adjacent steps. ( Right ) Step-wise recall rates of predicting the unmasked tokens at $t$ using the rem

Experimental results

Research questions

  • RQ1Can unmasked positions at the current diffusion step be reliably inferred from previous-step token confidences in dLLMs?
  • RQ2Do attention sinks exhibit cross-layer consistency in dLLMs, enabling reuse to reduce computation without harming accuracy?
  • RQ3How can past-confidence signals and local attention patterns be leveraged to design effective sparse attention for long-context diffusion decoding?
  • RQ4What is the impact of sink-aware sparse attention and block-wise KV pruning on accuracy and throughput at very long context lengths?

Key findings

  • The study finds strong positive correlation of token confidence across adjacent diffusion steps.
  • Previously unknown unmasked positions largely overlap with high-confidence tokens from the previous step, enabling accurate prediction of where to unmask next.
  • Attention in dLLMs shows locality and predictable attention sinks that exhibit cross-layer consistency, allowing sinks to be reused across layers.
  • Focus-dLLM achieves substantial speedups (reported as up to 29.6x over Vanilla at 32K context) while maintaining or improving accuracy relative to baselines across evaluated models.
  • Combining past-confidence guidance with sink-aware sparse attention and cross-layer sink reuse yields better-than-baseline performance and notable throughput gains.
  • Ablation studies show that both the PCGI query selection and the SA Sparse Attn components contribute to accuracy and speed, with sinks consistently improving performance.
Figure 2: Attention patterns across decoding steps and layers in LLaDA-8B-Instruct Nie et al. ( 2025 ) ( $L=49$ , $N=128$ , $T=128$ ). More visual results can be found in the Appendix.
Figure 2: Attention patterns across decoding steps and layers in LLaDA-8B-Instruct Nie et al. ( 2025 ) ( $L=49$ , $N=128$ , $T=128$ ). More visual results can be found in the Appendix.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.