alphaFeedback

WorksComputer Science

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

AI contributions
  • Generative AI tools
View details

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.

Introduction

Masked diffusion language models (dLLMs) can reveal masked response positions in different orders, unlike autoregressive models that generate strictly from left to right. Each revealed token becomes part of the context for subsequent predictions, so the reveal order can materially affect the final generation. For example, Kim et al. [16] report that replacing random unmasking with a top-two probability-margin rule increases Sudoku accuracy from below 7% to roughly 90%, while yielding much smaller gains on natural-language reasoning. This disparity suggests that reveal order should be treated as part of the decoding strategy, and that the appropriate strategy can depend on the task. A common approach is to rank masked positions using a confidence statistic computed from the current predictive distribution. Such scores are inexpensive, since they are already available from the dLLM forward pass, and identify positions whose current token prediction is most decisive. However, confidence describes how predictable a position is now; it does not measure how useful revealing that position will be for later predictions. This distinction depends on the geometry of the partially revealed response. Sequential reasoning may benefit from extending an existing reasoning chain, whereas structured generation may benefit from first revealing distant structural anchors and then filling the gaps between them.

We verify this effect with frozen-backbone oracle experiments that control the amount of revealed information. We reveal selected ground-truth tokens before generation and compare them against the same number of randomly positioned ground-truth tokens, after which the remaining response is completed using standard confidence decoding. On GSM8K, revealing a correct causal prefix increases accuracy from 37.2% to as high as 67.4%, while token-matched random anchors remain below 20%. On MBPP, revealing structural program tokens outperforms matched random anchors by up to 14.4 points. These results show that, even at the same reveal budget, where information is revealed can substantially affect completion quality.

One way to exploit this structure is to learn the next reveal position directly. Prior work uses reinforcement learning with sequence-level rewards [12, 37, 15, 7] or auxiliary planning networks [27, 19]. These position-level formulations optimize a sequence of dependent discrete actions from final-response feedback, resulting in a large action space and temporal credit-assignment problem. Auxiliary planners can also add computation at every decoding step, while jointly updating a multi-billion-parameter backbone substantially increases training cost.

To adapt reveal order with substantially lower optimization and inference overhead, we propose CORD. Instead of replacing confidence decoding with a token-level planner, CORD keeps confidence as the base ranking and learns bounded geometric corrections to it. CORD adjusts three complementary properties of the reveal order: generation direction, proximity to already revealed context, and preference for positions with revealed context on both sides. A lightweight prompt-conditioned network predicts a coefficient matrix, while features of the evolving partial response determine how these corrections change during decoding. CORD can therefore favor local continuation, non-local seeding, or two-sided infilling at different stages of generation. When the residual coefficients are zero, CORD reduces exactly to confidence-based (Top-2 margin) decoding, and the dLLM backbone remains frozen.

CORD is trained by exploring in the low-dimensional coefficient space rather than sampling a new reveal action at every step. For each prompt, the policy samples one coefficient matrix that deterministically induces the complete state-dependent reveal trajectory and receives a sequence-level reward. This converts reveal-order learning into a contextual-bandit problem and avoids step-level credit assignment. Across three masked diffusion models and five benchmarks spanning mathematical reasoning, code generation, and constraint satisfaction, CORD improves average task success from 30.6% under confidence-based decoding to 50.5% and also outperforms the best per-domain fixed geometric residual. Ablations show that prompt conditioning, within-rollout adaptation, and all three geometric residuals contribute to the gain. A behavioral analysis further shows task-dependent changes in reveal locality and two-sided infilling. CORD requires no additional backbone forward passes, adds only 0.53M trainable parameters, and incurs 5.39% inference latency overhead.

Related Work

Masked diffusion language models. Absorbing-state discrete diffusion [2] has been simplified into scalable masked-diffusion objectives [20, 29, 30, 26], extended with variants such as soft masking [10], and scaled to instruction-following models including LLaDA-8B-Instruct [24], its preference-optimized successor LLaDA-1.5 [39], and the autoregressively initialized Dream-7B [34]; see Li et al. [17] for a survey. Unlike autoregressive models, masked diffusion models admit multiple valid reveal orders at inference time. Although this freedom is immaterial for an exactly fitted model, it can substantially affect finite pretrained models. For example, Kim et al. [16] show that a margin-based reveal rule raises Sudoku accuracy from below 7% to roughly 90%, while providing much smaller gains on natural-language reasoning. This disparity motivates our view that reveal order should be treated as a task- and state-dependent inductive bias rather than a fixed decoding choice.

Reveal-order strategies for MDMs. Existing approaches range from hand-designed reveal rules to learned planners. Confidence-ranked decoding descends from MaskGIT [5]; modern dLLMs use max probability [34], top-2 margin [16], negative entropy, or block-wise schedules, often in combination with caching, entropy-bounded thresholds, or adaptive block selection [31, 4, 14, 21]. Recent work also identifies limitations of purely confidence-driven ordering, including boundary and trivial-token biases [11], premature deferral of high-entropy connectives that can alter reasoning trajectories [23], and reduced sample diversity caused by coupling token prediction and reveal order [25]. These findings motivate augmenting confidence with information about the geometry of the partially revealed response rather than replacing confidence entirely. Learned methods instead optimize reveal order more directly. Some introduce explicit planners for unmasking or remasking [27, 19, 28, 38, 18, 22], while others distill oracle orders from ground-truth margins [1] or optimize reveal decisions using terminal or pathwise rewards [12, 37, 15, 7, 32]. These approaches typically operate at the level of positions or decoding steps and therefore face a large action space and long-horizon credit assignment; many also modify or jointly train the backbone. CORD takes a different route. We keep the pretrained confidence-based decoder as a fixed reference and learn a low-dimensional, prompt-conditioned residual over three interpretable geometric axes: direction, proximity to revealed context, and two-sided infilling. The resulting 24-dimensional coefficient program controls how these residuals evolve with the decoding state, while the dLLM backbone remains frozen. Exploration occurs once per rollout in coefficient space, after which the complete reveal trajectory is deterministic, yielding a contextual-bandit formulation rather than a step-level planning problem.

CORD: confidence-anchored geometric residual for adaptive reveal order

Figure 1. CORD. Top: a prompt-conditioned MLP produces state-dependent geometric residuals: direction, proximity, and bridge, that modify confidence-based reveal scores while keeping the dLLM frozen. Bottom left: CORD reveals the highest-scoring masked position at each step. Bottom right: training samples one low-dimensional coefficient program per rollout and optimizes it from sequence-level rewards as a contextual bandit.

Method

From Task-Specific Ordering Biases to Dynamic Decoding

Given a prompt xx, a masked diffusion language model (dLLM) with frozen parameters θ\theta predicts token distributions over all masked response positions and must decide which position to reveal next. We leave token prediction unchanged and study only this reveal-order decision.

We first ask whether different tasks actually prefer different forms of partial conditioning. To isolate this effect from learning, we conduct two oracle diagnostics with the dLLM backbone frozen and reveal selected ground-truth tokens before generation. On GSM8K, we reveal the first 25%, 50%, or 75% of the safe reasoning lines, while excluding the final reasoning line and answer, and compare against revealing the same number of randomly located ground-truth tokens. On MBPP, we instead reveal the structural skeleton of the canonical program, e.g., if, else, for, while, and return, and compare against a token-budget-matched random control. In both cases, the remaining positions are completed by a standard

confidence LLaDA decoding. Figure 2 shows clear task-dependent preferences. On GSM8K, revealing a causal prefix raises accuracy from no-oracle 37.2% to as high as 67.4%, while matched random anchors remain below 20%. On MBPP, structural anchors outperform matched random anchors by up to 14.4 points. These results suggest that reasoning favors coherent prefix expansion, whereas code generation benefits from sparse structural scaffolds.

Oracle reveal diagnostics with frozen LLaDA

Figure 2. Oracle reveal diagnostics with frozen LLaDA. GSM8K favors a contiguous reasoning prefix, while MBPP benefits from structural anchors. Conservative uses core control-flow tokens (e.g. if, else, for); Extended additionally includes function (def, class), delimiter, and assignment tokens.

This suggests that no single reveal bias is uniformly appropriate. Sequential reasoning may favor coherent local continuation, while structured generation may benefit from non-local anchors that support later infilling. Moreover, the preferred bias can change during generation as newly revealed tokens reshape both the confidence-based landscape and the geometry of the remaining masked region.

CORD therefore retains confidence-based decoding as a stable default and learns only a bounded geometric residual that determines when and how to deviate from it. The residual can adjust generation direction, trade off local continuation against non-local seeding, and favor two-sided infilling, while depending on both the prompt and the evolving decoding state.

Confidence-Anchored Reveal Geometry

Let sts_t denote the decoding state at step tt, M(st)\mathcal{M}(s_t) the set of still-masked response positions, and Rresp(st)R_{\mathrm{resp}}(s_t) the set of already revealed response positions. For each p∈M(st)p \in\mathcal{M}(s_t), the frozen dLLM predicts

πp(v∣st)=pθ(yp=v∣st).(1)\pi_p(v \mid s_t) = p_\theta(y_p = v \mid s_t). \tag*{(1)}

CORD retains confidence-based decoding as its base policy and learns only geometric residuals that modify the reveal ranking. Let v1(p)v_1(p) and v2(p)v_2(p) denote the two highest-probability non-special tokens at pp, and let idx⁡(p)∈{1,…,L}\operatorname{idx}(p) \in\{1,\ldots,L\} denote its response position. We define

