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

Egor Shibaev, Danila Biktimirov, Ivan Klimov, Artem Makoian, Viacheslav Meshchaninov +1 more
11/17/2026
cs.LG
diffusion-flowrlrlhf-rlvr-dpo

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shibaev2026remarl,
  title  = {ReMaRL: Learning to Unmask and Remask in Frozen Diffusion Language Models},
  author = {Egor Shibaev and Danila Biktimirov and Ivan Klimov and Artem Makoian and Viacheslav Meshchaninov and Dmitry Vetrov},
  year   = {2026},
  eprint = {2611.22576},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.22576v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.22576.svg)](https://codeofpaper.com/paper/2611.22576)

Discussion