potentialpaper

Unmasking Nondeterminism in Masked Diffusion Language Models

Anonymous authors

ICLR 2027

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.

TL;DR. Nondeterminism in masked diffusion LMs enters mainly through where to write, not what to write; its forks are often transient, and freezing the position order plus a ULP token check removes most divergence at under half the cost of LayerCast.

Abstract. Greedy decoding of masked diffusion language models (MDLMs) is nominally deterministic, yet the same prompt can yield different outputs when only the batch size or the GPU changes, while accuracy barely moves and so hides the problem. In autoregressive models, the first differing token permanently separates two generations, but MDLMs also decide at every step where to write, and how nondeterminism develops under this second decision is not understood. Tracking the partially decoded response over 512 steps for LLaDA and Dream, we find that forks arise mainly from the position decision. These forks are often transient: on LLaDA, 92.6% of prompts return to an identical intermediate response, and the token conflicts that make a difference permanent appear much later. Treating the two decisions separately, we freeze the position order under periodic LayerCast refresh and recheck only tokens within a few ULPs of a tie, cutting LLaDA's MATH500 output divergence from 69.2% to 1.0% at less than half the cost of LayerCast, and most of Dream's. Freezing changes the decoding rule, however, so the recipe's outputs agree with each other but often not with LayerCast's, and accuracy can shift. Reproducible MDLM evaluation should therefore track states beyond the first fork and report agreement across executions and accuracy separately. More broadly, locating where nondeterminism enters the decoding rule lets a remedy target the fragile decision instead of paying for full precision.

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
18 Sep 2026ICLR 2027submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 24 Nov 2026, 17:10 UTC.

Reviewer pTKyOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

The paper studies numerical nondeterminism in greedy masked diffusion decoding. It distinguishes position-selection and token-selection forks, tracks subsequent state reunions and irreversible conflicts, and proposes periodic high-precision ranking with frozen reveal orders and selective token verification.

Strengths
  1. The trajectory analysis provides a meaningful advance beyond final-output disagreement statistics. Distinguishing temporary position-order differences from irreversible token conflicts explains why the first fork alone is an inadequate measure of reproducibility.
  2. The experiments cover multiple execution conditions and separately report agreement, accuracy, and computational cost. The disclosure that freezing changes outputs and can reduce accuracy makes the method’s trade-offs clear.
Weaknesses
  1. The mitigation’s components are not sufficiently disentangled. Periodic refresh simultaneously introduces high-precision ranking and freezes the reveal order. Without a matched low-precision-ranking-plus-freezing baseline, the experiments cannot determine how much improvement comes from precision rather than fewer opportunities to reorder positions.
  2. The practical quality–cost trade-off and scope remain uncertain. The method changes the decoder: only 61 of the 495 mutually consistent LLaDA outputs match LayerCast, and Dream’s MATH500 accuracy decreases from 43.8% to 40.0%. Its cost remains above BF16, while mitigation results focus on one-token-per-step decoding. Residual disagreement also makes “guarantees agreement” an overstatement.
Questions for the authors
  1. Does low-precision ranking with identical frozen windows achieve comparable agreement, accuracy, and latency?
  2. Can the mitigation retain its benefits under parallel and block-wise decoding?
  3. Is there a configuration that substantially reduces disagreement without the observed accuracy loss, and what additional cost does it incur?
  4. What causes the residual token-mismatch forks in Table 11, and how are they reconciled with §6.2’s attribution of remaining disagreement to position forks?
Reviewer LpSSOpenReview ↗
Rating
2/4
Confidence
3/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper investigates nondeterminism in greedy decoding of Masked Diffusion Language Models (MDLMs), where outputs can change across batch sizes or GPUs despite identical prompts. The authors find that initial decoding divergence predominantly arises from unmasking position selection rather than token selection, and that such divergence can be transient. Based on these findings, they propose periodically freezing the unmasking order using LayerCast and selectively verifying near-tied token predictions at higher precision, substantially improving output reproducibility at a lower cost than full LayerCast inference.

