CoDR: Training-Free Confidence-Drift Remasking for Diffusion Language Models
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- 17 pages, 6 figures, and 17 tables
Related papers
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Shared title terminologycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
The Model Knows When to Stop: Training-Free Early Stopping for Long-Context Reading
Shared title terminologycs.CLMuath Alyobi, Mohamed Eltahir, Almoayyad Abuljdail et al.
DiCALM: Converting Autoregressive Convolution-Attention Language Models into Discrete Diffusion Language Models
Shared title terminologycs.CLPhong Le, Ngoc-Quan Pham, Dat Quoc Nguyen
Pitfalls of Dependency-Ready Decoding for Masked Diffusion Language Models
Shared title terminologycs.CLLina Berrayana, Christopher Malon, Yoichi Ishibashi et al.
Rethinking Knowledge Distillation for Diffusion Language Models
Shared title terminologycs.CLYuxuan Sun, Yuanjian Xu, Jianing Hao et al.
On the Importance of Hidden-State Refinement in Masked Diffusion Language Models
Shared title terminologycs.CLLinhao Zhong, Bozhen Fang, Xuehao Wang et al.