Improving Diffusion Language Model Decoding through Joint Search in Generation Order and Token Space
Yangyi Shen, Tianjian Feng, Jiaqi Han, Wen Wang, Tianlang Chen, Chunhua Shen, Jure Leskovec, Stefano Ermon
TL;DR
This work tackles decoding in Diffusion Language Models (DLMs), where traditional approaches commit to a single trajectory and fail to explore the rich space of possible generation orders. It introduces Order-Token Search (OTS), a beam-like algorithm that jointly searches over generation order and token values, guided by a stable block-diffusion likelihood estimator for pruning. Across GSM8K, MATH500, Countdown, and HumanEval, OTS yields consistent pass@1 gains, often matching or surpassing post-training methods such as diffu-GRPO, and demonstrates superior scalability with increased compute compared to unstructured sampling. The results establish joint order-token search as a key component for enhancing reasoning in DLM decoding, with broad implications for robust, diverse, and efficient inference in diffusion-based language modeling.
Abstract
Diffusion Language Models (DLMs) offer order-agnostic generation that can explore many possible decoding trajectories. However, current decoding methods commit to a single trajectory, limiting exploration in trajectory space. We introduce Order-Token Search to explore this space through jointly searching over generation order and token values. Its core is a likelihood estimator that scores denoising actions, enabling stable pruning and efficient exploration of diverse trajectories. Across mathematical reasoning and coding benchmarks, Order-Token Search consistently outperforms baselines on GSM8K, MATH500, Countdown, and HumanEval (3.1%, 3.8%, 7.9%, and 6.8% absolute over backbone), matching or surpassing diffu-GRPO post-trained d1-LLaDA. Our work establishes joint search as a key component for advancing decoding in DLMs.
