cs.CLOct 29, 2026

Cord: Confidence-Anchored Order Residual Decoding for Masked Diffusion Language Models

Authors: Chengwei Zhou, Zhaoyan Jia, Massoud Pedram, Gourav Datta

Organizations: Case Western Reserve University, Cleveland, USA · University of Southern California, Los Angeles, USA

Abstract

The decoding order of masked diffusion language models (dLLMs) can substantially affect generation quality, yet common decoders typically apply the same reveal rule throughout generation. Confidence provides a strong default, but it measures how decisively a position can be predicted now, not how useful revealing that position will be for subsequent decoding. We propose Cord, a lightweight prompt-conditioned policy that retains confidence decoding as a stable reference and learns when and how to depart from it through geometric residuals over generation direction, proximity to revealed context, and two-sided infilling. The residuals adapt to both the prompt and the evolving partial response. Rather than sampling a new policy action at every decoding step, Cord samples a single low-dimensional coefficient matrix per rollout, which induces an entire state-dependent reveal trajectory. This yields a contextual-bandit formulation trained directly from sequence-level rewards, without step-level credit assignment or backbone updates. Across three dLLMs and five reasoning, code, and constraint-satisfaction benchmarks, Cord improves average task success from 32.0% under confidence decoding to 48.2%, and further improves over the best per-domain fixed residual. Behavioral audits show that the learned residuals induce substantial, task-dependent changes in reveal locality and two-sided infilling. Cord adds only 0.530.53M trainable parameters, requires no additional backbone forward passes, and incurs only 5.39% inference latency overhead.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CoDR: Training-Free Confidence-Drift Remasking for Diffusion Language Models

    Sep 28, 2026Yue Wu, Qinghe Zhang, Yu Zhang +1Diffusion Language Model DecodingMasked Diffusion Models

  2. Reliable Parallel Decoding in Masked Diffusion Language Models

    Sep 29, 2026Zhenghao He, Bohan Liu, Guangzhi Xiong +1Masked Diffusion ModelsDiffusion Language Model Decoding

  3. Masked Diffusion Decoding as xx-Prediction Flow

    Jun 27, 2026Weitian Wang, Lianlei Shan, Shubham Rai +2Masked Diffusion ModelsDiffusion Language Model Decoding