acceptodds
Published as a conference paper at NeurIPS 2026

Attention-Discounted Adaptive Sampler for Masked Diffusion Language Models

Yusuf Sahin, Ahmed R Saikia, Volkan Cevher, Paolo Favaro

Abstract

Masked diffusion language models can reduce inference steps by revealing multiple tokens per denoising iteration, but this parallelism is fragile: positions that are individually confident may be unsafe to commit together when their predictions are coupled. Existing training-free samplers such as Top-(k), Fast-dLLM, and EB-Sampler mainly control how many tokens to reveal, while often ranking candidates by token-wise scores that ignore interactions within the selected set. We propose ADAS, a training-free reranking rule for parallel masked diffusion decoding. ADAS leaves the base sampler's stopping rule unchanged and modifies only subset construction: it greedily discounts a candidate when it attends strongly to already selected positions whose predictions remain uncertain. Unlike graph-constrained methods that turn attention into hard compatibility constraints, ADAS keeps attention continuous and uses it as a soft marginal penalty. Across LLaDA-8B-Base and Dream-7B-Base on GSM8K, MATH500, HumanEval, and MBPP, plugging ADAS into Top-(k), Fast-dLLM, and EB-Sampler improves low-NFE performance at matched denoiser evaluations by (9.11) and (10.46) percentage points on average, respectively, with (3.1%) per-forward runtime overhead. These results show that soft attention-discounted reranking is a simple and modular way to improve quality in highly parallel decoding for masked diffusion language models.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_r56qOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
3
Read review
Summary

Existing methods mostly choose tokens by individual confidence, but this can fail when selected tokens depend on each other. ADAS lowers the priority of a candidate token if it strongly attends to already selected tokens that are still uncertain. It does not train a new model or change the sampler’s stopping rule; it only reranks which tokens to unmask. The experiments show that this helps especially in high-parallelism, low-NFE decoding.

Strengths and weaknesses

Strengths. The paper addresses the problem: parallel decoding is fast, but decoding many dependent tokens at once can cause errors. ADAS is simple, training-free, and easy to add to existing samplers. The experiments are fairly convincing, covering multiple samplers, two models, and several math/code benchmarks. Weaknesses. The main weakness is that ADAS uses attention as a proxy for token dependency. Attention may capture syntax, position, or formatting instead of harmful dependency. It also uses confidence as uncertainty, but confidence is not always reliable. Overall, the method is practical, but its key assumptions need stronger validation.

Questions
  1. ADAS uses pairwise attention to model dependency. Can the authors discuss cases where errors come from dependencies among three or more tokens? This may happen in code, where several tokens are only inconsistent as a group.
  2. ADAS delays some uncertain or strongly related tokens. Can the authors show whether these delayed tokens become more stable or accurate in later denoising steps? It would also be useful to discuss whether a revise-or-remask mechanism, similar in spirit to Token-Critic, could help when early committed tokens are wrong.
  3. Once ADAS commits a token, it cannot revise it. Can the authors analyze how often committed high-confidence tokens later become inconsistent with the final output? This would clarify whether remaining errors come from bad token selection or from irreversible early commitments.
Limitations

Please see my Questions for the main missing limitations.

Paper formatting concerns

It's ok.

Final justification

The authors have addressed part of my concerns, and my current score is between 3 and 4.

Reviewer_RnydOpenReview ↗
Rating
4
Clarity
2
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

ADAS is a training-free reranking method for masked diffusion language models. It keeps the original sampler’s stopping rule, but penalizes candidate tokens that strongly attend to already selected uncertain tokens, making parallel decoding less likely to commit coupled positions together. Experiments on two models and four math/code benchmarks show better low-NFE performance with modest overhead.

Strengths and weaknesses

Strengths:

  • The method is lightweight and modular. ADAS only changes the candidate ranking step while leaving the underlying sampler’s stopping rule intact, which makes it easy to plug into Top-k, Fast-dLLM, and EB-Sampler.

  • The experimental coverage is reasonably broad. The paper evaluates two masked diffusion language models across math and code benchmarks, and tests the method under fixed-cardinality, confidence-threshold, and entropy-budget decoding settings.

  • The main results are strong and fairly consistent. ADAS improves low-NFE performance across most settings, with especially clear gains in the highly parallel decoding regime where the original samplers degrade more sharply.

