potentialpaper

Order-Marginalized Scoring for Masked Diffusion Models

Arthur Deng, Sebastian Thrun

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Any-order autoregressive models are trained under an objective that is symmetric over decoding orders, but at sampling time a single order must be committed to. A common task with such models is to evaluate the log-probability of a candidate sequence. We show that this evaluation depends substantially on the decoding order used to compute it: for a model trained on a synthetic grammar, different orders yield different most-likely completions; for a model pre-trained on OpenWebText, different orders rank the same candidates differently on most inputs. We characterize this phenomenon and propose Order-Marginalized Scoring (OMS), a simple Monte Carlo estimator of the per-order log-probability averaged over decoding orders. We use it in two algorithms: a reranker over a fixed candidate pool, and a stochastic best-of-N decoder. OMS helps on two structurally order-agnostic tasks: on Sudoku puzzles with 28 given digits, we show that OMS improves exact-match accuracy from 67% with single-order scoring to 85%; on a zero-shot protein-stability benchmark, OMS improves the Spearman correlation between log-probability scores and experimental folding stabilities for 335 out of 337 protein families. On text infilling, however, OMS does not improve accuracy over reranking with a single random order. These results suggest that OMS is a useful alternative to per-order scoring for order-agnostic tasks where log-likelihood tracks the quantity of interest.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Initial Metareview

While reviewers appreciate the theoretical analysis and the identification of the order-dependence phenomenon, initial scores (3, 3, 4) lean toward rejection. The rebuttal must address these concerns:

Scope Claims & Assumption Violations: The title and abstract overclaim applicability to general Masked Diffusion Models (MDMs). The mathematical framework strictly relies on single-token unmasking (Any-Order Autoregressive Models), yet modern MDMs rely on parallel decoding. Consequently, the pretrained model used in the text experiments violates the core theoretical assumptions (Reviewer kfhy).

Compute Costs & Misleading Baselines: The headline performance gains on Sudoku (65.3% to 94.7%) are misleading because they compare OMS-bon, which requires more compute, against a deterministic single-rollout baseline. Proper compute-matched comparisons against beam search or single-order best-of-N baselines across the full N range are missing and necessary to justify the computational overhead (Reviewers kfhy, 1yZp, 5KV6).

Theoretical Gaps & Text Evaluation: The theoretical bounds depend heavily on unmeasured parameters (ϵ\epsilon and the candidate gap Δ\Delta), making the theory difficult to practically validate. Furthermore, the method fails to improve any downstream text metrics; the text experiments merely document the order-disagreement phenomenon (Reviewers 1yZp, 5KV6).

Final Metareview:

This submission identifies a previously undocumented phenomenon: per-order log-probability rankings for any-order autoregressive / masked diffusion models disagree substantially across decoding orders, despite an order-symmetric training objective. The theoretical contribution (Propositions 1–4, particularly the KL-barycenter characterization of μ̃ and the argmax-pathology construction) is interesting, as agreed by the reviewers.

The initial round of reviews identified that the submission's headline numbers were confounded: the Sudoku 65.3%→94.7% figure and the protein +0.07 Spearman gain both conflated order-marginalization with additional inference-time compute or with fixed-vs-random order effects. The rebuttal directly engaged with this, and supplied compute-matched baselines showing a smaller but still statistically robust effect. The rebuttal also added a negative but informative text-infilling result consistent with the paper's own theory.

All three reviewers raised their scores to 4 (borderline accept) on this basis. I agree with the reviewers that the paper clears the bar, but the acceptance is contingent on the following, which are not optional revisions:

  1. The abstract must be rewritten to state the compute-matched Sudoku margin and the marginalization-only protein margin, not the uncorrected 65.3%→94.7% and +0.07 figures.

  2. Scope should be restated precisely as any-order autoregressive models (single-token unmasking), with the parallel-decoding extension presented as a theoretical sketch for future work, per the reviewer's request ("The revised paper should still clearly define the class of parallel-decoding schedules covered by the analysis").

  3. The corrected compute-cost accounting (Section 5.2) and the M-sufficiency ablation (M=4, not 16) must replace/augment the original figures in the camera-ready.

  4. The text-infilling negative result should be integrated into the main paper rather than left as a rebuttal-only addendum, since it materially sharpens the paper's scope claim.

Final justification

Given the observed phenomenon, the theoretical contribution, and the authors' engagement in the rebuttal (weighed against the overclaimed numbers in the original submission), I recommend accept, contingent on the camera-ready incorporating the corrections/additions above.

Area Chair ryoc · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Initial Metareview

While reviewers appreciate the theoretical analysis and the identification of the order-dependence phenomenon, initial scores (3, 3, 4) lean toward rejection. The rebuttal must address these concerns:

Scope Claims & Assumption Violations: The title and abstract overclaim applicability to general Masked Diffusion Models (MDMs). The mathematical framework strictly relies on single-token unmasking (Any-Order Autoregressive Models), yet modern MDMs rely on parallel decoding. Consequently, the pretrained model used in the text experiments violates the core theoretical assumptions (Reviewer kfhy).

Compute Costs & Misleading Baselines: The headline performance gains on Sudoku (65.3% to 94.7%) are misleading because they compare OMS-bon, which requires more compute, against a deterministic single-rollout baseline. Proper compute-matched comparisons against beam search or single-order best-of-N baselines across the full N range are missing and necessary to justify the computational overhead (Reviewers kfhy, 1yZp, 5KV6).

