Don't Settle Too Early: Self-Reflective Remasking for Diffusion Language Models

Zemin Huang, Yuhang Wang, Zhiyang Chen, Guo-Jun Qi
9/28/2025
cs.CL

No official code found. Best implementation: maple-research-lab/RemeDi (14 stars, last commit 2026-01-28).

Abstract

Mask-based Diffusion Language Models (DLMs) struggle to revise incorrect tokens: once a token is generated, it typically remains fixed. The key challenge is to identify potential errors in the inputs. In this paper, we propose \emph{\underline{Rem}asking-\underline{e}nabled \underline{Di}ffusion Language Model (RemeDi}, a mask-based DLM that introduces \emph{remasking} as another fundamental mechanism, enabling more flexible text refinement in diffusion-based text generation. To achieve this, RemeDi jointly predicts token distributions and per-token confidence scores at each step. The confidence scores determine which tokens to be unmasked after the current step, allowing the model to identify tokens with low quality and remask them. These remasked tokens can be resampled with richer context in subsequent steps. We design a remask-aware pipeline to train this ability, including supervised fine-tuning which teaches the model to detect and remask incorrect tokens in addition to predict mask tokens, and reinforcement learning which optimizes full generation trajectories toward higher rewards. Experiments show that RemeDi achieves the state-of-the-art results among open-source DLMs on multiple datasets.

View on arXivView PDF

Code Implementations(1)

Official inference implementation of the paper "DON'T SETTLE TOO EARLY: SELF-REFLECTIVE REMASKING FOR DIFFUSION LANGUAGE MODELS". [ICLR 2026]

141PythonSep 26, 20258 months ago

Similar Papers

Cite this paper

@article{huang2025dont,
  title  = {Don't Settle Too Early: Self-Reflective Remasking for Diffusion Language Models},
  author = {Zemin Huang and Yuhang Wang and Zhiyang Chen and Guo-Jun Qi},
  year   = {2025},
  eprint = {2509.23653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.23653v1}
}

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/2509.23653.svg)](https://codeofpaper.com/paper/2509.23653)

Discussion