Weaknesses:

  • The evidence that attention is a reliable dependency proxy is still limited. The controlled diagnostic is useful, but it is based on synthetic arithmetic predicates, and may not fully capture semantic or long-range dependencies in real reasoning and code generation.

  • The claimed equivalence between Eq. (3) and Eq. (4) also seems mathematically unclear. The marginal score in Eq. (3) only penalizes a candidate’s attention to already selected tokens, while Eq. (4) appears to define a full pairwise set utility that may introduce additional terms.

  • The paper would benefit from more analysis of failure cases. The authors report that ADAS regresses on some matched operating points, but they do not explain where these failures occur or what kinds of outputs cause them.

Questions

Could the authors clarify whether Eq. (4) is intended as the actual subset utility optimized by ADAS, or mainly as an intuition for the greedy marginal rule in Eq. (3)? The current wording makes the equivalence slightly unclear.

The ablation suggests that final-layer attention works best, but I wonder whether mean attention over heads may hide more specific dependency patterns. Have the authors tried head-specific signals or simple multi-layer aggregation?

The evaluation focuses on math and code, where token dependencies are often strong and structured. Do the authors expect the same attention-discounted ranking to help on more open-ended natural language generation tasks?

Limitations

The authors acknowledge the main limitations, including the use of attention as an imperfect dependency proxy, the limited scope of models/tasks, and the lack of repeated-seed or per-example uncertainty estimates. I would suggest adding a brief discussion of failure cases, broader evaluation beyond math/code generation, and end-to-end latency or memory overhead in realistic decoding settings. The broader impact discussion is adequate for this type of method.

Paper formatting concerns

I did not observe any formatting and anonymity issues.

1 comment

We thank the reviewer for the constructive feedback. We address the mathematical formulation, attention aggregation, task scope, and requested limitations below. We also conducted a real-data dependency diagnostic on all four benchmarks and both models; attention correlates positively with counterfactual distribution changes, and the ADAS score is more informative than confidence alone. Full results are provided in our response to Reviewer ztRb.

Q1: Eq. 3 versus Eq. 4

We thank the reviewer for identifying this issue. The asymmetry in Eq. 3 is intentional. At each greedy selection step, the previously selected set SS is fixed and cannot be revised. When considering a new candidate ii, the newly introduced risk is that ii depends on an already selected but uncertain token ss, captured by Ais(1−cs)A_{is}(1-c_s). The reverse term Asi(1−ci)A_{si}(1-c_i) instead describes an already selected token ss depending on the still-masked candidate ii. Any risk caused by selecting ss too early has already been incurred and cannot be corrected at the current step; including the reverse term would therefore charge candidate ii for an irreversible earlier decision.

We nevertheless agree that the stated equivalence with Eq. 4 is incorrect. The marginal gain of the unordered set utility in Eq. 4 contains reverse-direction terms that are absent from Eq. 3. ADAS is more accurately described by an ordered, append-only utility. For a selection sequence π=(π1,…,πm)\pi=(\pi_1,\ldots,\pi_m), define

U~(π)=∑t=1m[cπt−α∑r<tAπtπr(1−cπr)].\widetilde{U}(\pi)=\sum_{t=1}^{m}\left[c_{\pi_t}-\alpha\sum_{r<t}A_{\pi_t\pi_r}(1-c_{\pi_r})\right].

Appending candidate ii then gives

U~(π∥i)−U~(π)=ci−α∑s∈SAis(1−cs),\widetilde{U}(\pi\mathbin{\|}i)-\widetilde{U}(\pi)=c_i-\alpha\sum_{s\in S}A_{is}(1-c_s),

which exactly recovers Eq. 3. We will replace Eq. 4 with this ordered formulation and remove the claim that Eq. 3 is the marginal gain of the current unordered set utility. This corrects only the mathematical presentation; Algorithm 1 and all experimental results remain unchanged.

Q2: Attention heads and multi-layer aggregation

Our default uses final-layer attention averaged across heads. During early experimentation, we also tested taking the maximum attention value across heads in the final layer, but this was not promising compared with mean aggregation.

We did not systematically evaluate multi-layer aggregation. Extracting attention maps from multiple layers requires disabling FlashAttention at each of those layers, which increases memory consumption and slows inference, weakening ADAS's lightweight-overhead advantage. We therefore use final-layer, head-averaged attention as a simple, parameter-free compromise. We will clarify this design choice and note that more efficient head-specific or multi-layer aggregation remains an interesting direction.