Theoretical Gaps & Text Evaluation: The theoretical bounds depend heavily on unmeasured parameters (ϵ\epsilon and the candidate gap Δ\Delta), making the theory difficult to practically validate. Furthermore, the method fails to improve any downstream text metrics; the text experiments merely document the order-disagreement phenomenon (Reviewers 1yZp, 5KV6).

Final Metareview:

This submission identifies a previously undocumented phenomenon: per-order log-probability rankings for any-order autoregressive / masked diffusion models disagree substantially across decoding orders, despite an order-symmetric training objective. The theoretical contribution (Propositions 1–4, particularly the KL-barycenter characterization of μ̃ and the argmax-pathology construction) is interesting, as agreed by the reviewers.

The initial round of reviews identified that the submission's headline numbers were confounded: the Sudoku 65.3%→94.7% figure and the protein +0.07 Spearman gain both conflated order-marginalization with additional inference-time compute or with fixed-vs-random order effects. The rebuttal directly engaged with this, and supplied compute-matched baselines showing a smaller but still statistically robust effect. The rebuttal also added a negative but informative text-infilling result consistent with the paper's own theory.

All three reviewers raised their scores to 4 (borderline accept) on this basis. I agree with the reviewers that the paper clears the bar, but the acceptance is contingent on the following, which are not optional revisions:

  1. The abstract must be rewritten to state the compute-matched Sudoku margin and the marginalization-only protein margin, not the uncorrected 65.3%→94.7% and +0.07 figures.

  2. Scope should be restated precisely as any-order autoregressive models (single-token unmasking), with the parallel-decoding extension presented as a theoretical sketch for future work, per the reviewer's request ("The revised paper should still clearly define the class of parallel-decoding schedules covered by the analysis").

  3. The corrected compute-cost accounting (Section 5.2) and the M-sufficiency ablation (M=4, not 16) must replace/augment the original figures in the camera-ready.

  4. The text-infilling negative result should be integrated into the main paper rather than left as a rebuttal-only addendum, since it materially sharpens the paper's scope claim.

Final justification

Given the observed phenomenon, the theoretical contribution, and the authors' engagement in the rebuttal (weighed against the overclaimed numbers in the original submission), I recommend accept, contingent on the camera-ready incorporating the corrections/additions above.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair ryoc,

Thank you for summarizing the major concerns from the reviewers. We have provided additional theoretical analysis and experiments to address these concerns. We believe that the additional results have fully addressed the concerns.

We summarize our rebuttals below:

Scope Claims & Assumption Violations:

  • We have provided additional theoretical analysis (response to reviewer kfhy) to extend the framework to parallel decoding for general Masked Diffusion Models. We will improve the clarity in the writing to communicate that the text experiments use single-token unmasking.

  • Despite additional analysis extending the framework to allow parallel decoding, we agree with the AC and reviewers that the title and abstract should focus on any-order autoregressive models, and will update the manuscript accordingly.

Compute Costs & Misleading Baselines:

  • We believe that these concerns have been fully addressed in compute-matched baselines (response to reviewer 1yZp). We see that the improvement (65% to 92%) is reproduced for a compute-matched beam search baseline. Moreover, OMS-bon beats Best-of-N sampling (81% to 92%). The improvement is smaller but remains statistically significant.

Theoretical gaps & Text Evaluation:

  • We provide measurements for the parameters ε\varepsilon and Δ\Delta in our response to reviewer 1yZp. This has helped provide quantitative characterization of the looseness of the Hoeffding-derived bounds.

  • We have added text evaluation. The experiment serves as a useful negative result characterizing the limitations of our findings, and provides evidence for the claim that OMS helps most in problems that are inherently order-invariant (e.g. sudoku, proteins), and provide less benefits in problems that have a canonical order (text).

We thank the AC and reviewers. We believe that addressing these concerns has meaningfully strengthened the paper.

In light of these changes and the originality of our finding, we believe that our submission is a meaningful contribution to the Neurips community and hope the AC considers the paper a strong candidate for acceptance at Neurips 2026.

Reviewer 5KV6OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper addresses a fundamental inconsistency in how Masked Diffusion Models (MDMs) are evaluated during inference. While MDMs are trained on an objective that averages across all possible decoding orders, inference and scoring typically force the model to commit to a single decoding order. To address this problem, the paper proposes Order-Marginalized Scoring (OMS), a Monte Carlo estimator of the expected log-likelihood averaged over decoding orders. Based on this scoring criterion, the authors introduce two inference-time algorithms: OMS-rerank, which reranks a fixed candidate pool using the order-marginalized score, and OMS-bon, a best-of-N decoding strategy that combines stochastic sampling with OMS-based reranking. The paper also provides theoretical analysis, including characterizations of the order-marginalized objective, bounds on the discrepancy between per-order and order-marginalized ranking, and sample complexity guarantees for Monte Carlo estimation. Experiments are conducted on a synthetic PCFG dataset, Sudoku completion, and protein sequence evaluation. The results demonstrate that decoding-order choices can significantly affect sequence ranking, while OMS consistently reduces this sensitivity. In particular, OMS improves reranking quality on PCFG data, substantially boosts Sudoku completion accuracy when integrated into best-of-N decoding, and increases the correlation between model likelihood and experimental protein stability in a zero-shot protein design benchmark.

Strengths and weaknesses

