RL Post-Training Diffusion Language Models Along Their Own Generation Paths
Organizations: Mila, Concordia University
Abstract
Diffusion language models are a promising and more efficient alternative to autoregressive models. However, most RL post-training techniques are not easily adapted to these models. One issue is that diffusion language models generate answers through many intermediate states, deciding at each step which masked positions to reveal and which tokens to place in them. Many existing RL methods used in this setting approximate intractable sequence likelihoods or weight every denoising step by the same advantage, without explicitly distinguishing how these intermediate states of the denoising trajectory affect the expected reward. To address this issue of trajectory blindness, we introduce PACT (Potential-Anchored Consistency of Transitions). Motivated by a reward-tilted reference distribution, PACT jointly learns the policy and a scalar potential that scores each intermediate state, anchored by terminal reward. For each sampled denoising transition, a consistency loss matches the policy-to-reference log-probability ratio of revealed tokens to the change in this potential. This formulation requires neither sequence-likelihood estimation nor importance-ratio clipping. On four tasks, PACT improves LLaDA-8B-Instruct by +9.9 points on GSM8K, +12.0 on MATH500, +55.7 on Countdown, and +72.6 on Sudoku, and reaches the best average accuracy across the four tasks reported for this model, +3.7 points over the next best method. Further compared to AGRPO, it reaches that baseline's best accuracy in about half the training compute on GSM8K.
Figures & tables
| GSM8K | MATH500 | Countdown | Sudoku | Average | ||||||
| 256 | 512 | 256 | 512 | 256 | 512 | 256 | 512 | 256 | 512 | |
| Base | 79.2 | 79.8 | 32.4 | 34.6 | 24.2 | 30.9 | 26.9 | 18.5 | 40.7 | 41.0 |
| Likelihood-based methods | ||||||||||
| d1 ( Zhao et al., 2025 ) | 81.1 | 82.1 | 38.6 | 40.2 | 32.0 | 42.2 | 32.5 | 29.3 | 46.1 | 48.5 |
| wd1 † ( Tang et al., 2025 ) | 84.4 | 85.4 | 38.6 | 41.4 | 60.9 | 58.6 | 32.1 | 22.5 | 54.0 | 52.0 |
| SPG ( Wang et al., 2025a ) | 86.1 | 84.5 | 40.0 | 41.8 | 70.7 | 70.3 | 94.0 | 93.1 | 72.7 | 72.4 |
| % | % | % | % | ||||
|---|---|---|---|---|---|---|---|
| off | 89.1 | ||||||
| shared | |||||||
| head | |||||||
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Value |
|---|---|
| base model | LLaDA-8B-Instruct |
| LoRA rank / / dropout | 128 / 128 / 0.05 |
| LoRA targets | all attention + MLP projections |
| backbone precision | bfloat16 (unquantized) |
| adapters trained | LoRA only, no SFT stage |
| optimizer | AdamW ( , ) |
| Method | GSM8K (%) |
|---|---|
| TraFL, | 81.5 |
| TraFL, | 83.4 |
| TraFL, | 72.0 |
| PACT (ours) | 89.1 |
Language Model Post-Training
Language model post-training adapts pretrained models to follow instructions, reason, use tools, and meet task-specific or human-defined goals.
See all 197 papers