Corrective Diffusion Language Models
Shuibai Zhang, Fred Peng, Yiheng Zhang, Jin Pan, Grigorios Chrysos
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Diffusion Language Models · Type: new method · Keywords: diffusion language models, error localization, post-training supervision, code revision benchmark, parallel decoding
Areas: Evaluation & Benchmarks › Language Model and Agent Benchmarks › Test-Time Methods
Summary
Corrective Diffusion Language Models introduce a post-training principle that supervises visible incorrect tokens to enable discriminative confidence and reliable in-place correction, while also improving general generation.
Explained to a 5-year-old
Some computers make up sentences using a special method that can change words one at a time. Sometimes they make mistakes and don't know which words are wrong. The new idea teaches the computer to notice when a word is probably wrong and fix it without messing up the good words. This helps the computer correct its own mistakes and also write better sentences. It works for many kinds of writing, like code, math problems, and other tasks.
Explained to a 5-year-old, longer
Computers can create sentences by slowly revealing words, like a puzzle. This method is called diffusion, and it lets the computer change words over many steps. However, when the computer shows a sentence, it sometimes cannot tell which words are wrong. The researchers noticed that the usual training only teaches the computer to guess missing words, not to fix wrong ones. They added a new teaching step that tells the computer which visible words are likely mistakes. By learning to spot bad words, the computer can lower the confidence of those words and replace them later. This helps the computer correct its own errors while keeping the correct parts unchanged. The improvement also makes the computer write better sentences in general, not just fix mistakes. They tested this idea on three kinds of tasks: writing code, solving math problems, and generating parallel sentences. In each case, the computer performed better than the old version and other similar methods. The new method is simple: just add a little extra training that focuses on fixing visible errors. This makes the computer more reliable for real-world uses where accurate text is important.
For a technical reader
Corrective Diffusion Language Models add a post-training signal that explicitly supervises visible incorrect tokens, teaching the model to assign lower confidence to errors while preserving correct content. This discriminative confidence enables reliable in-place correction and also improves parallel decoding and overall generation quality. The method is evaluated on the Code Revision Benchmark and ParallelBench, where it consistently outperforms both the base model and standard masked-diffusion fine-tuning. The approach is simple to implement and requires no architectural changes, making it practical for existing diffusion language models. It demonstrates a dual benefit: better error localization and stronger general generation across code, math, and parallel tasks.
Problem
Diffusion language models often cannot reliably revise incorrect tokens because they lack the ability to distinguish correct from erroneous tokens in a visible sequence, limiting iterative refinement.
Method
The approach adds a post-training supervision signal that explicitly penalizes incorrect tokens in the visible sequence, encouraging the model to assign lower confidence to errors and enabling targeted refinement while preserving correct content.
Results
The approach achieves better in-place correction and improves answer quality on standard generation tasks across code, math, and parallel decoding benchmarks compared to baseline models.
Contributions
It identifies that conventional masked diffusion objectives do not induce corrective behavior, proposes a correction-oriented post-training principle to enable discriminative confidence, introduces the Code Revision Benchmark for evaluating error localization, and shows improved generation across multiple domains.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction