ReMaRL: Learning to Unmask and Remask in Frozen Diffusion Language Models
Egor Shibaev, Danila Biktimirov, Ivan Klimov, Artem Makoian, Viacheslav Meshchaninov, Dmitry Vetrov
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. 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.
Create a lesson
Related papers
Interpreting Diffusion Model Activations in Natural Language
Shared title terminologycs.LGYukinori Yamamoto, Kotaro Yoshida, Ryotaro Shimizu
Learning to Read Events for Exact State Tracking with Frozen Language Models
Shared title terminologycs.LGJeonghoon Lee
OpenGNS: An Open Dataset of the Gradient Noise Scale across Vision, Language, and Diffusion Models
Shared title terminologycs.LGMarcel Aach, Jiangtao Wang, Stefan Kesselheim et al.
LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG Classification
Shared title terminologycs.LGKiana Taktehrani, Maryam Hosseini, Amir Keynia et al.
CrysLDM: Latent Diffusion Model for Crystal Material Generation
Shared title terminologycs.LGSubhojyoti Khastagir, Kishalay Das, Pawan Goyal et al.
Adaptation or Poisoning? Security Risks of Conversational Test-Time Learning in Large Language Models
Shared title terminologycs.LGHonghao Feng, Shanhan Qu, Kai Tong et al.