Strengths

Originality & Significance: The paper tackles a critical discrepancy between the training objective (which is order-marginalized) and standard inference scoring (which relies on a single order). The proposed OMS is a natural, theoretically grounded, and highly effective solution that bridges this gap. The significance is particularly high for downstream applications like protein design, where reliable zero-shot scoring is crucial.

Quality (Theoretical Depth): The theoretical analysis is rigorous and insightful. While the core observation (different orders yield different scores) seems trivial, the authors dive deep to prove non-trivial properties. Proposition 1 is particularly striking, demonstrating that even with vanishing per-order log-probability divergence (ε→0), the per-order argmaxes can be arbitrarily far apart in Hamming distance. This perfectly illustrates why simply picking a "good" order is fundamentally flawed.

Clarity: The paper is exceptionally well-written. The narrative flows logically from identifying the empirical phenomenon to providing theoretical backing, and finally proposing practical algorithms (OMS-rerank and OMS-bon).

Weaknesses

Compute Cost Justification: The authors repeatedly claim that OMS incurs a "small additional inference cost." However, this claim lacks empirical backing in terms of actual wall-clock time. In the Sudoku experiment (OMS-bon), the theoretical forward pass cost is 17N× compared to a single-order baseline. While the accuracy gains are massive (e.g., closing the gap to the oracle), the trade-off between compute and performance needs a more nuanced discussion. Dismissing a 17N× cost as "small" without providing wall-clock benchmarks or discussing the break-even points for different task difficulties weakens the practical argument.

Hyperparameter M Selection: The choice of the Monte Carlo sample size M feels abrupt in the main experiments. In the Sudoku task, M=16 is used directly, and in the Megascale (Protein) task, M=8 is used. While Section 5.1 (PCFG) provides an ablation showing performance saturation at M=8, it is not entirely clear why M∈{8,16} is universally sufficient across vastly different tasks and model scales. The transition from the theoretical sample complexity bound (Proposition 4) to these fixed empirical choices lacks direct justification for the large-scale tasks.

Presentation Details: There are minor presentation flaws that affect clarity. For instance, the caption for Figure 3 appears to be cut off or incomplete in the provided PDF. Additionally, the Appendix seems to contain relevant proofs or details but is not explicitly referenced in the main text where it should be (e.g., when discussing the theoretical propositions).

Questions
  1. Wall-clock time and Compute Trade-off: You claim OMS has a "small additional inference cost." Could you provide the actual wall-clock time comparison between the single-order baselines and OMS-bon/rerank for the datasets? Given the 17N× forward pass cost for OMS-bon, under what specific conditions (e.g., task difficulty, candidate pool size, or required accuracy threshold) do you consider this compute-accuracy trade-off to be practically justified over simpler heuristic rerankers?

  2. Justification for fixed M in Large-scale Tasks: While the PCFG ablation shows performance saturation at M=8, can you provide a brief ablation or theoretical justification for why M=16 (Sudoku) and M=8 (Megascale) are strictly sufficient for these large-scale, complex tasks? Would an adaptive M (e.g., dynamically increasing M when the variance across orders for a specific candidate is high) yield better efficiency?

  3. Applicability to L2R-privileged Tasks: In the discussion, you note that OMS is suited for tasks where "no decoding order is structurally privileged." Have you conducted any preliminary experiments on tasks like text infilling or code completion where Left-to-Right (L2R) has a strong structural advantage? If not, how would you hypothesize OMS performs when the disagreement ε is highly asymmetric across orders?

Limitations

yes

Final justification

Thank you to the authors for their detailed rebuttal and clarifications. I have carefully read the response and appreciate the additional explanations provided. After considering the rebuttal, I believe my main concerns have been adequately addressed to the extent possible, and I decide to maintain my original score.

Formatting concerns

No concerns.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your review! We appreciate you noting that the paper tackles a critical discrepancy between the order-marginalized training objective and single-order inference scoring, that OMS is a natural and theoretically grounded solution with high significance for protein design, that the theoretical analysis is rigorous — in particular that Proposition 1 shows why simply picking a "good" order is fundamentally flawed — and that the paper is well-written.

You also note several weaknesses, specifically that our "small additional inference cost" claim has no wall-clock backing and that a 17N×17N\times cost needs a break-even discussion, that M∈{8,16}M \in \{8,16\} is chosen abruptly and unjustified at scale, and that Figure 3's caption is cut off and the appendix is not cross-referenced.

We strengthen our submission with the results below. Checking the cost claim also turned up an error in our own accounting, which we report in full.

Compute cost

Section 5.2's formula NT(1+M)NT(1{+}M) overstates what OMS spends. A rollout unmasks T−∣prompt∣=53T - \lvert \text{prompt} \rvert = 53 positions, not T=81T=81; and Algorithm 2 merges duplicate completions before reranking, so only the UU distinct candidates are scored. The exact cost is

N⋅53+U⋅M⋅81N \cdot 53 + U \cdot M \cdot 81

where U≪NU \ll N. Measured on a single RTX 5090:

hint NN MM UU (distinct) s/puzzle true forward passes ×\times single-order
28 128 16 26.9 0.57 45.3k 559$\times$
31 512 16 30.6 0.79 81.1k 1,001$\times$
28 1024 16 100.5 2.02 213k 2,632$\times$

