betaFeedback

WorksComputer Science

ReMaRL: Learning to Unmask and Remask in Frozen Diffusion Language Models

Abstract

Masked diffusion language models generate tokens in parallel, and the order in which tokens are unmasked affects final-answer accuracy. Several methods learn unmasking policies from task rewards, but these policies cannot remask earlier predictions. Remasking lets the model correct those predictions using newly generated context. Heuristic rules guide both unmasking and remasking, while supervised remaskers learn to detect token errors. Neither approach directly optimizes these decisions for final-answer correctness. To address this gap, we introduce ReMaRL (Remasking with Reinforcement Learning), a lightweight policy that learns which tokens to unmask, retain, or remask. We train this roughly 0.3M-parameter policy with Group Relative Policy Optimization (GRPO) from final-answer rewards while keeping the diffusion model frozen. With LLaDA-8B-Instruct, ReMaRL achieves the highest scores among the compared unmasking and remasking policies within the tested inference budgets of 4-32 model calls on math and 8-16 calls on code.

Introduction

Masked diffusion language models generate text by predicting tokens in parallel and choosing which positions to unmask at each step (Sahoo et al., 2024; Nie et al., 2025). These choices affect generation quality, especially when only a few model calls are available and many positions must be filled at once.

Several methods use heuristics to choose which tokens to unmask or, when the method allows it, remask (Nie et al., 2025; Peng et al., 2025; Wang et al., 2025b). Learning unmasking policies with reinforcement learning can improve over these rules while keeping the diffusion model frozen [13, 10] (Jazbec et al. 2025; Xu et al. 2026). These policies choose which masked positions to fill, but leave tokens unchanged once unmasked.

When several positions are unmasked in parallel, each token is predicted from the same context without conditioning on the other tokens being unmasked. If those tokens depend on one another, this factorization can produce predictions that are individually plausible but inconsistent together (Wu et al., 2025). Remasking one of them lets the model predict it again with the others in context. Learned remasking modules, including G-Star (Meshchaninov et al., 2025) and BackPlay (Liu et al., 2026), use token-level supervision derived from reference text to identify tokens to remask. These modules learn to detect token errors as a proxy for improving generation quality, without directly optimizing final-answer correctness.

To address this gap, we propose ReMaRL (Remasking with Reinforcement Learning), a lightweight policy that learns which positions to unmask and which earlier tokens to remask. We build it on P2’, our stochastic adaptation of P2 (Peng et al., 2025), by learning a correction to its confidence-based position scores. We train this correction with Group Relative Policy Optimization (GRPO; Shao et al. (2024)) using final-answer rewards, while keeping the diffusion model frozen. At each non-final step, a schedule sets the total number of positions that will be unmasked after the update, and ReMaRL chooses those positions. Following the P2 update rule (Peng et al., 2025), selected masked positions receive the model’s predictions, selected unmasked positions keep their tokens, and unmasked positions outside the set are remasked.

Our contributions are as follows:

  • We introduce ReMaRL, a lightweight policy that learns which positions to unmask, retain, or remask from final-answer rewards while keeping the diffusion model frozen.

  • We show that, with frozen LLaDA-8B-Instruct (Nie et al., 2025), ReMaRL achieves the highest scores in our comparison within the tested inference budgets of 4–32 calls on math and 8–16 calls on code.

  • We also develop P2′, the confidence-based remasking rule underlying ReMaRL. Tuning its position temperature yields a strong decoding method without policy training: at a budget of 16 model calls, it ranks second only to ReMaRL on all four benchmarks among the compared methods.

  • We conduct analyses and ablations showing that the policy’s components contribute to accuracy and that trained policies can benefit from more calls at inference. We also demonstrate data efficiency and applicability to a second frozen diffusion model, Dream.

Background

Masked diffusion decoding

Masked diffusion language models learn to predict missing tokens from partially masked sequences (Sahoo et al., 2024; Nie et al., 2025). To generate an answer, decoding starts with a sequence of mask tokens. Each model call predicts tokens for the currently masked positions. A decoding rule determines how many positions to unmask and selects them. The number can follow a fixed schedule or depend on the model’s predictions ([3] (Nie et al. 2025; Wu et al. 2025)). For example, confidence-based decoding fills a prescribed number of positions whose proposed tokens have the highest model probabilities (Nie et al., 2025).

Let yy denote the prompt and LL the answer length. We write xt−1x^{t-1} for the partially generated answer before model call tt. Each position contains either a token from vocabulary V\mathcal{V} or the mask symbol MASK:

xt−1∈(V∪{MASK})L,x0=MASKL.x^{t-1} \in(\mathcal{V} \cup\{\mathrm{MASK}\})^L,\qquad x^0 = \mathrm{MASK}^L.

Given the prompt and current answer, the model returns a token distribution pθ,i(⋅∣y,xt−1)p_{\theta,i}(\cdot\mid y, x^{t-1}) at each position ii. The greedy token proposal is

x^it=arg⁡max⁡v∈V pθ,i(v∣y,xt−1).(1)\hat{x}_i^t = \underset{v \in\mathcal{V}}{\arg\max}\ p_{\theta,i}(v \mid y, x^{t-1}). \tag*{(1)}

The decoding rule uses these predictions to update the answer from xt−1x^{t-1} to xtx^t. We denote the total number of model calls by TT, also called the number of function evaluations (NFE).

Full-diffusion decoding can unmask positions across the entire answer at each call. Semi-autoregressive decoding processes blocks from left to right, unmasking tokens only within the current block (Nie et al., 2025).

P2 decoding

In standard masked diffusion decoding, each token remains unchanged once it is unmasked. Remasking allows the model to revise earlier predictions by masking selected tokens and predicting them again ([7, 13] (Peng et al. 2025; Wang et al. 2025b; Meshchaninov et al. 2025)).

P2 (Peng et al., 2025) uses a planner to choose which positions to unmask or remask. It considers self-planning, external, and learned planners. Here we describe its greedy self-planner with equal weighting of masked and unmasked positions. It scores each position using the probability of its freshly proposed token, including positions that already contain a token:

sit=pθ,i(x^it∣y,xt−1).(2)s_i^t = p_{\theta,i}(\hat{x}_i^t \mid y, x^{t-1}). \tag*{(2)}

The self-planner defines StS_t as the set of the ktk_t highest-scoring positions among all LL answer positions. After the update, exactly the positions in StS_t are unmasked. With a linear schedule, kt=⌈Lt/T⌉k_t = \lceil Lt/T \rceil:

St=TopK⁡(st,kt).(3)S_t = \operatorname{TopK}(s^t, k_t). \tag*{(3)}

Given StS_t, the P2 state transition is

