# VGB for Masked Diffusion Model: Efficient Test-time Scaling for Reward Satisfaction and Sample Editing

*Kijung Jeon, Thuy-Duong Vuong, Molei Tao*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155107) · [OpenReview](https://openreview.net/forum?id=8La5KkmM0T) · [alphaXiv](https://www.alphaxiv.org/abs/2606.28301) · [Open on the map](../papers.html#p155107)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Diffusion Language Model Decoding](../pgroup/271.md) · Type: new method · Keywords: reward-guided diffusion, masked generation, value-guided re-masking, test-time scaling, sample editing

## Summary
MDM-VGB is a reward-guided discrete diffusion sampler that augments masked generation with value-guided re-masking, enabling efficient test-time scaling and better quality-cost trade-offs than best-of-N and other baselines.

## Explained to a 5-year-old
A computer program makes things like words or pictures by filling in missing parts. It can ask a helper to check if the thing is good, and if not, it can change some parts. It can change any part of what it made, not just the beginning. It also has a trick to keep trying without getting stuck, so it works faster. This helps make better things using fewer tries.

## Explained to a 5-year-old, longer
A computer program creates things like stories, pictures, or words by filling in missing pieces. It can ask a friend to look at what it made and tell if it is good or not. If the friend says it is not good, the program can go back and change some of the parts. It can change any part of what it made, not just the first part, so it can fix mistakes anywhere. The program also has a special way to keep trying without getting stuck, which helps it work faster. This way, it can make better things while using fewer tries, which is useful when you have limited time or computer power. The program works like a game where you hide some letters and then reveal them one by one, checking each step. It can reveal and edit any hidden piece, not just the ones at the start. The friend’s checks guide the program to pick the best possible result. By using this method, the program can improve its output efficiently, making it useful for creating high-quality text or images.

## For a technical reader
The method builds on masked generation by adding value-guided re-masking to steer partial states toward higher reward. It generalizes the autoregressive backtracking chain to arbitrary masked-state graphs, allowing token revelation and revision at any position. A momentum lift is incorporated to smooth dynamics while preserving the target distribution. Theoretical analysis confirms the reward-tilted leaf law, non-negligible mass on complete outputs, and robustness to verifier errors.

## Problem
When generative models assign low probability to reward-satisfying samples, inference-time selection methods such as best-of-N become sample-inefficient, limiting performance gains. The challenge is to improve test-time scaling while maintaining efficiency and correctness.

## Method
The approach augments masked generation with value-guided re-masking, extending a backtracking chain to arbitrary masked-state graphs and adding a momentum lift that reduces oscillations while preserving the target distribution. It uses local reveal and re-mask moves to steer partial states toward higher reward and can edit low-reward samples from any position.

## Results
The approach achieves a better quality-cost trade-off compared to reference sampling, best-of-N, and forward-only value-guided rollout.

## Contributions
The work introduces a reward-guided discrete diffusion sampler that augments masked generation with value-guided re-masking, extends the backtracking chain to any-order masked-state graphs, and adds a flow-cancelled momentum lift. It also proves theoretical properties such as the reward-tilted leaf law and robustness to verifier error.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155107)
