NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Order-Marginalized Scoring for Masked Diffusion Models

Arthur Deng, Sebastian Thrun

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Diffusion Language Model Decoding · Type: new method · Keywords: masked diffusion models, order-marginalized scoring, Monte-Carlo estimation, sequence ranking, puzzle solving, protein stability prediction

Summary

Order-Marginalized Scoring (OMS) provides a Monte-Carlo estimator of the order-marginalized log-likelihood for masked diffusion models, improving ranking and decoding performance on tasks like Sudoku and protein-stability prediction.

Explained to a 5-year-old

Some computer programs can make up sentences or puzzles using a special kind of model called a masked diffusion model. When they check how good a made-up answer is, they look at the order in which they guessed the pieces. Sometimes the order changes the score, so the program might think a good answer is bad. The researchers noticed this can cause the program to pick the wrong answer sometimes. They created a new way to average the scores over many possible orders so the program gets a more reliable answer. This helps the program solve puzzles like Sudoku and guess how stable proteins are more accurately.

Explained to a 5-year-old, longer

Imagine a robot that can write stories or solve puzzles by guessing letters or numbers one by one. It uses a special method called a masked diffusion model that tries many possible ways to fill in the blanks. When the robot wants to know how good its answer is, it looks at the order in which it guessed the pieces. Sometimes the order changes the score, so the robot might think a good answer is bad. The researchers saw that this order dependence made the robot’s choices inconsistent. They came up with a simple idea: instead of using just one order, they would average the scores over many random orders. This averaging is done by randomly picking different orders many times and then taking the average score. By using this average, the robot gets a more reliable measure of how good its answer really is. With this better measure, the robot can rank different possible answers more accurately. It also helps the robot choose the best answer when solving puzzles like Sudoku. Additionally, it improves the robot’s ability to predict how stable a protein will be based on its sequence. Overall, this new averaging technique makes the robot’s puzzle-solving and prediction tasks work better.

For a technical reader

Masked diffusion models generate sequences by iteratively filling masked positions, but the training objective treats all possible orders of filling equally. At inference, however, a single order is used, causing the log-probability of a candidate sequence to vary with that order. The paper proposes averaging log-probabilities over many random orders via a Monte-Carlo estimator, providing a more stable, order-agnostic score. This estimator is applied both to rerank candidate pools and to guide a stochastic decoder that adaptively selects positions and re-ranks using the averaged score, yielding significant improvements on puzzle solving and protein-stability prediction.

Problem

Masked diffusion models are trained to be order-agnostic, yet evaluating the log-probability of a candidate sequence depends on the chosen decoding order, leading to inconsistent rankings. This makes it difficult to reliably use these models for tasks that require order-independent scoring.

Method

The approach estimates the order-marginalized log-likelihood by averaging log-probabilities over randomly sampled decoding orders using a Monte-Carlo estimator. This estimator is then used to rerank candidate sequences and to guide a stochastic best-of-N decoder that adaptively selects positions and re-ranks with the estimated score.

Results

On Sudoku, the stochastic decoder raises exact-match accuracy from 65.3% to 94.7%, and on the protein-stability benchmark the reranker improves Spearman correlation by 0.07 over per-order baselines.

Contributions

The paper identifies a systematic order dependence in masked diffusion model scoring and proposes a Monte-Carlo estimator that yields order-marginalized log-likelihoods. It demonstrates substantial gains on puzzle solving and protein-stability prediction using this estimator.

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