d2: Improved Techniques for Training Reasoning Diffusion Language Models

Guanghan Wang, Yair Schiff, Gilad Turok, Volodymyr Kuleshov
9/25/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

While diffusion language models (DLMs) have achieved competitive performance in text generation, improving their reasoning ability with reinforcement learning remains an active research area. Here, we introduce d2, a reasoning framework tailored for masked DLMs. Central to our framework is a new policy gradient algorithm that relies on properties of masking to accurately estimate the likelihoods of sampling trajectories. Our estimators trade off computation for approximation accuracy in an analytically tractable manner, and are particularly effective for DLMs that support any-order likelihood estimation. We characterize and study this property in popular DLMs and show that it is key for efficient diffusion-based reasoning. Empirically, d2 significantly improves over previous diffusion reasoning frameworks using only RL (without relying on supervised fine-tuning), and sets a new state-of-the-art performance for DLMs on logical reasoning tasks (Countdown and Sudoku) and math reasoning benchmarks (GSM8K and MATH500).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025improved,
  title  = {d2: Improved Techniques for Training Reasoning Diffusion Language Models},
  author = {Guanghan Wang and Yair Schiff and Gilad Turok and Volodymyr Kuleshov},
  year   = {2025},
  eprint = {2509.21474},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.21474v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.21474.svg)](https://codeofpaper.com/paper/2509.21474)

Discussion