The whole sweep runs at 0.21–2.02 s/puzzle, and the configuration behind the headline number is 1,001$\times$ a single-order decoder rather than 8,704$\times$. Our reply to 1yZp gives the full compute-matched comparison at all three hint levels: at equal or greater budget, beam search and single-order-scored best-of-NN both fall short of OMS-bon at every hint.

Choice of MM

Sudoku, hint=28, N=128N{=}128, n=100n{=}100, identical candidate pools across arms:

MM 1 2 4 8 16 32
exact-match 0.570 0.670 0.720 0.720 0.720 0.720
wall (s) 12.0 11.8 14.5 19.8 36.3 121.1

M=4M{=}4 and M=16M{=}16 give bit-identical per-puzzle outcomes at all six NN of the compute-matched sweep. Paired McNemar M=1→M=4M{=}1 \to M{=}4 is +15/−0+15/{-}0, p=6.1e-05p=6.1\text{e-}05. The Megascale sweep in our reply to 1yZp shows the same plateau on a different task and metric. We therefore change the recommended default from M=16M{=}16 to M=4M{=}4.

M=4M{=}4 is not universally sufficient. The ε\varepsilon/Δ\Delta table in our reply to 1yZp gives the smallest MM recovering the μ~\tilde\mu-argmax 95% of the time: 4 on PCFG, 2 on Sudoku, 4 on Megascale, but 24 on MDLM-OWT, whose pools are far more diverse. MM scales with candidate-pool diversity. On adaptive MM: Proposition 4 instantiated with the per-example ε^(x)\hat\varepsilon(x), which we now measure, gives a stopping rule — keep increasing MM while across-order variance is large relative to the pool gap. We present it as a proposal, since optional stopping escapes the fixed-MM Hoeffding analysis.

L2R-privileged tasks Thank you for suggesting this. We agree it wold be interesting to see if OMS helps and have now run the experiment on text infilling. 300 passages from wikitext-103 validation, a 4-token span masked with 24 tokens of context on each side, identical candidate pools across arms, scored against the ground-truth span so degenerate output scores zero. Natural language retains a strong left-to-right dependence even when both sides are pinned, so this is precisely the regime where we predicted OMS should help least.

selection rule fwd/example exact match F1
random pick (no reranking) 256 0.005 0.204
best-of-NN, single-order scoring 468 0.054 0.297
OMS-bon, M=4M{=}4 1104 0.054 0.300
OMS-bon, M=16M{=}16 3649 0.057 0.295
oracle (best in pool) 256 0.150 0.575

The prediction holds and we report it as a negative result. Paired over the 300 shared pools, M=4M{=}4 gives +0.0028+0.0028 F1 (95% CI [-0.0049, +0.0105]) at 2.4$\times$ the compute and M=16M{=}16 gives −0.0022-0.0022 at 7.8$\times$: order-marginalization buys nothing where an order is privileged. Reranking at all is still worth +0.094+0.094 F1 over an unranked sample, and the reranker captures only 26% of the gap to its own pool oracle, so what limits text here is the scoring rule's coupling to the metric rather than order-dependence.

Presentation

Both fixed. Figure 3's caption is repaired and the main text now cross-references the appendix at each proposition. We also caught an inconsistent attribution of top-prob (Section 5.2 cites Zheng et al. where Sections 2 and 4 and Table 2 cite Kim et al.), and a notation slip where ε\varepsilon is described as the per-example deviation after Section 3.1 defines that as ε(x)\varepsilon(x).

Where this goes in the manuscript

The corrected formula and wall-clock table replace the cost discussion in Section 5.2, with timings in Appendix C. The MM ablation and the M=4M{=}4 default go into Section 5.2 and Appendix C, and adaptive MM into the Section 6 discussion. The corrected Megascale statement goes into Section 5.3.

Thank you for pointing out these weaknesses. We appreciate your positive review!

Reviewer 1yZpOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors observe that for masked diffusion / any-order autoregressive models, scoring a candidate's log-probability (not just sampling) depends on the decoding order, even though training averages over orders. They propose Order-Marginalized Scoring (OMS), a Monte-Carlo estimate of μ̃(x) = E_σ[log p_σ(x)], used in a reranker (OMS-rerank) and a best-of-N decoder (OMS-bon). Theoretical explanations are provided to support the paper's idea. The experiments cover a synthetic PCFG, Sudoku, and Megascale protein stability.

Strengths and weaknesses

Strengths:

  1. The framing of order-for-scoring is clean and well-motivated, as scoring a fixed candidate is a real operation (zero-shot protein fitness, reranking), and its order-sensitivity is non-obvious. The mathematical explanations provided by the authors to support the claims are sound.
  2. The authors are honest about the scope, report error bars correctly on every table, and include the right ablation (Table 4). Replacing the μ̃-reranker with single-order scoring drops Sudoku accuracy 0.67→0.36, and replacing the top-prob proposal with random order collapses it to 0.00.

