[Paper Review] Self-Rewarding Sequential Monte Carlo for Masked Diffusion Language Models
Introduces Self-Rewarding Sequential Monte Carlo (SR-SMC) for inference-time scaling of masked diffusion language models, enabling trajectory-level confidence-based sampling with parallel particles to improve sample quality and diversity without extra training.
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. 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.
Motivation & Objective
- Motivate and address the limited diversity of greedy MDLM sampling.
- Propose a general SR-SMC framework that uses trajectory-level confidence as a self-rewarding signal.
- Show that SR-SMC improves sample quality across MDLMs and dLLMs without extra reward models.
- Demonstrate scalability with multiple models and benchmarks through extensive experiments.
Proposed method
- Maintain N interacting diffusion processes (particles) to explore multiple trajectories in parallel.
- Define trajectory-level confidence as the product of token confidences over updated tokens (Eq. 13) to weight particles.
- Use a reverse diffusion kernel with adaptive remasking and a policy to select which tokens to unmask (Eq. 9–10 and policy in Eq. 7–8).
- Apply standard SMC steps (resample, propagate, re-weight) with adaptive resampling based on ESS (Eq. 14).
- Employ the Gumbel-Max trick for discrete token sampling with temperature control (Eq. 15).
- Provide theoretical justification that trajectory-level confidence is a natural self-reward within a bootstrap SMC setup (Prop. 3.1).
Experimental results
Research questions
- RQ1Can SR-SMC improve sampling quality of MDLMs and dLLMs without additional training or external rewards?
- RQ2Does trajectory-level weighting enable better exploration and diversity compared to token-level confidence in MDLMs?
- RQ3How does SR-SMC perform across different MDLMs and diffusion-based LLMs on standard benchmarks?
- RQ4What is the impact of the number of particles and temperature on SR-SMC performance and stability?
Key findings
- SR-SMC consistently improves generative perplexity (Gen. PPL) and sample quality across MDLMs (MDLM, BD3-LMs) and dLLMs (LLaDA-1.5, Dream-7B].
- Increasing the number of particles (N) yields progressive gains, with notable improvements at N=3 or 4.
- Block-decoding variants with SR-SMC achieve Gen. PPLs below 20 for certain BD3-LMs configurations, narrowing the gap to autoregressive baselines.
- SR-SMC enhances performance across GSM8K, MATH, HumanEval, MBPP benchmarks, with average gains around 2–4 points depending on model and length.
- SR-SMC shows robustness to sampling temperature and reduces repetition at low temperatures compared to greedy decoding.
- Ablation shows substantial gains even with modest particle counts and zero-shot settings also benefit from SR-SMC.
- Analysis indicates a non-negligible fraction of blocks experience overtaking among particles, confirming that SR-SMC explores non-greedy trajectories.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.