Saved in:
Bibliographic Details
Main Authors: Zhou, Xueyu, Hu, Yangrong, Huang, Jian
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.15340
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918391402463232
author Zhou, Xueyu
Hu, Yangrong
Huang, Jian
author_facet Zhou, Xueyu
Hu, Yangrong
Huang, Jian
contents Masked diffusion language models (MDLMs) have recently emerged as a new paradigm in language modeling, offering flexible generation dynamics and enabling efficient parallel decoding. However, existing decoding strategies for pre-trained MDLMs predominantly rely on token-level uncertainty criteria, while largely overlooking sequence-level information and inter-token dependencies. To address this limitation, we propose Dependency-Oriented Sampler (DOS), a training-free decoding strategy that leverages inter-token dependencies to inform token updates during generation. Specifically, DOS exploits attention matrices from transformer blocks to approximate inter-token dependencies, emphasizing information from unmasked tokens when updating masked positions. Empirical results demonstrate that DOS consistently achieves superior performance on both code generation and mathematical reasoning tasks. Moreover, DOS can be seamlessly integrated with existing parallel sampling methods, leading to improved generation efficiency without sacrificing generation quality.
format Preprint
id arxiv_https___arxiv_org_abs_2603_15340
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DOS: Dependency-Oriented Sampler for Masked Diffusion Language Models
Zhou, Xueyu
Hu, Yangrong
Huang, Jian
Computation and Language
Machine Learning
Masked diffusion language models (MDLMs) have recently emerged as a new paradigm in language modeling, offering flexible generation dynamics and enabling efficient parallel decoding. However, existing decoding strategies for pre-trained MDLMs predominantly rely on token-level uncertainty criteria, while largely overlooking sequence-level information and inter-token dependencies. To address this limitation, we propose Dependency-Oriented Sampler (DOS), a training-free decoding strategy that leverages inter-token dependencies to inform token updates during generation. Specifically, DOS exploits attention matrices from transformer blocks to approximate inter-token dependencies, emphasizing information from unmasked tokens when updating masked positions. Empirical results demonstrate that DOS consistently achieves superior performance on both code generation and mathematical reasoning tasks. Moreover, DOS can be seamlessly integrated with existing parallel sampling methods, leading to improved generation efficiency without sacrificing generation quality.
title DOS: Dependency-Oriented Sampler for Masked Diffusion Language Models
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2603.15340