Q3: Open-ended natural-language generation

We expect ADAS to be most useful when parallel commitment creates identifiable dependencies among masked positions. These effects are especially common in mathematics and code, which motivated our evaluation. Similar dependencies may also arise in open-ended generation through grammatical agreement, entity consistency, syntax, and long-range semantic constraints.

However, open-ended generation admits more valid continuations and has less sharply defined correctness criteria. In such settings, confidence may be less calibrated, and attention may less reliably reflect harmful dependency, and delaying interacting tokens may not translate as directly into improved generation quality. We therefore consider generalization beyond structured reasoning and code plausible, but not established by the current evidence.

Failure cases and additional revisions

The occasional regressions indicate that the attention penalty is not universally beneficial. They may occur when the baseline confidence ordering is already reliable, when attention reflects formatting or positional structure rather than harmful dependency, or when the relevant interaction is not captured by pairwise final-layer attention.

Reviewer_ztRbOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

In this paper the authors propose ADAS, a training-free reranking rule for parallel decoding in masked diffusion language models. It keeps the base sampler's stopping rule unchanged and only changes the order in which candidate masked positions are unmasked. Existing samplers such as Top-k, Fast-dLLM, and EB-Sampler control how many tokens to reveal but score each position independently, and the closest method, DAPD, thresholds attention into a binary dependency graph, while ADAS keeps the attention continuous as a soft penalty and stays a plug-in. A position's score combines its token confidence with a penalty for attending to already-selected positions whose predictions are still uncertain; the set is built greedily inside the stopping rule. The authors test ADAS on two open-weight MDLMs with several stopping rules, and it improves matched-NFE accuracy by about +9.11 and +10.46 points in average on the two models, at a small runtime cost. They note that self-attention is an imperfect proxy for dependence, that the coverage of models, scales, and domains is limited, and that the robustness interval summarizes variation across operating points, not repeated seeds.

Strengths and weaknesses

Quality. The empirical study is broad: two MDLMs across several reasoning and code benchmarks. They also test three stopping rules under a matched-NFE protocol, which is the right way to compare parallel decoders. The bootstrap over the operating points gives a mean gain of about +9 points; the per-setting numbers come from single runs, and the authors are honest that this is not a per-seed significance test. The confidence intervals describe variation across operating points, not a test at a fixed setting; they show stability, not significance. The dependency diagnostic in Section 4 uses synthetic arithmetic predicates only, and the gain on MATH500 is small, where the authors' own explanation by sequential chains suggests the pairwise attention proxy may not be the main signal.

Clarity. The paper is clear and well organized, the separation of ranking from stopping is a clean framing, and Algorithm 1 makes the method easy to reproduce. Figures 2-3 and Table 1 communicate the speed-quality trade-off well. However, some important settings appear only in the appendix; the discount-strength default (alpha=40) is worth pulling forward, though the attention-source-layer choice is already stated in Section 5.2. The local derivation in Appendix B is a nice intuition, but it is not a guarantee and should stay framed as motivation, not theory.

Significance. Parallel decoding for MDLMs is timely, and a modular reranking rule that can be added to the three stopping rules is practically attractive. The overhead is small, about +3% in compute. The gains are consistent and sometimes large, in particular on the code benchmarks. They are real but bounded; they shrink where the pairwise assumption is weakest, so the practical value narrows on harder math reasoning.

Originality. The specific mechanism is distinct from the nearby methods, but it is an incremental change, not a new decoding method. DAPD and DAWN are hard-constraint methods that threshold attention into a graph, while ADAS keeps the attention continuous and uses a set-dependent, uncertainty-gated penalty, which is the part that is new. However, the paper does not cite three close methods, and DOS is the closest concurrent work; it also decouples ordering from stopping, but it uses attention to the already-revealed context as a positive support score, contrary with the direction in ADAS. Without a short positioning against DOS, DAWN, and PUNT, the novelty claim is harder to verify.

DOS: https://arxiv.org/abs/2603.15340 DAWN: https://arxiv.org/abs/2602.06953 PUNT: https://arxiv.org/abs/2510.21961

