Diffusion Large Language Models (dLLMs) commonly decode responses by proceeding autoregressively across blocks while iteratively denoising multiple tokens within each block. This structure makes block-level policy optimization a natural adaptation of autoregressive policy optimization. However, the exact likelihood of a completed block is intractable because it marginalizes over the intermediate states and reveal orders of the denoising process. To realize the block-level formulation, we construct a prefix-block state and use a single model evaluation to define a factorized one-step surrogate for the block likelihood. The resulting block surrogate ratio is a product of its token surrogate ratios, allowing variation at individual positions to propagate across the entire block before clipping. We therefore introduce Prefix-Block Policy Optimization (PBPO), which preserves block-level conditioning but applies surrogate importance weighting and clipping separately to each token. PBPO further diversifies repeated updates by resampling corrupted views of the prompt and revealed prefix, a design motivated by masked-dLLM pre-training. Under our analysis assumptions, block-product weighting amplifies the variance of gradient contributions relative to token-local weighting. Across two LLaDA-family initializations, six benchmarks, and three generation lengths, PBPO achieves competitive performance against existing dLLM RL methods.
Figures & tables
Figure 1: Reward dynamics on MATH500, trained upon LLaDA-8B-Instruct. PBPO demonstrates stable training, while block-level objective collapses early during training.
GSM8K
MATH500
HumanEval
MBPP
Countdown
Sudoku
Baseline / Seq Len
128
256
512
128
256
512
128
256
512
128
256
512
128
256
512
128
256
512
LLaDA-8B-Instruct
69.37
77.94
79.61
26.80
32.80
34.20
23.17
31.71
30.49
35.41
39.69
40.86
19.92
17.97
17.97
9.33
5.74
5.12
d1
72.55
78.01
81.20
29.00
34.40
37.60
29.88
35.37
37.80
41.25
42.41
41.63
30.08
23.44
30.08
21.29
14.98
9.76
wd1
73.01
80.06
81.50
32.80
34.80
36.20
27.44
34.15
37.20
42.80
42.02
42.80
48.83
51.17
49.22
24.40
24.16
22.97
GDPO
75.66
79.91
80.59
31.40
34.80
37.40
23.17
37.20
36.59
42.41
41.25
42.80
62.50
73.05
73.05
28.09
28.09
26.12
DMPO
75.59
80.74
82.79
29.80
35.40
38.20
24.39
35.98
37.80
43.19
43.58
43.58
50.00
57.81
64.84
21.15
17.13
15.50
Table 1: Main results across six reasoning and coding benchmarks at generation lengths 128, 256, and 512. Best result per column within each backbone block is in bold , and the second-best is underlined .
Figure 2: Reward dynamics during five RL post-training runs initialized from LLaDA-8B-Instruct. We report the mean and standard deviation over a rolling window of 50 training steps.
Figure 3: Completion length dynamics during five RL post-training runs initialized from LLaDA-8B-Instruct. We report the mean and standard deviation over a rolling window of 50 training steps.
Countdown
MATH500
Baseline / Seq Len
128
256
512
128
256
512
PBPO + clean prompt + clean prefix
46.09
47.27
51.56
30.80
32.60
36.20
PBPO + prompt masking + clean prefix
47.27
57.81
62.89
33.40
42.00
39.00
PBPO + prompt masking + prefix masking
57.03
69.14
69.53
31.00
35.60
38.20
Table 2: Ablation across three PBPO variants on Countdown and MATH500 at generation lengths 128, 256, and 512, with LLaDA-1.5 as the base model. Best result per column is in bold , and second-best result is highlighted with underline .
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
Hyperparameter
GSM8K
MATH500
Countdown
Sudoku
KodCode-Light-RL-10K
Training steps
2,000
2,900
900
1,800
1,000
Prompt masking probability pq
0.15
0.15
0.15
0.15
0.15
Prefix masking probability pz
0
0
0.15
0
0.15
ϵl
0.5
0.2
0.2
0.2
0.2
ϵr
0.5
0.28
0.28
0.28
0.28
Appendix
Table 3: Dataset-specific PBPO training hyperparameters for policies initialized from LLaDA-8B-Instruct.
Hyperparameter
GSM8K
MATH500
Countdown
Sudoku
KodCode-Light-RL-10K
Training steps
2,200
2,400
1,000
1,900
1,000
Prompt masking probability pq
0.15
0.15
0.15
0.15
0.15
Prefix masking probability pz
0
0
0.15
0
0.15
ϵl
0.2
0.2
0.2
0.2
0.2
ϵr
0.28
0.28
0.28
0.28
0.28
Appendix
Table 4: Dataset-specific PBPO training hyperparameters for policies initialized from LLaDA-1.5.
Figure 4: Reward dynamics during five RL post-training runs initialized from LLaDA-1.5. We report the mean and standard deviation over a rolling window of 50 training steps.
Figure 5: Completion length dynamics during five RL post-training runs initialized from LLaDA-1.5. We report the mean and standard deviation over a rolling window of 50 training steps.
GSM8K
MATH500
Countdown
Sudoku
Baseline / Seq Len
128
256
512
128
256
512
128
256
512
128
256
512
LLaDA-8B-Instruct
114.31
211.21
256.14
121.62
234.50
399.00
110.49
212.89
409.96
115.42
216.92
432.95
d1
115.85
217.13
275.15
122.05
234.47
392.75
107.49
209.75
397.20
115.54
225.42
435.74
wd1
114.25
226.42
326.66
120.21
209.63
319.50
76.34
80.60
85.30
111.13
236.70
465.87
GDPO
109.46
192.20
204.85
120.45
222.81
367.36
114.25
213.27
351.79
114.17
213.92
355.32
DMPO
114.22
213.28
258.28
121.78
234.64
395.15
110.21
212.17
364.04
114.11
228.31
243.07
Appendix
Table 5: Effective sequence length for each baseline across four reasoning benchmarks at generation lengths 128, 256, and 512.
HumanEval
MBPP
Baseline / Seq Len
128
256
512
128
256
512
LLaDA-8B-Instruct
120.87
216.43
310.78
118.14
206.96
265.30
d1
119.16
194.93
246.77
114.72
189.01
241.53
wd1
112.15
144.70
165.38
105.12
133.28
138.68
GDPO
116.87
223.54
393.85
115.93
209.94
330.08
DMPO
116.68
206.83
284.57
113.96
204.62
260.07
Appendix
Table 6: Average effective tokens across two coding benchmarks at generation lengths 128, 256, and 512.
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
79.08
33.40
16.02
10.96
32.32
45.53
d1
80.21
35.40
19.53
18.66
37.80
47.08
wd1
80.52
35.60
43.75
23.11
34.76
43.97
GDPO
79.76
36.00
69.14
24.64
35.37
47.47
DMPO
47.69
36.60
55.86
25.02
41.46
44.75
[][] PBPO (Ours)
84.38
38.40
73.83
38.09
37.20
45.53
Appendix
Table 7: Accuracy (%) across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 16, and low-confidence remasking. Best values in each benchmark column are in bold , and second-best distinct values are underlined .
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
214.68
235.92
213.92
215.34
216.71
209.89
d1
218.30
236.67
209.41
224.58
203.32
199.69
wd1
225.21
223.35
87.38
231.79
150.53
132.07
GDPO
213.72
234.65
217.75
208.46
228.23
223.84
DMPO
136.23
233.55
214.05
229.50
226.51
218.67
[][] PBPO (Ours)
222.81
224.18
147.56
219.10
145.73
121.81
Appendix
Table 8: Average effective sequence length in tokens across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 16, and low-confidence remasking.
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
80.44
35.80
21.48
7.70
32.32
43.97
d1
79.76
35.40
24.61
15.50
35.37
45.14
wd1
80.14
36.20
53.52
24.35
32.32
40.47
GDPO
78.17
33.20
69.92
25.17
34.15
44.75
DMPO
55.34
36.60
60.16
27.13
37.80
45.53
[][] PBPO (Ours)
83.47
41.00
67.58
40.33
40.24
48.64
Appendix
Table 9: Accuracy (%) across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 64, and low-confidence remasking. Best values in each benchmark column are in bold , and second-best distinct values are underlined .
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
213.00
236.11
213.25
219.71
221.51
213.12
d1
218.31
236.60
211.13
226.96
211.35
201.00
wd1
226.24
224.47
80.70
229.16
145.35
120.46
GDPO
213.24
233.43
215.94
220.77
229.77
227.17
DMPO
129.48
234.84
215.18
229.09
225.58
211.99
[][] PBPO (Ours)
223.12
226.33
123.18
222.70
145.60
121.19
Appendix
Table 10: Average effective sequence length in tokens across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 64, and low-confidence remasking.
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
70.43
25.80
10.55
9.67
22.56
30.35
d1
74.07
31.00
16.80
16.08
24.39
34.24
wd1
74.45
27.80
35.16
23.68
23.17
36.58
GDPO
76.27
31.20
57.42
23.30
29.27
36.19
DMPO
35.86
31.80
44.92
23.88
26.83
31.91
[][] PBPO (Ours)
79.38
33.00
64.06
36.60
29.27
37.74
Appendix
Table 11: Accuracy (%) across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 16, and random remasking. Best values in each benchmark column are in bold , and second-best distinct values are underlined .
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
210.08
236.85
200.35
215.43
218.97
216.00
d1
213.42
233.93
188.89
213.16
208.24
192.67
wd1
225.39
220.64
80.82
227.92
144.90
131.38
GDPO
211.10
230.42
210.82
206.92
216.91
208.46
DMPO
223.87
229.37
206.87
216.55
219.80
214.87
[][] PBPO (Ours)
222.92
221.82
164.72
220.76
148.30
128.40
Appendix
Table 12: Average effective sequence length in tokens across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 16, and random remasking.
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
67.55
24.20
9.77
11.29
13.41
24.90
d1
70.13
25.60
18.36
15.79
19.51
26.46
wd1
73.84
24.80
37.11
22.87
19.51
28.40
GDPO
72.86
28.00
57.81
24.78
19.51
28.40
DMPO
33.51
28.80
45.70
24.11
17.68
25.68
[][] PBPO (Ours)
76.88
29.40
50.39
35.74
19.51
26.46
Appendix
Table 13: Accuracy (%) across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 32, and random remasking. Best values in each benchmark column are in bold , and second-best distinct values are underlined .
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
208.34
236.18
194.70
216.06
221.29
212.11
d1
212.64
236.13
193.55
216.88
204.54
195.19
wd1
225.28
220.74
79.19
226.87
142.20
119.60
GDPO
211.06
233.40
206.23
204.16
219.20
211.19
DMPO
237.31
230.98
202.77
218.60
222.04
210.03
[][] PBPO (Ours)
223.15
223.46
167.75
219.19
151.60
121.26
Appendix
Table 14: Average effective sequence length in tokens across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 32, and random remasking.
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
63.99
22.80
8.59
11.53
15.85
21.01
d1
66.26
25.80
20.31
17.42
14.02
20.62
wd1
68.31
25.40
35.55
23.92
17.68
28.02
GDPO
70.58
29.20
60.16
23.44
15.85
20.23
DMPO
29.04
27.60
45.70
24.35
12.80
24.51
[][] PBPO (Ours)
75.59
26.00
51.56
36.22
15.85
30.74
Appendix
Table 15: Accuracy (%) across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 64, and random remasking. Best values in each benchmark column are in bold , and second-best distinct values are underlined .
Baseline
GSM8K
MATH500
Countdown
Sudoku
HumanEval
MBPP
LLaDA-1.5
207.31
232.23
189.29
210.69
221.56
213.26
d1
213.74
236.24
184.30
212.71
197.27
195.75
wd1
226.47
219.60
71.83
227.71
135.05
114.01
GDPO
212.44
234.97
197.49
202.65
222.63
216.20
DMPO
259.03
234.39
197.01
231.22
218.78
214.25
[][] PBPO (Ours)
223.22
225.75
130.59
219.43
148.45
126.32
Appendix
Table 16: Average effective sequence length in tokens across six benchmarks for LLaDA-1.5 baselines with generation length 256, 128 diffusion steps, block length 64, and random remasking.
Large language models (LLMs) typically generate text autoregressively (AR), predicting one token at a time. Block diffusion language models (dLLMs) instead generate blocks sequentially while denoising multiple tokens in parallel within each block, offering a promising way to accelerate generation. Rather than training such models from scratch, recent work adapts strong pretrained AR models into block dLLMs through distillation. On-policy distillation (OPD) has been widely used for LLM training because it supervises the student on states generated by its current policy, rather than only on fixed offline trajectories. By training on the states the student actually visits, it reduces the mismatch between training and generation and can provide more relevant supervision as the student evolves. Recent work has extended this idea to AR-to-block-diffusion conversion. However, this setting introduces a fundamental mismatch in supervision: the block-diffusion student and the causal AR teacher condition on different information at the same training state. The student predicts from the entire partially denoised block, including visible future context, whereas the standard AR teacher target is defined only from the causal prefix. As a result, the teacher distribution used for distillation is not fully aligned with the information available to the student. We therefore introduce d-OPD, a future-aware on-policy distillation method that corrects the AR teacher distribution to better align with the student-visible state by incorporating visible future information within each block, providing supervision that better matches the information used by the student. Across Qwen3 models from 0.6B to 8B, d-OPD improves the six-benchmark average by up to 4.0 points over OPDLM and reduces training time by 1.35-1.58×. The code is available at https://github.com/mit-han-lab/d-OPD.
Reinforcement Learning with Verifiable Rewards (RLVR) successfully aligns autoregressive models in rigorous domains like mathematical reasoning and code generation. However, applying RLVR to Diffusion Large Language Models (dLLMs) is hindered by intractable sequence-level likelihoods, forcing existing methods to rely on unstable, high-variance approximations. We propose Sequence Likelihood-Free Policy Optimization (LFPO), an efficient framework that circumvents this bottleneck by formulating policy alignment as discrete velocity alignment. Inspired by continuous flow matching, LFPO eschews trajectory-level estimation and directly optimizes denoising logits via contrastive token-level updates, providing a stable, low-variance surrogate. Furthermore, predicting terminal solutions from intermediate states implicitly straightens the generation trajectory, enabling high-quality sampling with significantly fewer denoising iterations. Extensive experiments on reasoning and coding benchmarks demonstrate that LFPO matches or exceeds the accuracy of likelihood-based baselines while substantially accelerating inference.
Chenxing Wei, Jiazhen Kang, Hong Wang +8
Shenzhen University, China · Guangming Laboratory, China · ByteDance, China +5
Reinforcement learning (RL) holds immense promise for enhancing the reasoning capabilities of diffusion large language models (dLLMs). However, progress is fundamentally constrained by a dual misalignment between authentic generation trajectory and the gradient update process: (i) Process-reward misalignment. Sparse, terminal rewards are indiscriminately assigned to all intermediate steps of the generation process, failing to provide discriminative credit assignment. (ii) State-trajectory misalignment. Policy updates are often diverted toward artificial, out-of-trajectory states, squandering gradients on less informative samples. To address these limitations, we introduce Process Aligned Policy Optimization (PAPO), a novel framework that holistically aligns the RL update with the dLLM's generative trajectory via Step-Aware Process Rewards (SPR) that transform sparse terminal rewards into dense, step-wise credit, and Entropy-Guided Historical Re-enactment (EHR) that replays authentic trajectories at high-uncertainty steps. Extensive experiments on four benchmarks demonstrate that PAPO significantly outperforms baselines, achieving gains of up to 4.5% on GSM8K, 4.8% on MATH500, 42.2% on Countdown and 16.1% on Sudoku.
Yawen Shao, Jie Xiao, Kai Zhu +6
University of Science and Technology of China · Tongyi Lab · Northeastern University