Closing Performance Gap for Diffusion Language Models under Low Inference Budgets
Authors: Hao Wu, Sipeng Chen, Jingwen Fu, Yuwang Wang
Organizations: University of Wisconsin–Madison · Northwestern University · Zhongguancun Academy · Zhongguancun Institute of Artificial Intelligence · Tsinghua University
Diffusion language models offer an architectural route to low-budget generation by updating multiple tokens in parallel, which can reduce the number of sequential decoding steps relative to token-by-token autoregressive decoding. However, realizing this advantage at low budgets is challenging, as generation quality often declines when the number of denoising and refinement steps is reduced. Editable diffusion models address this quality loss through post-draft refinement, but useful intermediate results may still be lost before final submission. We introduce CaRR (Commitment-aware Refinement and Recovery), a training-free framework which improves submission quality from a fixed editable checkpoint through updated-context refill and trajectory-based recovery within its existing forward schedule. Token Commitment Remasking (TCR) remasks selected native pure replacements and refills them on the next scheduled edit forward using the updated context. Submission Commitment Recovery (SCR) uses the resulting refinement trajectory to recover supported candidates when the final response does not satisfy task-specific output requirements. Both modules operate within the native mask/edit schedule without additional backbone forwards. Experiments on code generation and mathematical reasoning show consistent gains in average accuracy over native ME-DLM across four inference budgets, with the largest gains under tight budgets. At one-eighth of the full scheduled forward budget, CaRR improves the six-metric average accuracy by 7.44 pp, including gains of 11.37 and 10.05 on MBPP and MBPP+.
Figures & tables
Figure 1: Overview of CaRR on top of ME-DLM. (a) Native decoding generates a draft x(0) , applies T scheduled edit updates, and submits the native final view a0(T) . (b) CaRR adds TCR during refinement and SCR at submission. (c) TCR remasks selected native replacements and refills them on the next scheduled forward using updated context. (d) SCR uses candidate views C(t) from the completed trajectory for final-first output recovery.
Budget
Model
Evaluation Dataset
Average
HumanEval
HumanEval+
MBPP
MBPP+
GSM8K
MATH-500
1/8
LLaDA-Instruct †
12.20
9.80
17.50
15.30
50.30
20.20
20.88
ME-DLM
23.17
20.73
26.46
23.28
63.99
33.80
31.90
CoRe ‡
25.61
23.78
26.98
23.28
63.31
32.40
32.56
KLASS ‡
28.66
28.05
30.95
25.93
63.53
33.00
35.02
CaRR
31.10
28.05
37.83
33.33
69.75
36.00
39.34
Table 1: Fixed-budget accuracy (%) on code generation and mathematical reasoning. † denotes published results and ‡ local fixed-NFE ports. Average is the unweighted mean over six metrics. Gray bold text reports the absolute gain of CaRR over ME-DLM at the same budget. Cell shading indicates relative performance among the locally evaluated methods within each budget; darker shading indicates stronger performance.
Figure 2: Performance across inference budgets. (a) Six-metric average accuracy of the locally evaluated methods. (b) Per-metric accuracy gain of CaRR over ME-DLM. (c) First no-change prediction step of native ME-DLM as a fraction of the scheduled T (bars: pooled; markers: per task).
Method
TCR
SCR
1/8
1/4
1/2
1/1
ME-DLM
31.90
46.58
53.95
58.56
TCR -only
✓
35.84
49.19
55.17
58.70
SCR -only
✓
34.95
48.03
54.94
58.70
CaRR
✓
✓
39.34
51.55
56.07
58.93
Table 2: Module ablation using the same six-metric average accuracy (%) as Table 1 . Bold indicates the best result at each budget.
Figure 3: Mechanism analysis of CaRR. (a) Gain over ME-DLM of TCR -only and the matched Replace-Veto control. (b) Outcome composition of updated-context refill at remasked positions. (c) Rescued Code Base cases of SCR by source state.
Generation policy
HE
HE+
MATH-500
Native
23.17
20.73
33.80
Original old-token
25.61
23.17
34.80
No old threshold
28.05
26.22
35.20
Proposed confidence
28.66
25.61
35.80
Entropy
29.27
26.83
35.20
Random (seed 0)
25.61
23.78
35.00
Table 3: Terminal-only accuracy (%) for the gate controls. HE+ requires the same completion to pass Base and additional tests.
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Component
Symbol
Value
Role
Retention threshold
τlp
0.30
Select low-support old tokens
Per-step ratio cap
ρmax
0.25
Cap remasked positions per edit step
Structural radius
r
1
Isolate remasking from INSERT/DELETE actions
Lineage budget
Cmax
1
Remask each surviving lineage at most once
Terminal remasking
–
disabled
Require a later scheduled refill forward
Additional backbone forwards
–
0
Reuse the next scheduled edit forward
Appendix
Table 4: Frozen TCR configuration used in the original main-result runs; Appendix G defines the additional selection controls.
Budget
Native M
Native T
Native/CaRR NFE
CoRe normal mask + probes + edit
Total NFE
1/8
48
16
64
45+3+16
64
1/4
96
32
128
90+6+32
128
1/2
224
32
256
211+13+32
256
1/1
480
32
512
452+28+32
512
Appendix
Table 5: Scheduled forward allocation for the locally evaluated methods. “Normal mask” excludes CoRe perturbation probes.
Domain
Benchmark
Examples
Reported metrics
Code
HumanEval
164
Base, EvalPlus+
Code
MBPP (EvalPlus)
378
Base, EvalPlus+
Math
GSM8K
1,319
Answer accuracy
Math
MATH-500
500
Answer accuracy
Appendix
Table 6: Evaluation sets and metrics used in the paper.
Budget
Domain
Task / metric
ME-DLM
SCR
TCR
CaRR
1/8
Math
GSM8K
63.99
64.90
69.83
69.75
Math
MATH-500
33.80
35.00
34.80
36.00
Code
HumanEval Base
23.17
26.22
25.61
31.10
Code
HumanEval+
20.73
23.78
23.17
28.05
Code
MBPP Base
26.46
31.75
33.07
37.83
Code
MBPP+
23.28
28.04
28.57
33.33
Appendix
Table 7: Full task-level component results (%). “SCR” denotes native ME-DLM generation with SCR ; “TCR” denotes TCR generation with native final-only submission. Code “+” denotes standard EvalPlus+ accuracy.
Remasks
HumanEval
MBPP
GSM8K
MATH-500
Budget
/ resp.
Native
Old
Third
Native
Old
Third
Native
Old
Third
Native
Old
Third
1/8
31.1
79.4
9.6
10.9
80.2
9.6
10.3
81.3
10.5
8.2
81.1
10.6
8.3
1/4
26.3
77.3
12.2
10.6
77.2
11.8
11.0
77.1
14.0
8.9
77.5
13.6
8.9
1/2
13.5
74.4
14.6
11.0
74.4
15.7
9.9
72.0
18.0
10.0
71.0
18.1
10.9
1/1
3.1
71.1
16.1
12.8
69.9
20.5
9.5
69.6
20.9
9.5
66.0
22.9
11.1
Appendix
Table 8: Updated-context refill outcomes (%) by task. “Native” denotes a refill equal to the suppressed native replacement ci(t) , “Old” a refill equal to xi(t) , and “Third” any other token. Remasks per response are pooled across all 2,361 responses at each budget.
Metric
Budget
Native final
Same-final
Full SCR
Native → same R/B
Same → full R/B
Base
1/8
138
149
163
11/0
14/0
1/4
230
231
243
1/0
12/0
1/2
282
282
290
0/0
8/0
1/1
313
313
313
0/0
0/0
EvalPlus+
1/8
122
132
145
10/0
13/0
1/4
204
205
215
1/0
10/0
Appendix
Table 9: Paired Code attribution for SCR . R/B denotes rescued/broken cases relative to the preceding arm.
Metric
Budget
Same-final
Earlier edit
Initial draft x(0)
Total
Base
1/8
11
7
7
25
1/4
1
8
4
13
1/2
0
6
2
8
1/1
0
0
0
0
EvalPlus+
1/8
10
7
6
23
1/4
1
7
3
11
Appendix
Table 10: Source of rescued Code cases on pooled HumanEval and MBPP native ME-DLM trajectories.
Budget
HumanEval
MBPP
GSM8K
MATH-500
Pooled
1/8
15.29
15.27
14.87
14.75
14.94 / 16
1/4
26.85
27.28
25.81
23.50
25.63 / 32
1/2
23.35
20.07
19.76
17.43
19.57 / 32
1/1
6.07
6.48
8.64
7.27
7.83 / 32
Appendix
Table 11: Average first no-change prediction step of native ME-DLM. “Pooled” is example-weighted across the four benchmarks; the denominator is the scheduled edit budget T .
Task
Arm
Median (s)
p95 (s)
Alloc.
Reserved
CPU RSS
Observed peak (MiB)
HumanEval
Native
4.271
4.822
17250.1
20500.0
2009.3
HumanEval
Full CaRR
4.310
4.933
17250.4
23326.0
2058.6
MATH-500
Native
3.683
4.120
17069.4
19634.0
2009.1
MATH-500
Full CaRR
3.798
4.316
17158.1
21248.0
2058.6
Appendix
Table 12: Warmed batch-one system measurements on one RTX 5090, BF16, 64 scheduled forwards, using 16 fixed requests per task and three repetitions per arm (192 observations). Timing includes actual final-result JSON serialization and append/flush/close, as well as generation, necessary history, decoding, data movement and original SCR. Loading, warmup, offline scoring and optional trace archival are excluded. CPU RSS is sampled every 10 ms; reserved GPU memory includes allocator caching.
Terminal submission
Original SCR
Generation policy
HE
HE+
MATH
HE
HE+
MATH
Native
23.17
20.73
33.80
26.22
23.78
35.00
Original old-token
25.61
23.17
34.80
31.10
28.05
36.00
No old threshold
28.05
26.22
35.20
32.32
29.88
35.80
Proposed confidence
28.66
25.61
35.80
31.71
28.66
37.00
Entropy
29.27
26.83
35.20
32.93
29.88
36.20
Appendix
Table 13: Actual-generation controls at 1/8 (64 scheduled forwards). HE/HE+ use 164 HumanEval requests; MATH uses all 500 MATH-500 requests. Values are percentages. HE+ requires the same completion to pass Base and additional tests. Original SCR is identical across rows; Native+SCR is SCR-only and Original old-token+SCR is submitted Full CaRR. Ranking controls match the original gate count on each current context. The confidence-veto conjunction changes intervention intensity.
Generation policy
HumanEval
MATH-500
Native
0.00
0.00
Original Full (old-token)
34.49
37.45
No old threshold
35.62
38.35
Proposed confidence
34.20
36.94
Entropy
34.46
36.70
Random (seed 0)
34.80
37.38
Appendix
Table 14: Mean remasks per request over the complete rollout. Matching the original gate count on each current context does not force equal rollout totals after trajectories diverge.
Trajectory / SCR policy
1/8
1/4
1/2
1/1
Native / Original full
64.90 / 35.00
77.56 / 43.20
84.31 / 48.60
85.14 / 50.60
Native / Four branches
64.29 / 34.80
77.63 / 43.20
84.38 / 48.80
85.22 / 50.60
Native / Full + guard
64.90 / 35.00
77.56 / 43.20
84.31 / 48.80
85.14 / 51.00
Native / Four branches + guard
64.29 / 34.80
77.63 / 43.20
84.38 / 49.00
85.22 / 51.00
TCR / Original full
69.75 / 36.00
79.91 / 44.00
84.91 / 48.60
85.82 / 50.20
TCR / Four branches
69.98 / 35.80
79.76 / 44.00
84.91 / 48.80
85.90 / 50.20
Appendix
Table 15: Rule-subset analysis on saved trajectories. Each cell is GSM8K / MATH-500 accuracy (%), with 1,319 / 500 requests per budget. Four branches retain same-final, persistent earlier-box, terminal-basin recovery and rational canonicalization, preserving retained predicates and precedence. The separate syntax guard declines ambiguous mixed-number canonicalization and continues the remaining frozen branches. The analysis includes contract-development evidence and repeated questions across budgets.
Task
Arm
Terminal
Boxed-only
Four
Full
GSM8K
Native
63.99
63.99
64.29
64.90
GSM8K
TCR
69.83
69.83
69.98
69.75
MATH-500
Native
33.80
33.80
34.80
35.00
MATH-500
TCR
34.80
35.00
35.80
36.00
Appendix
Table 16: Accuracy (%) on the same saved 1/8 trajectories. GSM8K and MATH-500 contain 1,319 and 500 requests per generation arm, respectively. Four denotes the four-branch subset; Full denotes original SCR.
Diffusion language models (DLMs) support bidirectional denoising and iterative refinement, but generation remains largely controlled by token-level masking schedules. This leaves draft-level refinement implicit and limits explicit control over when to insert missing content, delete redundant spans, revisit uncertain regions, or stop editing. We introduce Diffusion Editing Language Adapter (DELA), a plug-in framework that enables controllable draft refinement with a frozen DLM. DELA operates on clean, variable-length drafts using four explicit editing actions: Insert, Delete, Remask, and Stop. The controller determines when and where to edit the draft, while the frozen DLM fills masked regions through denoising, separating high-level edit control from token-level generation. A naive single-phase editor would be computationally expensive because arbitrary interior edits can disrupt prefix stability and limit reliable KV-cache reuse. To address this, DELA uses a two-phase decoding procedure: a fast, append-only drafting phase that supports KV-cache reuse, followed by a global refinement phase that enables targeted non-monotonic edits to the full draft. We train the controller using a staged curriculum that begins with learning local edit priors from synthetic recovery tasks and mined actions that improve draft quality. Subsequent stages refine edit selection through rollout-based outcome preferences and alignment with downstream task feedback. Experiments on mathematical reasoning and code generation show that DELA achieves gains of up to 5.5 percentage points over direct diffusion decoding while keeping the backbone frozen. DELA thus provides a modular approach to explicit draft-level control in diffusion language models.
Xinsong Feng, Chenan Wang, Leshu Tang +4
Georgia Institute of Technology · William & Mary · UCLA +1
We propose HiLo-RD (High-to-Low Budget Representation Distillation) to improve masked diffusion language models (MDLMs) under a limited generation budget. Unlike autoregressive models, MDLMs choose both what to generate and where to commit it. This creates two coupled challenges: predicting useful content before reasoning is complete, and deciding when to fix answer tokens that shape later predictions. We identify budget-induced premature commitment: even when a correct solution fits, the model can fix answer fragments near the window boundary before resolving intermediate steps. These fragments become context for later predictions and redirect subsequent reasoning. Existing post-training methods do not directly transfer the stronger trajectories that the same model follows with a larger window. HiLo-RD addresses this gap by (1) pairing large-window teacher states with cropped small-window views and (2) matching their hidden representations at committed positions. This supervision guides both token prediction and commitment order without an external teacher. Across mathematics benchmarks, HiLo-RD improves low-budget accuracy and shortens responses; these gains extend to code generation without code-domain training. On GSM8K, accuracy rises by 9.4 percentage points as mean readable length falls by about 25%. Attention diagnostics and fixed-budget order interventions support the proposed mechanism. Together, these results show that large-window reasoning can improve small-window decoding.
Xiang Li, Chengting Yu, Jungang Li +5
The Hong Kong University of Science and Technology (Guangzhou) · Zhejiang University · Nanyang Technological University +2
Diffusion language models can generate many tokens in parallel, but they still require repeated denoising steps during inference. This makes generation costly, especially when the model continues to recompute tokens that are already stable. To address these limitations, we propose CAI-DLLM, a training-free inference method that uses first-step confidence to guide denoising and reduce inference time. Specifically, CAI-DLLM commits easy tokens earlier, allocates more denoising steps to harder tokens, and adjusts decoding schedules across output blocks. As it relies only on first-step confidence signals, it does not require retraining, extra predictors, or weight updates. We evaluate CAI-DLLM on LLaDA-8B-Instruct and Dream-7B-Instruct across math, code, reasoning, commonsense, and long-context tasks. CAI-DLLM achieves up to 18.2x wall clock inference speedup on LLaDA GSM8K while improving accuracy from 76.27% to 77.41%, and up to 13.1x speedup on Dream HumanEval while achieving higher pass@1 than no-cache inference, 48.17% compared with 46.95%. On harder reasoning tasks, speedups reach 44.8x, with a largest accuracy drop of 4.4 points, while energy consumption is reduced by up to 95.3%.
Farhana Amin, Sabiha Afroz, Dimitrios S. Nikolopoulos