Order-Marginalized Scoring for Masked Diffusion Models
Arthur Deng, Sebastian Thrun
NeurIPS 2026
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- 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 ( and the candidate gap ), 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:
-
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.
-
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").
-
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.
-
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.
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 ( and the candidate gap ), 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:
-
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.
-
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").
-
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.
-
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
- 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
-
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?
-
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?
-
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
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 cost needs a break-even discussion, that 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 overstates what OMS spends. A rollout unmasks positions, not ; and Algorithm 2 merges duplicate completions before reranking, so only the distinct candidates are scored. The exact cost is
where . Measured on a single RTX 5090:
| hint | (distinct) | s/puzzle | true forward passes | 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- both fall short of OMS-bon at every hint.
Choice of
Sudoku, hint=28, , , identical candidate pools across arms:
| 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 |
and give bit-identical per-puzzle outcomes at all six of the compute-matched sweep. Paired McNemar is , . 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 to .
is not universally sufficient. The / table in our reply to 1yZp gives the smallest recovering the -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. scales with candidate-pool diversity. On adaptive : Proposition 4 instantiated with the per-example , which we now measure, gives a stopping rule — keep increasing while across-order variance is large relative to the pool gap. We present it as a proposal, since optional stopping escapes the fixed- 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-, single-order scoring | 468 | 0.054 | 0.297 |
| OMS-bon, | 1104 | 0.054 | 0.300 |
| OMS-bon, | 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, gives F1 (95% CI [-0.0049, +0.0105]) at 2.4$\times$ the compute and gives at 7.8$\times$: order-marginalization buys nothing where an order is privileged. Reranking at all is still worth 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 is described as the per-example deviation after Section 3.1 defines that as .
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 ablation and the default go into Section 5.2 and Appendix C, and adaptive 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!
- 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:
- 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.
- 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:
- 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%.
- 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.
- 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.
- 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
- What are the actual ε and gap ∆ per task, and do the chosen M match Prop 4? Without these, the theory predicts nothing testable.
- How does OMS-bon compare to single-order-scored best-of-N (full N range) and to beam search at equal compute?
- Does OMS improve any downstream text metric? You document the phenomenon in text, but never win there.
- 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
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- rather than order-marginalization, that and are never measured, that we never compare against single-order-scored best-of- across the full 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
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-, single-order scoring, | 0.460$\pm$0.041 (68k) | 0.567$\pm$0.040 (62k) | 0.813$\pm$0.032 (55k) |
| best-of-, single-order scoring, | 0.420$\pm$0.040 (162k) | 0.587$\pm$0.040 (150k) | 0.753$\pm$0.035 (135k) |
| beam search, | 0.193$\pm$0.032 (54k) | 0.353$\pm$0.039 (51k) | 0.667$\pm$0.038 (48k) |
| beam search, | 0.193$\pm$0.032 (134k) | 0.353$\pm$0.039 (126k) | 0.667$\pm$0.038 (119k) |
| OMS-bon, , (ours) | 0.527$\pm$0.041 (19k) | 0.713$\pm$0.037 (16k) | 0.893$\pm$0.025 (11k) |
| OMS-bon, , (ours) | 0.600$\pm$0.040 (56k) | 0.800$\pm$0.033 (48k) | 0.920$\pm$0.022 (35k) |
Paired McNemar against OMS-bon : vs beam to (), vs single-order-scored best-of- to (). You are right that the baselines are much stronger once properly funded: best-of- reaches 0.813 at hint=31 where the single-order decoder gets 0.653. The correct margin is to over the best compute-matched baseline, not , and we will restate it at that size. Beam search is bit-identical at and at every hint level.
and measured
| setting | Std across orders (nats) | (median) | Prop. 4's | measured | |
|---|---|---|---|---|---|
| PCFG | 5.1% | 0.53 | 4 | ||
| Sudoku | 18.1% | 5.48 | 2 | ||
| Megascale | 3.0% | 1.25 | 4 | ||
| MDLM-OWT | 11.5% | 4.31 | 24 |
Measured is the median over examples of the smallest whose -order estimate recovers the -argmax at least 95% of the time, the same quantity Proposition 4 bounds at . Proposition 4's bound is loose by 4–13 orders of magnitude in all four settings, because is a closest-pair gap and the bound pays to separate the two most nearly tied candidates, whose misranking costs nats. In other words Prop 4's bounds are loose due to worst-case sample complexity. Proposition 2's is in nats of the objective, where is 0.5–5.5 nats.
Protein, against a fixed deterministic order
One run over 32 shared orders, wild-types, bootstrap standard error from WT-level resamples as in Table 4. Enrichment@ is the mean true stability of the top-ranked mutants, normalised so 0 is a random pick and 1 the oracle top .
| Method | mean | enrich@5 | enrich@10 | enrich@20 |
|---|---|---|---|---|
| Single random 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, shared orders | +0.542$\pm$0.009 | 0.458$\pm$0.012 | 0.471$\pm$0.010 | 0.483$\pm$0.010 |
| OMS, shared orders | +0.544$\pm$0.009 | 0.461$\pm$0.012 | 0.473$\pm$0.010 | 0.483$\pm$0.010 |
| OMS, shared orders | +0.544$\pm$0.009 | 0.462$\pm$0.012 | 0.474$\pm$0.011 | 0.484$\pm$0.010 |
| OMS, shared orders | +0.545$\pm$0.009 | 0.463$\pm$0.012 | 0.474$\pm$0.011 | 0.485$\pm$0.010 |
Of the Spearman OMS gains over our baseline, is obtained by any single fixed order at the cost. Order-marginalization's own contribution over an arbitrary fixed order is 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 , , at , all with CIs excluding zero, and OMS beats all 32 individual fixed orders on both metrics. captures of the and 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-, single-order scoring | 468 | 0.054 | 0.258 | 0.297 |
| OMS-bon, | 1104 | 0.054 | 0.264 | 0.300 |
| OMS-bon, | 3649 | 0.057 | 0.260 | 0.295 |
| beam search, | 64 | 0.043 | 0.237 | 0.289 |
| beam search, | 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- here. Paired over the 300 shared pools, gives F1 (95% CI [-0.0049, +0.0105]) at 2.4$\times$ the compute; gives at 7.8$\times$. Reranking at all is worth 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 , and table becomes a new subsection of Section 4 following Proposition 4. The protein results replace Table 4 in Section 5.3 with enrichment@ added. The infilling experiment becomes a new subsection of Section 5. The corrected margin replaces the abstract's .
Thank you for pointing out these weaknesses; we hope you consider raising your score!
- 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 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
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 in equation 3 (time-independent). To be consistent with the training objective, we still want to score with 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 of the positions:
where .
Let be a distribution over parallel decoding orders , we extend Equation (3) to
A permutation is the all-singleton partition, so 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 substituted. Their proofs use only a family indexed by , a measure on that index set, and the uniform deviation bound . 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 then gives argmax and revealing then gives . Revealing together means neither position conditions on the other, so each follows its own unconditional tilt and a third argmax appears. Across gadgets this yields distinct per-schedule argmaxes rather than , all realized by two-block schedules, with pairwise Hamming distances now covering every value in — including odd ones, which permutations cannot produce.
The constant in the bound does change. Appendix A gets because under permutations each gadget's contribution takes exactly two values, equiprobable under , so is their midpoint and the deviation is half the range. Under block schedules the contribution takes three values and is a -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 and separate linearly in , so each gadget deviates by and . Hence 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 is a statement about and is unaffected.)
We also measured this on the Sahoo et al. checkpoint. Scoring the same candidate pools under random block schedules drawn exactly as MDM's reverse process induces them (i.i.d. per position, cut at a uniform -step grid), against permutations on identical pools:
| schedule | mean half-range (nats) | vs permutations |
|---|---|---|
| permutations () | 7.69 | 1.00$\times$ |
| blocks, | 9.26 | 1.20$\times$ |
| blocks, | 11.08 | 1.44$\times$ |
| blocks, | 14.20 | 1.85$\times$ |
| blocks, | 17.44 | 2.27$\times$ |
| blocks, | 30.46 | 3.96$\times$ |
Disagreement grows monotonically as decoding becomes more parallel, up to at . 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. ). As such, two models can have identical training losses but very different .
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!
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.
Loading the discussion…
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:
Theoretical gaps & Text Evaluation:
We provide measurements for the parameters ε and Δ 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.