Attention-Based Sampler for Diffusion Language Models
Yuyan Zhou, Kai Syun Hou, Weiyu Chen, James Kwok
NeurIPS 2026
Abstract. Auto-regressive models (ARMs) have established a dominant paradigm in language modeling. However, their strictly sequential sampling paradigm imposes fundamental constraints on both inference efficiency and modeling flexibility. To address these limitations, diffusion-based large language models (dLLMs) have been proposed, offering the potential for parallel sampling and flexible language modeling. Despite these advantages, current dLLMs sampling strategies rely primarily on token level information, which fails to account for global sequence structure and often yields suboptimal results. In this paper, we study the sampling order selection problem from the perspective of log-likelihood maximization. We show that this problem is NP-hard and propose an optimal sampling-rank-based approximation that makes the objective computationally tractable. We further prove that the tractable objective is optimized by sampling tokens in descending order of their attention-matrix column sums. This finding provides a principled justification for attention-guided sampling and offers a theoretically grounded alternative to greedy search. We instantiate this theoretical insight in a new training-free sampling algorithm, termed Attn-Sampler, and further propose dynamic attention thresholding for practical acceleration. Extensive experiments across multiple benchmarks validate the effectiveness of our proposed method, demonstrating that it achieves superior generation quality while enhancing the sampling parallelism.
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:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary: the paper proposes a new method for sampling from dLLMs. It is training free and demonstrated to work on multiple models. The formulation is based on log-likelihood maximization, shows the problem is NP hard, derives a tractable rank-based approximation. It shows that decoding tokens in descending order of attention-matrix column sums optimizes the surrogate.
Strengths: the problem of sampling from trained dLLM is of high interest to community. The paper connects theory and empirical evaluations. A training free design is easy to implement, and it clearly improves throughput - accuracy trade-off.
Weaknesses: the theory is derived around a simplified one layer transformer while experiments use deep models. Bound tightness is never quantified, evaluation is limited to four math/code benchmarks, gains are often small and single-seed, and the cost of all-layer/all-head attention aggregation is not fully isolated. Most of these are addressable in the rebuttal.
Suggestions for rebuttal: Adding full suit of benchmarks similar to Llada paper will address multiple reviewers. Evals should be done in multi seed setup to measure statistical significance. Clearly account/measure the all-layer/all-head aggregation cost and overhead in terms of memory and latency. Come up with heuristic to adaptively select threshold instead of manual tuning. Addressing those will potentially bumo the paper over the acceptance threshold.
Post rebuttal: Authors responded to a number of weaknesses raised by reviewers. Two reviewers commented on positive outcome, one reviewer raised the score to Accept. I still recommend authors to perform multi seed evaluations to see statistical significance, it can be done via question perturbation, system prompt, or more importantly non deterministic sampling, even changing order of samples can affect the final score due to numerical precision variance.
Given current scores and relevance of the sampling for dLLMs I recommend acceptance for this paper. Authors are encouraged to modify the paper to include resulting discussion with reviewers.
Final justification
Given current scores and relevance of the sampling for dLLMs I recommend acceptance for this paper. Authors are encouraged to modify the paper to include resulting discussion with reviewers.
Read meta-review
Meta-review
Summary: the paper proposes a new method for sampling from dLLMs. It is training free and demonstrated to work on multiple models. The formulation is based on log-likelihood maximization, shows the problem is NP hard, derives a tractable rank-based approximation. It shows that decoding tokens in descending order of attention-matrix column sums optimizes the surrogate.
Strengths: the problem of sampling from trained dLLM is of high interest to community. The paper connects theory and empirical evaluations. A training free design is easy to implement, and it clearly improves throughput - accuracy trade-off.
Weaknesses: the theory is derived around a simplified one layer transformer while experiments use deep models. Bound tightness is never quantified, evaluation is limited to four math/code benchmarks, gains are often small and single-seed, and the cost of all-layer/all-head attention aggregation is not fully isolated. Most of these are addressable in the rebuttal.
Suggestions for rebuttal: Adding full suit of benchmarks similar to Llada paper will address multiple reviewers. Evals should be done in multi seed setup to measure statistical significance. Clearly account/measure the all-layer/all-head aggregation cost and overhead in terms of memory and latency. Come up with heuristic to adaptively select threshold instead of manual tuning. Addressing those will potentially bumo the paper over the acceptance threshold.
Post rebuttal: Authors responded to a number of weaknesses raised by reviewers. Two reviewers commented on positive outcome, one reviewer raised the score to Accept. I still recommend authors to perform multi seed evaluations to see statistical significance, it can be done via question perturbation, system prompt, or more importantly non deterministic sampling, even changing order of samples can affect the final score due to numerical precision variance.
Given current scores and relevance of the sampling for dLLMs I recommend acceptance for this paper. Authors are encouraged to modify the paper to include resulting discussion with reviewers.
Final justification
Given current scores and relevance of the sampling for dLLMs I recommend acceptance for this paper. Authors are encouraged to modify the paper to include resulting discussion with reviewers.
1 comment
- Rating
- 4/6
- Confidence
- 4/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 studies sampling-order selection in diffusion LLMs (dLLMs). It defines a "Permutation Dependency Gap" (PDG) between the permutation-based likelihood and an idealized order-agnostic one, shows minimizing its upper bound is a weighted linear-ordering problem (NP-hard), and via a rank-only approximation proves (Thm. 3.1) that decoding tokens in descending order of attention column sums minimizes the tractable surrogate. The resulting training-free algorithm, Attn-Sampler, has sequential and parallel variants (the latter using a dynamic attention threshold). Sec. 4 relates the rule to confidence/entropy samplers. Experiments on Fast-dLLM v2 (1.5B/7B) and LLaDA-1.5 8B over GSM8K/MATH/HumanEval/MBPP show consistent but small gains over six baselines, and a better throughput–accuracy Pareto.
Strengths and weaknesses
Strength
- Clean theoretical framing: PDG, NP-hardness reduction, and a tractable rank-only surrogate that yields an implementable rule (Thm. 3.1).
- Sec. 4 unifies confidence/entropy/attention samplers by giving conditions under which they coincide.
- Consistent best-or-tied-best across 3 models × 4 benchmarks; ≈3× throughput at matched accuracy in Fig. 2.
Weaknesses
- Theory is for a one-layer, MLP-free softmax transformer; the evaluated models are deep multi-head. The transfer is not discussed.
- Bound tightness is never measured: both the first-order Taylor step (Prop. 3.1) and the rank-only step (Eq. 7) introduce unquantified slack.
- All results are single-seed; many gaps in Table 1 are <0.5 pt. No std / significance test.
- Cost of all-layer/all-head attention aggregation is not decomposed from the reported throughput.
- Only two model families; Dream-7B and Mercury are absent.
Questions
- Can you measure PDG vs. UB empirically, and quantify the rank-only approximation gap?
- Can you report mean ± std over ≥3 seeds for Table 1?
- What is the per-step overhead of all-layer/all-head aggregation, and is there a Pareto-better subset?
- How does the method scale in compute/memory to 2K–4K-token generations?
Limitations
The paper has no Limitations section. Authors should add one covering (i) the one-layer theory vs. deep-model gap, (ii) attention-aggregation overhead at long context. Broader impact should also be stated.
Final justification
The rebuttal resolved my concrete concerns — aggregation overhead is decomposed and negligible, the single-seed protocol is justified by the sampler being deterministic, long-generation and Dream-7B results were added — so the method stands as a cheap, drop-in decoding rule with consistent gains. The one-layer theory gap and the admittedly unmeasurable bound tightness remain, but these weaken the claims rather than the method, so I keep my score at 4.
Formatting concerns
None.
3 comments
Part 1
W1. Theory is for a one-layer, MLP-free softmax transformer; the evaluated models are deep multi-head. The transfer is not discussed.
We would like to clarify that the one-layer Transformer setting is a standard simplification in theoretical analyses of Transformer models and has been widely adopted in prior work, including Huang et al. (2024), Li et al. (2024), and Siyu et al. (2024), as cited in Lines 132 of the submission. We will clarify this limitation in the revised manuscript and leave a rigorous extension to multi-layer and multi-head Transformers as an important direction for future work.
W2 & Q1. Bound tightness is never measured: both the first-order Taylor step (Prop. 3.1) and the rank-only step (Eq. 7) introduce unquantified slack. Can you measure PDG vs. UB empirically, and quantify the rank-only approximation gap?
Our goal is to provide an upper bound for PDG to make the optimization tractable in practice. This approach is commonly used in machine learning. For example, ELBO is widely used as a tractable surrogate for the log-likelihood in generative modeling, even though maximizing ELBO does not in general provide a worst-case approximation guarantee for maximizing the exact log-likelihood.
From the proof in Appendix A.1, the inequality in the bound reduces to an equality when (i) (Lipchitz inequality) the log-softmax gradient norm equals its maximal value in the first inequality below line 415, (ii) (matrix norm inequality) the direction of hidden-state difference aligns with the direction of the lm head in the second inequality below line 415. (iii) (triangle inequality) vectors in the first inequality above line 416 are positively collinear. (iv) (supremum inequality) the value differences associated with non-negligible attention weights have magnitudes equal to the maximal discrepancy in the second inequality above line 416, i.e., For the rank-only approximation, it becomes exact when the off-diagonal attention weights within a column are identical.
The UB is derived under the one-layer Transformer formulation in Section 2.2. As our experiments use multi-layer, multi-head dLLMs, this UB and the rank-only approximation gap cannot be directly measured.
W3 & Q2. All results are single-seed; many gaps in Table 1 are <0.5 pt. No std / significance test. Can you report mean std over 3 seeds for Table 1?
- All results are single-seed. Can you report mean std over 3 seeds for Table 1?
Following prior sampler works on dLLMs, including LLaDA, Fast-dLLM, and KLASS, our sampling procedure is fully deterministic. In each step, we unmask the highest total attention position with max probability token. Given the same model and input, repeated runs produce exactly the same output. Consequently, there is no run-to-run variance arising from sampling randomness.
- many gaps in Table 1 are <0.5 pt.
First, we would like to clarify that the gains are not expected to be uniform across all benchmarks; they are particularly pronounced on tasks with stronger structural dependencies. Across all evaluated models and benchmarks, Attn-Sampler achieves state-of-the-art overall performance. In particular, the improvements are substantial on structured code-generation tasks. For example, on HumanEval, Attn-Sampler outperforms the second-best method by 4.05, 1.83, and 2.43 points on Fast-dLLM v2 7B, LLaDA-1.5 8B, and Fast-dLLM v2 1.5B, respectively. On GSM8K and MATH, some improvements are relatively modest, partly because the strongest baselines already achieve highly competitive performance on these benchmarks. Overall, these results indicate that Attn-Sampler provides consistent improvements across tasks, with especially clear advantages on problems that require stronger structural dependencies.
Part 2
W4 & Q3. Cost of all-layer/all-head attention aggregation is not decomposed from the reported throughput. What is the per-step overhead of all-layer/all-head aggregation, and is there a Pareto-better subset?
- Cost of aggregation:
For a Transformer with (m) layers and (n) attention heads per layer, we aggregate the attention scores by taking their arithmetic mean:$ \frac{1}{mn} \sum_{l=1}^{m} \sum_{h=1}^{n} s_{j}^{(l,h)}$, where () denotes the attention score of token (j) from head (h) in layer (l).
This aggregation only involves simple element-wise additions followed by a scalar normalization. It does not require storing the full attention matrices across layers or heads. Therefore, the aggregation itself introduces negligible memory overhead and essentially no additional synchronization or latency during inference. For example, Fast-dLLM v2 has 28 layers and 28 attention heads, the additional computation for aggregation is floating-point operations. On a NVIDIA A100 GPU whose FP16 Tensor Core throughput is 312 TFLOPS (Tera floating point operations per second), this additional time required is negligible (approximately s). The memory overhead is only a score vector .
- Is there a Pareto-better subset?
We suppose what the reviewer meant by “Pareto-better subset” is whether using only a subset of attention heads or layers can achieve better performance than using all of them. As shown in Figures 4 and 5 in our submission, for both layers and heads, the model achieves peak performance (84.23% on GSM8K) only when the mean of all 28 layers and heads are utilized.
Q4. How does the method scale in compute/memory to 2K–4K-token generations?
Following Fast-dLLM v2, our MATH evaluation uses a maximum generation length of 2K tokens. As shown in the experimental results, Attn-Sampler consistently improves performance in this long-generation setting.
As shown in the response to your W4 above, the additional time required is negligible (approximately s). For 4K mask tokens, the additional compute is approximately , which is also negligible. The additional memory is also an vector w/ 32 elements for block diffusion (Fast-dLLM v2) and 4k elements for LLaDA, which is also negligible.
W5. Only two model families; Dream-7B and Mercury are absent.
Mercury is currently available through a hosted API rather than publicly released model checkpoints and inference code. Because Attn-Sampler requires access to the model's internal attention matrices at each denoising step, it cannot be implemented or evaluated through Mercury's black-box API.
For Dream-7B, we additionally evaluate different sampling strategies under the same decoding setting on Humaneval dataset. As shown in the Table below, our attention-based sampler achieves the highest accuracy of (54.9%), outperforming all of the baselines. These results further demonstrate that the effectiveness of our attention-based sampler generalizes to Dream-7B.
| Sampler | Humaneval Acc. (%) |
|---|---|
| Attention | 54.9 |
| Fast-dLLM | 53.1 |
| Margin | 54.3 |
| Entropy | 54.3 |
| Confidence | 52.4 |
| KLASS | 50.6 |
| EB | 51.7 |
The paper has no Limitations section. Authors should add one covering (i) the one-layer theory vs. deep-model gap, (ii) attention-aggregation overhead at long context. Broader impact should also be stated.
We would like to clarify that a discussion of limitations and broader impact is already included in the Appendix C and B. Following the reviewer's suggestion, we will make this discussion more explicit in the revised manuscript and additionally cover (i) the gap between our one-layer theoretical analysis and multi-layer, multi-head dLLMs used in practice, and (ii) the computational and memory overheads of attention aggregation for long-context generation.
Kind Reminder
Dear Reviewer,
Thank you again for your efforts and valuable comments in reviewing our paper. We have carefully addressed your comments and concerns in detail in the rebuttal and we hope you might find the response satisfactory. We are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify further concerns (if any).
Best,
Authors.
- Rating
- 5/6
- Confidence
- 5/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 proposes Attn-Sampler, a training-free sampler for diffusion language models that chooses the denoising order from self-attention scores. The central idea is to formulate sampling-order selection as a likelihood-oriented optimization problem, relate the objective to a permutation dependency gap, and then derive a tractable approximation whose optimum decodes tokens in descending order of attention-column sums. The method is instantiated in sequential and parallel variants, with the parallel version using a dynamic attention threshold to trade off accuracy and throughput. Experiments on Fast-dLLM v2 and LLaDA-1.5 models across GSM8K, Math, HumanEval, and MBPP report improved accuracy over several sampling baselines, along with a better throughput-accuracy tradeoff and ablations over thresholding, layers, and heads.
Strengths and weaknesses
Strengths
- The paper identifies a concrete bottleneck in diffusion language model inference: existing token-level greedy samplers use local uncertainty signals but are not clearly connected to sequence-level likelihood optimization.
2 The paper provides a coherent theoretical story, including the permutation dependency gap, an NP-hardness connection through weighted linear ordering, a rank-based approximation, and a theorem supporting descending total-attention decoding.
- The ablations on dynamic thresholding and on aggregating attention across layers and heads help clarify why the proposed implementation differs from simpler attention top-k or static-threshold variants.
Weaknesses
-
The paper does not fully quantify how often the assumptions behind the comparisons to confidence- and entropy-based samplers hold in the evaluated models. The propositions are useful, but without empirical diagnostics the link between the assumptions and the observed gains remains partly indirect.
-
The experimental scope is focused on math and code benchmarks. This supports the claimed improvements on reasoning and program-generation tasks, but it leaves open whether the sampler is robust for broader language generation settings, longer outputs, or tasks where local fluency and global coherence are evaluated differently.
-
Some reported gains are small in several settings, and the manuscript does not provide error bars or other uncertainty estimates. The checklist states that the experiments are deterministic under a fixed evaluation protocol, but the review would still benefit from more detail on evaluation variance, tie cases, or sensitivity to decoding hyperparameters.
Questions
- How is the attention aggregation across heads and layers normalized in the final implementation, and does this aggregation introduce any nontrivial memory or synchronization overhead during inference?
- How was the default threshold value for parallel Attn-Sampler chosen, and how sensitive are the main benchmark results to this choice beyond the GSM8K throughput-accuracy curves?
- Are there task types or sequence lengths where attention-column sums become a poor proxy for token importance, especially when the model's attention is diffuse or dominated by prompt tokens?
Limitations
yes
Final justification
This work presents a training-free sampler that can choose the denoising order from self-attention scores to achieve a notable speedup and accuracy preserving compared to baseline works. In the initial manuscript, parts of method writing appeared vague and some implementation details are missed. In the rebuttal phase, authors provided detail response about implementaion details and clarify the method design with more sufficient experimental results. Given the novelty and the effectiveness of this work, i wanna raise my rating to clear accept.
Formatting concerns
N/A
5 comments
Part 1
W1. The paper does not fully quantify how often the assumptions behind the comparisons to confidence- and entropy-based samplers hold in the evaluated models. The propositions are useful, but without empirical diagnostics the link between the assumptions and the observed gains remains partly indirect.
We apologize for referring to them as assumptions in Line 233. The statements in Propositions 4.1 and 4.2 are more appropriately viewed as conditions rather than assumptions. Indeed, the purpose of these Propositions is to show that the confidence/entropy-based samplers typically select different tokens from the proposed Attn-Sampler, even for one-layer transformers. In other words, they select the same token as Attn-Sampler only under very strict conditions (which the Propositions show).
Such difference is demonstrated by their performance differences on downstream tasks. As shown in Table 1 in the submission, and the performance of Attn-Sampler is superior than the confidence- and entropy-based samplers.
W2. The experimental scope is focused on math and code benchmarks. This supports the claimed improvements on reasoning and program-generation tasks, but it leaves open whether the sampler is robust for broader language generation settings, longer outputs, or tasks where local fluency and global coherence are evaluated differently.
dLLM sampler is designed to improve the sampling order for multi-token generation, which is particularly relevant for coding and reasoning-intensive tasks. To address your concern, we now add a new experiment on BBH, (using Fast-dLLM v2 model with parallel samplers). (from "Challenging big-bench tasks and whether chain-of-thought can solve them", Findings of ACL 2023), which consists of 23 particularly challenging BIG-Bench tasks spanning traditional NLP, mathematics, commonsense reasoning, and question answering. The following table shows that our Attn-Sampler achieves the highest accuracy, demonstrating that the benefit of our Attn-sampler extends beyond coding and math tasks. This BBH experiment will be added to the final version of this paper.
| Method | Accuracy |
|---|---|
| Attention Sampler | 58.3 |
| Fast-dLLM Sampler | 55.6 |
| Klass Sampler | 57.3 |
| EB Sampler | 52.1 |
W3. Some reported gains are small in several settings, and the manuscript does not provide error bars or other uncertainty estimates. The checklist states that the experiments are deterministic under a fixed evaluation protocol, but the review would still benefit from more detail on evaluation variance, tie cases, or sensitivity to decoding hyperparameters.
We would like to clarify the four points raised by the reviewer:
- Some gains are small in several settings.
First, we would like to clarify that the gains are not expected to be uniform across all benchmarks; they are particularly pronounced on tasks with stronger structural dependencies. Across all evaluated models and benchmarks, Attn-Sampler achieves state-of-the-art overall performance. In particular, the improvements are substantial on structured code-generation tasks. For example, on HumanEval, Attn-Sampler outperforms the second-best method by 4.05, 1.83, and 2.43 points on Fast-dLLM v2 7B, LLaDA-1.5 8B, and Fast-dLLM v2 1.5B, respectively. On GSM8K and MATH, some improvements are relatively modest, partly because the strongest baselines already achieve highly competitive performance on these benchmarks. Overall, these results indicate that Attn-Sampler provides consistent improvements across tasks, with especially clear advantages on problems that require stronger structural dependencies.
- Error bars and evaluation variance.
Following prior sampler works on dLLMs, including LLaDA, Fast-dLLM, and KLASS, our sampling procedure is fully deterministic. In each step, we unmask the highest total attention position with max probability token. Given the same model and input, repeated runs produce exactly the same output. Consequently, there is no run-to-run variance arising from sampling randomness.
- Tie cases.
Any ties in token-selection scores are resolved deterministically by the underlying argmax operation. Therefore, tie cases do not introduce additional randomness.
- Sensitivity to decoding hyperparameters.
Sequential sampling does not introduce any decoding hyperparameter. For parallel sampling, the only additional hyperparameter is the threshold, which controls the balance between accuracy and throughput (i.e., a more aggressive threshold yields higher throughput, while a more conservative threshold better preserves accuracy). As an example, Figure 2 shows the Pareto fronts for our method and the competing parallel samplers by varying the threshold. Unlike typical hyperparameters in which sensitivity might be a concern, this threshold hyperparameter is used to navigate the whole Pareto front.
Part 2
Q1. How is the attention aggregation across heads and layers normalized in the final implementation, and does this aggregation introduce any nontrivial memory or synchronization overhead during inference?
For a Transformer with layers and attention heads per layer, we aggregate the attention scores by taking their arithmetic mean:$ \frac{1}{mn} \sum_{l=1}^{m} \sum_{h=1}^{n} s_{j}^{(l,h)}$, where is the attention score of token from head in layer .
This aggregation only involves simple element-wise additions followed by a scalar normalization. It does not require storing the full attention matrices across layers or heads. Therefore, the aggregation itself introduces negligible memory overhead and essentially no additional synchronization or latency during inference. For example, Fast-dLLM v2 has 28 layers and 28 attention heads, with a block size of 32, the additional computation for aggregation is floating-point operations. On a NVIDIA A100 GPU whose FP16 Tensor Core throughput is 312 TFLOPS (Tera floating point operations per second), this additional time required is negligible (approximately s). The memory overhead is only a score vector .
Q2. How was the default threshold value for parallel Attn-Sampler chosen, and how sensitive are the main benchmark results to this choice beyond the GSM8K throughput-accuracy curves?
We would like to point out that
(i) All existing parallel samplers (as in Fast-dLLM, KLASS and EB-Sampler) need to use a threshold;
(ii) In our experiments involving parallel sampling, we use a default threshold of for all models and all tasks. This is also the default threshold used in Fast-dLLM, and is not tuned specifically for our method.
(iii) Most importantly, in parallel sampling, there is a tradeoff between accuracy and throughput (i.e., a more aggressive threshold yields higher throughput, while a more conservative threshold better preserves accuracy). This tradeoff in this multi-objective optimization problem is controlled by the threshold. Unlike typical hyperparameters in which sensitivity might be a concern, this threshold hyperparameter is used to navigate the whole Pareto front. As an example, Figure~2 shows the Pareto fronts for our method and the competing parallel samplers by varying the threshold.
(iv) To further evaluate the threshold beyond GSM8K, we additionally report the accuracy--throughput trade-off on HumanEval below. The results show a consistent trend: as the threshold is relaxed, both samplers achieve higher throughput at the cost of some accuracy, while Attn-Sampler consistently provides a better accuracy--throughput trade-off than the Fast-dLLM (confidence-based) sampler. For example, Attn-Sampler achieves accuracy at TPS, compared with at TPS for the confidence-based sampler.
| Method | Acc. (%) | TPS | Acc. (%) | TPS |
|---|---|---|---|---|
| Attn-Sampler | 58.54 | 85.32 | 56.71 | 97.09 |
| Fast-dLLM | 54.27 | 70.48 | 50.00 | 78.70 |
Q3. Are there task types or sequence lengths where attention-column sums become a poor proxy for token importance, especially when the model's attention is diffuse or dominated by prompt tokens?
Our sampler relies on the ranking of attention-column sums among the currently masked positions, rather than on their magnitudes. Thus, even when prompt tokens receive a large fraction of the total attention, the sampler can remain effective as long as the relative ranking among masked-token scores is preserved.
Kind Reminder
Dear Reviewer,
Thank you again for your efforts and valuable comments in reviewing our paper. We have carefully addressed your comments and concerns in detail in the rebuttal and we hope you might find the response satisfactory. We are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify further concerns (if any).
Best,
Authors.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes Attn-Sampler, a training-free algorithm for dLLM sampling. It formulates sampling order selection as a log-likelihood maximization problem and proves that the optimization is NP-hard. To address this, it derives a tractable sampling-rank-based approximation. Experimental results show that Attn-Sampler consistently outperforms existing methods.
Strengths and weaknesses
Strengths
- The authors provide a clear and interesting theoretical justification. In particular, they formulate sampling order selection as a log-likelihood maximization problem, show that the original optimization is NP-hard, and derive a tractable approximation.
- Since the proposed method is training-free, it is easy to integrate into existing dLLM frameworks.
Weaknesses
- While the paper derives a mathematical upper bound for PDG, it does not analyze the tightness of this bound or provide any approximation guarantee relating the proposed approximation to the original PDG objective. Since the proposed method optimizes only the upper-bound objective, it remains unclear whether this optimization consistently leads to near-optimal solutions for the original NP-hard problem.
- The theoretical analysis is based on a simplified one-layer Transformer model to ensure mathematical tractability. While this assumption enables a formal analysis, it remains unclear whether the derived theoretical guarantees extend to multi-layer dLLMs. Moreover, the experimental results suggest that peak performance (see Figure 4/84.23% on GSM8K) is achieved when attention information is aggregated across all 28 layers and heads. The current theoretical framework does not explain why aggregating information across multiple layers is necessary for high performance.
- The proposed parallel sampling strategy relies on a heuristic threshold that must be manually tuned. Since the optimal threshold may vary across models, datasets, and tasks, it requires manual tuning for each setting, limiting the practicality of the method. An adaptive thresholding strategy would significantly improve its robustness and applicability.
- The experimental evaluation is limited to only four benchmarks (GSM8K, MATH, HumanEval, and MBPP), and recent dLLM works evaluate their methods on a much broader set of benchmarks. I strongly encourage the authors to evaluate the proposed method on the full benchmark suite used in LLaDA (including MMLU, BBH, ARC-C, HellaSwag, TruthfulQA, WinoGrande, PIQA, GPQA, CMMLU, and C-Eval). Since the proposed method is training-free and does not require model retraining, such additional evaluations should be feasible and would significantly strengthen the paper.
Questions
Please see the concerns detailed in the Weaknesses.
Limitations
Please see the concerns detailed in the Weaknesses.
Formatting concerns
None
4 comments
Part 1
W1. While the paper derives a mathematical upper bound for PDG, it does not analyze the tightness of this bound or provide any approximation guarantee relating the proposed approximation to the original PDG objective. Since the proposed method optimizes only the upper-bound objective, it remains unclear whether this optimization consistently leads to near-optimal solutions for the original NP-hard problem.
Our goal is to provide an upper bound for PDG to make the optimization tractable in practice. This approach is commonly used in machine learning. For example, ELBO is widely used as a tractable surrogate for the log-likelihood in generative modeling, even though maximizing ELBO does not in general provide an approximation guarantee for maximizing the exact log-likelihood.
From the proof in Appendix A.1, the inequality in the bound reduces to an equality when (i) (Lipchitz inequality) the log-softmax gradient norm equals its maximal value in the first inequality below line 415, (ii) (matrix norm inequality) the direction of hidden-state difference aligns with the direction of the lm head in the second inequality below line 415. (iii) (triangle inequality) vectors in the first inequality above line 416 are positively collinear. (iv) (supremum inequality) the value differences associated with non-negligible attention weights have magnitudes equal to the maximal discrepancy in the second inequality above line 416, i.e., We will add this to our final version.
W2. The theoretical analysis is based on a simplified one-layer Transformer model to ensure mathematical tractability. While this assumption enables a formal analysis, it remains unclear whether the derived theoretical guarantees extend to multi-layer dLLMs. Moreover, the experimental results suggest that peak performance (see Figure 4/84.23% on GSM8K) is achieved when attention information is aggregated across all 28 layers and heads. The current theoretical framework does not explain why aggregating information across multiple layers is necessary for high performance.
The one-layer Transformer setting is a standard simplification in theoretical analyses of Transformer models and has been widely adopted in prior work, including Huang et al. (2024), Li et al. (2024), and Siyu et al. (2024) as cited in Line 132 of the submission.
Moreover, while the theoretical guarantee is currently established only under this setting, all experiments are conducted on multi-layer, multi-head dLLMs, where the proposed Attn-sampler consistently improves performance. These results indicate that the resulting sampling principle remains effective beyond the one-layer setting.
We agree that the current analysis does not explain why aggregating attention information across multiple layers and heads further improves performance. One possible explanation is that different layers and heads capture complementary dependency information, and their aggregation provides a more stable estimate of token importance. However, formally characterizing this effect requires a multi-layer theoretical framework, which is beyond the scope of existing theoretical analysis tools for transformers. Extending the analysis to multi-layer setting is an important direction and we will leave it for future work.
W3. The proposed parallel sampling strategy relies on a heuristic threshold that must be manually tuned. Since the optimal threshold may vary across models, datasets, and tasks, it requires manual tuning for each setting, limiting the practicality of the method. An adaptive thresholding strategy would significantly improve its robustness and applicability.
We would like to point out that
(i) All existing parallel samplers (as in Fast-dLLM, KLASS and EB-Sampler) need to use a threshold;
(ii) In our experiments involving parallel sampling, we use a default threshold of for all models and all tasks. This is also the default threshold used in Fast-dLLM, and is not tuned specifically for our method.
(iii) Most importantly, in parallel sampling, there is a tradeoff between accuracy and throughput (i.e., a more aggressive threshold yields higher throughput, while a more conservative threshold better preserves accuracy). This tradeoff in this multi-objective optimization problem is controlled by the threshold. As an example, Figure~2 shows the Pareto fronts for our method and the competing parallel samplers by varying the threshold. Hence, the threshold is not intended to have a single ``optimal'' value, but should be user-controllable for selecting the desired accuracy--throughput trade-off during inference. Since this preference depends on the user, the threshold cannot be determined automatically by any algorithm.
Part 2
W4. The experimental evaluation is limited to only four benchmarks (GSM8K, MATH, HumanEval, and MBPP), and recent dLLM works evaluate their methods on a much broader set of benchmarks. I strongly encourage the authors to evaluate the proposed method on the full benchmark suite used in LLaDA (including MMLU, BBH, ARC-C, HellaSwag, TruthfulQA, WinoGrande, PIQA, GPQA, CMMLU, and C-Eval). Since the proposed method is training-free and does not require model retraining, such additional evaluations should be feasible and would significantly strengthen the paper.
dLLM sampler is designed to improve the sampling order for multi-token generation, which is particularly relevant for coding and reasoning-intensive tasks. On the other hand, among your suggested benchmarks, all except BBH involve multiple-choice questions and only requires the generation of one single token for each question.
To address your concern, we now add a new experiment on BBH, (using Fast-dLLM v2 model with parallel samplers). The following table shows that our Attn-Sampler also achieves SOTA performance, demonstrating that the benefit of our Attn-sampler extends beyond coding and math tasks. This BBH experiment will be added to the final version of this paper.
| Method | Accuracy |
|---|---|
| Attention Sampler | 58.3 |
| Fast-dLLM Sampler | 55.6 |
| Klass Sampler | 57.3 |
| EB Sampler | 52.1 |
Kind Reminder
Dear Reviewer,
Thank you again for your efforts and valuable comments in reviewing our paper. We have carefully addressed your comments and concerns in detail in the rebuttal and we hope you might find the response satisfactory. We are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify further concerns (if any).
Best,
Authors.
Kind Reminder
Dear Reviewer,
Thank you again for your efforts and valuable comments in reviewing our paper. As the discussion period will end in 48 hours, we are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify further concerns (if any).
Best,
Authors.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear AC,
Thank you very much for your time and effort in handling our submission.
We are pleased that all reviewers who participated in the discussion indicated that their concerns had been addressed. We also believe that the concerns raised by the reviewers who did not participate in the discussion have been adequately addressed in our rebuttal.
Below, we briefly clarify the five key points raised in the meta-review.
Regarding the simplified theoretical setting and the tightness of the bound: In our response to W1 and W2 from Reviewer XYr1, we clarified that the one-layer Transformer setting is a standard simplification widely adopted in prior work, as cited in our submission, and provided the conditions under which the derived upper bound becomes tight.
Regarding the evaluation benchmarks: dLLM samplers are designed to improve the sampling order during multi-token generation. However, among the benchmarks used to evaluate LLaDA, all other benchmarks except BBH are multiple-choice questions that require generating only a single answer token, making them less suitable for evaluating sampling-order strategies. In response to W2 from Reviewer qpqD, we therefore added experiments on BBH, the relevant multi-token generation benchmark. Reviewer qpqD subsequently confirmed that this concern had been fully addressed.
Regarding the gains and single-seed evaluation: We clarified in W3 from Reviewer qpqD that Attn-Sampler provides consistent improvements, especially on structured tasks. Moreover, our sampling procedure is deterministic, so repeated runs under the same evaluation setting produce identical outputs. Reviewer qpqD confirmed that this concern was fully addressed.
Regarding the cost of all-layer, all-head attention aggregation: in our response to Q1 from Reviewer qpqD, we clarified that the aggregation requires only simple element-wise averaging and an additional score vector, resulting in negligible computational and memory overhead. Reviewer qpqD subsequently confirmed that this concern had been fully addressed.
Regarding adaptive threshold selection: in our response to W3 from Reviewer XYr1, we clarified that a threshold is required by all parallel sampling methods. We use the same default value of 0.9 across all models and tasks without tuning. The threshold controls the accuracy–throughput trade-off, as illustrated by the Pareto fronts in Figure 2. Its selection depends on the user’s preference between accuracy and throughput and therefore cannot be determined automatically.
We will include all the above clarifications and supporting results in the final version.
Once again, we sincerely thank the AC and all reviewers for their time and valuable feedback.
Best,
Authors.