Reproduce “Mask-Aware Policy Gradients for Diffusion Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Haran Raajesh, Kulin Shah, Adam Klivans, Philipp Krähenbühl
Researchers from The University of Texas at Austin developed Mask-Aware Policy Gradients, a reinforcement learning method for Diffusion Language Models that explicitly optimizes both token predictions and the unmasking order. This approach improved accuracy by 2-4 percentage points on mathematical reasoning and code generation benchmarks, while also demonstrating faster convergence during training.
Key insights
- The policy gradient for MDLMs naturally decomposes into distinct terms for token prediction and position unmasking, indicating that both decisions contribute independently to the overall policy.
- Ignoring the unmasking order in policy gradient calculations leads to incomplete gradient estimates, potentially preventing the policy from exploring directions that could improve the expected return.
- Probabilistically modeling the unmasking decision by reusing existing model logits provides a computationally efficient way to incorporate this additional policy signal without architectural changes or extra forward passes.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.