Weaknesses:

  1. The headline number oversells OMS. 65.3% → 94.7% on Sudoku compares OMS-bon (N=512 × M=16 ≈ 8,700× compute) against a deterministic single-rollout baseline. Most of that gap is best-of-N sampling, not order-marginalization. OMS's true marginal contribution is the appendix ablation (0.36 → 0.67), which is far smaller and buried. The abstract number is also the easiest hint level; the hardest is 16.0% → 62.7%.
  2. I think ε is never measured, so the theory is just decorative. Propositions 2 and 4 are entirely parameterized by ε = sup|log p_σ − μ̃| and the pool gap, yet neither is ever estimated. M=8–16 suffice and are consistent with Prop 4, as mentioned in the paper, but not shown. The flatness in M (0.580 at M=2 → 0.583 at M=16) is offered as support but is equally consistent with the estimator saturating trivially.
  3. OMS-bon is never compared to best-of-N with single-order scoring across the full N range, or to beam search at equal forward-pass budget. So you can't conclude it's the best use of that compute.
  4. OMS never improves a text metric. Every win is on non-text, deliberately order-agnostic tasks. And the text phenomenon is confounded by beam search. Disagreement grows when beam width doubles (Spearman 0.65→0.57), which is the opposite of what you'd expect if it were pure model order-dependence rather than optimization error.
Questions
  1. What are the actual ε and gap ∆ per task, and do the chosen M match Prop 4? Without these, the theory predicts nothing testable.
  2. How does OMS-bon compare to single-order-scored best-of-N (full N range) and to beam search at equal compute?
  3. Does OMS improve any downstream text metric? You document the phenomenon in text, but never win there.
  4. On protein, how does OMS compare to a single deterministic order rather than a random one?
Limitations

The authors didn't address unmeasured ε/∆, no compute-matched baseline, the beam-search confound in the text phenomenon, and no comparison to alternative scoring rules.

Final justification

Thanks to the authors for the detailed reply. You clearly put real work into this, and it addresses most of what I raised, so I'm raising my score to 3 to 4.

The compute-matched Sudoku table is what I was after. With best-of-N and beam given the same budget, I appreciate you stating outright that the real margin is +0.11 to +0.21, not the 65->95 framing. What convinced me is that OMS-bon still wins at lower compute (0.920 vs 0.813 at hint=31). Same reaction to the ε/Δ measurements. I'd much rather have the numbers and the admission that Prop 4 is loose than a hand-wave.

The protein comparison against a fixed order is the one I'm glad you ran, since it changes the reading: most of the gain (+0.071 of +0.082) is fixed-vs-random order, and marginalization itself buys +0.011. I'm glad you'll restate the abstract at that size. And the text infilling result settles my Q3 cleanly, even as a negative.

Two things I don't think are fully closed. I still don't see why the pool-ranking Spearman drops (0.65 -> 0.57) as the beam widens; measuring ε convinces me the disagreement is real, but that trend looks more like search error than cleaner per-order modes, and a sentence or two would help. And there's still no comparison against the other post-hoc scoring rules you cite (entropy, stability, lookahead), much of it is concurrent, so I'm not weighting it heavily, but OMS is currently only shown to beat single-order, beam, and best-of-N.

Interesting phenomenon, clean theory, and a rebuttal that was honest about the wins shrinking once things are baselined properly. That's why I'm comfortable at 4. It's also why I'm not going higher, since after the corrections, the method's own contribution over a well-tuned baseline is fairly modest, and a couple of the phenomenon-level questions are still open.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your review! We appreciate you noting that the framing of order-for-scoring is clean and well-motivated.

You also note several weaknesses, specifically that the headline Sudoku number is mostly best-of-NN rather than order-marginalization, that ε\varepsilon and Δ\Delta are never measured, that we never compare against single-order-scored best-of-NN across the full NN range or beam search at matched compute, and that OMS never improves a downstream text metric.

We strengthen our submission by including these results below, all newly run for this rebuttal.

Compute-matched Sudoku, all three hint levels

n=150n{=}150 puzzles, identical puzzles across every arm, so all comparisons are paired. Each cell gives exact-match and, in parentheses, true forward passes per puzzle.

Method hint=25 hint=28 hint=31
top-prob, single order 0.160$\pm$0.030 (56) 0.333$\pm$0.038 (53) 0.653$\pm$0.039 (50)
best-of-NN, single-order scoring, N=1024N{=}1024 0.460$\pm$0.041 (68k) 0.567$\pm$0.040 (62k) 0.813$\pm$0.032 (55k)
best-of-NN, single-order scoring, N=2560N{=}2560 0.420$\pm$0.040 (162k) 0.587$\pm$0.040 (150k) 0.753$\pm$0.035 (135k)
beam search, B=1024B{=}1024 0.193$\pm$0.032 (54k) 0.353$\pm$0.039 (51k) 0.667$\pm$0.038 (48k)
beam search, B=2560B{=}2560 0.193$\pm$0.032 (134k) 0.353$\pm$0.039 (126k) 0.667$\pm$0.038 (119k)
OMS-bon, N=128N{=}128, M=4M{=}4 (ours) 0.527$\pm$0.041 (19k) 0.713$\pm$0.037 (16k) 0.893$\pm$0.025 (11k)
OMS-bon, N=512N{=}512, M=4M{=}4 (ours) 0.600$\pm$0.040 (56k) 0.800$\pm$0.033 (48k) 0.920$\pm$0.022 (35k)

Paired McNemar against OMS-bon N=512N{=}512: vs beam +38/−0+38/{-}0 to +67/−0+67/{-}0 (p≤3.6e-12p \le 3.6\text{e-}12), vs single-order-scored best-of-NN +18/−2+18/{-}2 to +44/−12+44/{-}12 (p≤2.0e-04p \le 2.0\text{e-}04). You are right that the baselines are much stronger once properly funded: best-of-NN reaches 0.813 at hint=31 where the single-order decoder gets 0.653. The correct margin is +0.11+0.11 to +0.21+0.21 over the best compute-matched baseline, not 65.3%→94.7%65.3\% \to 94.7\%, and we will restate it at that size. Beam search is bit-identical at B=1024B{=}1024 and B=2560B{=}2560 at every hint level.