Strengths

Important practical problem

The paper addresses a meaningful reproducibility issue in MDLM inference that can be obscured by nearly unchanged aggregate accuracy.

Insightful trajectory analysis

Distinguishing position mismatches, token mismatches, and intermediate re-convergence provides useful insights into how nondeterminism develops in MDLMs.

Effective and relatively lightweight mitigation

The proposed approach requires no retraining or architectural modification and reduces LLaDA MATH500 output divergence from 69.2% to 1.0%, at less than half the inference cost of full LayerCast.

Weaknesses

Decoding-rule modification and limited fidelity

Freezing the unmasking order ignores confidence changes after intermediate token commitments, fundamentally changing the original greedy decoding rule. Although cross-execution agreement improves, only 61/500 LLaDA MATH500 outputs match the unfrozen LayerCast decoder, and Dream exhibits accuracy degradation. Thus, improved reproducibility comes at the expense of fidelity to the original decoding procedure.

Limited task diversity

The evaluation covers only MATH500 and HumanEval. Given the observed accuracy changes under order freezing, evaluation on more diverse tasks is needed to assess its general applicability.

Limited generalization across decoding configurations

The main mitigation experiments use only a fixed response length (512 tokens) and single-block decoding, without evaluating LLaDA's multi-block decoding. Although alternative decoding schedules are analyzed for divergence, the proposed mitigation is not evaluated under these settings. Its effectiveness across different response lengths and larger batch sizes also remains unverified.

Heuristic verification threshold

The 8-ULP threshold is selected post hoc on LLaDA MATH500. Although transferred to HumanEval and Dream without retuning, substantial residual divergence on Dream raises questions about its robustness across models and tasks.

Computational overhead and deployment relevance

Despite being substantially cheaper than full LayerCast, the method incurs roughly 2× the inference cost of BF16. Its throughput and memory overhead under realistic serving workloads remain unverified.

Questions for the authors

EOS overflow in single-block LLaDA decoding

Given the use of 512-token single-block decoding, to what extent does the EOS overflow phenomenon identified in Rainbow Padding [1] affect the reported divergence and re-convergence statistics? Could the authors clarify whether this issue was observed and how it was accounted for in the analysis?

Mitigation under multi-block decoding

The appendix evaluates divergence under LLaDA's 32-token block schedule, but not the proposed order-freezing and ULP-verification method. Could the authors evaluate whether the reported reproducibility gains and computational trade-offs hold under multi-block decoding?


[1] Kim et al., “Rainbow Padding: Mitigating Early Termination in Instruction-Tuned Diffusion LLMs,” ICLR 2026.

Reviewer eP15OpenReview ↗
Rating
3/4
Confidence
1/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

The paper studies the "underdetermination" of the diffusion models., which is a more complex question, as masked diffusion model needs to decide where and what for token generation. In the paper, the author checks the partial generation of the MDLMs and summarised that the position decision is a more significant factor than token itself. They also proposed an according method to reduce the "nondetermination" by fixing the position decision. The results are significant, from 69.2% to 1.0% on LLaDA's MATH500 outputs.

Strengths
  1. The paper's writing and motivation is clear, easy to follow.

  2. The two framing of "position and token" are insightful and specifically designed for MDLMs.

  3. The fix is effective.

Weaknesses

The main concern is that "when fixing the position, we are actually changing the original MDLMs's original working mechanisms.". And we can observed the response discrepancies before and after "position fix"

Questions for the authors
  1. how to select k? k = 8 is based on the results on MATH500, but the performances across different models are different. so, any dataset-agnostic way to select k?

  2. Any consistent patterns to explain the accuracy loss? any ideas of not losing too much accuracy (the response also keep similar) while doing the alation study.

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

Missing a submission?

Loading the discussion…

This paper is under review