NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Quantifying and Optimizing Path Uncertainty in Masked Diffusion Models

Ziyu Chen, Xinbei Jiang, PENG SUN, Tao Lin

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion Language Model Decoding · Type: new method · Keywords: masked diffusion models, path uncertainty, denoising entropy, generation optimization, reasoning benchmarks, code generation

Summary

We introduce Denoising Entropy to quantify path uncertainty in Masked Diffusion Models and propose entropy-guided post-hoc selection and real-time guidance algorithms that improve generation quality on reasoning, planning, and code benchmarks.

Explained to a 5-year-old

Imagine a computer that draws pictures or writes words by taking many tiny steps, like building a tower with blocks. The computer can choose any order for those steps, and sometimes the order makes the final picture or text look weird. The researchers noticed that when the steps are uncertain, the final result can be low-quality or wrong. They created a new way to measure how uncertain those steps are, which they called Denoising Entropy. Using this measurement, the computer can decide which steps to take first or skip, to get a better outcome.

Explained to a 5-year-old, longer

Imagine a computer that draws pictures or writes words by taking many tiny steps, like building a tower with blocks. The computer can choose any order for those steps, and sometimes the order makes the final picture or text look weird. The researchers noticed that when the steps are uncertain, the final result can be low-quality or wrong. They created a new way to measure how uncertain those steps are, which they called Denoising Entropy. This measurement tells the computer how confident it is about each step as it goes along. Using this measurement, the computer can decide which steps to take first or skip, to get a better outcome. One method they built picks the best steps after the whole process is finished, like choosing the best blocks after building. Another method guides the computer in real time, adjusting the steps on the fly to stay on a good path. These two methods help the computer avoid uncertain steps that could ruin the result. As a result, the generated text or picture becomes clearer, more accurate, and more useful. This improvement is especially noticeable on hard tasks like solving puzzles, planning actions, and writing code. By turning uncertainty into a useful signal, the approach makes masked diffusion models more reliable and powerful.

For a technical reader

The paper identifies that the order of decoding steps in masked diffusion models significantly affects output quality due to accumulated uncertainty. It introduces a new metric, Denoising Entropy, to quantify this uncertainty and provides two practical algorithms: a post-hoc step selector and a real-time guidance scheme. Experiments on reasoning, planning, and code benchmarks show that using entropy to steer generation yields higher accuracy and better overall results.

Problem

Masked Diffusion Models generate outputs whose quality varies greatly depending on the order of decoding steps, making it difficult to reliably obtain high-quality results. This variability arises from cumulative predictive uncertainty along the generative path, which currently lacks a principled way to quantify and control.

Method

We define a computable uncertainty metric called Denoising Entropy that captures cumulative predictive uncertainty during generation. Using this metric, we develop two path-optimization strategies: a post-hoc selection of decoding steps and a real-time guidance scheme that steer the generation process toward lower uncertainty.

Results

The entropy-guided methods achieve significant improvements in generation quality and raise accuracy on reasoning, planning, and code benchmarks.

Contributions

We formalize the impact of decoding order on output quality, introduce a computable uncertainty metric, and provide two algorithmic strategies to optimize the generative path. This work turns uncertainty in masked diffusion models into a controllable asset for discovering high-quality solutions.

Practical relevance

The approach enables more reliable and higher-quality generation in masked diffusion models, benefiting applications that rely on accurate reasoning, planning, and code synthesis.

Research questions this paper is counted under

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