ε\varepsilon and Δ\Delta measured

setting ε^/∣μ~∣\hat\varepsilon/\lvert\tilde\mu\rvert Std across orders (nats) Δ^\hat\Delta (median) Prop. 4's MM measured MM
PCFG 5.1% 0.53 1.2×10−21.2\times10^{-2} 1.4×1061.4\times10^{6} 4
Sudoku 18.1% 5.48 1.3×10−21.3\times10^{-2} 1.5×1081.5\times10^{8} 2
Megascale 3.0% 1.25 6.2×10−66.2\times10^{-6} 3.4×10133.4\times10^{13} 4
MDLM-OWT 11.5% 4.31 1.1×10−11.1\times10^{-1} 7.0×1057.0\times10^{5} 24

Measured MM is the median over examples of the smallest MM whose MM-order estimate recovers the μ~\tilde\mu-argmax at least 95% of the time, the same quantity Proposition 4 bounds at δ=0.05\delta{=}0.05. Proposition 4's bound is loose by 4–13 orders of magnitude in all four settings, because Δ\Delta is a closest-pair gap and the bound pays to separate the two most nearly tied candidates, whose misranking costs Δ\Delta nats. In other words Prop 4's bounds are loose due to worst-case sample complexity. Proposition 2's 2ε2\varepsilon is in nats of the objective, where ε\varepsilon is 0.5–5.5 nats.

Protein, against a fixed deterministic order

One run over 32 shared orders, n=337n{=}337 wild-types, ±\pm bootstrap standard error from 10,00010{,}000 WT-level resamples as in Table 4. Enrichment@kk is the mean true stability of the kk top-ranked mutants, normalised so 0 is a random pick and 1 the oracle top kk.

Method mean ρ\rho enrich@5 enrich@10 enrich@20
Single random σ\sigma per mutant (baseline) +0.463$\pm$0.008 0.417$\pm$0.011 0.430$\pm$0.010 0.445$\pm$0.009
Fixed shared order, mean of 32 +0.534$\pm$0.009 0.451$\pm$0.011 0.463$\pm$0.010 0.476$\pm$0.010
OMS, M=4M{=}4 shared orders +0.542$\pm$0.009 0.458$\pm$0.012 0.471$\pm$0.010 0.483$\pm$0.010
OMS, M=8M{=}8 shared orders +0.544$\pm$0.009 0.461$\pm$0.012 0.473$\pm$0.010 0.483$\pm$0.010
OMS, M=16M{=}16 shared orders +0.544$\pm$0.009 0.462$\pm$0.012 0.474$\pm$0.011 0.484$\pm$0.010
OMS, M=32M{=}32 shared orders +0.545$\pm$0.009 0.463$\pm$0.012 0.474$\pm$0.011 0.485$\pm$0.010

Of the +0.082+0.082 Spearman OMS gains over our baseline, +0.071+0.071 is obtained by any single fixed order at 1/M1/M the cost. Order-marginalization's own contribution over an arbitrary fixed order is +0.011+0.011 Spearman (95% CI [+0.0106, +0.0116], better on 99.4% of 337 WTs) — smaller than our abstract implies, and we will restate it at that size. On enrichment the margin is +0.0124+0.0124, +0.0117+0.0117, +0.0092+0.0092 at k=5,10,20k=5,10,20, all with CIs excluding zero, and OMS beats all 32 individual fixed orders on both metrics. M=4M{=}4 captures +0.008+0.008 of the +0.011+0.011 and M=8M{=}8 onward is flat.

Downstream text metric: infilling

Ground truth is known, so degenerate output scores zero: 300 passages from wikitext-103 validation, a 4-token span masked with 24 tokens of context each side, no privileged decoding order, identical candidate pools across arms.

selection rule fwd/example exact match token acc F1
random pick (no reranking) 256 0.005 0.164 0.204
best-of-NN, single-order scoring 468 0.054 0.258 0.297
OMS-bon, M=4M{=}4 1104 0.054 0.264 0.300
OMS-bon, M=16M{=}16 3649 0.057 0.260 0.295
beam search, B=16B{=}16 64 0.043 0.237 0.289
beam search, B=256B{=}256 1024 0.043 0.240 0.292
oracle (best in pool) 256 0.150 0.530 0.575

OMS-bon does not beat best-of-NN here. Paired over the 300 shared pools, M=4M{=}4 gives +0.0028+0.0028 F1 (95% CI [-0.0049, +0.0105]) at 2.4$\times$ the compute; M=16M{=}16 gives −0.0022-0.0022 at 7.8$\times$. Reranking at all is worth +0.094+0.094 F1. We report this as a negative result and will state the scope claim — order-agnostic tasks where log-likelihood tracks the quantity of interest — in the abstract and introduction rather than the discussion.

Where this goes in the manuscript

The Sudoku table replaces Table 2 in Section 5.2, with the paired tests in Appendix C. The ε\varepsilon, Δ\Delta and MM table becomes a new subsection of Section 4 following Proposition 4. The protein results replace Table 4 in Section 5.3 with enrichment@kk added. The infilling experiment becomes a new subsection of Section 5. The corrected margin replaces the abstract's 65.3%→94.7%65.3\% \to 94.7\%.