Questions
  1. Decoding uses temperature 0 in Appendix A, so the per-setting numbers are deterministic and a per-seed std is near zero. Instead of seeds, could the authors report a robustness check the operating-point bootstrap does not cover, for example a few resampled few-shot orderings at a fixed NFE? This would support the gain beyond cross-operating-point variation.

  2. The Section 4 diagnostic is synthetic arithmetic, so it is not clear the dependent-pair and high-attention relation also holds on the actual reasoning and code benchmarks; could the authors show same relation on real data at a fixed operating point, rather than only on the toy predicates?

Limitations

The limitations section is adequate. Section 7 states clearly that self-attention is an imperfect proxy for dependence and that the robustness intervals summarize variation across operating points rather than repeated seeds, which is an honest disclosure and should be credited.

Two gaps are missing from that section. The design ablations (the alpha default among them) are all tuned on a single model and benchmark, yet applied as global defaults, and the Section 4 diagnostic is synthetic only; both belong in the limitations as scope of the evidence.

Paper formatting concerns

One reference is missing: Fast-dLLM is used as a main stopping rule and baseline, but it does not appear in the reference list, so the authors should add it.

Final justification
  • Resolved: the core assumption is now validated on the real benchmarks, and the positioning/citation gaps are addressed with committed revisions.
  • Remaining (non-blocking): one secondary robustness check was not run; to be noted in the limitations.
  • The added evidence settles my main concern, so the reasons to accept now clearly outweigh the remaining reservations.
1 comment

We thank the reviewer for the constructive feedback and address the concerns regarding concurrent work, robustness, and real-data validation below.

Q0: Concurrent work and novelty

A0: We thank the reviewer for pointing out these relevant concurrent methods. We will add and discuss DOS, DAWN, and PUNT. ADAS is a dynamic, set-dependent reranker for constructing the current parallel update: each candidate’s score changes as positions enter the partial update set, using continuous directional attention weighted by the selected position’s uncertainty.

DOS assigns each masked position a token-wise support score based on attention to the already unmasked context. While this induces a dependency-aware decoding order, it does not directly model compatibility among positions selected within the same parallel update: strongly interacting masked positions may both receive high scores and be committed together. ADAS instead explicitly discounts each candidate according to its interaction with already selected uncertain positions.

DAWN converts attention into a thresholded dependency graph and uses hard conflict avoidance, together with anchor-based confidence relaxation, to construct the update set. ADAS retains continuous directional attention and applies an uncertainty-weighted soft penalty. Consequently, dependent positions are not categorically excluded, and ADAS leaves the base sampler’s stopping rule unchanged.

PUNT directly tests conditional dependence by tentatively revealing positions and measuring changes in other predictive distributions, then excludes dependent candidates using a threshold. This provides a more direct but more expensive dependency test requiring additional denoiser evaluations. ADAS instead uses attention already produced by the current forward pass as a lightweight proxy and introduces no additional denoiser forward passes.

Thus, ADAS is distinguished by the combination of dynamic within-update compatibility, continuous uncertainty-weighted interactions, and plug-in compatibility with different stopping rules. We will expand the related-work discussion and narrow the novelty claims accordingly.

Q1: Robustness to Few-Shot Ordering

A1: We thank the reviewer for the suggestion. We agree that resampling few-shot orderings would evaluate prompt sensitivity, which is complementary to the cross-operating-point stability measured by our bootstrap. Due to computational and time constraints, we are unable to run this additional experiment during the rebuttal period. We will clarify that the bootstrap demonstrates stability across operating points, not robustness to few-shot ordering, and add this distinction to the limitations.

Q2: Real data dependency diagnostics

A2: We conducted the requested diagnostic on all four real benchmarks at a fixed operating point. We test whether attention reflects conditional dependence: if jj depends on ii, revealing ii while leaving jj masked should alter jj's distribution. We measure this by

DKL!(pjbefore∥pjafter reveal i).D_{\mathrm{KL}}\\!\left(p_j^{\mathrm{before}}\parallel p_j^{\mathrm{after\ reveal}\ i}\right).

We use 100 examples per task and model with temperature-zero Top-k decoding (k=8k=8). At five states per trajectory, we select the most-confident masked ii and record first-pass final-layer, head-averaged AjiA_{ji}. We then reveal only ii counterfactually and measure KL at the seven other positions selected by Top-k, without altering the baseline trajectory. This gives 500 states and 3,500 pairs per benchmark/model.

