\texttt{FEROM}: Frontier Endogenous Reveal-Order Marginal Policy Optimization for Masked Diffusion LMs
Zian Su, Ziyang Huang, Kaiyuan Zhang, Xiangyu Zhang
TL;DR. We propose a budgeted reveal-order marginalized policy optimization for masked diffusion language model reinforcement learning.
Abstract. Masked diffusion language models generate text by iteratively unmasking positions, with practical samplers often selecting reveal positions from the model's own logits. The reveal order is therefore an endogenous latent variable of the rollout process with an enormous discrete latent space. Policy optimization objectives relying on pre-defined schedules or sampled trajectories introduce either bias or high variance. In this paper, we propose FEROM, Frontier Endogenous Reveal-Order Marginal Policy Optimization, which approximates policy gradients for the rollout-induced marginal response policy of masked diffusion LMs. FEROM derives a Rao-Blackwellized policy-gradient identity over latent reveal orders and expresses the resulting estimator as posterior edge occupancy on a reveal-state DAG. To make marginalization practical, we introduce Frontier Reveal Marginalization, a budgeted estimator that approximates this marginal edge structure by combining CDF-based computation of local probabilities of the endogenous reveal process with frontier expansion of high-mass partial states. Integrated into a GRPO-style objective, FEROM replaces single-path log-scores with a detached token-score surrogate over posterior-relevant reveal edges. Experiments on math and coding tasks show comparable or improved results over existing methods under matched scoring-state budgets. An offline proxy study further shows improved marginal-gradient approximation with increased scoring budgets.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes FEROM, a policy optimization method for masked diffusion language models that treats the reveal order as an endogenous latent variable and approximately marginalizes over reveal trajectories using a frontier-based estimator.
The reviewers appreciated the reveal-order marginalization perspective, the Rao–Blackwellization argument, and the reveal-state DAG formulation (qqua, 8vhH, CfBu).
The paper currently needs clarification before it can be strongly considered. The main technical concern is the gap between the exact marginal-gradient theory and the implemented optimizer. Theorem 3.1 concerns the full marginal score, including both token prediction and the model-dependent reveal kernel. However, the practical objective stops gradients through the estimated occupancies and differentiates only the token-likelihood terms. It is therefore unclear what objective the implemented method optimizes and whether the variance-reduction theorem applies to it (qqua, CfBu).
A related concern is whether the joint rollout factorization is exact for the reveal rule used in the experiments. The paper should clarify which stochastic reveal kernels admit Eq. (2), and whether the LLaDA sampler satisfies these assumptions (qqua).
The empirical evidence is also mixed. FEROM is competitive in several low- and medium-length settings, but performance degrades substantially on HumanEval-512 and MBPP-512. Moreover, the offline proxy suggests that marginalization becomes most useful only at budgets near the block length, while end-to-end training uses a much smaller budget. The benefit of the additional complexity over simpler trajectory or ELBO-based estimators is therefore not yet clear (qqua, 8vhH, CfBu).
The authors should address the reviewers’ concerns and clarify:
What exact objective and gradient does the implemented stop-gradient surrogate optimize?
What bias does FRM introduce relative to the exact marginal policy gradient?
For which reveal kernels is the proposed factorization exact, and does the experimental sampler satisfy these conditions?
Why does performance degrade strongly in the long-sequence coding settings?
How does FEROM compare conceptually and computationally with simpler trajectory-based and ELBO-based dLLM RL methods?
Final justification
The reviewers remain divided after rebuttal, which actually helped address some main concerns regarding the gap between theory and practical surrogate. Some limitations do remain, such as pointed by one reviewer the degrades in code generation. I find the core formulation interesting, and slightly favor acceptance.
Read meta-review
Meta-review
This paper proposes FEROM, a policy optimization method for masked diffusion language models that treats the reveal order as an endogenous latent variable and approximately marginalizes over reveal trajectories using a frontier-based estimator.
The reviewers appreciated the reveal-order marginalization perspective, the Rao–Blackwellization argument, and the reveal-state DAG formulation (qqua, 8vhH, CfBu).
The paper currently needs clarification before it can be strongly considered. The main technical concern is the gap between the exact marginal-gradient theory and the implemented optimizer. Theorem 3.1 concerns the full marginal score, including both token prediction and the model-dependent reveal kernel. However, the practical objective stops gradients through the estimated occupancies and differentiates only the token-likelihood terms. It is therefore unclear what objective the implemented method optimizes and whether the variance-reduction theorem applies to it (qqua, CfBu).
A related concern is whether the joint rollout factorization is exact for the reveal rule used in the experiments. The paper should clarify which stochastic reveal kernels admit Eq. (2), and whether the LLaDA sampler satisfies these assumptions (qqua).
The empirical evidence is also mixed. FEROM is competitive in several low- and medium-length settings, but performance degrades substantially on HumanEval-512 and MBPP-512. Moreover, the offline proxy suggests that marginalization becomes most useful only at budgets near the block length, while end-to-end training uses a much smaller budget. The benefit of the additional complexity over simpler trajectory or ELBO-based estimators is therefore not yet clear (qqua, 8vhH, CfBu).
The authors should address the reviewers’ concerns and clarify:
What exact objective and gradient does the implemented stop-gradient surrogate optimize?
What bias does FRM introduce relative to the exact marginal policy gradient?
For which reveal kernels is the proposed factorization exact, and does the experimental sampler satisfy these conditions?
Why does performance degrade strongly in the long-sequence coding settings?
How does FEROM compare conceptually and computationally with simpler trajectory-based and ELBO-based dLLM RL methods?
Final justification
The reviewers remain divided after rebuttal, which actually helped address some main concerns regarding the gap between theory and practical surrogate. Some limitations do remain, such as pointed by one reviewer the degrades in code generation. I find the core formulation interesting, and slightly favor acceptance.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Final justification
My concerns have been addressed. I will maintain my score of 5.
Formatting concerns
N/A
2 comments
Thank you for the detailed rebuttal. I will maintain my score of 5.
- Rating
- 4/6
- Confidence
- 5/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes FEROM, a new reinforcement learning policy optimization algorithm for mask dLLM. FEROM uses techniques to estimate the marginalized sequence probability for MDM, an in general intractable object due to combinatorial complexity of generation order. With the estimated sequence log probability, FEROM plugs in the estimator into GRPO to derive the FEROM-GRPO algorithms and achieves satisfactory performance on math and reasoning becnhmarks.
Strengths and weaknesses
Strength
- The paper approaches an interesting yet difficult task in the direction of advancing dLLM RL, in terms of addressing training-inference mismatch to improve the algorithm performances.
- The included the benchmark is standard and comprehensive. While only the LLaDA model is tested, it's understandable.
Weakness
- The writing is hard to follow, especially the part on how to confidently estimated the marginal sequence probability. The writing is technical and lack of main thread to follow easily.
- The method does not achieves significantly better performance than existing methods.
- The paper lacks some importance references on dLLM RL, such as JustGRPO [1] and DMPO [2], and would benefit from more discussion on the pros and cons of trajectory-wise estimator versus ELBO-based estimators.
References [1] The Flexibility Trap: Rethinking the Value of Arbitrary Order in Diffusion Language Models. ICML 2026 Oral [2] Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization. ICML 2026 Spotlight
Questions
I have the following questions regarding the paper. If they can be clarified and answered, I would be happy to increase my recommendation for the paper.
-
What is the key techniques behind the estimation of the marginal probability? How efficient and effective is it in general situations? Is the efficacy damaged during the course of RL? I would deeply appreciated more clarification and explanations on how the computation is done in practice (also what's the computation overhead).
-
The ELBO techniques are heavily used in the dLLM RL literature, and recently carefully studied by DMPO [1] and DiPOD [2]. Similarly to the formulation of FEROM, they both considered sequence-level RL, just approximated with ELBO instead of the FEROM estimators. In your opinion, what's the pros and cons between these two approaches, and why potentially trajectory-based estimators like FEROM is the correct way to go moving forward?
-
Judging from the perspective of the algorithm, I assume that applying FEROM to block dLLM should be much cheaper as the structure of DAG gets much more simpler. Have any efforts/attempts been done on this direction, applying to models like SDAR [3] and FLARE [4]? A discussion on the feasibility would be appreciated.
References: [1] Enhancing Reasoning for Diffusion LLMs via Distribution Matching Policy Optimization [2] Diffusion Policy Optimization without Drifting Apart [3] SDAR: A Synergistic Diffusion-AutoRegression Paradigm for Scalable Sequence Generation [4] FLARE: Diffusion for Hybrid Language Model
Limitations
yes
Final justification
My concerns are addressed, therefore I maintain my positive score.
Formatting concerns
N/A
2 comments
Rebuttal
We thank the reviewer for the careful and constructive review, and for recognizing the importance and difficulty of reducing the training-inference mismatch in masked diffusion language-model RL. We agree that the practical estimator needs a clearer explanation and that its benefits are not uniform.
1. Marginal Estimation and Effectiveness During RL
Practical Estimator
A completed response can be reached through many reveal orders, represented as paths through a DAG of partially masked states. Exact marginalization would sum over all such paths and is combinatorial. FEROM instead performs four budgeted operations:
- It selects a budgeted subset of intermediate masked states from one sampled rollout trajectory rather than scoring the entire trajectory.
- It estimates local next-reveal probabilities from the current model at each selected state.
- From those states, its frontier planner allocates candidate reveal edges, propagates detached occupancy mass, and merges equivalent child states.
- It combines the selected token log-likelihood scores using the detached occupancy weights.
"Sparse" refers to sampling only some states along one trajectory rather than scoring every intermediate state; branching is a separate planner decision. A larger budget can increase trajectory-state coverage, alternative-branch coverage, or both. We will make this distinction explicit in the revision.
Why a Sub-Trajectory Budget Can Work
Selecting only a subset of trajectory states permits a budget below one full trajectory. This works empirically because the response-conditioned reveal mass under the LLaDA confidence-based rule is usually concentrated near one continuation. Appendix Figure 5 illustrates this on a real 12-position AceCoder block, and our online diagnostics find that fewer than 10% of eligible planner decisions open an additional branch. FEROM can therefore follow the dominant path in most states and spend extra slots on the minority with meaningful alternative mass. Its goal is a useful finite-budget approximation, not an unbiased reconstruction of the full DAG.
Efficacy During RL
The local-order distribution is recomputed under the current policy, but a finite budget can still become inadequate if that distribution grows diffuse during RL. Empirically, however, occupancy concentration, branch frequency, and realized edge usage remain stable over training in our runs; we do not observe a systematic increase in the required budget. This concentration premise is sampler-dependent rather than universal: a higher-entropy reveal kernel requires greater state and branch coverage. FEROM makes this tradeoff explicit because increasing the budget smoothly densifies trajectory coverage and permits more branches; we will report these diagnostics when assessing budget sufficiency.
Stop-Gradient Surrogate
FEROM stops gradients through estimated occupancies. Fisher's identity uses exact posterior occupancies as coefficients, so those coefficients should not be differentiated again. However, practical FEROM both approximates them with a finite frontier and retains only the token-score term, omitting the model-dependent reveal-kernel score. It is therefore a biased semi-gradient. Preliminary inclusion of a finite-budget reveal score caused reward collapse, which motivates the stable surrogate empirically but does not establish that the exact score is unstable. We will state this limitation explicitly.
2. Computational Overhead
Figure 3 reports FEROM's added overhead: local-order estimation is 23.6% and planning 8.4% of wall time. The former includes empirical estimation, likely overstating steady-state overhead. The remaining rollout and scored-state budgets are explicitly controlled, and state merging prevents equivalent child states from being counted as independent paths. We will connect this breakdown directly to the practical algorithm.
3. Empirical Comparison and New Controls
Comparison Constraints
We agree that the submitted gains are not uniform. All submitted FEROM results use a low scored-state budget and rank-128 QLoRA on a frozen 4-bit base, whereas JustGRPO uses BF16 full-parameter training. A direct comparison must therefore match both trainable-model capacity and estimator-state budget.
Full-Parameter AceCoder Control
We ran a BF16 full-parameter AceCoder control using the released JustGRPO prompt, reward, and evaluator. Sparse FEROM scores states from a 256-token trajectory (), while JustGRPO represents a complete left-to-right trajectory (). Preliminary checkpoint-60 results, not a converged endpoint, are:
| Method | HumanEval-128 | HumanEval-256 | MBPP-128 | MBPP-256 | |
|---|---|---|---|---|---|
| JustGRPO | 1.0 | 37.8 | 49.4 | 50.6 | 52.4 |
| Sparse FEROM | 0.5 | 40.9 | 48.2 | 41.0 | 41.4 |
Thus half-trajectory FEROM is comparable on HumanEval-128/256, but not on MBPP. This checkpoint also predates a reward-support correction: reward used the full fixed-length response while token-score credit stopped at first EOS. We treat these results as diagnostic and have prepared aligned controls for the discussion period.
Long-Sequence Credit Assignment
The 512-token setting introduces an additional issue detailed in our response to qqua: an MDM trained from 256 initial masks but evaluated from 512 masks extrapolates both latent-sequence length and reveal process. Post-EOS credit can also spend finite estimator budget on actions ignored by the reward parser. In a matched BF16 GSM8K checkpoint-30 control, stopping token-score credit at first EOS improved 256-token accuracy from 81.29% to 84.55% and 512-token accuracy from 73.18% to 81.36%. The larger 512 gain supports this credit-assignment mechanism.
4. FEROM Versus ELBO and Trajectory Estimators
Objective Alignment
For sequence-level on-policy RL, we believe optimization should target the response distribution induced by the inference sampler. ELBO methods are simple and stable, but score randomly corrupted states that need not be visited by that sampler. JustGRPO obtains a tractable full-trajectory score by imposing a fixed left-to-right training process; this is a useful inductive bias for strongly left-to-right tasks, but differs from native confidence-based MDM inference. FEROM retains the native sampler and approximates its response-conditioned average over endogenous reveal orders. Its costs are local-order/planner overhead, finite-budget bias, and greater implementation complexity.
Submitted Evidence
The submitted 256-token results support competitiveness with the tested ELBO-style methods: FEROM obtains 85.7/43.9 on GSM8K/MATH-500, versus 81.7/39.4 for DiSPO-SPG and 82.8/39.6 for GDPO; on HumanEval-256, FEROM obtains 46.3 versus GDPO's 39.6. These results do not establish uniform dominance, especially against JustGRPO or in long-sequence code generation.
Budget-Matched Comparison
Budget accounting is part of FEROM's contribution. A fixed left-to-right objective represents one complete trajectory (), whereas sparse FEROM can operate below one trajectory and allocate its limited states adaptively. Our direct controls will match , trainable-model capacity, prompt-batch diversity, and total prompt exposure. We will also add explicit discussion and citations for JustGRPO, DMPO, and DiPOD.
5. Applicability to Block and Hybrid dLLMs
Structurally, yes. With deterministic block order, reveal-order marginalization is restricted to positions within the active block. In a hybrid model, the autoregressive prefix can be treated as observed context and FEROM applied only to the diffusion subproblem. This should reduce the size of each reveal DAG, but we have not evaluated SDAR or FLARE and therefore cannot claim measured savings or improved performance. We will leave this as future work.
Thank you for the rebuttal. My concerns have been partly addressed, therefore I remain the positive evaluation of the work.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the problem of applying RL to masked diffusion language models by arguing that the reveal order used during inference is an endogenous latent variable while sequence-level rewards neglect which reveal trajectory leads to it and are only decided by the final generated response. To solve this problem, authors propose a new RL-based method which aims to optimize the rollout-induced marginal response policy obtained by marginalizing over latent reveal orders.
Strengths and weaknesses
- The primary contribution is a new RL objective and approximation algorithm for masked diffusion language models.
- The formation itself is interesting. The claim of framing the reveal order as an endogenous latent produced by the model's own logits and the reveal-order-marginal policy's score is a Rao–Blackwellized average over a reveal-state DAG, is non-trivial.
- The Rao–Blackwellization argument in Theorem 3.1 is straightforward and intuitive.
The main concerns of this draft arise from the following aspects:
- There is a lack of comparison against simpler variance-reduction baselines.
- The novelty relative to prior diffusion-LM RL work is somewhat incremental.
- In experiments, the performance is not consistent across the benchmarks, especially in long-sequence regimes and code generation tasks. In particular, for HumanEval-512 (32.3 vs ESPO 50.0) and MBPP-512 (25.8 vs GDPO 47.1), the degradation is severe and unexplained.
- Section 4.2, results show that marginal methods only dominate near block-size budgets, however, training only used NFE=2/block, which is far below that.
- It seems the implemented estimator is not exactly the same as . In appendix D, authors say that gradients flow only through the token-likelihood term , with stop-gradient on occupancies, so it targets a component of the marginal score, not . Hence, Thm 3.1 cannot justify the actual implemented alg.
- The joint factorization (Eq. 2) is inexact for the introduced token-conditioned reveal rules. For which reveal families is Eq. 2 exact? Is the LLaDA rule used in experiments in that class, or is Eq. 2 itself an approximation?
Questions
- What is the bias introduced by FRM relative to the exact marginal gradient?
- How does FEROM scale with block length and frontier budget?
Limitations
See above.
Final justification
I am still concerned of the unexplainable performance degrade on the code generation tasks. Math tasks alone cannot fully proof the effectiveness of the methodology, especially considering GSM8K, MATH500 are saturated math benchmarks. In fact, the method has performance degrade on all long-sequence scenarios. Therefore, rather than leaving those unexplained, it makes more sense to perform more rigorous analysis here.
Nevertheless, the Rao–Blackwellization argument and the formulation itself is more interesting.
I do think there is room for improvement for the paper. Hence, I maintain my score.
Formatting concerns
N.A.
6 comments
Rebuttal
Response to Reviewer qqua
We sincerely thank the reviewer for the careful review and recognition of reveal order as an endogenous latent variable, the reveal-state DAG, and Rao--Blackwellization.
1. Reveal-Kernel Factorization
We agree that Eq. (2) is exact only for exogenous reveal schedules and for state-dependent reveal kernels whose action is conditionally independent of the token committed on that edge. It is not exact for the token-conditioned, low-confidence LLaDA sampler used in our experiments: candidate token values and their confidence scores determine which position is revealed.
The conditional/unconditional distinction is simple. At state , the sampler proposes a token at every masked position and reveals the position whose proposal has the highest confidence. The submitted estimator asks
i.e., how often position wins when its own candidate token is also randomly sampled. For the observed response , the required edge probability instead asks how often wins when its proposal is fixed to the token actually committed on that edge:
Competing proposals remain random, so this conditional probability is not one-hot. The exact joint edge mass is therefore
whereas the submitted compact estimator uses . Both sample candidate vectors jointly and model cross-position competition; the approximation arises because the submitted estimator averages over position 's own proposal before combining reveal and token probabilities.
In fact, we also explored the conditional estimator in preliminary experiments, but retained the compact unconditional estimator as a deliberate stability--bias tradeoff due to early observations, which was a design choice. Engineering-wise, the conditional correction is local: our implementation computes both kernels from the same joint Monte Carlo score samples, fixing only the queried position's score to the confidence of while reusing all sampled competitor scores. It requires no additional model forward or rollout NFE, only planner-side tensor operations, and already supports a matched conditional target and proposal. We will correct Eq. (2), state the submitted approximation explicitly, and report the conditional result after end-to-end validation.
2. Marginal Gradient Estimation
We agree that the paper must distinguish the exact identity from the practical estimator more precisely. The response probability is the sum of the probabilities of all reveal trajectories that produce it:
Differentiating this original marginal gives
This is Fisher's identity. Although the posterior depends on , it appears here as the responsibility produced by differentiating the original sum, not as an additional factor to differentiate again. Backpropagating through the exact trajectory sum produces this identity automatically; when replaying its posterior-weighted score form, the posterior weights should be detached.
The complete score of each trajectory contains both the token-prediction score and the score of the model-dependent reveal decision. Let
Regrouping trajectories by edges gives the exact marginal score , where is the exact response-conditioned edge occupancy. Let denote the practical sparse estimate under budget . It treats its estimated occupancy weights as fixed and differentiates only token scores; sparse macro-steps also mean that it need not share the exact one-token edge basis. Its error can be separated without assuming a shared edge set:
The bias therefore has two parts: finite-budget token-score error from omitted frontier mass, local-order sampling, the compact kernel, planner/weighting, and sparse macro-steps; and the omitted model-dependent reveal score. Theorem 3.1 justifies the exact response-conditioned average, but not unbiasedness or variance dominance for sparse FEROM.
We omit the reveal score because preliminary single-trajectory runs that differentiated finite-budget local-order estimates collapsed, suggesting that noisy, biased reveal estimates can create unstable feedback--not that the exact score is intrinsically unstable. Moreover, because the planner stores detached probabilities, inclusion requires recomputing differentiable local-order probabilities over all competing positions during replay, increasing output-head compute and backward memory. We will clarify this tradeoff and describe the implementation as a stopped-reveal-kernel surrogate.
3. Simpler Variance-Reduction Baselines
GDPO, already included in our table, reduces Monte Carlo variance in ELBO estimation but does not average endogenous reveal orders for the same response. DiSPO is closer, but averages counterfactual fillings at a fixed state and optimizes a different state-wise objective. Neither is a direct control for FEROM's budget allocation.
Empirically, at length 256, FEROM obtains 85.7/43.9 on GSM8K/MATH-500, compared with 81.7/39.4 for DiSPO-SPG and 82.8/39.6 for GDPO. On HumanEval-256, FEROM obtains 46.3 versus GDPO's 39.6. These results demonstrate FEROM's practical competitiveness with both approaches.
For comparison with simple trajectory-level variance reduction, we will add an offline real-data estimator study using frozen checkpoints and rollout batches. At the same scored-state budget, it compares FEROM with uniform and order-stratified allocation and reports gradient variance, cosine similarity, and relative error against a higher-budget response-conditioned Monte Carlo reference. Complete pathwise averages are included only where the budget can represent those trajectories, rather than being presented as equal-budget controls in the submitted low-budget regime.
4. Budget and Scaling
The submitted experiments target the constrained state budget of common low-sample baselines, not exact marginalization. Sparse FRM can sample a subset of conditional states from a rollout instead of requiring enough budget to score an entire trajectory. It follows the dominant reveal path and branches only when an alternative has appreciable mass; in our training runs, fewer than 10% of eligible planner decisions create an additional branch. This makes a sub-trajectory budget useful when reveal-order mass is concentrated, as also suggested by Appendix Figure 5. We will report performance across , where is the scored-state budget and is response length.
5. Long-Sequence Code Performance
We agree that these are the weakest submitted results. However, we also want to emphasize that in our experiments, models train at 256 but are evaluated at 512. Unlike AR continuation, an MDM begins with all 512 masks and twice the reveal blocks, extrapolating both latent state and reveal process and accumulating finite-budget error.
On the other hand, we indeed observed that fixed-length MDMs create an EOS mismatch absent in AR: EOS may be revealed early while denoising continues, so our previous objective credited post-EOS actions ignored or treated inconsistently by the reward. At longer lengths, FEROM is especially affected because confident EOS/repeated special-token transitions can receive high occupancy and consume frontier slots, reducing coverage of reward-relevant code states.
We conduct a matched coding task control experiment. First-code-block support improved pass@1 by 5.49 points on HumanEval-512 and 6.40 on MBPP-512; first-EOS support improved all four 256/512 cells. An end-to-end GSM8K control used the same model, seed, and full-parameter BF16 setup, changing only whether token-score credit covered the EOS block or stopped at first EOS. At checkpoint 30, result shows:
| Differentiable support | GSM8K-256 | GSM8K-512 | T512 - T256 (pp) |
|---|---|---|---|
| Complete EOS block | 81.29% | 73.18% | -8.11 |
| Through first EOS | 84.55% | 81.36% | -3.18 |
| Difference | +3.26 | +8.18 | +4.92 |
The larger 512 gain implicates post-EOS credit in length extrapolation. The corrected objective parses reward and applies token-score loss through first EOS, while planning retains its block because later positions may precede EOS.
6. Novelty Relative to Prior dLLM RL
FEROM contributes at two levels:
-
Framework-level contribution. FEROM identifies the rollout-induced response policy obtained by marginalizing the model's endogenous reveal order, derives its Fisher/Rao--Blackwell score as a response-conditioned trajectory average, and represents it through reveal-DAG edge occupancies. This distinguishes the target from single-path credit assignment and state-wise ELBO surrogates.
-
Engineering and algorithmic contribution. FEROM combines local-order estimation with a sparse frontier planner that adaptively allocates a finite scored-state budget toward reveal branches with appreciable mass. This makes the otherwise combinatorial marginal operational during RL and exposes conditional-state budget, rather than physical NFE alone, as a comparison axis.
Thank you for your detailed feedback. As the author–reviewer discussion period is approaching its end, we would be grateful if you could let us know whether our clarifications and the additional experiments reported in our responses have addressed your main concerns.
If these additions resolve your concerns, we would appreciate it if you could update your review and score to reflect your current assessment of the paper. If any concern remains unresolved, we would be happy to address it during the remaining discussion period.
Thank you again for your time and engagement.
rebuttal acknowledgement
I thank the authors for the rebuttal.
After reading the authors' rebuttals, here are my thoughts:
-
The implemented estimator still differs from the stated target. As in authors replies, Eq. 2 is exact only for token-independent kernels. But since and Appendix D rest on Eq. 2, every reported number came from an estimator now known to be mis-specified for the sampler used. With Thm 3.1 that does not to cover sparse FEROM, we cannot conclude that the surrogate reduces variance against single-path scoring.
-
For the long-sequence regimes and code generation tasks, the EOS mechanism alone does not cannot close the performance gap, which authors mentioned is due to extrapolation. Even with the first-EOS which improves the MBPP-512 and HumanEval-512 by ~5-6%, the degradation is still severe, and the remaining gap of ~15% is a real performance concern. Given the large performance gap in code tasks, I don't think it's reasonable to claim the effectiveness on code domain. On the other hand, being able to show the comparable performance in the easier math domain itself does not fully convince me of its effectiveness.
Considering all the above factors, I choose to maintain my score.
Comments on the paper
2 comments
Comment to All Reviewers
We thank all reviewers for the detailed and constructive feedback. We especially appreciate the recognition of the reveal-order marginal perspective and the requests to clarify its theory, approximation, novelty, and finite-budget behavior.
Revised Theory
We will revise the paper to separate the exact policy target from the practical estimator. For the token-conditioned low-confidence sampler used in our experiments, the exact edge factor is , not . Here the candidate at the committed position is fixed to the observed response token, while competing candidates remain random. This correction makes the dependence missing from Eq. (2) explicit. It is local to the order estimator and requires no additional model forward or rollout NFE.
For the marginal response policy, , Fisher's identity gives . The response-conditioned trajectory probabilities are responsibilities and therefore act as detached coefficients; stopping gradients through them is consistent with the exact identity. However, the complete trajectory score contains both token-prediction and model-dependent reveal-kernel scores. The submitted sparse estimator uses finite-budget occupancies, a compact unconditional approximation to the conditional kernel above, and only the token score. We will therefore state explicitly that Theorem 3.1 justifies the exact Rao--Blackwellized target, not unbiasedness of the practical estimator, whose error includes finite-budget occupancy error and the omitted reveal score. Operationally, the implementation differentiates a per-update occupancy-weighted token log-likelihood with the estimated occupancies held fixed. Because those occupancies are recomputed under the current policy while the reveal score is omitted, this surrogate need not be the gradient of a single fixed global objective.
Experiments and Discussion Related to JustGRPO
To further test the practical finite-budget estimator, we report two feasible comparisons with JustGRPO. Fully matched end-to-end training on the submitted benchmarks was infeasible within the rebuttal window because JustGRPO is much heavier than our submitted setting: it increases unique prompts per update from 2 to 64 (32x), increases scored-state budget from to (16x), and replaces rank-128 QLoRA on a frozen 4-bit model with BF16 full-parameter training.
Increasing Budget for End-to-End Training
First, we increase FEROM's budget on GSM8K and MATH-500. These runs use 64 unique prompts per batch, BF16 full-parameter training, and JustGRPO's prompts, rewards, and evaluator, but allocate only half a trajectory's budget ().
Temperature is crucial for MDM RL. The new GSM8K and MATH-500 runs use rollout temperature 0.9, matching our submission and native-MDM baselines (SPG, ESPO, etc.), rather than JustGRPO's 1.0. Notably, on 32 fixed GSM8K prompts with 16 rollouts each, temperature materially changes both correctness and diversity:
| MDM temperature | Correct | Mixed-reward groups | Unique responses |
|---|---|---|---|
| 0.9 | 88.5% | 25.0% | 84.6% |
| 1.2 | 87.7% | 50.0% | 95.1% |
| 1.5 | 87.9% | 37.5% | 98.8% |
| 2.0 | 15.8% | 75.0% | 100.0% |
Mixed-reward groups contain both correct and incorrect rollouts. However, we did not have time for matched temperature-by-budget training, so we retain 0.9 and do not claim that this choice is optimal.
Under this retained temperature setting, the end-to-end results are:
| Method and training setting | Scored-state budget | GSM8K-256 | MATH-500-256 |
|---|---|---|---|
| Submitted FEROM, 4-bit QLoRA | 85.7 | 43.9 | |
| New conditional-edge sparse FEROM, BF16 full-parameter, 64 prompts/update | 87.12 | 44.80 | |
| JustGRPO, BF16 full-parameter, 64 prompts/update | 89.1 | 45.1 |
The new runs use the corrected conditional edge factor described above, whereas the submitted results use the compact unconditional approximation. Here counts scored conditional-state slots and . The submitted setting uses 2 slots per 32-token block across 8 blocks, hence .
Using the released JustGRPO evaluator, the new FEROM setting improves over the submitted result by 1.42 points on GSM8K and 0.90 on MATH-500. With half the trajectory-state budget, it is within 1.98 and 0.30 points of JustGRPO, respectively. They show that FEROM improves beyond the submitted constrained setting and can approach JustGRPO while scoring only half a trajectory. More broadly, FEROM makes this budget explicit and allocates it adaptively to alternative reveal orders rather than implicitly requiring complete trajectory coverage.
JustGRPO Continual Training
Second, we test whether FEROM can improve a policy already trained by JustGRPO.
Starting from the released JustGRPO-Code checkpoint, we run dataset-consistent
ten-update continuations with either native JustGRPO or FEROM. Both use 16
responses, the same 16 prompts at each paired update, full-parameter BF16
training, constant learning rate 1e-6, gradient clipping at 1.0, and generation
length 256. JustGRPO uses its native left-to-right rollout/objective; FEROM uses
confidence-based rollout at temperature 1.0 and one full trajectory of
scored-state budget.
| Continuation from released JustGRPO-Code | HumanEval-256 | MBPP-256 |
|---|---|---|
| No continuation | 48.78 | 53.00 |
| 10-step native JustGRPO updates | 48.17 | 53.80 |
| 10-step FEROM updates | 50.00 | 53.20 |
Thus FEROM can improve a policy already trained by JustGRPO (+1.22 HumanEval and +0.20 MBPP over the released checkpoint), whereas continue to train with JustGRPO improve on MBPP but degrade on HumanEval.
Relationship to JustGRPO
FEROM and JustGRPO address complementary design axes. JustGRPO imposes a strong left-to-right data prior that is usually well matched to natural text and yields a tractable path objective. FEROM instead retains confidence-based arbitrary-order rollout and marginalizes its endogenous order, avoiding a mismatch between left-to-right optimization and the deployed arbitrary-order sampler.
Given sufficient budget, FEROM can in principle use broader rollout diversity by integrating credit across plausible orders; the finite-budget estimator approximates this ideal. FEROM is most relevant to infilling, editing, bidirectional constraints, and adaptive parallel decoding, and naturally stays near one path when its mass dominates. LLaDA2.2 illustrates that confidence decoding and editing remain relevant, although applying FEROM to its different action space is future work.
Contributions
Together, the revised theory and finite-budget evidence support a framework-level rather than universal-dominance claim. To our knowledge, FEROM is the first MDM RL framework to formulate and demonstrate practical optimization of the rollout-induced response policy by marginalizing the model's endogenous reveal order, while operating with a sub-trajectory scored-state budget.
- Framework contribution. FEROM identifies the response marginal, rather than a single reveal trace or state-wise ELBO, as the policy aligned with the model's actual arbitrary-order rollout. The reveal-state DAG and edge occupancies provide a common language for the exact target, approximations, and compute budget.
- Algorithmic contribution. Sparse FEROM scores only selected conditional states from a sampled trajectory, estimates local reveal-order mass, and uses a frontier planner to spend remaining budget on alternative branches only when they have appreciable mass. This makes partial marginalization possible even when the budget is smaller than one complete trajectory.
Revision Plan
To make this work easier to follow, we will revise the FEROM algorithm section as follows:
- Intuition first. Explain that reveal-order mass is often concentrated on one path, so the sampled rollout provides a natural spine. Sparse FEROM explores frontier alternatives only when their estimated local-order mass is consequential; otherwise it falls back to that path.
- Sparse state selection. Clarify how sparse FRM selects a sparse set of scored states along the sampled trajectory.
- Formalization after intuition. Then introduce DAG occupancies, local-order estimation, coefficient aggregation, and explicit budget accounting, with compact pseudocode separating the exact target from each finite-budget approximation.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
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:
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
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
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.