Thank you for pointing out these weaknesses; we hope you consider raising your score!

Reviewer kfhyOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses a phenomenon where evaluating the log-probability of a candidate sequence depends heavily on the decoding order chosen. The authors demonstrate that per-order log-probability rankings on fixed candidate pools disagree on most inputs, showing this both on synthetic PCFG data and using a pre-trained model on OpenWebText. To resolve this inconsistency, the authors propose Order-Marginalized Scoring (OMS), which is a Monte-Carlo estimator of the order-marginalized log-likelihood. Practically, OMS is utilized as a reranker over a fixed candidate pool (OMS-rerank) and also within a stochastic best-of-N decoder (OMS-bon). The method demonstrates strong improvements in Sudoku completion and protein stability prediction.

Strengths and weaknesses

Strengths

  • The theoretical analysis is clean and highly interesting. Proposition 2 cleanly states the suboptimality of any single fixed-order reranker, which is a solid result. Proposition 3 explains why μ~\tilde{\mu} is a natural target for scoring, and Proposition 4 has valuable practical implications by proving that the number of required Monte Carlo samples only grows logarithmically in pool size.
  • The core observation that per-order log-probabilities frequently disagree on most inputs is a novel and interesting finding.
  • The experiments on closed-form PCFG, Sudoku, and protein stability reflect the identified phenomenon. The MC-corrected OMS significantly outperforms single-order heuristics, and the application to ProteinMPNN (which is an AO-ARM) is well aligned with the theoretical setup.

Weaknesses

  • I am mainly concerned with the title and abstract. The authors broadly claim to solve scoring for masked diffusion models (MDMs). However throughout the paper and the theorems, all results rely entirely on the assumption that samplers unmask one position per step. While Section 3.1 clarifies that Any-Order Autoregressive Models (AO-ARM) are the special case they work with, claiming this applies to general MDMs is an overclaim, especially since the majority of modern MDMs use parallel sampling rather than one-token-per-step decoding. As written, the paper's true scope seems to be "Order-Marginalized Scoring for Any-Order Autoregressive Models."
  • A direct consequence of the above is a violation of assumptions in the experiments. The pretrained MDM used in the text experiments (Sahoo et al. [20]) seems to utilize parallel decoding and is not an AO-ARM. Therefore, it is unclear if the results on this non-AO-ARM model actually reflect the mathematically identified phenomenon or is an artifact.
  • Computing the MC estimator for OMS can be costly. It is unclear if this cost is negligible or if the baseline comparisons are fair in terms of computational requirements.
Questions
  • How significant is the class of problems that is strictly order-agnostic? Only two practical tasks are presented, so including more tasks will help strengthen the significance of the contributions.
  • Can the authors generalize the formulation of order-marginalized log-likelihood and per-example order disagreement (Equation (3)) for general MDMs that may allow parallel decoding? If the authors can bridge this mathematical gap to properly cover models like the Sahoo et al. checkpoint, I am willing to raise my score.
  • What is the computational cost of the MC estimator? Please clarify if the baseline comparisons are fair in the sense that computational requirements are kept similar.
  • I am curious why per-order argmaxes disagree on most prompts as observed in Figure 1. Proposition 1 shows existence by constructing an AO-ARM, but whether this occurs frequently for standard AO-ARMs (or MDMs in general) is only shown empirically. Can the authors provide deeper intuition or analysis regarding why this systematic disagreement is so common.
Limitations

yes

Final justification

The ordered-set-partition extension, the parallel-schedule experiment, and the compute-matched Sudoku comparisons sufficiently address my main concerns. The new comparisons better separate the contribution of order marginalization from the gains due to best-of-N compute and appropriately correct the interpretation of the result. The revised paper should still clearly define the class of parallel-decoding schedules covered by the analysis. I therefore raise my score from 3 to 4.

Formatting concerns

I have not found any formatting concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the thoughtful feedback! We appreciate you pointing out the novelty and value of theoretical analysis. We agree with the suggestion to adjust the scope/framing of the claims and will revise the manuscript accordingly. We address the your concerns and questions below.

Violation of assumptions in the text experiment

While parallel decoding samplers are popular with models like Sahoo et al. [20], in our experiments we evaluate the checkpoint by revealing one position per forward pass under explicitly constructed permutations, so the current experimental setup matches the mathematical setup in equation (3).

Scope: Extending analysis to parallel decoding

Our analysis and framing can be generalized to show the same suboptimality of a single "order" for parallel decoding. We note that the core observation of the discrepancy between training time and evaluation time inconsistency does not change with the MDM we use in Sahoo et al. [20], which has the same training objective as an AO-ARM by minimizing −μ~-\tilde{\mu} in equation 3 (time-independent). To be consistent with the training objective, we still want to score with −μ~(x)-\tilde{\mu}(x) for a time independent MDM even if parallel decoding is used for sampling.

Nonetheless, the framework and propositions can be extended beyond permutations. Parallel decoding introduces an ordered set partition π=(B1,…,BK)\pi=(B_1,\dots,B_K) of the positions:

log⁡pπ(x)=∑k=1K∑j∈Bklog⁡pθ(xj∣xB<k)\log p_\pi(x) = \sum_{k=1}^{K} \sum_{j \in B_k} \log p_\theta(x_j \mid x_{B_{<k}})

