# FEROM: Frontier Endogenous Reveal-Order Marginal Policy Optimization for Masked Diffusion LMs

DevFeed: [FEROM: Frontier Endogenous Reveal-Order Marginal Policy Optimization for Masked Diffusion LMs](<https://devfeed.tech/articles/ferom-frontier-endogenous-reveal-order-marginal-policy-optimization-for-masked-diffusion-lms-125926.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10369>)

Author: Zian Su, Ziyang Huang, Kaiyuan Zhang, Xiangyu Zhang

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [grpo](<https://devfeed.tech/topics/grpo.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [approximation](<https://devfeed.tech/tags/approximation.md>), [bias](<https://devfeed.tech/tags/bias.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-tasks](<https://devfeed.tech/tags/coding-tasks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [dag](<https://devfeed.tech/tags/dag.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [edge](<https://devfeed.tech/tags/edge.md>), [estimator](<https://devfeed.tech/tags/estimator.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [frontier](<https://devfeed.tech/tags/frontier.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [grpo](<https://devfeed.tech/tags/grpo.md>), [identity](<https://devfeed.tech/tags/identity.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [math](<https://devfeed.tech/tags/math.md>), [model](<https://devfeed.tech/tags/model.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [order](<https://devfeed.tech/tags/order.md>), [policy](<https://devfeed.tech/tags/policy.md>)

## AI overview

FEROM approximates policy gradients for masked diffusion language models while accounting for the model-dependent order in which tokens are revealed. It derives a Rao-Blackwellized estimator over reveal orders, represented as posterior edge occupancy on a reveal-state DAG. Its budgeted Frontier Reveal Marginalization combines CDF-based local probability calculations with expansion of high-mass partial states. In a GRPO-style objective, it replaces single-path log-scores with a detached token-score surrogate over relevant reveal edges. The abstract reports comparable or improved math and coding results against existing methods at matched scoring-state budgets; an offline proxy study found better marginal-gradient approximation with larger budgets.

## Source excerpt

arXiv:2611.10369v1 Announce Type: cross 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.