Self-Rewarding Sequential Monte Carlo for Masked Diffusion Language Models

Ziwei Luo, Ziqi Jin, Lei Wang, Lidong Bing, Thomas B. Schön
2/2/2026
5 citations
cs.LG
diffusion-flow

Official code: Algolzw/self-rewarding-smc (16 stars, Python, MIT, last commit 2026-02-17).

Abstract

This work presents self-rewarding sequential Monte Carlo (SMC), an inference-time scaling algorithm enabling effective sampling of masked diffusion language models (MDLMs). Our algorithm stems from the observation that most existing MDLMs rely on a confidence-based sampling strategy, where only tokens with the highest prediction confidence are preserved at each step.

Show full abstract

This restricts the generation to a noise-sensitive, greedy decoding paradigm, resulting in an inevitable collapse in the diversity of possible paths. We address this problem by launching multiple interacting diffusion processes in parallel, referred to as particles, for trajectory exploration. Importantly, we introduce the trajectory-level confidence as a self-rewarding signal for assigning particle importance weights. During sampling, particles are iteratively weighted and resampled to systematically steer generation towards globally confident, high-quality samples. Our self-rewarding SMC is verified on various masked diffusion language models and benchmarks, achieving significant improvement without extra training or reward guidance, while effectively converting parallel inference capacity into improved sampling quality. Our code is available at https://github.com/Algolzw/self-rewarding-smc.

View on arXivView PDF

Code Implementations(1)

MIT

Self-Rewarding Sequential Monte Carlo for Masked Diffusion Language Models

161Python, ShellJan 19, 20269 months agoMIT
diffusiondiffusion-language-modelsmasked-diffusion-llm

Similar Papers

Cite this paper

@article{luo2026selfrewarding,
  title  = {Self-Rewarding Sequential Monte Carlo for Masked Diffusion Language Models},
  author = {Ziwei Luo and Ziqi Jin and Lei Wang and Lidong Bing and Thomas B. Schön},
  year   = {2026},
  eprint = {2602.01849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.01849v1}
}

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

Discussion