# Corrective Diffusion Language Models

DevFeed: [Corrective Diffusion Language Models](<https://devfeed.tech/articles/corrective-diffusion-language-models-120376.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2512.15596>)

Author: Shuibai Zhang, Fred Zhangzhi Peng, Yiheng Zhang, Jin Pan, Grigorios G. Chrysos

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [post-training](<https://devfeed.tech/topics/post-training.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [code](<https://devfeed.tech/tags/code.md>), [code-completion](<https://devfeed.tech/tags/code-completion.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [math](<https://devfeed.tech/tags/math.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>)

## AI overview

The paper reports that masked diffusion language models revise errors more reliably when post-training explicitly supervises visible corrupted tokens, teaching the model to assign them lower confidence while preserving correct content. Under matched compute and data, this correction-oriented approach induces more corrective behavior than conventional masked-diffusion fine-tuning. Also supervising clean visible tokens, as in BERT- or GIDD-style training, prevents remask-based refinement from improving with more steps. The authors introduce the controllable, executable Code Revision Benchmark and report that the effect transfers from a 0.5B model to LLaDA-8B, with a smaller margin on corruptions drawn from the base model's plausible predictions. Their objective outperforms standard fine-tuning in reported code completion, mathematical reasoning, and high-entropy parallel decoding evaluations; at 8B, neither objective improves from-scratch generation over the base model.

## Source excerpt

arXiv:2512.15596v3 Announce Type: replace Abstract: While Diffusion Language Models (DLMs) are theoretically well-suited for iterative refinement due to their non-causal structure, off-the-shelf masked diffusion language models (MDLMs) often fail to reliably revise incorrect tokens in practice. The key challenge is that the model cannot tell correct from erroneous visible tokens: standard MDLM training supervises only masked positions, undermining confidence-guided refinement. We study corrective behavior in DLMs, the ability to assign lower confidence to incorrect tokens and iteratively refine them while preserving correct content. Under matched compute and data, we show that conventional masked-diffusion fine-tuning induces much less of this capability than a correction-oriented post-training principle that explicitly supervises visible corrupted tokens, which enables discriminative confidence and targeted refinement. We further find that also supervising clean visible tokens, as in BERT- or GIDD-style training, stops remask-based refinement from improving with additional steps. To evaluate it, we introduce the Code Revision Benchmark, a controllable, executable benchmark for error localization and in-place correction. The effect transfers from a 0.5B model to LLaDA-8B and persists, with a smaller margin, when corruptions are drawn from the base model's own most plausible predictions. The same error-aware confidence also makes parallel decoding more effective. In HumanEval(+) code completion at 0.5B, mathematical reasoning at 16B, and high-entropy parallel decoding with remasking (ParallelBench), models trained with our objective outperform standard masked-diffusion fine-tuning under matched compute, and outperform the base model on HumanEval(+), MATH, and the high-entropy ParallelBench average; at 8B, neither objective improves from-scratch generation over the base model. Code and data: https://github.com/zhangshuibai/CDLM