mlsanityData to 7 Oct 2026

Attention-Based Sampler for Diffusion Language Models

arXiv 2604.08564 ↗First posted 18 Mar 2026cs.CL cs.LGcited by 1

On the map: Diffusion models → Discrete and text diffusion

Abstract (arXiv)

Auto-regressive models (ARMs) have established a dominant paradigm in language modeling. However, their strictly sequential sampling paradigm imposes fundamental constraints on both inference efficiency and modeling flexibility. To address these limitations, diffusion-based large language models (dLLMs) have been proposed, offering the potential for parallel sampling and flexible language modeling. Despite these advantages, current dLLMs sampling strategies rely primarily on token level information, which fails to account for global sequence structure and often yields suboptimal results. In this paper, we study the sampling order selection problem from the perspective of log-likelihood maximization. We show that this problem is NP-hard and propose an optimal sampling-rank-based approximation that makes the objective computationally tractable. We further prove that the tractable objective is optimized by sampling tokens in descending order of their attention-matrix column sums. This finding provides a principled justification for attention-guided sampling and offers a theoretically grounded alternative to greedy search. We instantiate this theoretical insight in a new training-free sampling algorithm, termed Attn-Sampler, and further propose dynamic attention thresholding for practical acceleration. Extensive experiments across multiple benchmarks validate the effectiveness of our proposed method, demonstrating that it achieves superior generation quality while enhancing the sampling parallelism.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 31 of its 37 references that are in the map. First posted on arXiv 18 Mar 2026.

Builds on

31 of 37 references.

Closest ancestors · 10

Same direction, newest first

  1. 2025KLASS: KL-Guided Fast Inference in Masked Diffusion Models7 Nov
  2. 2025SDAR: A Synergistic Diffusion-AutoRegression Paradigm for Scalable Sequence Generation7 Oct
  3. 2025SparseD: Sparse Attention for Diffusion Language Models28 Sep
  4. 2025Dream-Coder 7B: An Open Diffusion Language Model for Code1 Sep
  5. 2025Dream 7B: Diffusion Large Language Models21 Aug
  6. 2025Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmasking30 May
  7. 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models12 Mar
  8. 2025Large Language Diffusion Models14 Feb
  9. 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusions10 Feb
  10. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct

Other references · 21

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2024The Llama 3 Herd of Modelscited by 14,192
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  8. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  10. 2021Program Synthesis with Large Language Modelscited by 3,509
  11. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
  12. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
9 more
  1. 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
  2. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  3. 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 273
  4. 2025Mercury: Ultra-Fast Language Models Based on Diffusioncited by 225
  5. 2022Concrete Score Matching: Generalized Score Matching for Discrete Datacited by 144
  6. 2025Fast-dLLM v2: Efficient Block-Diffusion LLMcited by 128
  7. 2023In-Context Convergence of Transformerscited by 112
  8. 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 71
  9. 2024One-Layer Transformer Provably Learns One-Nearest Neighbor In Contextcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Efficient Long-Context Modeling in Diffusion Language Models via Block Approximate Sparse Attention
  2. 2023Likelihood-Based Diffusion Language Models
  3. 2026Diffusion Language Models: An Experimental Analysis
  4. 2026Beyond Fully Random Masking: Attention-Guided Denoising and Optimization for Diffusion Language Models
  5. 2026PulseCol: Periodically Refreshed Column-Sparse Attention for Accelerating Diffusion Language Models
  6. 2025Optimal Inference Schedules for Masked Diffusion Models
  7. 2025Breaking AR's Sampling Bottleneck: Provable Acceleration via Diffusion Language Models
  8. 2026NI Sampling: Accelerating Discrete Diffusion Sampling by Token Order Optimization