Corrective Diffusion Language Models
Summary
UW–Madison + Duke paper (Zhang/Peng/Zhang/Pan/Chrysos; arXiv 2512.15596v2) shows standard MDLM loss only supervises masked tokens, so DLMs cannot assign low confidence to wrong visible tokens and fail at remask-based self-correction. CDLM post-trains with an absorbing–uniform mixture that CE-supervises corrupted visible tokens, inducing error-aware confidence and targeted in-place refinement. Introduces Code Revision Benchmark (CRB) with type-preserving op/id/literal corruptions on HumanEval/MBPP(+) and executable fail-only filtering. CDLM-0.5B (Open-dCoder-0.5B + 2k Nemotron steps) lifts CRB Pass@1 avg 0.148→0.225; ParallelBench high-entropy remask 0.45→0.62 on LLaDA-2.0-mini; also gains on HumanEval/Sudoku.
- Venue
- arXiv / UW–Madison; Duke University
- Publisher
- arXiv / UW–Madison; Duke University
- Source
- arxiv
- Access
- free
- License
- arXiv perpetual non-exclusive license 1.0; code at github.com/zhangshuibai/CDLM (public)
- License family
- Other
- Language
- en
- Purpose
- Post-train MDLMs for corrective behavior via absorbing+uniform mixture that supervises wrong-but-visible tokens; introduce executable Code Revision Benchmark (CRB).
- Scale
- CDLM-0.5B FT Open-dCoder-0.5B 2000 steps Nemotron; LLaDA-2.0-mini 16B on ParallelBench 50k/6ep block-diff; Sudoku DiT ~37M; CRB on HumanEval/+/MBPP/+
- Domain
- diffusion language models; masked diffusion; self-correction; code revision; parallel decoding
- Used for
- DLM self-correction / remasking; CRB error-localization eval; parallel high-entropy decoding; related to LLaDA2.x / InclusionAI recipe
- Time period
- arXiv first 2025-12-17; v2 2026-01-29; X announce 2026-09-26
- Author type
- academia (UW–Madison; Duke University)
- Added
- Sep 26, 2026
- Verified
- Sep 26, 2026
- Research status
- done
From the source
- Published
- Dec 17, 2025
- Last revised
- Jan 29, 2026
- arXiv categories
- cs.LG
- Author comment
- 21 pages
- Citations
- 12
- References
- 52
Abstract (from arXiv)
While Diffusion Language Models (DLMs) are theoretically well-suited for iterative refinement due to their non-causal structure, they often fail to reliably revise incorrect tokens in practice. The key challenge lies in the model's inability to distinguish between correct and erroneous tokens in a visible sequence. Standard masked diffusion language model (MDLM) training is restricted to the objective of unmasking, undermining the effectiveness of refinement guided by confidence. Based on this observation, we study corrective behavior in DLMs, defined as the ability to assign lower confidence to incorrect tokens and iteratively refine them while preserving correct content. We show that this capability is not induced by conventional masked diffusion objectives and propose a post-training principle oriented by correction that explicitly supervises visible incorrect tokens, enabling discriminative confidence and targeted refinement. To evaluate corrective behavior, we introduce the Code Revision Benchmark, a controllable and executable benchmark for assessing error localization and in-place correction. Experiments on code revision tasks and parallel decoding scenarios demonstrate that models trained with our approach substantially outperform standard MDLMs, with gains that are most pronounced when parallel decoding introduces substantial uncertainty and iterative refinement becomes essential. Our code is publicly available at https://github.com/zhangshuibai/CDLM.
Tags
Topics
diffusion language models; masked diffusion; self-correction; code revision; parallel decoding
Research notes
- Hudson user-fed 2026-09-26. X https://x.com/ShuibaiZ69721/status/2103759909959409913 (@ShuibaiZ69721 / Shuibai Zhang, UW-Madison CS PhD; created 2026-09-26T08:13:43Z). Coauthors tagged @pengzhangzhi1 @yihengzhang824 @JinPan547630 @Grigoris_c; mentions @TheInclusionAI @AntLingAGI (LLaDA2.x 100B line). Code https://github.com/zhangshuibai/CDLM confirmed public (HTTP 200). Dedup clean: no prior 2512.15596 / CDLM / ShuibaiZ / CRB / zhangshuibai/CDLM in papers_local. Abs keywords say ICML; X frames NeurIPS 2026 — note venue claim unverified on abs. Dump: /workspace/curator/research/cdlm-shuibaiz-2103759909959409913-20260926/ (NOTES.md, arxiv_api.xml, arxiv_abs.html, paper.pdf). Concurrent: MILO already appended as 1486; this row takes next id under flock.
Cites, within this collection
Similar entries
- Paper Rethinking Reasoning with MDLMs: Early Exits, Post-hoc Reasoning, and Beyond
- Paper ALoDLM: Adaptively Looped Diffusion Language Models
- Paper Base Models Can Reason By Taking a Cue From Training Data
- Paper Training Language Models to Self-Correct via Reinforcement Learning
- Paper Unlocking Lossless Speedups in LLMs via Discrete Diffusion
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)