Table entries are Spearman correlations with KL. “Within” averages 500 statewise correlations, holding ii and cic_i fixed; pooled uses 3,500 pairs. Let sj=cj−40Aji(1−ci)s_j=c_j-40A_{ji}(1-c_i); Gain is ρ(cj,KL)−ρ(sj,KL)\rho(c_j,\mathrm{KL})-\rho(s_j,\mathrm{KL}).

TaskModelWithin ρ(Aji,KL)\rho(A_{ji},\mathrm{KL})Pooled ρ(Aji,KL)\rho(A_{ji},\mathrm{KL})Pooled ρ(Aji(1−ci),KL)\rho(A_{ji}(1-c_i),\mathrm{KL})Within ρ(cj,KL)\rho(c_j,\mathrm{KL})Within ρ(sj,KL)\rho(s_j,\mathrm{KL})Gain
GSM8KDream0.3580.3110.8230.045-0.281+0.325
GSM8KLLaDA0.3600.4630.8350.076-0.330+0.405
HumanEvalDream0.3050.4230.782-0.030-0.209+0.178
HumanEvalLLaDA0.3890.5440.8410.100-0.363+0.463
MBPPDream0.2040.2840.791-0.114-0.211+0.097
MBPPLLaDA0.2510.3270.794-0.023-0.215+0.193
MATH500Dream0.3160.2980.806-0.079-0.271+0.193
MATH500LLaDA0.4360.5450.8150.116-0.279+0.395

Results support all three claims: (1) attention correlates positively with KL in every setting (mean within-state ρ=0.204\rho=0.204--0.4360.436); (2) uncertainty-weighted attention exceeds raw attention in every pooled comparison (0.782--0.841 versus 0.284--0.545); and (3) sjs_j is more negatively correlated with KL than cjc_j within every setting (gain 0.097--0.463; mean 0.281), remaining positive under 95% paired bootstrap resampling of 100 examples. Pooled gains are also positive (0.021--0.080). Since 1−ci1-c_i is fixed within a state, (2) measures cross-state calibration. Thus, attention signals dependency and uncertainty calibrates its consequence.

Additional revisions: We will move the default α=40\alpha = 40 setting to the main text and state in the limitations that this value was selected on a single model and benchmark before being used globally. We will also add the missing Fast-dLLM citation.

Comments on the paper

1 comment
Meta-review

This paper proposes ADAS, a training-free reranking rule for parallel decoding in masked diffusion language models that leaves the base sampler's stopping rule intact and changes only which masked positions are selected, greedily discounting a candidate by an attention-weighted penalty for attending to already-selected positions whose predictions remain uncertain, so that continuous attention acts as a soft compatibility signal rather than the hard independent-set constraint used by DAPD. Reviews clustered near the borderline (two weak accepts, one weak reject). Reviewers agree the method is lightweight and modular, it plugs cleanly into Top-k, Fast-dLLM, and EB-Sampler, the empirical study is broad across two open-weight models, four math and code benchmarks, and three stopping rules compared at matched NFE, and the gains are consistent and sometimes large in the low-NFE highly parallel regime at about 3 percent runtime overhead. They converge on one central reservation that I share, that attention is used as a dependency proxy yet that premise is validated only on synthetic arithmetic, so it is not shown that the same dependent-pair to high-attention relation holds on the real reasoning and code benchmarks.

I place the paper in the needs-clarification category. The core contribution is real and the experiments are extensive, but three items should be resolved. The stated equivalence between the marginal rule in Eq. 3 and the set utility in Eq. 4 is not clean, since the greedy marginal of Eq. 4 introduces reverse-direction terms absent from Eq. 3, so this should be corrected to a motivation or qualified with the assumption under which it holds, noting that ADAS is defined operationally by Algorithm 1. The attention-as-dependency premise should be validated on one or two of the actual benchmarks rather than synthetic arithmetic alone, since it is the load-bearing assumption. The missing Fast-dLLM citation should be added and positioning against the closest recent samplers such as PUNT strengthened, and the significance should be described accurately as bootstrap stability across operating points rather than a per-setting test. New head-to-head experiments against concurrent 2026 preprints and repeated-seed studies under temperature-zero decoding are not expected. Convincing answers on the Eq. 3 versus Eq. 4 gap and the real-data validation would move the paper toward acceptance.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.