where B<k=⋃l<kBlB_{<k} = \bigcup_{l<k} B_l.

Let ν\nu be a distribution over parallel decoding orders π\pi, we extend Equation (3) to

μ~ν(x)=Eπ∼νlog⁡pπ(x)\tilde\mu_\nu(x) = E_{\pi \sim \nu} \log p_\pi(x)
εν(x)=sup⁡π∈supp(ν)∣log⁡pπ(x)−μ~ν(x)∣\varepsilon_\nu(x) = \sup_{\pi \in \mathrm{supp}(\nu)} \lvert \log p_\pi(x) - \tilde\mu_\nu(x) \rvert

A permutation is the all-singleton partition, so ν=Unif(ST)\nu=\mathrm{Unif}(S_T) recovers the original Eq. (3).

We sketch the arguments for the propositions here and will add the full proofs in the appendix.

Propositions 2–4 hold with (μ~ν,εν)(\tilde\mu_\nu,\varepsilon_\nu) substituted. Their proofs use only a family {pπ}\{p_\pi\} indexed by π\pi, a measure on that index set, and the uniform deviation bound ∣log⁡pπ−μ~ν∣≤εν\lvert \log p_\pi - \tilde\mu_\nu \rvert \le \varepsilon_\nu. The proofs do not depend on permutation structure, the number of permutations, or exchangeability.

Proposition 1 In the two-position gadget of Appendix A, revealing ii then jj gives argmax (0,0)(0,0) and revealing jj then ii gives (1,1)(1,1). Revealing {i,j}\{i,j\} together means neither position conditions on the other, so each follows its own unconditional tilt and a third argmax (0,1)(0,1) appears. Across d/2d/2 gadgets this yields 3d/23^{d/2} distinct per-schedule argmaxes rather than 2d/22^{d/2}, all realized by two-block schedules, with pairwise Hamming distances now covering every value in {1,…,d}\{1,\dots,d\} — including odd ones, which permutations cannot produce.

The constant in the bound does change. Appendix A gets ε≤(d/2)α\varepsilon\le(d/2)\alpha because under permutations each gadget's contribution takes exactly two values, equiprobable under Unif(ST)\mathrm{Unif}(S_T), so μ~(g)\tilde\mu^{(g)} is their midpoint and the deviation is half the range. Under block schedules the contribution takes three values and μ~ν(g)\tilde\mu_\nu^{(g)} is a ν\nu-weighted average rather than a midpoint, so that step does not carry over and the constant is in general larger. What does survive is what the proposition needs: the three values coincide at α=0\alpha=0 and separate linearly in α\alpha, so each gadget deviates by O(α)O(\alpha) and εν=O(dα)\varepsilon_\nu=O(d\alpha). Hence εν↓0\varepsilon_\nu\downarrow0 still leaves the mode set intact, and that set is now strictly larger. Parallel decoding makes the pathology worse, which reinforces rather than weakens the paper's concern. (The paper's (d/2)α(d/2)\alpha is a statement about STS_T and is unaffected.)

We also measured this on the Sahoo et al. checkpoint. Scoring the same candidate pools under random block schedules π∼να,R\pi\sim\nu_{\alpha,R} drawn exactly as MDM's reverse process induces them (i.i.d. Uℓ∼Unif(0,1)U_\ell\sim\mathrm{Unif}(0,1) per position, cut at a uniform RR-step grid), against permutations on identical pools:

schedule mean half-range (nats) vs permutations
permutations (ε\varepsilon) 7.69 1.00$\times$
blocks, R=56R{=}56 9.26 1.20$\times$
blocks, R=28R{=}28 11.08 1.44$\times$
blocks, R=14R{=}14 14.20 1.85$\times$
blocks, R=7R{=}7 17.44 2.27$\times$
blocks, R=4R{=}4 30.46 3.96$\times$

Disagreement grows monotonically as decoding becomes more parallel, up to 3.96×3.96\times at R=4R{=}4. So the phenomenon is not an artifact of restricting to one-token-per-step decoding; it is larger in the parallel regime the reviewer asks about.

Intuition behind per-order argmax disagreements

One interpretation is that while the training objective optimizes the mean over different decoding orders, the loss does not penalize consistency between different orders (e.g. Varσlog⁡pσ(x)Var_\sigma \log p_\sigma(x)). As such, two models can have identical training losses but very different Varσlog⁡pσ(x)Var_\sigma \log p_\sigma(x).

Computational cost

We have added the additional compute-matched baselines to our results. Please see our response to reviewer 1yZp.

How significant is the strictly order-agnostic class?

Decoding order is a nuisance variable whenever the modelled object has no canonical linear reading order, e.g. a set, a graph, or a structurally indexed object rather than a stream. That covers constraint satisfaction and combinatorial layout (Sudoku, graph colouring, scheduling), structure-conditioned sequence design (inverse folding, our Megascale setting), molecular strings, tabular and knowledge-base completion, and fill-in-the-middle code editing.

We will include the additional theoretical analysis in section 3 and the appendix.

Thank you for pointing out these weaknesses; we hope addressing them has improved this submission!

Reviewer kfhy · CommentOpenReview ↗

Thank you for the detailed response. The ordered-set-partition extension and the additional compute-matched experiments addressed my main concerns, and I have raised my score from 3 to 4. I still encourage the authors to clearly state the class of parallel-decoding schedules covered by the analysis.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…