Researchers working on diffusion language models report large planning gains from changing how those systems learn: optimize the whole answer, rather than individual pieces. In a November 25 research post, Lambda detailed ESPO, a reinforcement-learning framework tested on two models, with improvements spanning planning, math and coding—and the sharpest jumps on Countdown and Sudoku.
The starting problem is a mismatch between generation and training. Traditional autoregressive language models produce text one token—a piece of text—at a time. Diffusion models instead refine a sequence through repeated denoising steps. That approach offers the potential to generate text in parallel and allows more flexible decoding, rather than committing to the same left-to-right process.
But reinforcement-learning methods such as Group Relative Policy Optimization, or GRPO, typically depend on probability estimates for individual tokens. Lambda’s account identifies that token-by-token focus as a poor fit for models that repeatedly revise text across a sequence. The researchers’ response was to change the unit being optimized, rather than carry over that approach unchanged.
Making the whole answer the training unit
ESPO stands for ELBO-based Sequence-level Policy Optimization. The work brings together researchers from Lambda, Stanford University, Renmin University of China and Tsinghua University. Their paper, “Principled RL for Diffusion LLMs Emerges from a Sequence-Level Perspective,” presents three connected changes to the training process:
- Use the complete sequence as one action. This aligns the reinforcement-learning objective with diffusion generation, instead of treating individual token predictions as the basic unit.
- Estimate the likelihood of that sequence with the evidence lower bound, or ELBO. This approximation replaces reliance on heuristic probability estimates for individual tokens.
- Stabilize training updates with sequence-length normalization and a quadratic KL estimator. These are the framework’s safeguards for keeping policy changes stable during reinforcement learning.
Planning tasks show the largest jumps
The team evaluated ESPO on LLaDA-8B-Instruct and Dream-7B-Instruct. Its test set covered mathematical reasoning, coding and planning, using GSM8K, MATH, HumanEval, MBPP, Countdown and Sudoku. According to Lambda, ESPO outperformed the diffusion reinforcement-learning alternatives tested, including token-level GRPO and weighted policy optimization. The largest highlighted gains were on the two planning tasks.
LLaDA’s reported planning scores
Countdown18.7→81.0
average scoreThe researchers report this increase from the LLaDA-8B-Instruct base model to its ESPO-trained version.
Sudoku15.7→86.0
average scoreThe same base-to-ESPO comparison produced a substantial increase on Sudoku.
Dream showed the same direction of improvement: its average Countdown score rose from 11.2 to 66.8, while Sudoku increased from 8.5 to 71.8. Those numbers compare each model’s base version with its ESPO-trained version; the separate comparison against other training methods addresses which reinforcement-learning approach performed better.
The highlighted math and coding gains were smaller. On LLaDA, the average GSM8K score increased from 75.9 to 82.0, and MBPP rose from 37.8 to 45.4. The results therefore span more than puzzles, but the size of the reported improvement differs substantially by task.
Beyond the training length
The researchers also tested whether the benefits depended on generating answers at the length used during training. ESPO was trained with a generation length of 256 tokens, yet its gains extended to shorter and longer outputs. Their training-dynamics and ablation studies also found stable convergence and higher rewards, compared with instability or stagnation in token-level alternatives.
For researchers looking to examine the method, Lambda links both the paper and code, including the ML-GSAI/ESPO repository on GitHub. The contribution is a training framework evaluated on two existing diffusion models, rather than a new standalone language model.
Reader comments
Newest comments first. Replies stay oldest first.