Closing Performance Gap for Diffusion Language Models under Low Inference Budgets
Organizations: University of Wisconsin–Madison · Northwestern University · Zhongguancun Academy · Zhongguancun Institute of Artificial Intelligence ·
Abstract
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
| Budget | Model | Evaluation Dataset | Average | |||||
| HumanEval | HumanEval+ | MBPP | MBPP+ | GSM8K | MATH-500 | |||
| 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 | |
| Method | TCR | SCR | ||||
|---|---|---|---|---|---|---|
| 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 |
| 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 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Symbol | Value | Role |
| Retention threshold | 0.30 | Select low-support old tokens | |
| Per-step ratio cap | 0.25 | Cap remasked positions per edit step | |
| Structural radius | 1 | Isolate remasking from INSERT/DELETE actions | |
| Lineage budget | 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 |
| Budget | Native | Native | Native/CaRR NFE | CoRe normal mask + probes + edit | Total NFE |
|---|---|---|---|---|---|
| 48 | 16 | 64 | 64 | ||
| 96 | 32 | 128 | 128 | ||
| 224 | 32 | 256 | 256 | ||
| 480 | 32 | 512 | 512 |
| 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 |
| Budget | Domain | Task / metric | ME-DLM | SCR | TCR | CaRR |
|---|---|---|---|---|---|---|
| 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 |
| Remasks | HumanEval | MBPP | GSM8K | MATH-500 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Budget | / resp. | Native | Old | Third | Native | Old | Third | Native | Old | Third | Native | Old | Third |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| Metric | Budget | Native final | Same-final | Full SCR | Native same R/B | Same full R/B |
|---|---|---|---|---|---|---|
| Base | 138 | 149 | 163 | 11/0 | 14/0 | |
| 230 | 231 | 243 | 1/0 | 12/0 | ||
| 282 | 282 | 290 | 0/0 | 8/0 | ||
| 313 | 313 | 313 | 0/0 | 0/0 | ||
| EvalPlus+ | 122 | 132 | 145 | 10/0 | 13/0 | |
| 204 | 205 | 215 | 1/0 | 10/0 |
| Metric | Budget | Same-final | Earlier edit | Initial draft | Total |
|---|---|---|---|---|---|
| Base | 11 | 7 | 7 | 25 | |
| 1 | 8 | 4 | 13 | ||
| 0 | 6 | 2 | 8 | ||
| 0 | 0 | 0 | 0 | ||
| EvalPlus+ | 10 | 7 | 6 | 23 | |
| 1 | 7 | 3 | 11 |
| Budget | HumanEval | MBPP | GSM8K | MATH-500 | Pooled |
|---|---|---|---|---|---|
| 15.29 | 15.27 | 14.87 | 14.75 | 14.94 / 16 | |
| 26.85 | 27.28 | 25.81 | 23.50 | 25.63 / 32 | |
| 23.35 | 20.07 | 19.76 | 17.43 | 19.57 / 32 | |
| 6.07 | 6.48 | 8.64 | 7.27 | 7.83 / 32 |
| 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 |
| 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 |
| 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 |
| Trajectory / SCR policy | ||||
|---|---|---|---|---|
| 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 |
| 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 |
Diffusion Language Models
Diffusion language models generate and refine text through iterative denoising, enabling bidirectional context and parallel token updates.
See all 511 papers