Research map / Large language models / Reasoning and chain of thought
d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Adapts pretrained masked diffusion LLM LLaDA-8B-Instruct into a reasoning model via masked SFT on s1K followed by diffu-GRPO, a policy-gradient RL method using one-step masked-prompt log-probability estimation.
Problem
Reinforcement learning post-training has advanced reasoning in autoregressive LLMs, but it is unclear how to apply policy gradient RL to masked diffusion LLMs, whose sequence log-probabilities do not factorize autoregressively.
Approach
Estimates per-token log-probabilities of a masked dLLM with a single forward pass on a randomly masked prompt, uses a mean-field sequence log-probability, and plugs these into a GRPO-style objective (diffu-GRPO); random prompt masking acts as regularization that allows more gradient updates per batch.
Key results
- d1-LLaDA reaches 82.1 on GSM8K at seq len 512 and 40.2 on MATH500 at 512, versus 78.2 and 36.2 for LLaDA-8B-Instruct.
- On Countdown (seq len 512), d1-LLaDA scores 42.2 vs 16.0 for LLaDA-8B-Instruct; on Sudoku (seq len 128) 22.1 vs 11.7.
- diffu-GRPO outperforms LLaDA-8B-Instruct and SFT alone in all 12 math and planning setups, and d1-LLaDA beats diffu-GRPO-only in 11 of 12.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| apply diffu-GRPO to LLaDA-8B-Instruct | LLaDA-8B-Instruct · GSM8K (all reported sequence lengths) | accuracy: 72.6 vs 68.7; 79.8 vs 76.7; 81.9 vs 78.2 | Helped |
| apply diffu-GRPO to LLaDA-8B-Instruct | LLaDA-8B-Instruct · MATH500 (all reported sequence lengths) | accuracy: 33.2 vs 26.0; 37.2 vs 32.4; 39.2 vs 36.2 | Helped |
| apply diffu-GRPO to LLaDA-8B-Instruct | LLaDA-8B-Instruct · Countdown (all reported sequence lengths) | accuracy: 33.2 vs 20.7; 31.3 vs 19.5; 37.1 vs 16.0 | Helped |
| apply diffu-GRPO to LLaDA-8B-Instruct | LLaDA-8B-Instruct · Sudoku, 128 and 256 | accuracy: 18.4 vs 11.7; 12.9 vs 6.7 | Helped |
| apply SFT then diffu-GRPO | LLaDA-8B-Instruct · GSM8K and MATH500 | accuracy: GSM8K: 73.2 vs 72.6, 81.1 vs 79.8, 82.1 vs 81.9; MATH500: 33.8 vs 33.2, 38.6 vs 37.2, 40.2 vs 39.2 | Helped |
| apply SFT then diffu-GRPO | LLaDA-8B-Instruct · Countdown | accuracy: 34.8 vs 33.2; 32.0 vs 31.3; 42.2 vs 37.1 | Helped |
| apply SFT then diffu-GRPO | LLaDA-8B-Instruct · Sudoku | accuracy: 22.1 vs 18.4; 16.7 vs 12.9; 9.5 vs 11.0 | Mixed |
| apply diffu-GRPO | LLaDA-8B-Instruct · HumanEval, 256 | accuracy: +3.7 | Helped |
| apply diffu-GRPO | LLaDA-8B-Instruct · MBPP, 256 | accuracy: +4.3 | Helped |
| use random rather than fixed prompt masking for likelihood estimation (ablation) | diffu-GRPO · GSM8K RL training | correctness reward | Helped |
| increase policy updates per batch (mu) with random masking (ablation) | diffu-GRPO · GSM8K RL training | correctness reward: 12, or even 24 | Helped |
| set prompt masking probability to 0.1 or 0.3 rather than higher rates (ablation) | diffu-GRPO · RL training | final performance: 0.1, 0.3; 0.5, 0.7 | Helped |
Surprising findings
- Random prompt masking during log-probability estimation lets the number of gradient updates per batch scale to 12 or 24 with stable learning, whereas fixed masking underperforms.
- SFT on s1K did not help coding; the authors suggest s1K lacks code datapoints.
Limitations
- Fixed-length generation in LLaDA constrains RL training to a predefined sequence length (256), limiting discovery of variable-length reasoning.
- Online RL generation is slow, so longer generation lengths during RL are currently infeasible.
- Gains on Sudoku at seq len 512 are mixed; diffu-GRPO alone scores higher than d1 there.
Experimental setup
Datasets: s1K GSM8K MATH KodCode-Light-RL-10K TinyZero Countdown 4x4 Sudoku dataset
Benchmarks: GSM8K MATH500 Countdown Sudoku HumanEval MBPP
Metrics: accuracy correctness reward (Sudoku cell fraction)
Baselines: LLaDA-8B-Instruct LLaDA+SFT LLaDA+diffu-GRPO
Builds on: GRPO LLaDA s1K PPO Monte Carlo log-likelihood estimation
Closest papers by meaning
- Break the Block: Dynamic-size Reasoning Blocks for Diffusion Large Language Models via Monotonic Entropy Descent with Reinforcement Learning (ICML 2026 · similarity 0.93)
- T1: Advancing Language Model Reasoning through Reinforcement Learning and Inference Scaling (ICML 2025 · similarity 0.92)
- d2: Improving Reasoning in Diffusion Language Models via Trajectory Likelihood Estimation (ICML 2026 · similarity 0.92)
- On Predictability of Reinforcement Learning Dynamics for Large Language Models (ICLR 2026 · similarity 0.91)
- Lavida-R1: Advancing Reasoning for Unified Multimodal Diffusion Language Models (ICML 2026 · similarity 0.91)
- Diversity-Aware Policy Optimization for Large Language Model Reasoning (NeurIPS 2025 · similarity 0.91)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
