CoDR: Training-Free Confidence-Drift Remasking for Diffusion Language Models
cs.CL, cs.LG
Submitted: 2026-09-28
Updated: 2026-09-28
Comments: 17 pages, 6 figures, and 17 tables
Code: https://github.com/YueWu0301/CoDR
License: http://creativecommons.org/licenses/by/4.0/
The gist: Masked diffusion language models (MDLMs) decode by repeatedly committing tokens to masked positions, but these commitments are usually irreversible.
Abstract
Masked diffusion language models (MDLMs) decode by repeatedly committing tokens to masked positions, but these commitments are usually irreversible. A token chosen under sparse, partial context is kept fixed, even when later context no longer supports it. Existing samplers mainly decide when to commit a token, but rarely check whether an already committed token should still be kept, allowing early mistakes to propagate. We trace this issue to confidence drift, where the model's confidence in a committed token drops from its sparse commit-time context to the denser context available later. Based on this signal, we propose CoDR (Confidence Drift Remasking), a training-free and sampler-agnostic refinement pass. CoDR estimates drift for all committed positions in only k forward passes via k-partition probing, then remasks and regenerates only the tokens the model no longer endorses. Across two backbones, four reasoning and coding tasks, and three base samplers, CoDR improves average accuracy across all evaluated model-sampler configurations and improves most individual task settings with modest overhead. Controlled experiments show that the gains come from targeted confidence-drift remasking rather than extra compute alone, and that CoDR uses far fewer forward passes than prior remasking methods. Code is available at https://github.com/YueWu0301/CoDR.
Sources
- Program Synthesis with Large Language Models
- LLaDA2.0: Scaling Up Diffusion Language Models to 100B
- Evaluating Large Language Models Trained on Code
- Training Verifiers to Solve Math Word Problems
- DiffuCoder: Understanding and Improving Masked Diffusion Models for Code Generation
- Non-Autoregressive Neural Machine Translation
- DAPD: Dependency-Aware Parallel Decoding via Attention for Diffusion LLMs
- KLASS: KL-Guided Fast Inference in Masked Diffusion Models
- Conditional [MASK] Discrete Diffusion Language Model
- Large Language Diffusion Models
- Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data
- Remasking Discrete Diffusion Models with Inference-Time Scaling
- CreditDecoding: Accelerating Parallel Decoding in Diffusion Large Language Models with Trace Credit
- Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decoding
- Stability-Weighted Decoding for Diffusion Language Models
- MMaDA: Multimodal Large Diffusion Language Models
- Dream 7B: Diffusion Large Language Models
- LLaDA-V: Large Language Diffusion Models with Visual Instruction Tuning
- CORE: Context-Robust Remasking for Diffusion Language Models
- d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering