Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Beyond Fully Random Masking: Attention-Guided Denoising and Optimization for Diffusion Language Models

About

Diffusion large language models (dLLMs) offer an efficient alternative to autoregressive models through parallel decoding, yet existing post-training methods largely rely on random masking strategies that overlook intrinsic token dependencies. In this work, we present an empirical analysis of attention in dLLMs and show that tokens attending more strongly to unmasked context exhibit greater generation stability and play a critical role in reasoning. Motivated by these findings, we propose AGDO, an attention-guided denoising and optimization framework that aligns both training and optimization with attention-derived dependencies. AGDO determines the denoising order based on attention structure and emphasizes attention-critical tokens during supervised fine-tuning and reinforcement learning. Experiments on mathematical and coding benchmarks demonstrate that AGDO consistently improves reasoning performance, outperforming state-of-the-art post-training methods for dLLMs.

Jia Deng, Junyi Li, Wayne Xin Zhao, Jinpeng Wang, Hongyu Lu, Ji-Rong Wen• 2026

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
HellaSwag Accuracy64.7
897
Question AnsweringCommonsenseQA
Accuracy78.3
172
Code GenerationLiveCodeBench v2
Accuracy15.6
27
Mathematical ReasoningGSM8K
Accuracy87.7
12
Mathematical ReasoningMATH500
Accuracy56.2
12
Code GenerationLiveBench
Accuracy18.4
12
Mathematical ReasoningMinerva
Accuracy17
12
Showing 7 of 7 rows

Other info

Follow for update