Reproduce “Don't Settle Too Early: Self-Reflective Remasking 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
Zemin Huang, Yuhang Wang, Zhiyang Chen, Guo-Jun Qi
RemeDi, a Diffusion Language Model from MAPLE Lab at Westlake University, incorporates a self-reflective remasking mechanism to dynamically correct generated tokens. The model achieves state-of-the-art performance among open-source diffusion models, outperforming its base model LLaDA by notable margins on tasks like GSM8K (89.1% vs. LLaDA's 82.2%) and HumanEval (73.2% vs. LLaDA's 60.1%), and demonstrates competitive capabilities with large autoregressive models.
Key insights
- Integrating a confidence-based remasking policy allows DLMs to actively self-assess and revise their own predictions, mimicking a self-correction process.
- Training DLMs with an explicit remask-aware objective, which includes synthesizing incorrect unmasked tokens as noise, is effective for developing error detection capabilities.
- Reinforcement learning, when applied to a remasking framework, further enhances a DLM's ability to produce high-quality outputs by optimizing entire generation trajectories for task-specific rewards.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.