hanchor(p,st)=πp(v1(p)∣st)−πp(v2(p)∣st),hdir(p)=2idx⁡(p)−1L−1−1,hprox(p,st)={min⁡r∈Rresp(st)∣idx⁡(p)−idx⁡(r)∣,Rresp(st)≠∅,0,Rresp(st)=∅,hbridge(p,st)=1[∃rℓ,rr∈Rresp(st):idx⁡(rℓ)<idx⁡(p)<idx⁡(rr)].(2)\begin{aligned} h_{\mathrm{anchor}}(p,s_t) &= \pi_p(v_1(p) \mid s_t) - \pi_p(v_2(p) \mid s_t),\\ h_{\mathrm{dir}}(p) &= 2\frac{\operatorname{idx}(p)-1}{L-1}-1,\\ h_{\mathrm{prox}}(p,s_t) &= \begin{cases} \min_{r\in R_{\mathrm{resp}}(s_t)} \left|\operatorname{idx}(p)-\operatorname{idx}(r)\right|, & R_{\mathrm{resp}}(s_t)\ne\varnothing,\\ 0, & R_{\mathrm{resp}}(s_t)=\varnothing, \end{cases}\\ h_{\mathrm{bridge}}(p,s_t) &= \mathbf{1}\left[\exists r_\ell,r_r\in R_{\mathrm{resp}}(s_t):\operatorname{idx}(r_\ell)<\operatorname{idx}(p)<\operatorname{idx}(r_r)\right]. \tag*{(2)} \end{aligned}

These signals have complementary interpretations. hanchorh_{\mathrm{anchor}} recovers the conventional confidence-based (Top-2 margin) decoder. For hdirh_{\mathrm{dir}}, a negative coefficient favors earlier positions (left-to-right), whereas a positive coefficient favors later positions (right-to-left). For hproxh_{\mathrm{prox}}, a negative coefficient favors positions near already revealed response tokens and therefore encourages local continuation, whereas a positive coefficient favors distant positions and promotes non-local seeding. Finally, a positive coefficient on hbridgeh_{\mathrm{bridge}} favors positions with revealed response context on both sides and therefore encourages infilling. Prompt tokens are excluded from RrespR_{\mathrm{resp}} so that the prompt–response boundary does not introduce an artificial positional bias.

Because these signals have different numerical ranges, we normalize each one over the currently masked positions:

h~m(p,st)={hm(p,st)−μm(t)σm(t),σm(t)≥ϵvar,0,otherwise,ϵvar=10−4,\widetilde{h}_m(p,s_t)= \begin{cases} \frac{h_m(p,s_t)-\mu_m^{(t)}}{\sigma_m^{(t)}}, & \sigma_m^{(t)}\ge\epsilon_{\mathrm{var}},\\ 0, & \text{otherwise}, \end{cases} \qquad\epsilon_{\mathrm{var}}=10^{-4},

where μm(t)\mu_m^{(t)} and σm(t)\sigma_m^{(t)} are computed over p∈M(st)p\in\mathcal{M}(s_t). Near-constant signals are therefore suppressed rather than amplified by normalization.

Dynamic Geometric Residuals

CORD augments the normalized anchor score with a learned geometric residual:

S(p,s)=h~anchor(p,s)+αdir(x,s)h~dir(p)+αprox(x,s)h~prox(p)+αbridge(x,s)h~bridge(p,s).(3)S(p,s)=\widetilde{h}_{\mathrm{anchor}}(p,s)+\alpha_{\mathrm{dir}}(x,s)\widetilde{h}_{\mathrm{dir}}(p)+\alpha_{\mathrm{prox}}(x,s)\widetilde{h}_{\mathrm{prox}}(p)+\alpha_{\mathrm{bridge}}(x,s)\widetilde{h}_{\mathrm{bridge}}(p,s). \tag*{(3)}

At each decoding step, CORD reveals the single masked position with the largest score: p∗=arg max⁡xp∈M(s) S(p,s)p^*=\underset{x_p\in\mathcal{M}(s)}{\operatorname{arg\,max}}\,S(p,s). The anchor term remains active at every step, while the residuals adjust the reveal geometry. In particular, αdir\alpha_{\mathrm{dir}} controls left-to-right versus right-to-left preference, αprox\alpha_{\mathrm{prox}} trades off local continuation against non-local seeding, and αbridge\alpha_{\mathrm{bridge}} controls the preference for positions with revealed context on both sides. Unlike hard routing, these residuals only modify the ranking and never exclude positions from consideration.

To let these preferences evolve during decoding without introducing a new stochastic policy action at every step, CORD predicts a single coefficient program. Let B=3B = 3 denote the residual channels {dir,prox,bridge}\{\mathrm{dir},\mathrm{prox},\mathrm{bridge}\} and let JJ denote the number of state-basis functions. For a prompt-conditioned matrix C(x)∈RB×JC(x) \in\mathbb{R}^{B \times J}, the residual coefficients are

α(x,s)=αmax⁡⊙tanh⁡(C(x)f(s)),(4)\alpha(x,s) = \alpha_{\max} \odot\tanh\left(C(x)f(s)\right), \tag*{(4)}

where αmax⁡∈R+B\alpha_{\max} \in\mathbb{R}_{+}^{B} bounds the magnitude of each correction. We use the state basis

f(s)=[1, t, sin⁡(πt), Fmean(s), Fconc(s), Fcomp(s), Fbound(s), Fgap(s)]T,(5)\mathbf{f}(s) = \left[1,\ t,\ \sin(\pi t),\ F_{\mathrm{mean}}(s),\ F_{\mathrm{conc}}(s),\ F_{\mathrm{comp}}(s),\ F_{\mathrm{bound}}(s),\ F_{\mathrm{gap}}(s)\right]^{\mathsf{T}}, \tag*{(5)}

where t=∣Rresp(s)∣Lt = \frac{\lvert R_{\mathrm{resp}}(s)\rvert}{L} is the fraction of the response already revealed. The first two state features summarize the confidence-based landscape:

Fmean(s)=1∣M(s)∣∑p∈M(s)hanchor(p,s),Fconc(s)=Q0.9(hanchor(⋅,s))−Q0.5(hanchor(⋅,s)).(6)F_{\mathrm{mean}}(s) = \frac{1}{\lvert\mathcal{M}(s)\rvert}\sum_{p\in\mathcal{M}(s)} h_{\mathrm{anchor}}(p,s), \qquad F_{\mathrm{conc}}(s) = Q_{0.9}\left(h_{\mathrm{anchor}}(\cdot,s)\right) - Q_{0.5}\left(h_{\mathrm{anchor}}(\cdot,s)\right). \tag*{(6)}

They measure the overall confidence-based level and whether a small subset of masked positions is substantially easier than the rest. The remaining features summarize the reveal geometry:

Fcomp(s)=Ncomp(s)L,Fbound(s)=∣B(s)∣∣M(s)∣,Fgap(s)=Gmax⁡(s)L,(7)F_{\mathrm{comp}}(s) = \frac{N_{\mathrm{comp}}(s)}{L}, \qquad F_{\mathrm{bound}}(s) = \frac{\lvert\mathcal{B}(s)\rvert}{\lvert\mathcal{M}(s)\rvert}, \qquad F_{\mathrm{gap}}(s) = \frac{G_{\max}(s)}{L}, \tag*{(7)}

where Ncomp(s)N_{\mathrm{comp}}(s) is the number of contiguous revealed-response components, B(s)\mathcal{B}(s) is the set of masked positions with revealed context on both sides, and Gmax⁡(s)G_{\max}(s) is the length of the largest contiguous masked run.

A single B×JB \times J matrix therefore determines how the three geometric residuals evolve over the entire rollout. Once C(x)C(x) is fixed, the residual coefficients are deterministic functions of the current decoding state. The coefficient predictor is zero-initialized, so CORD begins exactly from confidence-based decoding and learns only residual departures from it.

Prompt-Conditioned Coefficient Policy

The geometric residuals should depend on the input, since different prompts may favor different reveal-order corrections even within the same task. CORD therefore predicts the coefficient program directly from the prompt. The first backbone forward pass already processes the prompt together with the masked response block, so we mean-pool the intermediate prompt hidden states to obtain a representation e(x)∈Rde(x) \in\mathbb{R}^{d} without requiring an additional backbone forward pass.

A lightweight policy network predicts the mean coefficient vector:

μψ:e(x)→fψ: Linear⁡(d→128)→SiLU⁡→Linear⁡(128→n)μ(x)∈Rn,n=BJ.(8)\boldsymbol{\mu}_{\psi} : e(x) \xrightarrow{f_{\psi}:\ \operatorname{Linear}(d\to128)\to\operatorname{SiLU}\to\operatorname{Linear}(128\to n)} \mu(x) \in\mathbb{R}^{n}, \qquad n = BJ. \tag*{(8)}

We use a two-layer MLP with a 128-dimensional hidden layer and SiLU activation. The output μψ(x)\mu_{\psi}(x) is reshaped into a coefficient matrix C(x)∈RB×JC(x) \in\mathbb{R}^{B \times J}. In our configuration, B=3B = 3 residual channels and J=8J = 8 state-basis functions, giving n=24n = 24. The final linear layer is initialized to zero, so CORD initially reduces exactly to confidence-based decoding. This parameterization separates prompt-level and state-level adaptation. The prompt determines the coefficient program C(x)C(x), while the evolving state basis f(s)f(s) determines how this program is expressed as geometric residuals during decoding. Thus, a single prompt-conditioned coefficient matrix specifies an entire state-dependent reveal strategy without requiring a new policy decision at every decoding step. During training, CORD explores around the predicted mean in coefficient space; at inference, it directly uses the mean program C(x)C(x).

Training CORD in Coefficient Space

There is no ground-truth reveal order with which to supervise CORD directly: the quality of an ordering strategy is only known after the resulting response has been generated and evaluated. We therefore train the coefficient policy from sequence-level rewards. A token-level policy would make a stochastic decision at every decoding step, creating a long sequence of dependent actions and requiring temporal credit assignment. Instead, CORD places exploration in the low-dimensional coefficient space that parameterizes the entire dynamic reveal strategy.

For each prompt xx, the policy predicts a mean coefficient vector μ(x)∈Rn\mu(x) \in\mathbb{R}^{n}, where n=BJn = BJ. During training, we sample a perturbed coefficient vector

Cζ=reshape⁡B×J(ζ),ζ=μ(x)+σϵ,ϵ∼N(0,In).(9)C_{\zeta} = \operatorname{reshape}_{B \times J}(\zeta), \qquad\zeta= \mu(x) + \sigma\epsilon, \qquad\epsilon\sim\mathcal{N}(0, I_{n}). \tag*{(9)}

The sampled matrix CζC_{\zeta} is held fixed for the entire rollout. At each decoding state ss, it is combined with the current state basis f(s)f(s) through Eq. (4) to produce the geometric residual coefficients α(x,s)\alpha(x,s). Although these coefficients evolve with the decoding state, once ζ\zeta is sampled, all subsequent reveal decisions are deterministic.

Each prompt therefore defines a context xx, the policy takes a single stochastic action ζ\zeta, and the resulting decoding trajectory receives one sequence-level reward rr:

x⟶ζ⟶full decoding rollout⟶r.(10)x \longrightarrow\zeta\longrightarrow\text{full decoding rollout} \longrightarrow r. \tag*{(10)}

CORD can thus be trained as a contextual bandit rather than as a long-horizon sequential policy. In our configuration, the stochastic action space has only BJ=3×8=24BJ = 3 \times8 = 24 dimensions, while still inducing a state-dependent reveal strategy over the entire rollout. This avoids step-level credit assignment and keeps the frozen dLLM outside the policy-gradient computation.

At inference time, exploration is removed and we use the predicted mean coefficient program C(x)=reshape⁡B×J(μ(x))C(x) = \operatorname{reshape}_{B \times J}(\mu(x)). Decoding is then deterministic using Eqs. (4) and (3).

Sequence-Level Reward

CORD is trained from sequence-level feedback rather than supervision on individual reveal decisions. For rollout ii, we use

r(i)=1[answer(i) is correct]+λfmt1[output(i) is parseable]+λanslog⁡pans(i).(11)r^{(i)} = 1\left[\text{answer}^{(i)}\text{ is correct}\right] + \lambda_{\mathrm{fmt}}1\left[\text{output}^{(i)}\text{ is parseable}\right] + \lambda_{\mathrm{ans}}\log p_{\mathrm{ans}}^{(i)}. \tag*{(11)}

The correctness term provides the primary supervision and directly evaluates whether the induced reveal strategy produces a successful final response. We do not prescribe a target reveal trajectory; instead, the coefficient policy is optimized according to the quality of the complete generation.

We use a small formatting reward, with λfmt=0.1\lambda_{\mathrm{fmt}} = 0.1, to distinguish malformed outputs from valid but incorrect responses. When additional graded feedback is useful, the optional answer-probability term re-masks the reference answer span and measures the mean log-probability assigned to the reference answer tokens. This requires one additional backbone forward pass. Task-specific verifiers define correctness. Mathematical responses are evaluated by answer extraction and symbolic equivalence, generated code is executed against the corresponding test cases in a resource-limited sandbox, and Sudoku outputs are checked for clue preservation together with row, column, and box constraints. Training and evaluation use the same verifier implementation.

Group-Relative Policy Gradient in Coefficient Space

For each prompt xx, we generate a group of KK sibling rollouts by sampling ζ(i)∼qψ(ζ∣x)=N(μψ(x),σ2In)\zeta^{(i)} \sim q_{\psi}(\zeta\mid x) = \mathcal{N}(\mu_{\psi}(x), \sigma^{2}I_{n}), i=1,…,Ki = 1,\ldots,K. Each sampled vector is reshaped into a coefficient program Cζ(i)C_{\zeta^{(i)}} and held fixed throughout the corresponding rollout. The log-density of a sampled coefficient vector is

log⁡qψ(ζ(i)∣x)=−∥ζ(i)−μψ(x)∥22σ2−n2log⁡(2πσ2),(12)\log q_{\psi}\left(\zeta^{(i)} \mid x\right) = -\frac{\left\|\zeta^{(i)}-\mu_{\psi}(x)\right\|^{2}}{2\sigma^{2}} - \frac{n}{2}\log\left(2\pi\sigma^{2}\right), \tag*{(12)}

with score-function gradient

∇ψlog⁡qψ(ζ(i)∣x)=(ζ(i)−μψ(x)σ2)T∇ψμψ(x).(13)\nabla_{\psi}\log q_{\psi}\left(\zeta^{(i)} \mid x\right) = \left(\frac{\zeta^{(i)}-\mu_{\psi}(x)}{\sigma^{2}}\right)^{\mathsf{T}}\nabla_{\psi}\mu_{\psi}(x). \tag*{(13)}

The gradient therefore never passes through the discrete reveal trajectory: CORD learns which regions of coefficient space induce successful decoding strategies rather than differentiating through the reveal decisions themselves. To reduce prompt-dependent reward variation without introducing a learned critic, we compare sibling rollouts generated from the same prompt. For rollout ii, we use the leave-one-out group-relative advantage

A(i)=r(i)−1K−1∑j=1j≠iKr(j).(14)A^{(i)} = r^{(i)} - \frac{1}{K-1}\sum_{\substack{j=1 \\ j\ne i}}^{K} r^{(j)}. \tag*{(14)}

The resulting advantage measures whether a coefficient perturbation performs better or worse than alternative perturbations for the same prompt. We do not normalize advantages by their within-group standard deviation. For binary or nearly binary verifier rewards, such normalization can disproportionately amplify groups containing only one success or one failure. If all sibling rollouts receive the same reward, then A(i)=0,∀i∈{1,…,K}A^{(i)} = 0, \forall i \in\{1,\ldots,K\}, and the group contributes no policy-gradient signal. The resulting objective is LPG=−1K∑i=1KA(i)log⁡qψ(ζ(i)∣x)\mathcal{L}_{\mathrm{PG}} = -\frac{1}{K}\sum_{i=1}^{K} A^{(i)} \log q_{\psi}\left(\zeta^{(i)} \mid x\right). The corresponding update on the coefficient mean has the intuitive form μ←μ+ηKσ2∑i=1KA(i)(ζ(i)−μ)\boldsymbol{\mu} \leftarrow\boldsymbol{\mu} + \frac{\eta}{K\sigma^{2}}\sum_{i=1}^{K} A^{(i)}\left(\zeta^{(i)}-\boldsymbol{\mu}\right), so successful perturbations pull the predicted coefficient program toward themselves, while unsuccessful perturbations push it away. Finally, sibling rollouts for the same prompt share all randomness other than the sampled coefficient vector. When token generation is stochastic, we use common random numbers across siblings; when token generation is greedy, token selection is deterministic. This reduces variance in within-prompt comparisons by making reward differences primarily reflect the sampled reveal-order program. We perform one on-policy update per rollout batch and require neither a learned critic nor importance-ratio correction.

Experiments

Experimental Setup

We evaluate CORD on three frozen masked diffusion language models: LLaDA-8B-Instruct (Nie et al. [24]), LLaDA-1.5 (Zhu et al. [39]), and Dream-7B (Ye et al. [34]). Unless stated otherwise, we train a separate lightweight CORD policy for each backbone while keeping all dLLM parameters frozen. Evaluating the same ordering framework across three independently trained checkpoints tests whether CORD exploits a general property of masked diffusion decoding rather than a backbone-specific artifact. We evaluate three qualitatively different forms of dependency structure: mathematical reasoning on GSM8K (Cobbe et al. [8]) and MATH Hendrycks et al. [9], code generation on HumanEval (Chen et al. [6]) and MBPP (Austin et al. [3]), and constraint satisfaction on Sudoku (Ye et al. [33]). These domains are deliberately different in the dependencies they impose on the response: reasoning is largely sequential, code combines global structure with local completion, and Sudoku contains dense non-local constraints. This diversity allows us to test the central hypothesis of CORD, that no single reveal bias is uniformly optimal across tasks. Dataset construction, splits, prompt formatting, and verifier details are provided in Appendix § 9.

Main Results: CORD Generalizes Across MDMs

Table 1 compares CORD with representative reveal-order baselines across three masked diffusion language models. We include conventional confidence-, entropy-, and margin-decoding, stronger existing decoding methods, and a fixed-residual control that augments confidence-based with the same geometric signals used by CORD but does not adapt them across prompts or decoding states. Across the three backbones, CORD improves average task success from 30.6% under confidence decoding to 50.5%, a gain of 19.9 points. It also remains competitive with or outperforms stronger reveal-order baselines across reasoning, code generation, and Sudoku. More importantly, CORD improves over the best per-domain fixed residuals from 50.0% to 50.5% on average. Because this control uses the same direction, proximity, and bridge signals, the remaining gain isolates the benefit of adapting the residuals to the prompt and evolving decoding state. The consistent performance across LLaDA-8B-Instruct, LLaDA-1.5-8B, and Dream-7B further suggests that this adaptation transfers across differently trained MDMs.

BackboneDecoding policyGSM8KMATH500HumanEvalMBPPSudokuAvg.
LLaDA-8B-InstructConfidence58.718.027.838.417.132.0
Entropy59.412.527.541.73.328.9
Margin ([16])58.422.228.842.125.835.5
EB-Sampler ([4])61.412.727.142.733.835.5
Semi-AR† ([24])76.828.138.945.20.337.9
UNCODE ([11])79.234.842.147.829.846.7
Best per-domain fixed residuals (Ours)78.434.941.948.935.748.0
CORD78.234.942.748.936.148.2
LLaDA-1.5-8BConfidence60.719.525.142.119.133.3
Entropy60.412.328.142.70.428.8
Margin58.722.926.743.131.236.5
EB-Sampler61.016.632.742.70.430.7
Semi-AR†79.133.837.745.90.439.4
UNCODE82.237.446.349.933.449.8
Best per-domain fixed residuals (Ours)81.837.646.846.836.149.8
CORD82.637.446.950.336.250.7
Dream-7BConfidence39.510.929.131.620.726.4
Entropy68.721.757.947.333.645.8
Margin38.417.129.535.226.929.4
EB-Sampler58.817.937.644.10.531.8
Semi-AR†72.125.756.448.10.040.5
Best per-domain fixed residuals (Ours)80.235.758.649.737.052.2
CORD80.236.158.450.737.152.5

Table 1. Main results across masked diffusion language models. Task success (%, higher is better). HumanEval and MBPP report pass@1; all other tasks report accuracy. The fixed residual uses the same geometric signals as CORD but keeps their coefficients constant throughout decoding.

Ablation

Does Reveal Geometry Need to Adapt? We evaluate adaptation variants on all five benchmarks and all three backbones, retraining the coefficient policy for each variant under the same optimization setup. The fixed-residual variant uses one shared residual across all prompts and decoding steps; prompt only predicts an input-specific but static residual;

time only retains the explicit decoding-progress basis but removes state features; and state only keeps state features while removing the temporal basis. As shown in Table 2, full CORD achieves the best average performance, improving over the fixed residual by 4.4% and over the prompt-only variant by 4.5%. Neither time only (46.9%) nor state only (42.2%) matches the full model (50.5%), indicating that effective reveal geometry benefits from both decoding progress and feedback from the evolving partial response. The gains across all three backbones further suggest that this adaptation is not specific to a single MDM.

VariantLLaDA-Inst.LLaDA-1.5DreamAvg.
Confidence only32.033.326.430.6
No prompt (fixed residual)48.049.840.546.1
Prompt only (static)42.848.147.146.0
Time only46.345.149.246.9
State only47.146.433.142.2
Full CORD48.250.752.550.5

Table 2. Decomposing adaptation in CORD. Mean task success (%) across all benchmarks.

Are the Geometric Residuals Complementary? We ablate the three residual channels on LLaDA-8B-Instruct using one representative task from each domain: GSM8K for reasoning, MBPP for code, and Sudoku for constraint satisfaction. For each variant, we remove one residual channel and retrain the coefficient policy under the same training setup, leaving all other components unchanged; the reported average is over these three tasks. As shown in Table 3, removing any channel reduces average performance, with drops of 9.0%, 5.5%, and 10.9% for direction, proximity, and bridge, respectively. Their effects are also task dependent: direction is especially important on GSM8K, while bridge is critical on Sudoku. Proximity provides a smaller but consistent contribution across all three tasks. These results support using complementary geometric corrections rather than a single alternative reveal bias.

VariantGSM8KMBPPSudokuAvg.
—Direction57.243.735.345.4
—Proximity70.244.831.848.9
—Bridge72.441.416.643.5
Full CORD78.248.936.154.4

Table 3. Ablation of geometric residuals. Task success (%) on LLaDA-8B-Instruct.

What Reveal Geometry Does CORD Learn?

We conduct a post-hoc behavioral audit of the trained CORD policy on GSM8K, MBPP, and Sudoku, without additional training or oracle information based on LLaDA-8B-Instruct. For each prompt, we run CORD and an independent confidence-decoding baseline under the same generation configuration: 256 generation steps, response length 256, greedy token decoding (T=0T = 0), and EOS suppression. The backbone remains frozen throughout.

We measure three aspects of the realized reveal trajectory. First, the confidence-override rate records how often CORD selects a different position from confidence alone. Importantly, both decisions are computed on the same CORD state sts_t, avoiding confounding from trajectories that have already diverged. Second, reveal locality is quantified by the normalized jump distance between consecutive reveals, reported as ΔJ=JCORD−Jconf\Delta J = J_{\mathrm{CORD}} - J_{\mathrm{conf}}; negative values indicate more local decoding and positive values more non-local decoding. Third, bridge enrichment measures whether CORD selects positions with revealed context on both sides more often than their availability among the remaining masked positions would predict.

As shown in Figure 3, CORD substantially alters the confidence-based reveal order, overriding the same-state confidence decision on 45.5%, 64.6%, and 58.4% of decoding steps on GSM8K, MBPP, and Sudoku, respectively. The resulting geometry is task dependent: GSM8K becomes slightly more local (ΔJ=−0.023\Delta J = -0.023), whereas MBPP and Sudoku become more non-local (+0.035 and +0.055). All three tasks also exhibit positive bridge enrichment, with Ebridge=+0.246E_{\mathrm{bridge}} = +0.246, +0.220, and +0.321, respectively, showing that CORD actively favors two-sided infilling beyond what would arise from candidate availability alone. Together, these results show that the learned residuals induce substantial and task-specific changes in the actual reveal trajectory.

Override rate, reveal locality, and bridge enrichment for GSM8K, MBPP, and Sudoku

Figure 3. Realized reveal behavior of CORD. ΔJ<0\Delta J < 0 indicates more local decoding than confidence, whereas ΔJ>0\Delta J > 0 indicates more non-local decoding. Positive EbridgeE_{\mathrm{bridge}} indicates preferential selection of two-sided masked positions beyond their availability.

Efficiency

We measure inference efficiency on a single NVIDIA H200 GPU using LLaDA-8B-Instruct. Each example generates 256 response tokens with a maximum total sequence length of 1024. We run each decoding method 20 times and report the mean and standard deviation of end-to-end generation latency. Table 4 summarizes the results. CORD introduces no additional backbone forward passes. Its prompt-conditioned coefficient matrix is predicted once per response, while direction, proximity, and bridge are computed from the current reveal mask at each decoding step. As a result, CORD increases latency only modestly, from 6.31 s for confidence decoding to 6.65 s, corresponding to a 5.39% overhead. The fixed-residual control incurs a 3.80% overhead, indicating that most of the additional cost comes from geometric score computation, while the prompt-conditioned policy itself adds little inference cost. The main additional cost of CORD occurs during training, where multiple coefficient-space rollouts are evaluated for each prompt. At inference, exploration is removed and a single coefficient matrix is reused throughout the entire generation.

MethodExtra Fwd.Aux. ParamsLatency (s)Overhead
Confidence006.31±0.316.31 \pm0.31–
Fixed residual006.55±0.286.55 \pm0.283.80%
CORD0527,5126.65±0.306.65 \pm0.305.39%

Table 4. Inference efficiency on LLaDA-8B-Instruct. Latency (s) is measured on one H200 over 20 runs with 256 generated tokens and a maximum sequence length of 1024; we report mean ±\pm standard deviation.

Conclusion

We introduced CORD, a lightweight framework for adaptive reveal-order selection in masked diffusion language models. Rather than learning token-level orders from scratch, CORD retains confidence decoding as a stable reference and learns prompt- and state-dependent geometric residuals over direction, proximity, and two-sided infilling. Exploration occurs in a low-dimensional coefficient space, enabling sequence-level optimization as a contextual bandit while keeping the dLLM backbone frozen. Across three masked diffusion models and five reasoning, code-generation, and constraint-satisfaction benchmarks, CORD improves average task success from 32.0% to 48.2% over confidence decoding and also outperforms per-domain fixed residuals. Ablations confirm the importance of prompt conditioning, state adaptation, and all three residual channels. Behavioral audits further show substantial task-dependent changes in reveal locality and two-sided infilling. Finally, CORD requires no additional backbone forward passes and adds only 5.39% inference latency. Overall, effective diffusion decoding benefits from retaining confidence as a strong default while learning when and how to depart from it.

AI Use Statement

Generative AI tools were used solely to assist with language editing, including improving grammar, clarity, and presentation of author-written text. They were not used to generate the research ideas, formulate the proposed method, design the experiments, produce or analyze experimental results, or make scientific claims. All AI-assisted edits were reviewed and revised by the authors to ensure technical correctness, consistency with the conducted experiments, and appropriate attribution of prior work. The authors take full responsibility for the final content of the manuscript.

Ethics Statement

This work studies decoding algorithms for masked diffusion language models and does not involve human-subject experiments, collection of personally identifiable information, or acquisition of new sensitive data. Our evaluation uses established research benchmarks, and publicly available pretrained language models under their respective research-use terms. CORD changes the order in which masked positions are revealed but does not alter the underlying model parameters or introduce new model capabilities. Nevertheless, improvements in language-model decoding may inherit the broader risks associated with the underlying models, including generation of incorrect, biased, or unsafe content.

Reproducibility Statement

We provide the information required to reproduce the main experiments in the paper and appendix. This includes the definitions and implementation details of the confidence-anchored geometric residuals, the prompt-conditioned coefficient policy, state-dependent coefficient modulation, coefficient-space exploration, group-relative policy-gradient training, sequence-level reward construction, and deterministic inference procedure. We additionally specify the evaluated backbones, benchmarks and data splits, decoding budgets, training hyperparameters, baseline configurations, task-specific verifiers, ablation settings, and computational resources. All comparisons use frozen pretrained backbones and follow the decoding and evaluation protocols described in Appendix A. The appendix further provides the mathematical justification for the coefficient-space estimator and the behavioral analyses used to characterize the learned reveal policies. We have also submitted the complete implementation together with the supplementary material, including the training, inference, evaluation, and analysis code needed to reproduce the reported experiments.

Experimental Details

Backbones

We evaluate CORD on three masked diffusion language models: LLaDA-8B-Instruct [24], LLaDA-1.5 [39], and Dream-7B [34]. We train a separate CORD policy for each backbone while keeping the underlying dLLM frozen.

Benchmarks and Data Splits

The training mixture is chosen to expose the policy to qualitatively different response dependencies. Mathematical reasoning provides predominantly sequential dependencies, code generation combines structural and local dependencies, and Sudoku provides dense constraint interactions.

The stratified sampling ratio prevents the substantially smaller code collection from becoming negligible in a mixed-domain update. Repeated visits to a training prompt are not identical policy samples because each visit draws fresh coefficient-space perturbations.

We do not truncate prompts that exceed the available context budget. Such examples are removed before evaluation so that different reveal-order policies operate on exactly the same input.

Training Configuration

For each prompt, CORD samples one coefficient-space action and keeps it fixed for the complete rollout. Conditioned on this sample, reveal-position selection is deterministic. The coefficient sample is detached before evaluating its Gaussian log-density; otherwise the reparameterized sample and predicted mean cancel in the score-function term, as discussed in Appendix § 10.

Table 6 summarizes the training configuration. CORD uses B=3B = 3 geometric residual channels: direction, proximity, and bridge, and J=8J = 8 state basis functions. The coefficient-space action therefore has dimension n=BJ=24n = BJ = 24. The state basis is as defined in § 3.

We train separate runs with total epoch budgets E∈{20,30,40}E \in\{20, 30, 40\} using AdamW with an initial learning rate of 1×10−31 \times10^{-3} and cosine decay. For CORD built on LLaDA-8B-Instruct, training is performed on 8 NVIDIA H200 GPUs and a complete training run takes approximately 8 hours for 40 epochs.

The final policy layer is zero-initialized, so the predictive mean initially produces zero residual coefficients and CORD reduces exactly to confidence-based Top2-margin decoding. During training, Gaussian exploration is added only in the low-dimensional coefficient space, with σ\sigma annealed from 0.6 to 0.15 but never to zero. This exploration is necessary because top-1 reveal decisions make the sequence-level reward piecewise constant with respect to the coefficients; Appendix § 10 details the corresponding score-function estimator.

Decoding Configuration

Prompts are formatted using the native chat template of each instruction-tuned checkpoint. HumanEval inputs are passed in their standard function-signature and docstring format. All experi-

configvalue
mathGSM8K, MATH
codeHumanEval, MBPP
constraint satisfaction4×4 Sudoku
training-domain sampling ratio2:1:1 (math : code : Sudoku)
math training prompts4000
code training prompts500
Sudoku training prompts2000
configvalue
residual channels BB3
basis functions JJ8
coefficient dimension n=BJn = BJ24
policy hidden dimension128
policy depth2 linear layers
activationSiLU
output-layer initializationzeros
group size KK8
prompts per update64
training epochs EE{20,30,40}\{20, 30, 40\}
optimizerAdamW
learning rate{1×10−3,5×10−4,1×10−4}\{1 \times10^{-3}, 5 \times10^{-4}, 1 \times10^{-4}\}
learning-rate schedulecosine decay
exploration scale σ\sigma0.6→0.150.6 \to0.15
exploration schedulelinear decay over first 70% of training
format reward λfmt\lambda_{\mathrm{fmt}}0.1
answer-probability reward λans\lambda_{\mathrm{ans}}0 by default

Table 5. Training and evaluation benchmarks.

configvalue
generation length LL512
number of decoding steps TT512
positions revealed per step1
maximum sequence length2048
decoding schedulepure any-order
position selectiontop-1 by reveal score
inference coefficientpredictive mean μψ(x)\mu_{\psi}(x)

Table 7. Default decoding configuration.

ments in the main paper use top-1 reveal: exactly one masked response position is committed at each decoding step.

Verifiers

Sequence-level correctness is evaluated using task-specific deterministic verifiers. The same verifier implementation is used during training and evaluation.

GSM8K. We extract the committed final answer from the standard answer marker and compare the normalized numerical value with the reference answer.

MATH. We extract the final boxed answer and compare it using exact matching, normalization, and symbolic equivalence when parsing succeeds. Parse failures receive zero correctness reward and are logged separately.

HumanEval and MBPP. Generated programs are executed against the corresponding test cases in an isolated subprocess with a fixed timeout, memory limit, clean temporary directory, and network access disabled. A completion is correct only if all tests pass.

Sudoku. A generated board is accepted if it preserves all clues, assigns every cell, and satisfies every row, column, and box constraint. We verify constraints directly rather than comparing against one reference solution, allowing puzzles with multiple valid solutions.

We separately record parse failures, execution timeouts, and verifier failures to detect changes in measured reward caused by output-format or execution pathologies rather than improved task performance.

Comparison with Remasking-Based Decoders

Recent work improves dLLM generation by allowing previously committed tokens to be reopened and revised. Table 8 compares CORD with representative methods from this line of work on overlapping reasoning and code benchmarks. In contrast, CORD is strictly monotonic: once a token is revealed, it is never remasked or revised, and the pretrained dLLM backbone remains frozen.

MethodRemaskBackbone UpdateGSM8KMATH-500HumanEvalMBPP
CORE [36]✓✗52.717.117.124.8
SCOPE+D3IM [35]✓✓73.830.034.836.6
RemeDi (Remask SFT) [13]✓✓86.352.271.357.8
CORD✗✗78.234.942.748.9

Table 8. Comparison with remasking-based decoding methods. Reported task performance (%) on overlapping reasoning and code benchmarks. CORD uses strictly monotonic decoding: once a token is revealed, it is never remasked or revised. Results from prior work are reproduced from their respective papers and are not directly comparable because model checkpoints, prompting, and decoding budgets differ.

Despite this restriction, CORD substantially outperforms several remasking baselines in their reported results. Compared with CORE, CORD improves GSM8K, MATH, HumanEval, and MBPP by 25.5%, 17.8%, 25.6%, and 24.1%, respectively. CORE is training-free, but performs explicit inference-time revision by probing previously committed tokens and introduces additional revision forward passes beyond the standard decoding trajectory [36]. CORD instead modifies only the ordering of still-masked positions and requires no additional backbone evaluation. CORD also exceeds SCOPE+D3IM on the same four benchmarks, respectively. This comparison is notable because SCOPE+D3IM explicitly equips the model for revision: D3IM allows visible tokens to return to the masked state, while SCOPE performs sampler-matched post-training so that the backbone learns under the self-correcting decoding process. CORD obtains higher reported performance while leaving the pretrained backbone unchanged and never reopening a committed token. RemeDi represents a stronger form of learned self-correction. Its Remask-SFT model with the learned remask sampler reports 86.3%, 52.2%, 71.3%, and 57.8% on GSM8K, MATH, HumanEval, and MBPP, respectively [13]. Unlike CORD, however, RemeDi explicitly trains the model to identify and revise poor commitments through dedicated remasking post-training, including Remask SFT, and augments generation with a learned remask policy. CORD therefore does not match the strongest revision-trained model, but reaches comparable performance without any remasking capability or backbone update.

These results highlight two complementary ways to improve diffusion decoding. Remasking methods attempt to repair earlier commitments after they have been made, often through additional revision computation or remask-aware post-training. CORD instead improves the commitment itself by adapting which still-masked position should be revealed next. Its advantage over CORE and SCOPE+D3IM suggests that better reveal-order control alone can recover a substantial amount of performance that might otherwise require explicit revision.

Properties of Coefficient-Space Training

We next justify the coefficient-space estimator used to train CORD. All quantities are defined locally when introduced.

Fix a prompt xx. The policy predicts a coefficient mean μ(x)∈Rn\mu(x) \in\mathbb{R}^{n}, where n=BJn = BJ, and samples

qσ(ζ∣x)=N(μ(x),σ2In).(15)q_{\sigma}(\zeta\mid x) = \mathcal{N}\left(\mu(x), \sigma^{2} I_{n}\right). \tag*{(15)}

Let uu denote all rollout randomness other than ζ\zeta, such as token-sampling random numbers. We assume uu is independent of the coefficient sample and of the policy parameters. For fixed xx and uu, let rx(ζ,u)r_x(\zeta,u) denote the sequence-level reward obtained by the complete deterministic reveal trajectory induced by ζ\zeta. We assume ∣rx(ζ,u)∣≤R\left|r_x(\zeta,u)\right| \le R for some finite RR and that μ(x)\mu(x) is differentiable with respect to the policy parameters ψ\psi.

Score-Function Gradient

Define the Gaussian-smoothed training objective

Jσ(ψ)=Ex,uEζ∼qσ(⋅∣x)[rx(ζ,u)].(16)J_\sigma(\psi) = \mathbb{E}_{x,u}\mathbb{E}_{\zeta\sim q_\sigma(\cdot\mid x)}[r_x(\zeta,u)]. \tag*{(16)}

Proposition 1 (Coefficient-space score-function gradient). Under the bounded-reward assumption above,

∇ψJσ=Ex,u,ζ[rx(ζ,u)∇ψlog⁡qσ(ζ∣x)].(17)\nabla_\psi J_\sigma= \mathbb{E}_{x,u,\zeta}\left[r_x(\zeta,u)\nabla_\psi\log q_\sigma(\zeta\mid x)\right]. \tag*{(17)}

Moreover,

∇μlog⁡qσ(ζ∣x)=ζ−μ(x)σ2.(18)\nabla_\mu\log q_\sigma(\zeta\mid x) = \frac{\zeta-\mu(x)}{\sigma^2}. \tag*{(18)}

Proof. For fixed (x,u)(x,u), write

F(μ)=∫rx(ζ,u)qσ(ζ∣μ) dζ.(19)F(\mu)=\int r_x(\zeta,u)q_\sigma(\zeta\mid\mu)\,\mathrm{d}\zeta. \tag*{(19)}

Because the reward is bounded and the derivative of a Gaussian location density is a Gaussian multiplied by a linear factor, differentiation can be exchanged with integration by dominated convergence on any compact neighborhood of μ\mu. Hence

∇μF=∫rx(ζ,u)qσ(ζ∣μ)∇μlog⁡qσ(ζ∣μ) dζ.(20)\nabla_\mu F=\int r_x(\zeta,u)q_\sigma(\zeta\mid\mu)\nabla_\mu\log q_\sigma(\zeta\mid\mu)\,\mathrm{d}\zeta. \tag*{(20)}

Averaging over (x,u)(x,u) and applying the chain rule through μ(x)=fψ(e(x))\mu(x)=f_\psi(e(x)) gives Eq. (17). □

Importantly, this gradient differentiates the sampling density, not the discrete reveal trajectory. No derivative of the verifier or discrete reveal operation is required.

Leave-One-Out Group Baseline

For one prompt, CORD samples ζ(1),…,ζ(K)\zeta^{(1)},\ldots,\zeta^{(K)} independently from Eq. (15). All sibling rollouts share the same non-coefficient randomness uu. Let

r(i)=rx(ζ(i),u)(21)r^{(i)}=r_x\left(\zeta^{(i)},u\right) \tag*{(21)}

and define

A(i)=r(i)−1K−1∑j≠ir(j).(22)A^{(i)}=r^{(i)}-\frac{1}{K-1}\sum_{j\ne i}r^{(j)}. \tag*{(22)}

Proposition 2 (Unbiased leave-one-out estimator). The estimator

g^ψ=1K∑i=1KA(i)∇ψlog⁡qσ(ζ(i)∣x)(23)\widehat{g}_\psi=\frac{1}{K}\sum_{i=1}^{K}A^{(i)}\nabla_\psi\log q_\sigma\left(\zeta^{(i)}\mid x\right) \tag*{(23)}

is unbiased for the gradient in Eq. (17).

Proof. Condition on (x,u)(x,u). For rollout ii, define

b(i)=1K−1∑j≠ir(j).(24)b^{(i)}=\frac{1}{K-1}\sum_{j\ne i}r^{(j)}. \tag*{(24)}

Since b(i)b^{(i)} depends only on coefficient samples other than ζ(i)\zeta^{(i)}, it is independent of ζ(i)\zeta^{(i)} conditional on (x,u)(x,u). Therefore,

E[b(i)∇ψlog⁡qσ(ζ(i)∣x)∣x,u]=0,(25)\mathbb{E}\left[b^{(i)}\nabla_\psi\log q_\sigma\left(\zeta^{(i)}\mid x\right)\mid x,u\right]=0, \tag*{(25)}

because the score of a normalized density has zero expectation. The reward term is unbiased by Proposition 1. Averaging over the group and then over (x,u)(x,u) completes the proof. □

Sharing uu therefore does not invalidate the leave-one-out baseline. The coefficient samples remain conditionally independent given the shared randomness.

Equal-Reward Groups

If every sampled rollout in a group receives the same reward, then Eq. (22) gives

A(i)=0for every i,(26)A^{(i)} = 0 \qquad\text{for every } i, \tag*{(26)}

and the group contributes exactly zero gradient.

It is useful to contrast this with an unbaselined score estimator in coefficient space. Suppose, for fixed (x,u)(x,u), the reward is constant as a function of the coefficient action,

rx(ζ,u)≡c.(27)r_x(\zeta,u) \equiv c. \tag*{(27)}

For the gradient with respect to the mean μ\mu, the unbaselined estimator is

g^μ,0=cKσ∑i=1Kϵ(i),ϵ(i)∼N(0,In),(28)\widehat{g}_{\mu,0} = \frac{c}{K\sigma}\sum_{i=1}^{K}\epsilon^{(i)}, \qquad\epsilon^{(i)} \sim\mathcal{N}(0,I_n), \tag*{(28)}

so

E[g^μ,0]=0,E[∥g^μ,0∥22]=c2nKσ2.(29)\mathbb{E}\left[\widehat{g}_{\mu,0}\right] = 0,\qquad \mathbb{E}\left[\left\|\widehat{g}_{\mu,0}\right\|_2^2\right] = \frac{c^2n}{K\sigma^2}. \tag*{(29)}

(29) applies to the coefficient-mean gradient; the gradient with respect to network parameters additionally contains the Jacobian ∇ψμ(x)\nabla_{\psi}\mu(x). The leave-one-out baseline removes this pure score noise exactly whenever the observed group rewards are identical.

Why We Do Not Standardize the Group Advantage

Consider binary rewards and suppose that mm of the KK sibling rollouts are successful. With

p^=mK,s^=p^(1−p^),(30)\widehat{p} = \frac{m}{K},\qquad\widehat{s} = \sqrt{\widehat{p}(1-\widehat{p})}, \tag*{(30)}

the magnitude of the standardized leave-one-out advantage is

∣A(i)∣s^={KK−1K−mm,r(i)=1,KK−1mK−m,r(i)=0.(31)\frac{\left|A^{(i)}\right|}{\widehat{s}} = \begin{cases} \frac{K}{K-1}\sqrt{\frac{K-m}{m}}, & r^{(i)}=1,\\[6pt] \frac{K}{K-1}\sqrt{\frac{m}{K-m}}, & r^{(i)}=0. \end{cases} \tag*{(31)}

Thus, a lone minority outcome in an otherwise nearly unanimous group receives a weight of order K\sqrt{K}, while a balanced group receives weights of order one. At unanimity, s^=0\widehat{s}=0.

More importantly, the scale s^\widehat{s} depends on r(i)r^{(i)} and hence on the action ζ(i)\zeta^{(i)}. The conditional independence used in the proof of Proposition 2 therefore no longer applies after dividing by the within-group standard deviation. Such standardization is not guaranteed to preserve the unbiased score-function estimator, so we leave the advantages unstandardized.

Piecewise-Constant Reward Landscape

The top-1 reveal operation partitions coefficient space into regions that induce the same reveal trajectory.

Proposition 3 (Local constancy). Fix (x,u)(x,u) and a coefficient vector ζ0\zeta_0. Suppose that at every decoding step induced by ζ0\zeta_0, the highest and second-highest reveal scores are distinct. Then there exists an open neighborhood UU of ζ0\zeta_0 such that every ζ∈U\zeta\in U induces the same reveal trajectory, generated response, and sequence reward.

Proof. At the first decoding step, the state is fixed. The sampled coefficient vector is reshaped linearly into CζC\zeta, and Eq. (4) maps it continuously through tanh to the residual coefficients. Since the normalized confidence and geometric scores are fixed for the current state, each reveal score S(p,s;ζ)S(p,s;\zeta) is a continuous function of ζ\zeta. A strict gap between the largest and second-largest reveal scores therefore persists in some open neighborhood of ζ0\zeta_0, so the same position is selected throughout that neighborhood. Given the same selected position and the same rollout randomness uu, the revealed token and next decoding state are identical. Repeating this argument over the finite decoding trajectory and intersecting the resulting neighborhoods gives the desired open set U\mathcal{U}.

Corollary 1 (Zero pathwise gradient inside a decoding region). At every coefficient vector satisfying the conditions of Proposition 3,

∇ζrx(ζ,u)=0.(32)\nabla_{\zeta}r_x(\zeta,u)=0. \tag*{(32)}

This explains why a pathwise derivative through ζ=μ(x)+σϵ\zeta=\mu(x)+\sigma\epsilon cannot provide the desired learning signal: away from reveal-order boundaries, the terminal reward is locally constant even though moving probability mass between decoding regions can change the expected reward.

Detaching the sampled action. The same observation has an implementation consequence. If ζ=μ+σϵ\zeta=\mu+\sigma\epsilon is left attached to μ\mu while evaluating its Gaussian score, then

ζ−μ=σϵ(33)\zeta-\mu=\sigma\epsilon \tag*{(33)}

is algebraically independent of μ\mu and the intended score-function gradient is lost. We therefore stop gradients through the sampled coefficient action before evaluating its log-density.

Exploration and Vanishing Learning Signal

Proposition 3 also characterizes the limit σ→0\sigma\to0.

Proposition 4 (Consistency of the smoothed objective). Fix (x,u)(x,u) and suppose the policy mean μ(x)\mu(x) lies in a locally constant decoding region. Then

lim⁡σ→0Eζ∼N(μ(x),σ2I)[rx(ζ,u)]=rx(μ(x),u).(34)\lim_{\sigma\to0}\mathbb{E}_{\zeta\sim\mathcal{N}(\mu(x),\sigma^2 I)}[r_x(\zeta,u)]=r_x(\mu(x),u). \tag*{(34)}

Proof. By Proposition 3, there exists ρ>0\rho>0 such that the reward is constant inside B(μ,ρ)B(\mu,\rho). Since the reward is bounded,

∣E[rx]−rx(μ,u)∣≤2RPr⁡[ζ∉B(μ,ρ)],(35)\left|\mathbb{E}[r_x]-r_x(\mu,u)\right|\le2R\Pr[\zeta\notin B(\mu,\rho)], \tag*{(35)}

and the probability on the right tends to zero as $\sigma\to 0.

Proposition 5 (Vanishing exploration removes the group signal). Under the same conditions, for any fixed KK,

Pr⁡[r(1)=⋯=r(K)]→1as σ→0.(36)\Pr\left[r^{(1)}=\cdots=r^{(K)}\right]\to1\qquad\text{as }\sigma\to0. \tag*{(36)}

Moreover, the second moment of the leave-one-out coefficient-mean estimator tends to zero.

Proof. All KK samples fall inside the locally constant ball with probability tending to one, which proves the first claim. On this event every advantage is zero. Outside the ball, the advantages are bounded, while Gaussian tail probabilities decay exponentially in 1/σ21/\sigma^2 and dominate the polynomial 1/σ21/\sigma^2 factor in the Gaussian score. Hence the second moment of the coefficient-mean estimator also tends to zero.

This result does not imply that exploration should never decrease. It shows only that annealing σ\sigma to zero while learning is still required eventually eliminates transitions between distinct decoding regions.

Common Random Numbers

When token generation is stochastic, we use the same token-sampling randomness uu for all coefficient actions associated with one prompt.

For fixed uu, define

m(u)=Eζ[rx(ζ,u)],v(u)=Var⁡ζ[rx(ζ,u)].(37)m(u)=\mathbb{E}_{\zeta}[r_x(\zeta,u)],\qquad v(u)=\operatorname{Var}_{\zeta}[r_x(\zeta,u)]. \tag*{(37)}

Proposition 6 (Variance reduction from shared randomness). For two independently sampled coefficient actions,

Var⁡[rx(ζ(i),u(i))−rx(ζ(j),u(j))]−Var⁡[rx(ζ(i),u)−rx(ζ(j),u)]=2Var⁡u[m(u)]≥0.(38)\operatorname{Var}\left[r_x\left(\zeta^{(i)},u^{(i)}\right)-r_x\left(\zeta^{(j)},u^{(j)}\right)\right] -\operatorname{Var}\left[r_x\left(\zeta^{(i)},u\right)-r_x\left(\zeta^{(j)},u\right)\right] =2\operatorname{Var}_{u}[m(u)]\ge0. \tag*{(38)}

Proof. Write

rx(ζ,u)=m(u)+e(ζ,u),Eζ[e(ζ,u)∣u]=0.(39)r_x(\zeta,u)=m(u)+e(\zeta,u),\qquad\mathbb{E}_{\zeta}[e(\zeta,u)\mid u]=0. \tag*{(39)}

With shared uu, the two m(u)m(u) terms cancel, yielding variance 2Eu[v(u)]2\mathbb{E}_{u}[v(u)]. With independent u(i)u^{(i)} and u(j)u^{(j)}, the difference additionally contains m(u(i))−m(u(j))m(u^{(i)})-m(u^{(j)}), whose variance is 2Var⁡u[m(u)]2\operatorname{Var}_{u}[m(u)]. This yields (38).

Under greedy token generation, uu is degenerate and the two schemes coincide.

Why Confidence Alone Does Not Determine Reveal Value

CORD uses confidence as its base decoder, but augments it with geometric residuals. This section gives a simple motivation for why current per-position confidence need not identify the position whose revelation is most useful for future decoding. Because CORD reveals one token at a time, the issue is not a simultaneous product-of-marginals approximation. Rather, the choice of which position to reveal changes the context on which all subsequent predictions are conditioned.

Let Qp(⋅∣s)Q_p(\cdot\mid s) denote the current predictive marginal at masked position pp. A confidence-only reveal rule ranks positions using a statistic c(Qp)c(Q_p) of this current marginal, such as maximum probability, top-two margin, or entropy. Such a statistic describes how decisive the model is at pp, but does not by itself describe how revealing pp will affect the predictions at other positions.

To make this distinction explicit, consider a reference conditional distribution over the remaining masked variables and define the downstream influence of revealing position pp by

I(p;s)=EYp∼Pp(⋅∣s)[∑q∈M(s)∖{p}KL⁡(Pq(⋅∣s,Yp)∥Pq(⋅∣s))].(40)I(p;s)=\mathbb{E}_{Y_p\sim P_p(\cdot\mid s)}\left[\sum_{q\in M(s)\setminus\{p\}}\operatorname{KL}\left(P_q(\cdot\mid s,Y_p)\mathbin{\|}P_q(\cdot\mid s)\right)\right]. \tag*{(40)}

This quantity is only a conceptual device: CORD does not estimate it during decoding. It captures the fact that two positions with similar current confidence can differ substantially in how much revealing them changes the future conditioning context.

Proposition 7 (Marginal confidence does not determine reveal influence). *There exist two joint distributions over two binary variables with identical current marginals, and therefore identical values for every confidence statistic computed only from those marginals, but different reveal influence I(1;s)I(1;s). *

Proof. Let P(0)P^{(0)} be the independent uniform distribution over {0,1}2\{0,1\}^2 and let P(1)P^{(1)} be uniform over {(0,0),(1,1)}\{(0,0),(1,1)\}. Both have

P(Y1=0)=P(Y1=1)=P(Y2=0)=P(Y2=1)=12,(41)P(Y_1=0)=P(Y_1=1)=P(Y_2=0)=P(Y_2=1)=\frac{1}{2}, \tag*{(41)}

so every statistic computed solely from the two current marginals is identical under P(0)P^{(0)} and P(1)P^{(1)}.

Under P(0)P^{(0)}, observing Y1Y_1 leaves the distribution of Y2Y_2 unchanged, so

I(0)(1;s)=0.(42)I^{(0)}(1;s)=0. \tag*{(42)}

Under P(1)P^{(1)}, observing Y1Y_1 determines Y2Y_2. Hence

I(1)(1;s)=log⁡2(43)I^{(1)}(1;s)=\log2 \tag*{(43)}

when the KL divergence uses natural logarithms. Thus identical current marginals can correspond to different downstream effects of revealing the same position.

The proposition does not imply that geometric information recovers the unknown joint distribution, nor does CORD attempt to estimate Eq. (40). It only shows that a reveal rule based solely on current marginal confidence cannot, in general, determine the downstream effect of a reveal decision.

What CORD Changes

CORD keeps the frozen dLLM’s confidence score as the base ranking and adds residual biases derived from response geometry. Direction encodes a sequential prior, proximity distinguishes local continuation from non-local seeding, and the bridge signal identifies positions already surrounded by revealed context. These signals are not intended as estimators of latent dependence. Instead, they provide structured information unavailable to a confidence statistic that depends only on the current marginal at each position.

With one-token-at-a-time decoding, the role of order is straightforward. If position ptp_t is revealed at state sts_t, the next model evaluation is conditioned on the updated state

st+1=st∪{(pt,y~pt)}.(44)s_{t+1} = s_t \cup\{(p_t, \widetilde{y}_{p_t})\}. \tag*{(44)}

Choosing a different ptp_t can therefore produce a different sequence of future marginals even when the current confidence ranking is similar. CORD modifies this conditioning path through the reveal order; it does not alter the frozen token predictor itself.

Reveal-Impact Diagnostic

For offline analysis, the one-token-at-a-time setting permits a direct diagnostic of how strongly each reveal changes the model’s remaining predictions. Let ptp_t be the position revealed at step tt and let st+1s_{t+1} be the resulting state. We define

gt=1∣M(st+1)∣∑q∈M(st+1)D(πq(⋅∣st+1),πq(⋅∣st)),(45)g_t = \frac{1}{|\mathcal{M}(s_{t+1})|} \sum_{q \in\mathcal{M}(s_{t+1})} D\left(\pi_q(\cdot\mid s_{t+1}), \pi_q(\cdot\mid s_t)\right), \tag*{(45)}

where DD is a distributional discrepancy such as Jensen–Shannon divergence. Because top-1 decoding already performs a new backbone evaluation after each reveal, both distributions are available from consecutive decoding states.

The trajectory-average impact is

gˉ=1T−1∑t=1T−1gt.(46)\bar{g} = \frac{1}{T-1} \sum_{t=1}^{T-1} g_t. \tag*{(46)}

This quantity is not a training objective and is not claimed to estimate the true joint dependence structure. It is an internal sensitivity diagnostic: a large gtg_t means that revealing ptp_t substantially changes the model’s predictions at positions that remain masked. Comparing this quantity across confidence decoding and CORD helps characterize whether learned geometric departures tend to select positions with different downstream conditioning effects.

Visualizations

A GSM8K rollout

Figure 4. A GSM8K rollout. Top: token-unmasking timeline for a held-out mathematical reasoning example. The realized reveal order is predominantly sequential, but with a few targeted jumps that expose useful later positions before the entire prefix has been completed. Bottom: the corresponding coefficient and state-feature trajectories. The direction coefficient remains strongly negative throughout the rollout, indicating a persistent left-to-right bias, while the bridge coefficient stays positive and the proximity coefficient gradually increases. Together, these signals produce a mostly local reasoning trajectory with occasional non-local or two-sided reveals when the evolving context makes them useful.

A MBPP rollout

Figure 5. A MBPP rollout. Top: token-unmasking timeline for a held-out code-generation example. The reveal order is again largely structured and directional, but includes a small number of non-local reveals that help establish later code structure. Bottom: the corresponding coefficient and state-feature trajectories. Here the direction coefficient provides the dominant bias, while the proximity and bridge coefficients remain weaker and evolve more smoothly. The resulting trajectory reflects a coding regime in which the model largely builds the program in order, while still allowing selective departures from strict sequential decoding when they improve the surrounding context.

We provide qualitative rollout visualizations to illustrate how CORD translates its learned residual policy into concrete reveal orders. Each figure shows one representative held-out example. The upper panel is a token-unmasking timeline: each decoded token is paired with the decoding step at which it is revealed, so the plot directly exposes the realized reveal order. The lower panel shows the corresponding coefficient trajectories αdir\alpha_{\mathrm{dir}}, αprox\alpha_{\mathrm{prox}}, and αbridge\alpha_{\mathrm{bridge}}, together with the normalized state features that drive them. These examples complement the quantitative behavioral audit in Sec. 4.4 by showing how the learned residuals evolve within a single rollout.

Algorithmic Description

CORD separates stochastic exploration during training from deterministic decoding at inference. For each training prompt, the policy predicts the mean of a Gaussian distribution in the 24-dimensional coefficient space. We draw KK coefficient samples from this distribution, and each sample is held fixed for an entire decoding rollout. Although the sampled coefficient matrix is fixed within a rollout, the resulting residual coefficients remain state-dependent because they are evaluated against the evolving state features f(st)f(s_t) at every decoding step. Sequence-level rewards are then used to update only the lightweight CORD policy; the dLLM backbone remains frozen.

Algorithm 1: CORD training in coefficient space.

Input: frozen dLLM θ\theta; CORD policy fψf_\psi; group size KK; exploration scale σ\sigma

for each training epoch do

sample stratified prompt batches using the 2:1:1 domain ratio;

foreach prompt xx do

obtain prompt representation e(x)e(x) from the frozen backbone;

predict coefficient mean μψ(x)←fψ(e(x))∈R24\mu_\psi(x) \leftarrow f_\psi(e(x)) \in\mathbb{R}^{24};

for i=1,…,Ki = 1,\ldots,K do

sample ϵ(i)∼N(0,I)\epsilon^{(i)} \sim\mathcal{N}(0,I);

set

ζ(i)←detach⁡(μψ(x)+σϵ(i))\zeta^{(i)} \leftarrow\operatorname{detach}\left(\mu_\psi(x)+\sigma\epsilon^{(i)}\right)

reshape ζ(i)\zeta^{(i)} into C(i)∈R3×8C^{(i)} \in\mathbb{R}^{3\times8};

initialize the response block as fully masked;

for t=1,…,Tt = 1,\ldots,T do

run the frozen dLLM once to obtain token predictions;

compute the current state features f(st)f(s_t);

compute αt(i)=αmax⁡⊙tanh⁡(C(i)f(st))\alpha_t^{(i)} = \alpha_{\max} \odot\tanh(C^{(i)} f(s_t));

compute the confidence-anchored residual score S(p,st)S(p,s_t) for all masked positions;

reveal pt⋆=arg⁡max⁡p∈M(st)S(p,st)p_t^\star= \arg\max_{p\in\mathcal{M}(s_t)} S(p,s_t);

end

compute the sequence-level reward r(i)r^{(i)};

end

compute leave-one-out group-relative advantages A(1),…,A(K)A^{(1)},\ldots,A^{(K)};

end

update ψ\psi using the coefficient-space policy-gradient objective;

keep θ\theta frozen;

end

Output: trained policy parameters ψ\psi

At inference, exploration is removed entirely. Given a prompt xx, CORD evaluates the policy once and uses its predictive mean,

C(x)=reshape⁡3×8(μψ(x)),(47)C(x)=\operatorname{reshape}_{3\times8}\left(\mu_\psi(x)\right), \tag*{(47)}

for the entire response. Importantly, fixing C(x)C(x) does not make the reveal strategy static. At decoding step tt, the evolving partial response produces a new state representation f(st)f(s_t) and hence new residual coefficients,

α(x,st)=αmax⁡⊙tanh⁡(C(x)f(st)).(48)\alpha(x,s_t) = \alpha_{\max} \odot\tanh(C(x)f(s_t)). \tag*{(48)}

CORD then adds the corresponding direction, proximity, and bridge residuals to the confidence score and reveals the highest-scoring masked position. Thus, the coefficient matrix is predicted only once per response, while the reveal geometry adapts throughout decoding without stochastic sampling or additional backbone evaluations.

Algorithm 2: CORD inference.

Input: prompt xx; frozen dLLM θ\theta; trained CORD policy fψf_{\psi}

obtain prompt representation e(x)e(x);

compute μψ(x)=fψ(e(x))\mu_{\psi}(x) = f_{\psi}(e(x));

set C(x)=reshape⁡3×8(μψ(x))C(x) = \operatorname{reshape}_{3 \times8}(\mu_{\psi}(x));

initialize the response block as fully masked;

for t=1,…,Tt = 1, \ldots, T do

run the frozen dLLM once to obtain token predictions;

compute state features f(st)f(s_t);

compute α(x,st)=αmax⁡⊙tanh⁡(C(x)f(st))\alpha(x, s_t) = \alpha_{\max} \odot\tanh(C(x)f(s_t));

compute S(p,st)S(p, s_t) for all p∈M(st)p \in\mathcal{M}(s_t);

reveal pt∗=arg⁡max⁡p∈M(st)S(p,st)p_t^* = \arg\max_{p \in\mathcal{M}(s_t)} S(p, s_t);

end

Output: completed response

References

  1. [1]Hikaru Asano, Tadashi Kozuno, Kuniaki Saito, and Yukino Baba. Where-to-unmask: Ground-truth-guided unmasking order learning for masked diffusion language models. arXiv preprint arXiv:2602.09501, 2026.arxiv.org/abs/2602.09501
  2. [2]Jacob Austin, Daniel D Johnson, Jonathan Ho, Daniel Tarlow, and Rianne Van Den Berg. Structured denoising diffusion models in discrete state-spaces. Advances in neural information processing systems, 34:17981–17993, 2021a.arxiv.org/abs/2107.03006
  3. [3]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. Program synthesis with large language models. arXiv preprint arXiv:2108.087732, 2021b.
  4. [4]Heli Ben-Hamu, Itai Gat, Daniel Severo, Niklas S Nolte, and Brian Karrer. Accelerated sampling from masked diffusion models via entropy bounded unmasking. In Advances in Neural Information Processing Systems, volume 38, pp. 55981–56007, 2025.
  5. [5]Huiwen Chang, Han Zhang, Lu Jiang, Ce Liu, and William T Freeman. Maskgit: Masked generative image transformer. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 11305–11315. IEEE, 2022.arxiv.org/abs/2202.04200
  6. [6]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code, 2021.arxiv.org/abs/2107.03374
  7. [7]Shirui Chen, Jiantao Jiao, Lillian J Ratliff, and Banghua Zhu. dultra: Ultra-fast diffusion language models via reinforcement learning. arXiv preprint arXiv:2512.21446, 2025.arxiv.org/abs/2512.21446
  8. [8]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.arxiv.org/abs/2110.14168
  9. [9]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the math dataset. NeurIPS, 2021.
  10. [10]Michael Hersche, Samuel Moor-Smith, Thomas Hofmann, and Abbas Rahimi. Soft-masked diffusion language models. In International Conference on Learning Representations, volume 2026, pp. 105685–105716, 2026.arxiv.org/abs/2510.17206
  11. [11]Pengcheng Huang, Tianming Liu, Zhenghao Liu, Yukun Yan, Shuo Wang, Tong Xiao, Zulong Chen, and Maosong Sun. Empirical analysis of decoding biases in masked diffusion models. In Annual Meeting of the Association for Computational Linguistics, pp. 6853–6876, 2026a. arXiv:2508.13021.arxiv.org/abs/2508.13021
  12. [12]Zemin Huang, Zhiyang Chen, Zijun Wang, Tiancheng Li, and Guo-Jun Qi. Reinforcing the diffusion chain of lateral thought with diffusion language models. In Advances in Neural Information Processing Systems, volume 38, pp. 152677–152710, 2025.arxiv.org/abs/2505.10446
  13. [13]Zemin Huang, Yuhang Wang, Zhiyang Chen, and Guo-Jun Qi. Don’t settle too early: Self-reflective remasking for diffusion language models. In International Conference on Learning Representations, volume 2026, pp. 56998–57026, 2026b.arxiv.org/abs/2509.23653
  14. [14]Daniel Israel, Guy Van den Broeck, and Aditya Grover. Accelerating diffusion llms via adaptive parallel decoding. Advances in neural information processing systems, 38:52870–52888, 2025.arxiv.org/abs/2506.00413
  15. [15]Metod Jazbec, Theo X Olausson, Louis Béthune, Pierre Ablin, Michael Kirchhof, João Monteiro, Victor Turrisi, Jason Ramapuram, and Marco Cuturi. Learning unmasking policies for diffusion language models. arXiv preprint arXiv:2512.09106, 2025.arxiv.org/abs/2512.09106
  16. [16]Jaeyeon Kim, Kulin Shah, Vasilis Kontonis, Sham Kakade, and Sitan Chen. Train for the worst, plan for the best: Understanding token ordering in masked diffusions. arXiv preprint arXiv:2502.06768, 2025. URL https://arxiv.org/abs/2502.06768.
  17. [17]Tianyi Li, Mingda Chen, Bowei Guo, and Zhiqiang Shen. A survey on diffusion language models. arXiv preprint arXiv:2508.10875, 2025.arxiv.org/abs/2508.10875
  18. [18]Enshu Liu, Xuefei Ning, Yu Wang, and Zinan Lin. NI sampling: Accelerating discrete diffusion sampling by token order optimization. arXiv preprint arXiv:2604.18471, 2026. URL https://arxiv.org/abs/2604.18471.
  19. [19]Sulin Liu, Juno Nam, Andrew Campbell, Hannes Stärk, Yilun Xu, Tommi Jaakkola, and Rafael Gómez-Bombarelli. Think while you generate: Discrete diffusion with planned denoising. In International Conference on Learning Representations, volume 2025, pp. 81979–82026, 2025.arxiv.org/abs/2410.06264
  20. [20]Aaron Lou, Chenlin Meng, and Stefano Ermon. Discrete diffusion modeling by estimating the ratios of the data distribution. arXiv preprint arXiv:2310.16834, 2023.arxiv.org/abs/2310.16834
  21. [21]Lizhuo Luo, Shenggui Li, Yonggang Wen, and Tianwei Zhang. DSB: Dynamic sliding block scheduling for diffusion LLMs. arXiv preprint arXiv:2602.05992, 2026. URL https://arxiv.org/abs/2602.05992.
  22. [22]Jama Hussein Mohamud, Mohsin Hasan, Mirco Ravanelli, and Yoshua Bengio. Adaptive order policies for masked diffusion. arXiv preprint arXiv:2606.00295, 2026.arxiv.org/abs/2606.00295
  23. [23]Zanlin Ni, Shenzhi Wang, Yang Yue, Tianyu Yu, Weilin Zhao, Yeguo Hua, Tianyi Chen, Jun Song, Cheng Yu, Bo Zheng, and Gao Huang. The flexibility trap: Why arbitrary order limits reasoning potential in diffusion language models. arXiv preprint arXiv:2601.15165, 2026. URL https://arxiv.org/abs/2601.15165v1.
  24. [24]Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. In Advances in Neural Information Processing Systems, volume 38, pp. 50608–50646, 2025.arxiv.org/abs/2502.09992
  25. [25]Theo X Olausson, Metod Jazbec, Xi Wang, Armando Solar-Lezama, Christian A Naesseth, Stephan Mandt, and Eric Nalisnick. A tale of two temperatures: Simple, efficient, and diverse sampling from diffusion language models. arXiv preprint arXiv:2604.09921, 2026.arxiv.org/abs/2604.09921
  26. [26]Jingyang Ou, Shen Nie, Kaiwen Xue, Fengqi Zhu, Jiacheng Sun, Zhenguo Li, and Chongxuan Li. Your absorbing discrete diffusion secretly models the conditional distributions of clean data. In International Conference on Learning Representations, volume 2025, pp. 64972–65009, 2025.arxiv.org/abs/2406.03736
  27. [27]Fred Zhangzhi Peng, Zachary Bezemek, Sawan Patel, Jarrid Rector-Brooks, Sherwood Yao, Avishek Joey Bose, Alexander Tong, and Pranam Chatterjee. Path planning for masked diffusion model sampling. arXiv preprint arXiv:2502.03540, 2025.arxiv.org/abs/2502.03540
  28. [28]Zhangzhi Peng, Zachary Bezemek, Jarrid Rector-Brooks, Shuibai Zhang, Michael Bronstein, Anru Zhang, Joey Bose, and Alexander Tong. Planner aware path learning in diffusion language models training. In International Conference on Learning Representations, volume 2026, pp. 126799–126844, 2026.arxiv.org/abs/2509.23405
  29. [29]Subham S Sahoo, Marianne Arriola, Yair Schiff, Aaron Gokaslan, Edgar Marroquin, Justin T Chiu, Alexander Rush, and Volodymyr Kuleshov. Simple and effective masked diffusion language models. Advances in Neural Information Processing Systems, 37:130136–130184, 2024.arxiv.org/abs/2406.07524
  30. [30]Jiaxin Shi, Kehang Han, Zhe Wang, Arnaud Doucet, and Michalis Titsias. Simplified and generalized masked diffusion for discrete data. Advances in neural information processing systems, 37:103131–103167, 2024.arxiv.org/abs/2406.04329
  31. [31]Chengyue Wu, Hao Zhang, Shuchen Xue, Zhijian Liu, Shizhe Diao, Ligeng Zhu, Ping Luo, Song Han, and Enze Xie. Fast-dllm: Training-free acceleration of diffusion llm by enabling kv cache and parallel decoding. In International Conference on Learning Representations, volume 2026, pp. 57027–57051, 2026.arxiv.org/abs/2505.22618
  32. [32]Jiawei Xu, Minghui Liu, Aakriti Agrawal, Yifan Chen, and Furong Huang. Scheduling thoughts: Learning the order of thought in diffusion language models. arXiv preprint arXiv:2606.23567, 2026.arxiv.org/abs/2606.23567
  33. [33]Jiacheng Ye, Jiahui Gao, Shansan Gong, Lin Zheng, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Beyond autoregression: Discrete diffusion for complex reasoning and planning, 2025a. URL https://arxiv.org/abs/2410.14157.
  34. [34]Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Dream 7B: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025b. URL https://arxiv.org/abs/2508.15487.
  35. [35]Longxuan Yu, Shaorong Zhang, Yu Fu, Hui Liu, Yue Dong, and Greg Ver Steeg. Revise, don’t freeze: Sampler-matched training for self-correcting masked diffusion language models, 2026. URL https://arxiv.org/abs/2606.01026.
  36. [36]Kevin Zhai, Sabbir Mollah, Zhenyi Wang, and Mubarak Shah. Core: Context-robust remasking for diffusion language models. arXiv preprint arXiv:2602.04096, 2026.arxiv.org/abs/2602.04096
  37. [37]Hanyang Zhao, Dawen Liang, Wenpin Tang, David Yao, and Nathan Kallus. Diffpo: Training diffusion llms to reason fast and furious via reinforcement learning. arXiv preprint arXiv:2510.02212, 2025.arxiv.org/abs/2510.02212
  38. [38]Yuyuan Zhou, Kai Syun Hou, Weiyu Chen, and James Kwok. Attention-based sampler for diffusion language models. arXiv preprint arXiv:2604.08564, 2026.arxiv.org/abs/2604.08564
  39. [39]Fengqi Zhu, Rongzhen Wang, Shen Nie, Xiaolu Zhang, Chunwei Wu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Llada 1.5: Variance-reduced preference optimization for large language diffusion models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 11425–11460, 2026.

Paper details

vlnc:W_zdb7prpq
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Generative AI tools · View statement →

Looking for related papers…
Contents