- Rating
- 5
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies reinforcement learning for masked diffusion language models, where generation does not follow a unique left-to-right token trajectory as in autoregressive models. Instead, an MDM generates by repeatedly choosing which masked positions to reveal and then predicting their tokens. The authors argue that, for sequence-level RL, the appropriate object to optimize is the marginal response policy obtained by integrating over possible reveal orders, rather than the probability of a single sampled reveal trajectory. In this spirit, they propose FEROM, which targets this rollout-induced marginal policy. They provide a policy gradient identity: if the reward depends only on the final response and context, then averaging the pathwise policcy gradient score over reveal orders conditioned on the same response preserves the expected gradient and reduces variance relative to contidioning on one sampled reveal path. Exact marginalisation is combinatorially expensive, so the paper then represents reveal orders as paths in a directed acyclic graph. allowing a rewriting of the marginal score allowing for an approximation to be used to calculate it. The resulting estimator is incorporated into a GRPO-style objective. Experiments on math and code benchmarks with LLaDA-Instruct report competitive or improved performance in several settings, along with proxy studies analyzing the approximation quality and computational overhead.
Strengths and weaknesses
Strengths: The paper identifies a mismatch in MDM RL: rewards are defined on completed responses, while many objectives assign credit to one particular latent reveal trace. The Rao–Blackwellization framing is technically well motivated, and the reveal-state DAG/edge-occupancy view gives a clean mathematical object for what should be optimized. The problem is timely, MDMs and diffusion LMs are increasingly more prevalent. And posttraining methods for them are still immature. A principled way to reduce variance and better align sequence-level rewards with non-autoregressive generation could be useful for future MDM training systems. The paper is overall well organised and had a clear story that was mostly straightforward to follow. Weaknesses: Clarity issues - Several equations and terms are introduced without enough motivation or intuition (see questions) e.g 'frontier'. The paper would benefit from more well defined and more consistent use of jargon. The first theoretical result applies to the exact marginal policy gradient, but the implemented estimator is a token-score surrogate that does not differentiate the reveal kernel. The appendix explicitly clarifies that the practical target is not the full marginal score when the reveal kernel is differentiated. This weakens the connection between the theorem and the actual optimiser. FEROM performs well on several reasoning and HumanEval settings, but the gains are not consistent across sequence lengths or tasks. In the MBPP FEROM drops to 25.8 at length 512 while ESPO and GDPO are much higher. This suggests the method may be sensitive to task, decoding length, sparse FRM configuration, or budget allocation. More experimentation to vary these could be useful.
Questions
Where does equation 1 come from? Explain what \rho is in the RL objective.
Limitations
yes
Paper formatting concerns
N/A
Final justification
My concerns have been addressed. I will maintain my score of 5.
We thank the reviewer for the careful and constructive review, and for recognizing the motivation for response-level marginalization, the Rao--Blackwellization perspective, and the reveal-state DAG formulation. We agree that several definitions and the connection between the exact identity and practical FEROM should be clearer. We address the questions below.
1. Origin of Eq. (1) and the Meaning of ρ
Eq. (1) is the standard sequence-level RL objective applied to the rollout-induced response policy of a masked diffusion model:
J(θ)=Ec∼ρ,x∼πθ(⋅∣c)[R(c,x)].
Here, ρ is the training prompt/context distribution, implemented as the empirical distribution over RL prompts. It is not a reveal-order distribution. For each sampled context, the MDM sampler induces πθ(x∣c) by marginalizing the joint rollout distribution over all latent reveal trajectories that produce x. We will define ρ immediately after Eq. (1) and explain this connection before introducing the policy gradient.
2. Meaning of the Frontier
Practical Meaning
The frontier is the set of partially revealed masked states that FEROM has reached but has not fully expanded under the current compute budget. Expanding a frontier state selects candidate next-reveal edges, propagates estimated occupancy mass to their child states, and records the corresponding weighted token-likelihood terms. Equivalent child states are merged so their occupancy is aggregated rather than counted as unrelated paths. We will add this definition before the formal notation and include a small worked example.
Sparse State Selection and Branching
"Sparse" refers to selecting a budgeted subset of intermediate states from one sampled rollout trajectory rather than scoring every state on that trajectory. Branching is a separate frontier operation: from a selected state, FEROM may allocate an alternative reveal edge when it has non-negligible estimated occupancy. Sparse state selection therefore permits a budget below the trajectory length, while branching spends that budget selectively on ambiguous states.
Appendix Figure 5 illustrates the premise on a real 12-position AceCoder block: most reveal mass lies in a narrow high-mass region, although several alternatives remain. Consistently, fewer than 10% of eligible planner decisions branch in our online runs, and occupancy concentration, branch rate, and edge usage remain stable over training. This supports a stable sub-trajectory budget for the studied LLaDA sampler, but does not remove sparse-selection or finite-frontier bias. We will report normalized state coverage B/T, branch frequency, and local-order/planner overhead alongside physical NFE.
3. Theorem 3.1 Versus the Practical Token-Score Surrogate
Exact Marginal Identity
We agree that the exact identity and practical estimator must be distinguished. For the correctly specified joint rollout process, Fisher's identity gives
∇θlogπθ(x∣c)=∑σPθ(σ∣x,c)∇θlogPθ(x,σ∣c).
Exact response-posterior occupancies are coefficients in this identity and should be detached; differentiating them again would add a term absent from the exact score. Thus stop-gradient on an exact occupancy is correct rather than an approximation.
Reveal-Kernel Factorization
Eq. (2) is exact for exogenous reveal schedules and state-dependent kernels whose reveal decision is conditionally independent of the token committed on that edge. The LLaDA confidence rule is token-conditioned: candidate token values determine confidence and hence which position is revealed. Its exact edge factor is
pθ(xi∣S)rθ(i∣S,Zi=xi),
whereas the submitted compact estimator uses pθ(xi∣S)rθ(i∣S). The latter averages over position i's own candidate token before combining reveal and token probabilities. We will correct Eq. (2) and state this approximation explicitly.
Practical Semi-Gradient
The complete trajectory score contains both token-prediction and model-dependent reveal-decision scores. Practical FEROM uses approximate finite-frontier occupancies as detached weights and differentiates only the token likelihood. Conditional on those frozen weights, it exactly optimizes an iteration-local weighted token objective; relative to the full marginal score, however, it is a biased semi-gradient because of finite-budget occupancy error, the compact reveal kernel, and the omitted reveal-kernel score. Theorem 3.1 therefore motivates the exact target but does not establish unbiasedness or variance dominance for sparse FEROM.
The reveal score can be formed from the same parent-state probabilities without additional model evaluations. We omit it because preliminary finite-budget experiments produced unstable feedback and reward collapse, suggesting that a noisy reveal-score estimate can be harmful, not that the exact score is intrinsically unstable. We will revise the theorem-to-algorithm statement and present this as an empirical stability tradeoff.
4. Long-Sequence Code Performance
Length Extrapolation
We agree and will not claim uniform gains in this regime. The submitted models train on 256-token generations but are evaluated at 512. Unlike AR continuation, an MDM begins with all 512 positions masked, changing the latent state from the first denoising step and doubling the number of reveal blocks. Thus 256-train/512-evaluate extrapolates both response length and the reveal process, where finite-budget error can accumulate.
Post-EOS Credit Assignment
Our audit also found an MDM-specific credit-assignment issue shared by FEROM and trajectory objectives. EOS terminates an AR trajectory, but in fixed-length diffusion it can be revealed while other positions remain masked. The previous objective could therefore apply the same sequence advantage to many post-EOS actions ignored by the reward parser. This is particularly harmful to FEROM because high-confidence EOS and post-EOS transitions can consume finite frontier slots, reducing coverage of alternative reveal orders among reward-relevant code tokens.
Matched Control
A matched code-side control supports this mechanism: first-code-block support improved pass@1 over fixed support by 5.49 points on HumanEval-512 and 6.40 points on MBPP-512, while a first-EOS boundary improved all four 256/512 cells. We then ran a matched full-parameter BF16 GSM8K control from the same model and seed, changing only whether token-score credit covers the complete EOS block or stops at first EOS. At checkpoint 30, the released JustGRPO evaluator gives:
The corrected objective parses reward and applies token-score loss through first EOS, while planning retains its complete block because later positions may be revealed before EOS. The larger 512-token gain supports the credit-assignment mechanism, but this remains a single-seed early-checkpoint control rather than a complete explanation of the submitted code gap. We therefore retain 512-token code generation as a limitation.