xit={xit−1,i∈St,xit−1≠MASK,x^it,i∈St,xit−1=MASK,MASK,i∉St.(4)x_i^t = \begin{cases} x_i^{t-1}, & i \in S_t, x_i^{t-1} \ne\mathrm{MASK},\\ \hat{x}_i^t, & i \in S_t, x_i^{t-1} = \mathrm{MASK},\\ \mathrm{MASK}, & i \notin S_t. \end{cases} \tag*{(4)}

An unmasked token in StS_t is kept unchanged. If excluded from StS_t, it is remasked and will be unmasked later. The number of unmasked positions increases with tt, but the selected sets are not necessarily nested. The last decoding step unmasks all remaining positions.

Reward-based policy optimization

Group Relative Policy Optimization (GRPO; Shao et al., 2024) trains a policy using rewards from groups of sampled outputs. A behavior policy πθold\pi_{\theta_{\mathrm{old}}} generates GG trajectories for each question yy. With a terminal reward Ry,gR_{y,g} for trajectory gg, the group-normalized advantage is

Ay,g=Ry,g−R‾yσy+ϵA,(5)A_{y,g} = \frac{R_{y,g} - \overline{R}_y}{\sigma_y + \epsilon_A}, \tag*{(5)}

where R‾y\overline{R}_y and σy\sigma_y are the within-group mean and standard deviation, and ϵA>0\epsilon_A > 0 stabilizes the denominator. All actions in trajectory gg share its normalized advantage Ay,gA_{y,g}.

For an action ata_t in state ωt\omega_t, let rt(ϕ)=πϕ(at∣ωt)/πϕold(at∣ωt)r_t(\phi) = \pi_\phi(a_t \mid\omega_t)/\pi_{\phi_{\mathrm{old}}}(a_t \mid\omega_t). The PPO-style clipped surrogate objective is

ℓ(r,A)=min⁡{rA,clip⁡(r,1−ϵ,1+ϵ)A}.(6)\ell(r, A) = \min\{rA, \operatorname{clip}(r, 1-\epsilon, 1+\epsilon)A\}. \tag*{(6)}

GRPO maximizes

Eold[ℓ(rt(ϕ),Ay,g)−βDKL(πϕ∥πref)].(7)\mathbb{E}_{\mathrm{old}}\left[\ell(r_t(\phi), A_{y,g}) - \beta D_{\mathrm{KL}}(\pi_\phi\Vert\pi_{\mathrm{ref}})\right]. \tag*{(7)}

The expectation averages over trajectories sampled from πϕold\pi_{\phi_{\mathrm{old}}} and their actions. The KL divergence is evaluated at the corresponding states. Here πref\pi_{\mathrm{ref}} is a fixed reference policy and β≥0\beta\ge0 controls the KL penalty strength.

Related Work

Heuristic decoding rules. Many decoding methods for masked diffusion models use hand-designed rules to choose which positions to unmask or remask. The basic rule unmasks the positions where the model is most confident (Nie et al., 2025). Variants choose how many tokens to unmask based on confidence thresholds or entropy bounds [3] (Wu et al. 2025), wait until predictions are stable across steps (Kim et al., 2025), avoid unmasking dependent tokens together (Kim et al., 2026), or reweight confidence with positional and token-frequency priors [12]. These rules only reveal masked tokens. Olausson et al. (2026) study how sampling temperatures affect sample diversity and the trade-off between sampling cost and pass@kk.

A second line of work allows remasking: already unmasked tokens can be remasked and predicted again. Mask-Predict [7] refines non-autoregressive translations by remasking low-confidence tokens and predicting them again. Remasking methods select tokens using model confidence [8] (Peng et al. 2025), failed verification checks [11], sensitivity to context perturbations (Zhai et al., 2026), or a stochastic remasking schedule (Wang et al., 2025b). Saber [6] combines adaptive unmasking with backtracking remasking for code generation.

Learned decoding with a frozen model. Several methods train a separate decoding module while keeping the diffusion model frozen. Jazbec et al. (2025) and Hong et al. [10] train unmasking policies with reinforcement learning from task rewards. SAS (Xu et al., 2026) uses GRPO with a dense reward based on the likelihood of reference answers. Adaptive order policies (Mohamud et al., 2026) use the diffusion model’s token-prediction loss to learn which positions to unmask. Learn2PD [2] and TraceLock (Sun et al., 2026) learn which predictions to accept from the model’s own decoding traces. These policies do not remask tokens.

Learned remasking modules use supervised training. G-Star (Meschhaninov et al., 2025) and BackPlay (Liu et al., 2026) train token-error predictors using reference data and use their scores to choose which tokens to remask.

Adapting the diffusion model. A separate line of work fine-tunes the diffusion model itself with RL or supervised training [13, 13] (Wang et al. 2025a; Raajesh et al. 2026; Madeira et al. 2026). MAPG (Raajesh et al., 2026) jointly optimizes token prediction and position selection through the diffusion model’s logits. DCoLT [13] uses GRPO with final-answer rewards to jointly train the diffusion model and a separate unmasking module. It also reports results from training only the unmasking module while keeping the diffusion model frozen.

Concurrent work. TIPS (Zhang et al., 2026), developed independently and concurrently, also learns unmasking and remasking with a frozen LLaDA model. Its probabilistic formulation of position selection differs from ours, and its main training recipe uses supervised warmup before RL (Appendix H).

Method

ReMaRL learns which answer positions to leave unmasked after each non-final model call. The diffusion model supplies the token predictions and stays frozen while we train the position policy.

We retain P2’s unmasking and remasking transition and make position selection stochastic to train the policy with reinforcement learning. Starting from an adapted confidence rule, ReMaRL learns

Algorithm 1 ReMaRL inference: DECODE

x = [MASK] * L
rollout = []
for t in 1..T:
    p, h = frozen_model(y, x)
    is_mask = (x == MASK)
    x = where(is_mask, argmax(p), x)        # greedy fill
    if t < T:
        s[i] = p[i, x[i]] for i in 1..L     # P2′ confidence
        z = s + policy(s, is_mask, pos_emb, h)
        k = ceil(L * t / T)
        keep = top_k_mask(z / tau + gumbel(), k)
        x[~keep] = MASK                     # P2 transition
    rollout.append(x)
return rollout
Algorithm 2 ReMaRL training with GRPO

phi = init(residual=0)    # z = s: starts as P2′
for step in 1..N:
    phi_old = phi; groups = []
    while len(groups) < B:
        y = next_question()
        rollouts = [decode(y, phi_old) for g in 1..G]
        R = correct(rollouts)               # binary
        if std(R) == 0: continue            # resample
        A = (R - mean(R)) / (std(R) + eps)
        groups.append((rollouts, A))
    for epoch in 1..E:
        pi = plackett_luce_likelihood      # per decision
        ratio = pi(groups, phi) / pi(groups, phi_old)
        update(phi, clipped_objective(ratio, groups.A))

residual corrections to the position scores using final-answer rewards.

P2′ decoding

We introduce P2′, which modifies the greedy P2 self-planner in two ways: current-token scoring and stochastic position selection. It scores each position by the probability of the token that would occupy it if selected:

s~it={sit,xit−1=MASK,pθ,i(xit−1∣y,xt−1),xit−1≠MASK.(8)\widetilde{s}_i^t = \begin{cases} s_i^t, & x_i^{t-1} = \mathrm{MASK},\\ p_{\theta,i}(x_i^{t-1}\mid y,x^{t-1}), & x_i^{t-1} \ne\mathrm{MASK}. \end{cases} \tag*{(8)}

Here, sits_i^t is the confidence score used by the original P2 self-planner (Eq. (2)). At an unmasked position, selection retains the current token even when the model proposes a different one. Appendix § 9.§ 3 compares this rule with the original P2 self-planner.

At each non-final call, we divide each position score by the temperature τ>0\tau> 0 and add independent noise git∼Gumbel⁡(0,1)g_i^t \sim\operatorname{Gumbel}(0,1). We select the ktk_t positions with the largest values of

s~it/τ+git,(9)\widetilde{s}_i^t/\tau+ g_i^t, \tag*{(9)}

and record their indices as at=(at,1,…,at,kt)a_t = (a_{t,1}, \ldots, a_{t,k_t}), ordered by decreasing perturbed score.

This is equivalent to sampling positions one at a time without replacement, with probabilities proportional to exp⁡(s~it/τ)\exp(\widetilde{s}_i^t/\tau) among the remaining positions. This procedure is called Gumbel top-kk ((Kool et al., 2019)). The ordered list follows a Plackett–Luce distribution:

PL⁡(at;s~t/τ)=∏j=1ktexp⁡(s~at,jt/τ)∑i∉at,<jexp⁡(s~it/τ),(10)\operatorname{PL}(a_t;\widetilde{s}^t/\tau) = \prod_{j=1}^{k_t} \frac{\exp(\widetilde{s}_{a_{t,j}}^t/\tau)} {\sum_{i\notin a_{t,<j}}\exp(\widetilde{s}_i^t/\tau)}, \tag*{(10)}

where at,<j={at,1,…,at,j−1}a_{t,<j} = \{a_{t,1}, \ldots, a_{t,j-1}\} contains the previously selected indices.

We form the set St={at,1,…,at,kt}S_t = \{a_{t,1}, \ldots, a_{t,k_t}\} and use it in the P2 state transition (Equation (4)). The temperature controls the randomness of position selection (τ=0\tau= 0 denotes greedy selection).

Learning the position scores

ReMaRL learns a correction to the confidence score at each position. Given the position’s feature vector fitf_i^t, the policy computes

zit=s~it+Δϕ(fit),(11)z_i^t = \widetilde{s}_i^t + \Delta_{\phi}(f_i^t), \tag*{(11)}
Δϕ(f)=MLP⁡ϕ(f)+wskipTf.(12)\Delta_{\phi}(f) = \operatorname{MLP}_{\phi}(f) + w_{\mathrm{skip}}^{\mathsf{T}}f. \tag*{(12)}

The policy shares its weights across positions. The features combine confidence s~it\widetilde{s}_i^t, the mask indicator mit=1{xit−1=MASK}m_i^t = 1\{x_i^{t-1} = \mathrm{MASK}\}, a learned position embedding eie_i, and a projection of the diffusion model’s final hidden state hith_i^t:

uit=WhLN⁡(hit)+bh,(13)u_i^t = W_h\operatorname{LN}(h_i^t) + b_h, \tag*{(13)}
fit=[s~it;mit;ei;uit].(14)f_i^t = [\widetilde{s}_i^t; m_i^t; e_i; u_i^t]. \tag*{(14)}

The model call that produces the token probabilities also supplies hith_i^t. We use ei∈R16e_i \in\mathbb{R}^{16} and uit∈R64u_i^t \in\mathbb{R}^{64}. The network MLP⁡ϕ\operatorname{MLP}_{\phi} has two 64-unit hidden layers with GELU activations. The policy has about 0.3M trainable parameters.

We initialize the final MLP layer and the linear skip weights to zero. The initial scores therefore equal s~it\widetilde{s}_i^t, and ReMaRL starts from stochastic P2′ at the training temperature τ=1\tau= 1. Algorithm 1 gives the decoding procedure.

Training with GRPO

We train the position policy with GRPO ((Shao et al., 2024)) using final-answer correctness as the reward. At each non-final call, the state is ωt=(y,xt−1,t)\omega_t = (y, x^{t-1}, t). We sample ata_t using the learned scores ztz^t as described in § 4.1 and apply the state transition in Equation (4).

The policy probability is πϕ(at∣ωt)=PL⁡(at;zt/τ)\pi_\phi(a_t \mid\omega_t) = \operatorname{PL}(a_t; z^t/\tau), where PL is defined in Equation (10).

For each question yy, the policy generates GG answers with Algorithm 1. The task’s checker assigns each answer a binary correctness reward Ry,gR_{y,g}. We compute the advantages in Equation (5) using the population standard deviation. Constant-reward groups have zero normalized advantages. Following the dynamic sampling procedure in DAPO (Yu et al., 2025), we discard these groups and sample new question groups until the batch is full.

For each non-final decoding step, we form the likelihood ratio

ry,g,t(ϕ)=πϕ(ay,g,t∣ωy,g,t)πϕold(ay,g,t∣ωy,g,t).(15)r_{y,g,t}(\phi) = \frac{\pi_\phi(a_{y,g,t} \mid\omega_{y,g,t})}{\pi_{\phi_{\mathrm{old}}}(a_{y,g,t} \mid\omega_{y,g,t})}. \tag*{(15)}

Let D\mathcal{D} contain the non-final decisions from the accepted groups. We minimize the negative GRPO surrogate:

L(ϕ)=−1∣D∣∑(y,g,t)∈Dℓ(ry,g,t(ϕ),Ay,g).(16)\mathcal{L}(\phi) = -\frac{1}{|\mathcal{D}|}\sum_{(y,g,t)\in\mathcal{D}} \ell\left(r_{y,g,t}(\phi), A_{y,g}\right). \tag*{(16)}

We do not use a reference policy, so we omit the KL penalty. For each batch, we take E=4E = 4 full-batch optimization steps, then sample new answers with the updated policy (Algorithm 2).

Experiments

Setup

Model and decoding. We use the same frozen LLaDA-8B-Instruct checkpoint (Nie et al., 2025) for the main experiments. ReMaRL generates 256-token answers with full-diffusion decoding. Our evaluations follow the task-specific prompting and scoring of Jazbec et al. (2025).

Training data and budgets. We train a separate math policy for each fixed inference budget of 4, 8, 16, 32, and 64 calls, using the 14,973-question GSM8K and MATH mixture (Cobbe et al., [5]; Hendrycks et al., [9]). Separate code policies are trained at 8, 16, and 32 calls on about 9.1k KodCode problems (Xu et al., 2025). We screen code training problems for reference-test compatibility and benchmark overlap (Appendix § 12).

Main policies use 32,768 accepted question groups (32k). Each batch contains B=16B = 16 informative question groups with G=8G = 8 sampled answers per question. We use a learning rate of 10−410^{-4}, a GRPO clipping threshold of ϵ=0.2\epsilon= 0.2, and gradient norm clipping at 1. Appendix § 17 gives implementation details.

Evaluation. We report accuracy on GSM8K and MATH500 (Lightman et al., 2023), and pass@1 on HumanEval (Chen et al., [4]) and MBPP (Austin et al., [1]). For stochastic configurations, we average scores over three inference seeds.

Compared methods. We compare ReMaRL with prior decoding methods and our P2′ planner at position temperatures τ∈{0,0.25,1}\tau\in\{0, 0.25, 1\}. We select τ=0.25\tau= 0.25 separately for math and code using training questions at eight calls and reuse it across inference budgets (§ 6.3). Figure 1 and Figure 2 show a representative subset of methods to keep the curves readable. Confidence decoding and Fast-dLLM represent prior heuristic methods, while the published policies provide comparisons with other learned methods. Appendix § 9 gives the full results for each benchmark.

Figure 1. Math accuracy versus inference budget. The solid blue line connects ReMaRL policies trained for 32k groups and evaluated at their respective training budgets. The dash-dot curve reuses the NFE64 checkpoint at larger budgets. Jazbec et al.^A and UPO^U results are taken from their papers; UPO uses 128-token answers.

Figure 2. Code pass@1 versus inference budget for selected methods. The solid blue line connects three ReMaRL policies trained for 32k groups, one at each budget of 8, 16, and 32 calls. Each is evaluated at its training budget. The dash-dot ReMaRL curve reuses the NFE32 checkpoint at larger budgets. Full-diffusion and semi-autoregressive results are grouped in separate legend columns. Results marked A are taken from Jazbec et al. (2025).

We evaluate most prior methods ourselves and reuse published policy scores from Jazbec et al. (2025); Hong et al. [10]; Xu et al. (2026). We also include DCoLT’s published frozen-model ablation (Huang et al. [13]). Appendix § 16 compares ReMaRL with concurrent TIPS.

Main results

Math. ReMaRL outperforms the compared full-diffusion methods on both GSM8K and MATH500 at 4–64 model calls (Figure 1; Appendix § 9). At 128 and 256 calls, it continues to lead on GSM8K, while PC-Sampler scores higher on MATH500.

ReMaRL also outperforms the compared semi-autoregressive baselines on both benchmarks at 8–32 calls. At larger budgets, it remains competitive with the strongest semi-autoregressive methods and achieves the highest GSM8K accuracy at 256 calls.

Calibrated P2′ ranks second to ReMaRL on both math benchmarks at 4–16 calls and on GSM8K at 32 calls, outperforming the other compared methods at these budgets without training a position policy.

Code. At inference budgets of 8 and 16 model calls, ReMaRL achieves the highest pass@1 on both HumanEval and MBPP among the compared methods (Figure 2; Appendix § 9).

At 16 calls, calibrated P2′ also ranks second to ReMaRL on both code benchmarks. On MBPP, this ranking holds at 8 and 32 calls as well.

At 128 and 256 calls, ReMaRL achieves the highest pass@1 on MBPP among all compared methods, while several full-diffusion and semi-autoregressive methods score higher on HumanEval.

Analysis

Transfer across inference budgets

To test whether a policy can be reused at a different inference budget, we evaluate each math checkpoint at other inference budgets without further training (Figure 3).

Figure 3. Math checkpoints trained for 32k groups, reevaluated at different inference budgets. Dot-centered diamonds mark matching training and inference budgets.

At a fixed inference budget, the policy trained for that budget generally performs best. Policies trained with fewer or more calls can still achieve similar accuracy at the same inference budget, without further training. For every evaluated checkpoint, mean accuracy increases with the number of inference calls on both benchmarks.

Ablations

We examine how ReMaRL’s components, initialization, and architecture affect math accuracy. We train each variant from scratch at eight calls for 16k accepted groups.

We remove position embeddings, hidden states, and remasking in separate variants. In the bias-only variant, the correction to token confidence depends only on position and whether it is masked.

In another variant, we randomly initialize the final MLP layer and linear skip and remove the confidence term s~i\tilde{s}_i from Equation (11).

Following the use of a transformer policy in Jazbec et al. (2025), we test whether attention across answer positions improves accuracy. We replace the MLP with a transformer, keeping the same inputs, initialization, and training recipe.

Table 1 shows that removing position embeddings has a small effect on accuracy, while removing hidden states or disabling remasking leads to larger accuracy drops. Restricting the correction to position and mask-state biases gives the lowest accuracy. Random initialization without the added confidence score also lowers accuracy compared with standard ReMaRL.

VariantGSM8KMATH500
ReMaRL50.0420.00
No position embedding48.9819.73
No hidden states45.0818.20
No remasking38.2615.00
Position and mask biases only29.1614.07
Random init., no added confidence47.5418.20
Transformer policy45.4117.80

Table 1. Math accuracy (%) at eight calls after 16k accepted training groups.

The transformer has roughly twice as many parameters but achieves lower accuracy on both benchmarks at the same training budget. The diffusion model’s hidden states already encode information about other answer positions, so the MLP can use this context when scoring each position. This may reduce the benefit of adding attention within the policy.

Position temperature

The residual policy can uniformly rescale confidence scores by a positive factor, which is equivalent to changing the position temperature. We test how much of ReMaRL’s improvement can be recovered by tuning this temperature in P2′ (Table 2). For each domain, we select a temperature at eight calls using 256 training questions: 128 each from GSM8K and MATH for math, and 256 from KodCode for code.

Temperature tuning improves P2′ and closes part of the gap to ReMaRL. Training-based selection chooses τ=0.25\tau= 0.25 in both domains, which also achieves the highest P2′ test accuracy among the tested temperatures at eight and sixteen calls. Re-

P2′ temperatureGSM8KMATH500GSM8KMATH500HumanEvalMBPPHumanEvalMBPP
MathCode
8 calls8 calls16 calls16 calls8 calls8 calls16 calls16 calls
023.5013.6042.6819.0014.023.0017.6811.40
0.0529.1914.8041.5716.8713.014.6018.709.33
0.134.0416.0046.2518.0013.419.2718.9017.73
0.2542.3017.8756.2520.9314.2321.4722.5629.33
0.534.6215.1350.1418.0011.7918.2718.0925.20
128.7613.7343.5917.7311.5915.7314.8423.33
225.7012.4040.2316.3310.7713.0712.4021.67
ReMaRL (τ=1\tau= 1)53.6019.0065.1324.8720.7325.4029.4732.40

Table 2. P2′ position-temperature sweeps and ReMaRL on the full benchmarks (%). Here τ=0\tau= 0 denotes greedy position selection. Gray shading marks the temperature selected separately for each domain on training questions at eight calls and used unchanged at both budgets. Bold marks the highest score in each column.

MaRL outperforms calibrated P2′ on all four benchmarks at both budgets.

We also vary the inference temperature of the trained NFE8 ReMaRL policy. On GSM8K, accuracy peaks near the training temperature of τ=1\tau= 1 (Table 12), indicating that the learned scores already have a suitable scale for sampling.

Position temperature τ\tauGSM8K accuracy (%)
033.36
0.1034.47
0.2539.20
0.5048.19
0.7551.98
0.8553.53
0.9053.50
0.9554.38
1.0053.96
1.0553.47
1.1053.55
1.1553.17
1.2553.42
1.5051.58
2.0045.69

Table 12. Independent position-temperature reevaluation of the fixed NFE8 ReMaRL policy trained for 32k groups. At τ=0\tau= 0, position selection is greedy. Token predictions are greedy throughout.

Training-data size

We train NFE8 policies on 4, 32, 256, or 2,048 questions per math dataset, using three training seeds and 16k accepted groups per run. Figure 4 compares them with the policy trained on all 14,973 questions at the same training budget and with temperature-calibrated P2′.

Figure 4. Training-data size at NFE8 and 16k training groups. Dashed blue curves track the three seeds across sizes; each seed controls both subset sampling and training. The darker curve is their mean.

Even with only four training questions per dataset, ReMaRL’s mean accuracy across three runs exceeds that of temperature-calibrated P2′ on both benchmarks. With 32 questions per dataset, GSM8K accuracy approaches that of the full-data policy. Increasing the subset to 256 questions per dataset also brings MATH500 accuracy close to the full-data result. These results show that ReMaRL is data-efficient: a small training subset is sufficient to approach full-data accuracy.

Evaluation on Dream

To test ReMaRL with another diffusion model, we train separate math and code policies on frozen Dream-v0-Instruct-7B ((Ye et al., 2025)) at 8, 16, and 32 calls, using the same training recipe. ReMaRL achieves the highest scores among the compared methods at 8–32 calls on GSM8K and MATH500 and at 8–16 calls on HumanEval and MBPP. The setup and full results are reported in Appendix § 10.

Generation trajectories

We analyze GSM8K trajectories to understand how ReMaRL selects positions during generation. ReMaRL tends to prioritize earlier answer positions, producing a pattern similar to autoregressive generation. This behavior emerges without an explicit left-to-right constraint or reward for following this order.

ReMaRL also remasks fewer tokens than P2′P2^\prime at both τ=0.25\tau= 0.25 and τ=1\tau= 1. Appendix § 11 presents the trajectory analysis.

Conclusion

ReMaRL learns which positions to unmask and which unmasked tokens to remask. We train only the 0.3M-parameter position policy, using final-answer rewards while keeping the diffusion model frozen. On both tested backbones, ReMaRL outperforms the compared baselines at the tested budgets of 8–32 model calls on math and 8–16 calls on code.

Limitations

ReMaRL learns which positions to reveal, retain, or remask, while the number of unmasked positions at each step and the total inference budget are fixed in advance. Our training recipe relies on task-specific correctness rewards; extending it to open-ended generation requires a suitable reward signal.

We evaluate two diffusion models on math and code tasks with 256-token answers. Longer answers and other task types remain untested.

Training budgets count accepted question groups, so resampling constant-reward groups adds rollout cost that can differ across policies. At inference, NFE does not capture sequence length, caching, or policy overhead, and therefore does not establish wall-clock speedups.

Full comparison tables

Math

Table 3: GSM8K accuracy (%). Adaptive cells show the best observed test score within each mean-NFE budget, with mean NFE below. Bars scale from zero to the maximum score in each column; bold marks that score. Unmarked: computed here; A: Jazbec et al.; U: UPO; S: SAS; D: DCoLT ([13 Table 4; published prompt/scorer]). NR: block size unspecified. Dashes indicate unavailable results.

MethodBlocks48163264128256
Fixed-budget decoding
ReMaRL (ours)1×2561 \times25617.0719.0024.8727.2731.07——
ReMaRL (ours), trained at NFE641×2561 \times256————31.0732.9333.27
P2′ (ours, τ=0.25\tau= 0.25)1×2561 \times25613.7317.8720.9322.6024.6726.2726.07
P2′ (ours, τ=1\tau= 1)1×2561 \times25611.0713.7317.7321.2724.4027.0727.20
P2′ (ours, greedy)1×2561 \times25610.8013.6019.0020.8020.2020.8023.40
P2 (original self-planner)1×2561 \times2567.2010.0017.4018.8021.8019.6022.20
Confidence1×2561 \times2566.408.4016.8018.8019.2019.2018.40
Confidence8×328 \times32—7.6017.0021.2029.2032.0035.20
Random1×2561 \times2568.8711.6713.4017.3316.1319.0019.67
Random8×328 \times32—7.6010.5313.0716.8023.2727.67
Margin1×2561 \times2569.4013.8016.8020.4021.0018.4021.00
Margin8×328 \times32—7.6013.0021.4029.6030.8035.60
ReMDM (UNCODE)1×2561 \times256——17.4019.6021.0020.4019.20
UNCODE/PC-Sampler1×2561 \times2566.006.4013.2016.2025.0033.2036.40
RCR1×2561 \times2567.6014.2017.0020.2020.6019.6022.20
Adaptive decoding
Fast-dLLM1×2561 \times2566.00 (2.9)6.00 (2.9)6.00 (2.9)13.80 (17.1)17.80 (36.8)20.00 (64.2)20.00 (64.2)
Fast-dLLM8×328 \times32——9.20 (11.3)9.20 (11.3)26.60 (49.6)35.00 (101.3)35.40 (136.9)
EB-Sampler1×2561 \times256———20.20 (26.5)20.20 (26.5)22.00 (123.0)22.00 (123.0)
EB-Sampler8×328 \times32————17.60 (34.4)33.20 (68.0)35.20 (164.7)
Jazbec et al.1×2561 \times256——18.80{sup}A` (14.5)19.80{sup}A` (22.3)21.00{sup}A` (61.6)22.90{sup}A` (121.5)22.90{sup}A` (121.5)
Jazbec et al. + expert steering1×2561 \times256———19.80{sup}A` (23.1)19.80{sup}A` (23.1)31.40{sup}A` (86.7)31.40{sup}A` (86.7)
Jazbec et al. (α\alpha sweep)8×328 \times32——15.30{sup}A` (10.8)15.30{sup}A` (10.8)31.50{sup}A` (59.1)34.10{sup}A` (100.2)35.10{sup}A` (153.4)
WINO1×2561 \times256—————24.40 (71.3)24.40 (71.3)
WINO2×1282 \times128————31.20 (63.1)31.20 (63.1)31.20 (63.1)
KLASS1×2561 \times256—————22.00 (99.4)22.00 (99.4)
KLASS4×644 \times64—————34.60 (126.9)35.20 (133.2)
CORE1×2561 \times2566.00 (4.0)10.40 (8.0)16.80 (16.0)19.80 (32.0)20.20 (64.0)20.20 (64.0)20.20 (64.0)
DAPD-Direct1×2561 \times256———22.80 (30.3)22.80 (30.3)22.80 (30.3)22.80 (30.3)
DAPD-Direct4×644 \times64————30.40 (63.9)30.40 (63.9)30.40 (63.9)
DAPD-Staged1×2561 \times256————24.20 (36.8)24.20 (36.8)24.20 (36.8)
DAPD-Staged4×644 \times64—————29.60 (99.1)29.60 (99.1)
SAS: published evaluation protocol
SAS1×2561 \times256——————24.67{sup}S`
SAS8×328 \times32——————30.00{sup}S`
Separate reference: shorter answers
UPO (128-token answers)4×324 \times32————28.40{sup}U`—

Table 4. MATH500 comparison. Accuracy (%) under mean-NFE budgets. Adaptive rows report the best observed test score; actual mean NFE is in parentheses. Bars scale from zero to the column maximum; bold marks the highest score. Superscripts identify results from Jazbec et al.{sup}A, UPO{sup}U, and SAS{sup}S`. Dashes denote unmeasured budgets or no eligible operating point.

Code

Table 5 and Table 6 use the same ReMaRL checkpoints as Figure 2. The row labeled “ReMaRL (ours), trained at NFE32” reuses one checkpoint at higher inference budgets. Jazbec et al.’s code-trained and math-to-code transfer policies are reported separately. For the ReMDM rows, we use UNCODE’s LLaDA adaptation [12] and count both model calls in each revision loop.

MethodBlocks8163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25620.7329.4731.71———
ReMaRL (ours), trained at NFE321 × 256——31.7138.4138.6239.23
P2′ (ours, τ=0.25\tau= 0.25)1 × 25614.2322.5624.1923.1725.2022.97
P2′ (ours, τ=1\tau= 1)1 × 25611.5914.8419.9226.2222.3624.80
P2′ (ours, greedy)1 × 25614.0217.6821.9531.1034.7642.68
P2 (original self-planner)1 × 25615.2418.9021.9531.7138.4143.90
Confidence1 × 25613.4117.0715.2423.7834.1544.51
Confidence8 × 323.053.6610.3720.7337.2043.90
Random8 × 323.055.086.5010.9815.8521.75
ReMDM (UNCODE)1 × 256—14.0218.9017.0725.0033.54
UNCODE/PC-Sampler1 × 2563.053.667.3217.0733.5442.07
RCR1 × 25615.8519.5125.6131.7141.4641.46
Adaptive decoding
Fast-dLLM1 × 256——9.15 (19.8)23.78 (47.3)43.90 (117.7)44.51 (134.9)
Fast-dLLM8 × 32—3.05 (8.9)6.10 (30.2)24.39 (52.5)43.90 (118.2)43.90 (118.2)
Jazbec et al. (math-trained)8 × 32————40.24{sup}A` (113.5)41.46{sup}A` (163.7)
Jazbec et al. (code-trained)8 × 32———26.83{sup}A` (36.6)42.07{sup}A` (76.1)42.07{sup}A` (76.1)
WINO1 × 256————35.98 (88.0)35.98 (88.0)
WINO2 × 128————42.07 (79.9)42.07 (79.9)
CORE1 × 25614.02 (8.0)14.02 (8.0)15.85 (32.0)26.83 (64.0)34.15 (128.0)39.02 (256.0)
DAPD-Direct1 × 256———32.93 (32.01)32.93 (32.01)32.93 (32.01)
DAPD-Direct4 × 64————35.37 (66.5)35.37 (66.5)
DAPD-Staged1 × 256———34.76 (37.4)34.76 (37.4)34.76 (37.4)
DAPD-Staged4 × 64————36.59 (99.5)36.59 (99.5)

Table 5. HumanEval comparison. Pass@1 (%) under mean-NFE budgets. Adaptive rows report the best observed test score; actual mean NFE is in parentheses. Bars scale from zero to the column maximum; bold marks the highest score. Scores marked A are from Jazbec et al. Dashes denote unmeasured budgets or no eligible operating point.

Table 6: MBPP comparison. Pass@1 (%) under mean-NFE budgets. Adaptive rows report the best observed test score; actual mean NFE is in parentheses. Bars scale from zero to the column maximum; bold marks the highest score. Superscripts identify results from Jazbec et al.A and SASS. Dashes denote unmeasured budgets or no eligible operating point.

MethodBlocks8163264128256
Fixed-budget decoding
ReMaRL (ours)1×2561 \times25625.4032.4036.47———
ReMaRL (ours), trained at NFE321×2561 \times256——36.4739.5341.3343.53
P2′ (ours, τ=0.25\tau= 0.25)1×2561 \times25621.4729.3333.6733.7337.0035.73
P2′ (ours, τ=1\tau= 1)1×2561 \times25615.7323.3328.0732.2732.4735.93
P2′ (ours, greedy)1×2561 \times2563.0011.4019.8025.6026.8028.80
P2 (original self-planner)1×2561 \times2563.0010.2017.8025.8029.4029.00
Confidence1×2561 \times2564.408.8017.4026.8027.4030.00
Confidence8×328 \times320.805.6013.6020.0029.4040.20
Random8×328 \times320.802.735.4712.6019.2026.20
ReMDM (UNCODE)1×2561 \times256—5.0010.0016.8025.6026.80
UNCODE/PC-Sampler1×2561 \times2560.802.8010.0021.0030.6040.80
RCR1×2561 \times2563.8010.2021.6028.2031.0030.20
Adaptive decoding
Fast-dLLM1×2561 \times256——24.40 (22.4)29.20 (43.6)30.20 (110.9)30.20 (110.9)
Fast-dLLM8×328 \times32—0.80 (8.9)11.00 (24.0)39.80 (62.5)40.20 (71.5)40.20 (71.5)
Jazbec et al. (math-trained)8×328 \times32———27.67A (56.8)38.20A (116.1)38.20A (116.1)
Jazbec et al. (code-trained)8×328 \times32——23.80A (29.2)31.40A (55.2)35.60A (91.3)35.60A (91.3)
WINO1×2561 \times256———28.00 (49.7)28.00 (49.7)28.00 (49.7)
WINO2×1282 \times128———31.60 (52.3)31.60 (52.3)31.60 (52.3)
CORE1×2561 \times2564.60 (8.0)9.00 (16.0)16.20 (32.0)24.40 (64.0)26.40 (128.0)27.60 (256.0)
DAPD-Direct1×2561 \times256——29.60 (23.3)29.60 (23.3)29.60 (23.3)29.60 (23.3)
DAPD-Direct4×644 \times64———38.40 (38.3)38.40 (38.3)38.40 (38.3)
DAPD-Staged1×2561 \times256———30.60 (40.4)30.60 (40.4)30.60 (40.4)
DAPD-Staged4×644 \times64————36.00 (96.8)36.00 (96.8)
SAS: published evaluation protocol
SAS (3-shot)1×2561 \times256—————41.00S
SAS (3-shot)4×644 \times64——16.67S14.00S—40.70S
SAS (3-shot)8×328 \times32—————40.00S

Table 6.

Table 3–Table 6 use 32k-group ReMaRL checkpoints. The Blocks column reports the number of blocks times the number of tokens per block. Fixed-budget rows use exact NFE. Each adaptive cell reports the highest observed test score among configurations whose measured mean NFE does not exceed the column budget, with that mean shown below the score. When scores tie, we report the configuration with the lower mean NFE. The supplementary data retain every operating point. UPO appears separately with 128-token answers and 32-token blocks. SAS scores come from Xu et al. (2026), Table 5, Table 7, and Table 9, with the reported block sizes and prompting: 5-shot GSM8K and 3-shot MBPP; MATH500 prompting is unspecified.

MethodBlocks48163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25636.1453.6065.1372.8179.71——
ReMaRL (ours), trained at NFE641 × 256————79.7180.3982.49
P2′ (ours, τ=0.25\tau= 0.25)1 × 25627.2942.3056.2563.7966.8769.1269.42
P2′ (ours, τ=1\tau= 1)1 × 25616.1728.7643.5959.1968.1170.5873.16
P2′ (ours, greedy)1 × 25613.4223.5042.6848.4544.9638.8241.77
P2 (original self-planner)1 × 2565.6917.1340.0349.8144.4339.8842.23
Confidence1 × 2564.4012.7437.3843.8237.6831.6133.74
Confidence8 × 32—20.8531.6945.1171.1177.2679.83
Random1 × 25611.3519.7930.0240.8145.3950.0652.41
Random8 × 32—20.8524.4429.8546.2563.6172.00
Margin1 × 2569.8620.2438.6745.4939.9531.3934.04
Margin8 × 32—20.8531.0147.3871.1976.8878.32
ReMDM (UNCODE)1 × 256——33.2142.7644.8137.6831.61
UNCODE/PC-Sampler1 × 25615.0116.8326.5435.1062.4776.8880.52
RCR1 × 2567.6622.9738.8245.2641.1736.2437.98
Adaptive decoding
Fast-dLLM1 × 2564.02 (2.7)4.02 (2.7)20.17 (11.3)37.30 (22.6)37.30 (22.6)37.30 (22.6)37.30 (22.6)
Fast-dLLM8 × 32——20.17 (10.5)39.12 (28.5)77.79 (51.8)80.21 (96.4)80.21 (96.4)
EB-Sampler1 × 256———34.65 (21.7)34.65 (21.7)34.65 (21.7)34.65 (21.7)
EB-Sampler8 × 32———48.07 (30.7)77.03 (54.0)80.59 (93.2)81.58 (187.3)
Jazbec et al.1 × 256——48.30A (13.0)54.80A (27.1)56.10A (50.5)61.80A (93.3)61.80A (93.3)
Jazbec et al. + expert steering1 × 256——50.60A (15.7)51.90A (20.6)51.90A (20.6)77.20A (70.5)77.20A (70.5)
Jazbec et al. (α\alpha sweep)8 × 32——35.20A (10.3)35.20A (10.3)76.60A (50.7)80.00A (82.7)80.50A (135.8)
WINO1 × 256————53.68 (45.2)53.68 (45.2)53.68 (45.2)
WINO2 × 128————75.28 (46.6)75.28 (46.6)75.28 (46.6)
KLASS1 × 256—————44.12 (98.7)44.12 (98.7)
KLASS4 × 64—————80.44 (112.0)81.80 (158.2)
CORE1 × 2564.17 (4.0)13.12 (8.0)34.57 (16.0)40.71 (32.0)40.71 (32.0)40.71 (32.0)40.71 (32.0)
DAPD-Direct1 × 256———55.12 (24.5)55.12 (24.5)55.12 (24.5)55.12 (24.5)
DAPD-Direct4 × 64————71.72 (52.6)71.72 (52.6)71.72 (52.6)
DAPD-Staged1 × 256————59.44 (32.9)59.44 (32.9)59.44 (32.9)
DAPD-Staged4 × 64—————72.71 (92.2)72.71 (92.2)
Published evaluation protocols
DCoLT (frozen)NR————69.24D——
SAS (5-shot)1 × 256——————76.00S
SAS (5-shot)4 × 64———58.00S61.00S—81.00S
SAS (5-shot)8 × 32——————80.00S
Separate reference: shorter answers
UPO (128-token answers)4 × 32—————70.30U—

Table 3. GSM8K accuracy (%). Adaptive cells show the best observed test score within each mean-NFE budget, with mean NFE below. Bars scale from zero to the maximum score in each column; bold marks that score. Unmarked: computed here; A: Jazbec et al.; U: UPO; S: SAS; D: DCoLT [13 Table 4; published prompt/scorer]. NR: block size unspecified. Dashes indicate unavailable results.

MethodBlocks8163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25647.8658.1565.48———
P2′ (ours, τ=1\tau= 1)1 × 25620.2938.5150.7257.4260.7360.58
P2′ (ours, greedy)1 × 2562.209.6327.2938.8239.5835.71
Confidence1 × 2561.598.5732.3042.9933.5935.78
Confidence8 × 320.000.9113.7254.9775.5181.58
Adaptive decoding
Fast-dLLM1 × 2563.11 (6.9)3.11 (6.9)27.75 (19.0)27.75 (19.0)36.47 (118.0)36.47 (118.0)
Fast-dLLM8 × 320.00 (8.0)0.00 (8.0)3.34 (19.5)78.47 (62.8)81.12 (117.2)81.12 (117.2)
EB-Sampler1 × 2564.62 (8.0)17.06 (13.1)17.06 (13.1)38.67 (32.8)38.67 (32.8)38.67 (32.8)
EB-Sampler8 × 32—0.00 (9.3)0.00 (9.3)61.79 (35.7)80.59 (72.2)80.74 (256.0)
KLASS1 × 256————40.03 (115.7)40.03 (115.7)
KLASS8 × 32—————80.89 (256.0)
DAPD-Direct1 × 256———51.40 (48.0)51.40 (48.0)51.40 (48.0)
DAPD-Direct8 × 32————78.70 (93.5)78.70 (93.5)
DAPD-Staged1 × 256———50.57 (56.8)50.57 (56.8)50.57 (56.8)
DAPD-Staged8 × 32—————78.54 (135.3)

Table 7. Dream GSM8K accuracy (%\%). Adaptive cells show the best observed test score within each mean-NFE budget, with actual mean NFE below. All scores are computed here. Bars scale from zero to the column maximum; bold marks the highest score. Dashes indicate an unmeasured budget or no eligible operating point.

MethodBlocksMean-NFE budget
8163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25624.3938.0146.95———
P2′ (ours, τ=1\tau= 1)1 × 25610.1619.3126.2230.6931.7133.94
P2′ (ours, greedy)1 × 2567.3214.0218.9028.0529.2733.54
Confidence1 × 2569.1511.5921.3428.6628.6626.22
Confidence8 × 320.611.836.7125.6148.7861.59
Adaptive decoding
Fast-dLLM1 × 2568.54 (7.3)13.41 (9.2)13.41 (9.2)26.22 (41.3)26.83 (107.9)27.44 (256.0)
Fast-dLLM8 × 320.61 (8.0)0.61 (8.0)21.34 (29.1)51.83 (54.5)61.59 (104.4)61.59 (104.4)
EB-Sampler1 × 2566.10 (7.0)6.10 (7.0)23.78 (28.0)23.78 (28.0)29.27 (118.9)29.27 (118.9)
EB-Sampler8 × 32—3.66 (15.5)28.05 (27.4)54.88 (57.8)60.37 (108.0)62.20 (256.0)
KLASS1 × 256———21.95 (52.4)28.66 (92.2)28.66 (92.2)
KLASS8 × 32————58.54 (99.5)61.59 (256.0)
DAPD-Direct1 × 256—————25.61 (132.9)
DAPD-Direct8 × 32————57.32 (73.5)57.32 (73.5)
DAPD-Staged1 × 256—————27.44 (154.8)
DAPD-Staged8 × 32————54.88 (127.4)54.88 (127.4)

Table 9. Dream HumanEval pass@1 (%). Adaptive cells show the best observed test score within each mean-NFE budget, with actual mean NFE below. All scores are computed here. Bars scale from zero to the column maximum; bold marks the highest score. Dashes indicate an unmeasured budget or no eligible operating point.

The RCR (He et al., [8]) and CORE (Zhai et al., 2026) comparisons use full-canvas decoding. CORE’s budget includes its context-verification calls; the tables report the measured mean NFE. DAPD (Kim et al., 2026) uses the released Direct and Staged configurations, each with one 256-token block or four 64-token blocks.

P2 confidence scoring

Figure 5 compares P2’s original self-planner (Peng et al., 2025) with greedy P2′ to isolate the effect of current-token scoring. Both use greedy token proposals and greedy position selection, the same frozen LLaDA-8B-Instruct checkpoint, 256-token answers, and our task-specific prompts and scorers. The original self-planner uses equal weighting for masked and unmasked positions and a linear visibility schedule.

Greedy P2′ improves accuracy over the original self-planner on both math benchmarks at 4, 8, and 16 calls. The differences are smaller at higher math budgets and on code, where either scoring rule can give higher accuracy. We use P2′ because it scores each unmasked position using the token that selection would retain.

Figure 5. Original P2 and P2′ with greedy selection on the full test sets. P2 scores each fresh proposal; P2′ scores the current token at unmasked positions.

Evaluation on Dream

We train separate math and code policies on frozen Dream-v0-Instruct-7B (Ye et al., 2025) at 8, 16, and 32 calls. Each policy uses 32k accepted training groups, the same training data and optimization recipe as the LLaDA policies, and 256-token answers. We adapt the policy’s hidden-state projection to Dream’s 3,584-dimensional hidden states. Decoding uses Dream’s tokenizer. For each answer token, we use the logits and hidden state from the preceding sequence position. Task prompts and answer scorers follow the same evaluation pipeline as the LLaDA experiments.

All scores in this appendix are computed with the same frozen Dream checkpoint and evaluation pipeline. We evaluate confidence decoding, Fast-dLLM, EB-Sampler, KLASS, and both DAPD variants with full-answer and 32-token blocks, and P2′ with full-answer blocks. For adaptive methods, each table reports the highest observed test score among evaluated settings within the column’s mean-NFE budget, following Appendix § 9. The Blocks column reports the number of blocks times the number of tokens per block.

Math

Table 8: Dream MATH500 accuracy (%). Adaptive cells show the best observed test score within each mean-NFE budget, with actual mean NFE below. All scores are computed here. Bars scale from zero to the column maximum; bold marks the highest score. Dashes indicate an unmeasured budget or no eligible operating point.

MethodBlocks8163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25618.6024.3327.40———
P2′ (ours, τ=1\tau= 1)1 × 2568.7316.0020.6722.8022.2721.53
P2′ (ours, greedy)1 × 2560.603.8012.8019.8019.2021.60
Confidence1 × 2561.003.8015.0021.0017.2021.20
Confidence8 × 320.001.209.2027.0038.8043.60
Adaptive decoding
Fast-dLLM1 × 2562.40 (7.9)2.40 (7.9)18.80 (20.6)18.80 (20.6)19.00 (64.4)21.40 (134.7)
Fast-dLLM8 × 320.00 (8.0)0.00 (8.0)2.60 (25.5)21.80 (45.1)39.60 (74.9)42.80 (256.0)
EB-Sampler1 × 256—9.00 (14.6)9.00 (14.6)20.20 (41.9)20.20 (41.9)20.40 (256.0)
EB-Sampler8 × 32—0.20 (11.4)0.20 (11.4)29.20 (41.3)41.00 (84.6)43.60 (164.0)
KLASS1 × 256—————21.40 (133.8)
KLASS8 × 32—————42.80 (256.0)
DAPD-Direct1 × 256———29.40 (53.7)29.40 (53.7)29.40 (53.7)
DAPD-Direct8 × 32————40.40 (108.3)40.40 (108.3)
DAPD-Staged1 × 256———26.20 (62.5)26.20 (62.5)26.20 (62.5)
DAPD-Staged8 × 32—————38.60 (145.7)

Table 8.

Code

MethodBlocksMean-NFE budget
8163264128256
Fixed-budget decoding
ReMaRL (ours)1 × 25629.2740.1351.87———
P2′ (ours, τ=1\tau= 1)1 × 25623.6034.0741.8745.9347.3349.53
P2′ (ours, greedy)1 × 2560.609.2023.4039.8045.4045.60
Confidence1 × 2561.406.6022.8044.4045.8047.60
Confidence8 × 320.604.0016.8031.2044.6055.60
Adaptive decoding
Fast-dLLM1 × 25618.20 (6.8)18.20 (6.8)45.20 (28.0)48.80 (57.6)48.80 (57.6)48.80 (57.6)
Fast-dLLM8 × 320.80 (8.0)20.00 (15.3)50.20 (22.5)55.60 (47.7)55.60 (47.7)55.60 (47.7)
EB-Sampler1 × 2563.80 (4.8)37.60 (15.2)37.60 (15.2)48.20 (63.8)48.20 (63.8)48.60 (256.0)
EB-Sampler8 × 32—9.20 (12.7)52.80 (28.1)55.40 (51.0)55.40 (51.0)55.40 (51.0)
KLASS1 × 256———46.80 (53.7)46.80 (53.7)48.40 (256.0)
KLASS8 × 32———49.80 (54.5)49.80 (54.5)55.60 (256.0)
DAPD-Direct1 × 256——51.60 (26.7)51.60 (26.7)51.60 (26.7)51.60 (26.7)
DAPD-Direct8 × 32———55.40 (34.1)55.40 (34.1)55.40 (34.1)
DAPD-Staged1 × 256———51.20 (47.3)51.20 (47.3)51.20 (47.3)
DAPD-Staged8 × 32————56.20 (119.4)56.20 (119.4)

Table 10. Dream MBPP pass@1 (%). Adaptive cells show the best observed test score within each mean-NFE budget, with actual mean NFE below. All scores are computed here. Bars scale from zero to the column maximum; bold marks the highest score. Dashes indicate an unmeasured budget or no eligible operating point.

Generation trajectory analysis

We analyze generation trajectories on all 1,319 GSM8K test questions using the NFE32 ReMaRL policy trained for 32k groups. We compare it with P2′P2^{\prime} at τ∈{0.25,1}\tau\in\{0.25, 1\} and confidence-based decoding. All methods use the same frozen LLaDA model, prompts, 256 answer positions, and greedy token proposals. We record every intermediate answer, using three inference seeds for stochastic methods and one run for deterministic confidence decoding.

The opening takes shape earlier. ReMaRL prioritizes the beginning of the answer (Figure 6a). After eight calls, ReMaRL has roughly two to three times as many visible non-special tokens in the first 64 positions as the other methods.

Figure 6. Generation trajectories on GSM8K at NFE32. (a) Visible non-special tokens in the first 64 positions; (b) mean position of all currently unmasked tokens, excluding special tokens; (c) remasking events per call. Curves show averages over questions and inference seeds.

We also measure the mean position of all currently unmasked tokens after excluding special tokens. For ReMaRL, this mean rises during generation, while both P2′P2^{\prime} curves remain roughly flat (Figure 6b). Together, these patterns support an autoregressive-like ordering preference that emerges without an explicit left-to-right constraint.

Fewer remasking events. ReMaRL consistently remasks less often than P2′P2^{\prime} at τ=0.25\tau= 0.25 and τ=1\tau= 1 throughout generation (Figure 6c).

A token replacement occurs when a remasked position receives a different token at its next reveal. ReMaRL makes fewer replacements than P2′P2^{\prime} at τ=1\tau= 1 and more than calibrated P2′P2^{\prime} (Table 11). One possible explanation is that selection at τ=1\tau= 1 is too random, causing unnecessary replacements. Lowering the temperature reduces this randomness but may also suppress useful replacements. ReMaRL may learn to recover these useful changes while avoiding repeated remasking that only restores the same token.

MethodRemasking eventsReplacementsReplaced (%)
ReMaRL673334.9
P2′P2^{\prime}, τ=0.25\tau= 0.251,158272.3
P2′P2^{\prime}, τ=1\tau= 11,227846.8

Table 11. Mean remasking events and token replacements per answer, rounded to whole counts. The last column gives the percentage of remasking events that lead to a token replacement.

Code-data overlap

We check that each KodCode training problem has executable tests that its reference solution passes, and we screen the problems for overlap with the evaluation benchmarks. In the audited KodCode-Light-RL-10K snapshot, task Filter_25989_I is a high-confidence near-duplicate of HumanEval/117.3 Both specify select_words(s, n), select words by consonant count, preserve word order, and share the example select_words(’Mary had a little lamb’, 4) = [’little’]. Their implementations differ. We exclude the training problem and leave HumanEval unchanged.

We conservatively quarantined 156 candidate training rows. This set includes uncertain matches and common elementary exercises, so it should not be read as 156 confirmed benchmark leaks. The original KodCode analysis (Xu et al., 2025) reports 94 potentially contaminated questions in its larger corpus and describes the exclusions used for its own evaluation. The residual overlap in Light-RL-10K supports screening each training subset against the benchmarks used for evaluation.

We also inspected released training code for methods using this dataset. The loader released by Jazbec et al. (2025) formats all input rows without a benchmark-overlap filter.4 Its local-data fallback permits preprocessing outside the released loader, so the exact historical training rows remain unverified. GDPO (Rojas et al. (2025)) retains rows with at least three extracted assertions; the near-duplicate above has six and passes that filter.5 We found no benchmark-overlap removal in that released path.

MAPG and SPG report KodCode training, but the inspected releases provide no coding-data loader.6 Their coding-data filtering remains unverified. This audit describes the public loaders; it does not establish which rows were used for published runs or quantify their effect on scores.

Training histories

Figure 7 and Figure 8 show training accuracy and full-test evaluations through the 32k-group endpoint. Training curves show trailing averages over up to 128 collections, weighted by the number of attempted trajectories and including trajectories from rejected groups.

Figure 7. Math training and full-test histories. Each color denotes a policy trained at a different inference budget. The top panels show smoothed training accuracy; the bottom panels show test evaluations.

KodCode training history

(a) KodCode · training

HumanEval full-test history

(b) HumanEval · full test

MBPP full-test history

(c) MBPP · full test

Figure 8. Code training and full-test histories for NFE8, NFE16, and NFE32. Main comparisons use each run’s 32k-group checkpoint.

Ablation learning curves and remasking

Figure 9 follows the NFE8 ablations through 16k groups. The variant without added position embeddings leads the full policy early in training, then falls slightly behind at the endpoint. Removing hidden states slows learning and lowers final accuracy. Bias-only training remains close to the untrained reference. The randomly initialized variant without the fixed confidence score improves substantially during training but finishes below standard ReMaRL on both benchmarks. The transformer policy finishes below the MLP on both benchmarks despite having roughly twice as many parameters.

Figure 9. Full-test learning curves for the NFE8 ablation variants.

Remasking frequency. ReMaRL generally remasks fewer tokens as training progresses (Figure 11). We count each time an unmasked token is masked again, so a position can contribute more than once per answer.

Figure 11. Remasking frequency through 32k training groups. Curves are trailing means over up to 128 collections, weighted by the number of attempted trajectories and including trajectories from rejected groups.

To test whether a retention bonus can recover ReMaRL’s gains, we added a fixed bonus to the scores of unmasked positions in P2′ at τ=1\tau= 1. We tuned the bonus on 256 training questions to match the mean number of remasking events per answer for the 32k-group NFE8 ReMaRL policy. ReMaRL remained more accurate on both GSM8K and MATH500 (Figure 10).

Figure 10. Full-test accuracy at NFE8 for ReMaRL and three P2′P2^{\prime} settings: the default position temperature, a tuned position temperature, and a retention bonus tuned to match the remasking frequency of the 32k-group ReMaRL policy.

Data-size learning curves

Figures 12 and 13 follow all twelve data-size runs. A color identifies the number of questions per dataset. Dashed lines show the three runs at each size; the solid line shows their mean. The smallest subsets attain high training accuracy quickly. On GSM8K, their full-test learning curves show a large gap between seeds.

Figure 13. Full-test accuracy for the runs in Figure 12. For each training seed, smaller question subsets are contained in larger ones.

Figure 12. Training accuracy for the NFE8 data-size study. Each run uses 16k accepted groups. Curves use 32-collection trailing averages, weighted by the number of attempted trajectories and including trajectories from rejected groups.

Comparison with concurrent TIPS

Policy formulation and training

TIPS ((Zhang et al., 2026)) and ReMaRL independently learn to reveal, retain, or remask positions using terminal correctness rewards and a frozen diffusion model. TIPS uses a roughly 0.6M-parameter transformer that takes confidence, mask state, and the diffusion timestep as inputs. It samples independent Bernoulli visibility decisions, with a shared logit shift calibrated to an expected occupancy schedule. ReMaRL’s roughly 0.3M-parameter policy projects the diffusion model’s hidden states and scores each position with a shared MLP. It samples a fixed number of positions without replacement from a Plackett–Luce distribution.

TIPS’s main recipe initializes RL with reference-supervised warmup. Both methods score unmasked positions using the probability of the retained token. TIPS’s policy omits hidden states and can transfer to Dream-7B. Our zero-initialized score correction starts from stochastic P2′. TIPS trains its main policies at 32 calls; we train budget-specific policies and also evaluate fixed-checkpoint transfer. Training compute differs across studies, as do the math answer checkers and the code evaluation pipelines.

Math

Both studies use frozen LLaDA-8B-Instruct, 256-token answers, the same documented math prompt templates, and the full GSM8K and MATH500 test sets. Figure 14 reports micro-averaged accuracy across the 1,319 GSM8K and 500 MATH500 questions.

Figure 14. Math comparison with concurrent TIPS. Solid blue denotes separate policies trained at each budget; the dashed and dash-dot ReMaRL curves reuse policies trained at 32 and 64 calls, respectively, across inference budgets. Our checkpoints use 32k groups. TIPS values are reported in its Table 4.

At 4, 8, and 16 calls, our budget-specific policies score about 6–15 percentage points higher than the better TIPS variant on the combined math benchmark. Our fixed policy trained at 32 calls stays within two percentage points of the better TIPS variant from 8 to 256 inference calls.

Code

Figure 15 includes all four reported TIPS policy variants: code-trained and math-to-code transfer, each with full-canvas or two-block decoding. At 64 calls, their best reported scores are 29.27% on HumanEval and 37.80% on MBPP. When evaluated at 64 calls, our policy trained at 16 calls reaches 39.43% and 38.47%, respectively. Figure 16 shows gaps to the best TIPS policy variant at each budget and benchmark.

Figure 15. Code comparison with all four TIPS policy variants reported in Tables 24–25 of Zhang et al. (2026). Solid blue denotes separate policies at their training NFE; dash-dot and dashed curves reuse the NFE16 and NFE32 checkpoints. Our policies use 32k groups.

Figure 16. Gains over the highest-scoring TIPS policy variant at each budget and benchmark. The reference can select a different variant at each point. At 64 calls, both of our fixed-checkpoint results are shown separately.

Implementation and reproducibility

Code and checkpoints

The ReMaRL repository contains the policy, GRPO trainer, inference code, benchmark evaluators, and experiment configurations. Its command-line entry points are remarl train for training, remarl generate for inference, and remarl evaluate and remarl baseline for policy and baseline evaluation. The linked guides give complete commands; configs/ supplies recipes for math, code, and ablations.

The final LLaDA and Dream policies are available in the public checkpoint folder. Running remarl download checkpoints --output checkpoints downloads them and verifies their checksums. The frozen LLaDA and Dream backbones are downloaded separately.

Model, policy, and optimization

We use GSAI-ML/LLaDA-8B-Instruct, snapshot 08b83a6f, for the LLaDA experiments. The backbone runs in bfloat16 with bidirectional attention over the prompt and answer; no key–value cache approximation is used. Vocabulary probabilities are normalized in float32. The policy and its optimization use float32. Hidden states are detached from the diffusion model before the policy’s LayerNorm and projection. The pointwise MLP has no dropout. Except in the random-initialization ablation, the output layer and skip weights start at zero. Added position embeddings use a zero-mean normal initialization with standard deviation 0.02.

We use AdamW with a learning rate of 10−410^{-4}, (β1,β2)=(0.9,0.999)(\beta_1, \beta_2) = (0.9, 0.999), an optimizer epsilon of 10−810^{-8}, and zero weight decay. The learning rate is constant. Group advantages use population standard deviation and ϵA=10−8\epsilon_A = 10^{-8}. Each update averages the clipped surrogate over all non-final decisions in the batch. For each decision, we compute the log probability of the sampled order. Gradient accumulation changes memory use while preserving normalization by the total number of non-final decisions in the batch. Behavior log probabilities remain fixed during the four optimization passes.

Training uses τ=1\tau= 1. Gumbel noise is generated from independent uniform draws as −log⁡(−log⁡u)-\log(-\log u), clamping uu to a minimum of 10−1010^{-10}. The implementation computes Plackett–Luce denominators with logcumsumexp. The final fully unmasked step is excluded from the objective. For a one-call decoder, only the final greedy unmasking remains; our training budgets have at least two calls.

Question sampling and training budget

Main runs shuffle the retained training pool into epochs and avoid repeating a question within a collection. A group is accepted only if its eight rewards contain both successes and failures. Collection continues until 16 groups are accepted. If 1,024 attempted groups do not fill the batch, collection aborts without a policy update. This filtering makes the effective training distribution depend on the current policy’s success probabilities. The accepted-group budget therefore does not equal a fixed number of generated answers or a fixed amount of computation.

For the data-size study, questions are shuffled within each dataset and smaller subsets are prefixes of larger subsets for the same seed. Once every question in a subset has been attempted within a collection, the exclusion set is cleared. Repeated questions receive fresh rollout noise and form distinct groups. This permits a 16-group collection even for the eight-question subset. The full-data reference retains the main run’s sampling procedure. Three seeds jointly vary subset choice, policy initialization, and rollout noise.

Table 13 reports how many question groups each main run sampled to collect 32k accepted groups. We report the 32k-group checkpoints for the main comparisons and the 16k-group checkpoints for the ablations. The supplementary bundle includes the sampling records for the ablation and data-size runs.

RunAttempted groupsAccepted (%)
Math, NFE474,84543.8
Math, NFE860,53954.1
Math, NFE1661,97452.9
Math, NFE3265,80349.8
Math, NFE6475,74843.3
Code, NFE899,63232.9
Code, NFE1684,81738.6
Code, NFE3281,87740.0

Table 13. Question groups sampled to collect 32,768 accepted groups for each main policy.

Ablation configurations

The no-hidden-state ablation freezes a zero-valued hidden projection. The no-position ablation freezes the added position embeddings at zero; positional information can still be present in the diffusion model’s hidden states. The bias-only correction is Δi=biposition+bmimask\Delta_i = b_i^{\mathrm{position}} + b_{m_i}^{\mathrm{mask}}, added to the same confidence score as the full policy.

For the no-remasking variant, let Vt−1V_{t-1} be the unmasked positions and Mt−1M_{t-1} the masked positions before a call. All of Vt−1V_{t-1} are retained, and the policy samples kt−∣Vt−1∣k_t - |V_{t-1}| new positions from Mt−1M_{t-1}. Its Plackett–Luce likelihood normalizes only over the remaining masked candidates. Deterministic retention contributes no term to the policy log-likelihood. The final call fills the remaining masks.

For the random-initialization ablation, we remove the fixed confidence addition and use zit=MLP⁡ϕ(fit)+wskipTfitz_i^t = \operatorname{MLP}_{\phi}(f_i^t) + w_{\mathrm{skip}}^{\mathsf{T}} f_i^t. The MLP output layer, including its bias, and the linear skip use PyTorch’s default linear-layer initialization. All input features, including confidence, are retained.

For the transformer ablation, we reuse the RoPE DiT block from the implementation of Jazbec et al. (2025). We use one block with hidden width 128, two attention heads, a 512-dimensional feed-forward layer, GELU activations, and no dropout. The block attends across answer positions and is conditioned on each position’s mask state. We retain ReMaRL’s input features, fixed confidence score, and linear skip connection. The output projection, skip weights, and adaptive-conditioning projection are initialized to zero. The resulting policy has approximately 0.58M trainable parameters, compared with 0.28M for the MLP.

Data, evaluation, and supplementary records

Math uses the zero-shot, task-specific prompts, reasoning suffix, and answer checkers of Jazbec et al. (2025). The pool contains 7,473 GSM8K and 7,500 MATH training questions. Code uses the pinned KodCode-Light-RL-10K snapshot and the task-specific prompts, sanitization, and tests of Jazbec et al. (2025). Prompts are not truncated, and the answer canvas has 256 tokens. We retain all test questions: 1,319 from GSM8K, 500 from MATH500, 164 from HumanEval, and 500 from MBPP. Code execution runs in an isolated sandbox; infrastructure failures abort evaluation rather than receiving an incorrect-answer reward. For confidence decoding, random unmasking, and Fast-dLLM, we use the implementations of Jazbec et al. (2025).

The code filter requires executable tests that the reference solution passes and screens training problems for benchmark overlap. The supplementary manifest lists retained and excluded source IDs, exclusion reasons, source revisions, and hashes. It also records which training problems were quarantined because of runtime-compatibility issues. Appendix § 12 describes the overlap screen. Filtering scripts and the original per-run cohort manifests preserve those distinctions.

The supplementary bundle includes training and evaluation code, policy configurations, and manifests for dependencies and model files. It provides the per-question outcomes used for paired comparisons, records the evaluated operating points, and identifies scores taken from prior work. Python scripts reproduce the tables, figures, and paired intervals.

Paired evaluation uncertainty

We estimate paired uncertainty from saved binary outcomes for the reported checkpoints. For each question and method, we average the binary outcomes across three inference seeds. We then subtract the comparison method’s mean from the ReMaRL mean for that question. We resample questions with replacement 20,000 times and report the 2.5th and 97.5th percentiles of the mean difference. All seed outcomes for a question remain together in each resample. Question identities, prompts, reference answers, and recorded totals are checked before pairing.

We also report the equally weighted average difference across the two benchmarks in each domain. For its interval, we independently resample questions within each benchmark and average the two benchmark differences in each bootstrap replicate. Table 14 reports pointwise 95% question-bootstrap intervals conditional on the trained checkpoints.

Comparison (math, NFE8)GSM8KMATH500Average
ReMaRL (32k) vs. P2′P2^\prime, τ=1\tau= 1+24.84 [22.87, 26.81]+5.27 [3.00, 7.60]+15.05 [13.55, 16.59]
ReMaRL (32k) vs. calibrated P2′P2^\prime+11.30 [9.48, 13.12]+1.13 [-0.93, 3.27]+6.21 [4.88, 7.61]
ReMaRL (16k) vs. calibrated P2′P2^\prime+7.73 [5.86, 9.60]+2.13 [0.00, 4.33]+4.93 [3.53, 6.35]
ReMaRL (32k) vs. remasking-matched P2′P2^\prime+25.30 [23.35, 27.27]+4.47 [2.33, 6.60]+14.88 [13.44, 16.33]
ReMaRL (16k) vs. no remasking+11.78 [9.98, 13.57]+5.00 [2.80, 7.20]+8.39 [6.96, 9.83]
ReMaRL (16k) vs. no hidden states+4.95 [3.21, 6.72]+1.80 [-0.07, 3.73]+3.38 [2.08, 4.66]
ReMaRL (16k) vs. no added position embeddings+1.06 [-0.63, 2.73]+0.27 [-1.67, 2.20]+0.66 [-0.62, 1.93]
ReMaRL (16k) vs. position and mask biases+20.87 [18.95, 22.77]+5.93 [3.53, 8.33]+13.40 [11.86, 14.93]
Comparison (code, NFE16)HumanEvalMBPPAverage
ReMaRL (32k) vs. P2′P2^\prime, τ=1\tau= 1+14.63 [10.16, 19.51]+9.07 [6.40, 11.80]+11.85 [9.19, 14.62]
ReMaRL (32k) vs. calibrated P2′P2^\prime+6.91 [2.44, 11.38]+3.07 [0.47, 5.67]+4.99 [2.40, 7.64]

Table 14. Paired score differences in percentage points, with 95% bootstrap intervals in brackets. Average gives equal weight to the two benchmarks within each domain.

The average gains over both default and calibrated P2′P2^\prime have intervals entirely above zero in math and code. Among the math component ablations, retaining remasking and hidden-state inputs improves average accuracy by 8.39 and 3.38 percentage points, respectively, with both intervals entirely above zero.

References

  1. [1]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732.arxiv.org/abs/2108.07732
  2. [2]Wenrui Bao, Zhiben Chen, Dan Xu, and Yuzhang Shang. 2026. Learning to parallel: Accelerating diffusion large language models via learnable parallel decoding. In International Conference on Learning Representations.arxiv.org/abs/2509.25188
  3. [3]Heli Ben-Hamu, Itai Gat, Daniel Severo, Niklas Nolte, and Brian Karrer. 2025. Accelerated sampling from masked diffusion models via entropy bounded un-masking. arXiv preprint arXiv:2505.24857.
  4. [4]Mark Chen, Jerry Tworek, Heewoo Jun, et al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.arxiv.org/abs/2107.03374
  5. [5]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. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.arxiv.org/abs/2110.14168
  6. [6]Yihong Dong, Zhaoyu Ma, Xue Jiang, Zhiyuan Fan, Jiaru Qian, Yongmin Li, Jianha Xiao, Zhi Jin, Rongyu Cao, Binhua Li, Fei Huang, Yongbin Li, and Ge Li. 2025. Saber: An efficient sampling with adaptive acceleration and backtracking enhanced remasking for diffusion language model. arXiv preprint arXiv:2510.18165.arxiv.org/abs/2510.18165
  7. [7]Marjan Ghazvininejad, Omer Levy, Yinhan Liu, and Luke Zettlemoyer. 2019. Mask-Predict: Parallel decoding of conditional masked language models. In Proceedings of EMNLP-IJCNLP.arxiv.org/abs/1904.09324
  8. [8]Haoyu He, Katrin Renz, Yong Cao, and Andreas Geiger. 2025. MDPO: Overcoming the training-inference divide of masked diffusion language models. arXiv preprint arXiv:2508.13148.arxiv.org/abs/2508.13148
  9. [9]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the MATH dataset. arXiv preprint arXiv:2103.03874.
  10. [10]Chunsan Hong, Seonho An, Min-Soo Kim, and Jong Chul Ye. 2025. Improving discrete diffusion un-masking policies beyond explicit reference policies. arXiv preprint arXiv:2510.05725.arxiv.org/abs/2510.05725
  11. [11]Feng Hong, Geng Yu, Yushi Ye, Haicheng Huang, Huangjie Zheng, Ya Zhang, Yanfeng Wang, and Jiangchao Yao. 2026. Wide-in, narrow-out: Revokable decoding for efficient and effective dLLMs. In International Conference on Learning Representations.arxiv.org/abs/2507.18578
  12. [12]Pengcheng Huang, Tianming Liu, Zhenghao Liu, Yukun Yan, Shuo Wang, Tong Xiao, Zulong Chen, and Maosong Sun. 2026. Empirical analysis of decoding biases in masked diffusion models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics, pages 6853–6876.
  13. [13]Zemin Huang, Zhiyang Chen, Zijun Wang, Tiancheng Li, and Guo-Jun Qi. 2025a. Reinforcing the diffusion chain of lateral thought with diffusion language models. arXiv preprint arXiv:2505.10446.arxiv.org/abs/2505.10446

Paper details

vlnc:W_ay48yve7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 1

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

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents