potentialpaper

Flash-dLLM: IO-Aware KV Caching and Parallel Decoding for Fast, Memory-Efficient Diffusion LLMs

Quan Nguyen-Tri, Mukul Ranjan, Zhiqiang Shen

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

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

Or let your agent set it up

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

Abstract. Diffusion Large Language Models (dLLMs) have recently emerged as a promising alternative to autoregressive LLMs by enabling non-autoregressive text generation. However, their practical deployment remains limited by inefficient inference, largely due to the absence of effective Key-Value (KV) caching and scalable parallel decoding mechanisms. Existing acceleration methods typically study KV caching and parallel decoding in isolation, overlooking the I/O bottlenecks that arise when cache reuse and parallel token verification are jointly applied. In this work, we introduce  Flash-dLLM\textbf{ Flash-dLLM}, a training-free inference acceleration framework for fast and memory-efficient dLLMs. Flash-dLLM first identifies GPU memory I/O as a dominant bottleneck in KV-cache-enabled dLLM inference and addresses it with an I/O-aware fused KV-cache kernel that reduces redundant memory movement. Building on this optimized cache mechanism, Flash-dLLM further proposes an efficient KV-cache-driven draft-and-verify decoding strategy, where the dLLM itself serves as both drafter and verifier without requiring an auxiliary model. This unified design enables faster decoding while preserving generation quality and improving scalability to longer sequences and larger batch size. Extensive experiments on mathematical reasoning and code-generation benchmarks demonstrate that Flash-dLLM consistently outperforms existing state-of-the-art dLLM acceleration methods in both inference speed and memory efficiency. In particular, at generation length 512 it achieves 5.1×5.1\times and 11.0×11.0\times higher throughput than Elastic-Cache on GSM8K and HumanEval, respectively.

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

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

edit · history

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

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

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

This paper proposes Flash-dLLM, a training-free inference acceleration framework for diffusion LLMs that combines an IO-aware KV-cache kernel with a self draft-and-verify decoding strategy. The reviewers find the problem timely and the overall system practical, and they view the systems-level diagnosis of KV-cache I/O bottlenecks as a meaningful strength. They also raise important concerns about limited and potentially incomplete baseline comparisons, unclear separation between algorithmic gains and kernel-level optimization, and the fact that some speed improvements come with nontrivial accuracy drops or insufficient statistical support. Despite these remaining uncertainties, the paper makes a meaningful practical contribution to dLLM inference and presents promising results.

Final justification

The author were addressed the raised concerns and scores are increased. The final decision is accept.

Area Chair 86eL · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes Flash-dLLM, a training-free inference acceleration framework for diffusion LLMs that combines an IO-aware KV-cache kernel with a self draft-and-verify decoding strategy. The reviewers find the problem timely and the overall system practical, and they view the systems-level diagnosis of KV-cache I/O bottlenecks as a meaningful strength. They also raise important concerns about limited and potentially incomplete baseline comparisons, unclear separation between algorithmic gains and kernel-level optimization, and the fact that some speed improvements come with nontrivial accuracy drops or insufficient statistical support. Despite these remaining uncertainties, the paper makes a meaningful practical contribution to dLLM inference and presents promising results.

Final justification

The author were addressed the raised concerns and scores are increased. The final decision is accept.

Reviewer fuWkOpenReview ↗
Rating
4/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

This paper proposes Flash-dLLM, a training-free inference accelerator for diffusion LLMs. The method combines an IO-aware fused KV-cache kernel, selective cache updates over influential tokens, and a self draft-and-verify decoding scheme. The paper argues that KV caching for dLLMs is not just a recomputation problem: memory traffic can dominate runtime once cache reuse and parallel decoding are used together. Experiments on LLaDA-1.5 and Dream-7B over math and code benchmarks report large speedups over no-cache, Fast-dLLM, and Elastic-Cache baselines, with mostly similar task accuracy.

Strengths and weaknesses

This is a timely and useful problem. dLLMs are getting attention, but their inference stack is still much less mature than autoregressive LLM serving. I find the main systems diagnosis plausible: caching may reduce recomputation but still lose a lot of time to GPU memory movement. The paper is also practical in spirit. The fused cache kernel, selective cache update, and self-verification idea fit together well, and the reported throughput gains are large, especially at longer generation lengths. The training-free nature of the method is a real plus, since it makes the approach easier to adopt than methods requiring auxiliary training or model changes.

That said, my main concern is the comparison set. The main experiments compare mostly with Fast-dLLM and Elastic-Cache. The paper mentions dKV-Cache, FlashDLM, Prophet, and FreeDave, but does not compare with them. More importantly, I do not see a citation or comparison to Dynamic-dLLM, an ICLR 2026 paper that also does training-free dLLM acceleration with dynamic cache updating and adaptive parallel decoding, and uses overlapping models/benchmarks such as LLaDA, Dream, GSM8K, and HumanEval. I would not compare raw TPS numbers across papers, since Dynamic-dLLM uses a different GPU/setup, but the overlap is strong enough that a rerun under the authors' A100 setup or a clear exclusion rationale seems necessary. Without this, the claim of outperforming existing dLLM acceleration methods is hard to judge.

There is also a presentation issue around the baselines. Figure 4 appears to include "dllm-Cache", while the main experimental setup lists only No Cache, Fast-dLLM, and Elastic-Cache as baselines. This is confusing: if dLLM-Cache is included, it should be described in the setup and tables; if not, the figure should be corrected. This matters because the paper's main weakness is already baseline coverage.

A second concern is fairness of the speed comparison. Some of the reported gains may come from the custom fused Triton kernel rather than from the higher-level cache/update/verify policy. That is a valid engineering contribution, but then the paper should be clearer about what would happen if Fast-dLLM, Elastic-Cache, or Dynamic-dLLM-style methods were implemented with comparable IO-aware kernels. Right now it is hard to separate algorithmic improvement from unequal kernel-level optimization.

Relatedly, the throughput metric needs a bit more care. The appendix says throughput is averaged over generated tokens until EOS. If different methods terminate at different lengths, tokens/sec alone can hide changes in per-example latency, number of denoising steps, or output-length distribution. I would prefer to see latency per example, average output length, denoising steps, and tokens/sec together. Similarly, the fastest variants should be compared through accuracy-speed Pareto curves over thresholds/block sizes, not only through one selected operating point per method.

I am also not fully convinced by the statistical evidence. The checklist says no error bars are reported, while several accuracy differences are small. Some faster settings also lose accuracy. This may be a reasonable speed-quality trade-off, but the paper should be more careful when saying that generation quality is preserved. At minimum, repeated-run variance for both accuracy and throughput would help, especially on GSM8K/HumanEval-style benchmarks where small differences are easy to over-interpret.

There are a few internal consistency / clarity issues that should be fixed. Section 3.2 says greedy Flash-Cache accuracy remains within 0.7% of the baseline in all settings, but Table 1 appears to show a much larger drop on HumanEval-256 (43.29 to 35.37 in the extracted table). The text says Flash-dLLM scales to batch size 32, but Table 6 gives detailed numbers only up to batch size 24. The main setup says the default verification threshold is gamma=0.9, while Appendix Table 5/text indicate gamma=0.95 for most non-GSM8K settings. These may be explainable, but they currently make the experimental story harder to trust.

The ablations are useful but still incomplete. The paper varies block size and verification threshold, but I would like to see the fused kernel, selective cache update, scheduled attention, and Flash-Verify separated more cleanly across both LLaDA and Dream. The memory comparison also needs normalization: some gains may come from flat preallocation or batching layout rather than the cache policy itself, so applying similar memory management to baselines would make the comparison cleaner. The evaluation is also concentrated on a single A100 80GB, structured math/code tasks, and generation lengths up to 512; open-ended generation, longer contexts, and more hardware settings remain untested. Since fused-kernel speedups can be hardware-sensitive, additional hardware or at least a more detailed A100 kernel breakdown would strengthen the IO claim.

Overall, I lean borderline positive because the system idea is concrete and the speedups are large. However, this is a weak 4 for me. The missing Dynamic-dLLM / dLLM-Cache-style comparisons and the limited statistical evidence make the acceptance case fragile.

Also, I appreciate that the authors accept to adopt the LLM integration in the review, which is really meaningful in the submission / review process.

Questions
  1. Can the authors rerun or otherwise fairly compare against Dynamic-dLLM, dLLM-Cache, and dKV-Cache under the same A100 setup? If not, what exactly prevents this comparison?

  2. Can the authors add same-kernel ablations, e.g., Fast-dLLM/Elastic-Cache with the same fused kernel or scheduled attention, and Flash-dLLM without fusion?

  3. Can the paper report latency per example, output length, denoising steps, and accuracy-speed Pareto curves, not only tokens/sec until EOS?

  4. Please clarify the experimental inconsistencies: "dllm-Cache" in Figure 4, batch size 32 vs Table 6 up to 24, gamma=0.9 vs 0.95, and the HumanEval-256 accuracy drop.

  5. Can you report variance for both accuracy and throughput, and provide more hardware/memory-layout evidence that the gains are not A100- or implementation-specific?

My score would increase with fair same-hardware comparisons to Dynamic-dLLM/dLLM-Cache-style baselines, same-kernel ablations, clearer metric reporting, and variance estimates. It would decrease if close baselines are omitted or if the gains mostly come from unequal kernel-level optimization or output-length/threshold effects.

Limitations

The limitations are partly addressed. The paper notes the limited model/task coverage and fixed hyperparameters, but it should also mention the missing Dynamic-dLLM comparison, lack of statistical uncertainty, possible EOS/output-length effects in the throughput metric, hardware dependence of the fused kernel, memory-layout fairness, and lack of open-ended/long-context generation results.

Final justification

Some of concerns are not addressed and I'll keep the original score.

Formatting concerns

No

11 comments
Authors · CommentOpenReview ↗

Response to Reviewer fuWk [6/6]

W7 & Q5: The ablations are useful but still incomplete. The paper varies block size and verification threshold, but I would like to see the fused kernel, selective cache update, scheduled attention, and Flash-Verify separated more cleanly across both LLaDA and Dream. The memory comparison also needs normalization: some gains may come from flat preallocation or batching layout rather than the cache policy itself, so applying similar memory management to baselines would make the comparison cleaner. The evaluation is also concentrated on a single A100 80GB, structured math/code tasks, and generation lengths up to 512; open-ended generation, longer contexts, and more hardware settings remain untested. Since fused-kernel speedups can be hardware-sensitive, additional hardware or at least a more detailed A100 kernel breakdown would strengthen the IO claim. Can you report variance for both accuracy and throughput, and provide more hardware/memory-layout evidence that the gains are not A100- or implementation-specific?

Thanks for your comments. Following your suggestion, we have clarified the following points:

Component separation. We have reported the contribution of each component in our method through additional ablation studies. In summary, the fused KV-cache kernel addresses the memory I/O bottleneck at small batch sizes, while scheduled attention improves batch scalability by reducing the time and memory overhead caused by synchronized cache updates. Finally, selective cache updates and Flash-Verify provide a flexible accuracy–speed trade-off through the adjustment of the tracked-token budget and the verification threshold, respectively.

Memory comparison. Efficient memory utilization is an integral part of our proposed method. The memory pre-allocation and direct read/write design in Flash-Cache primarily addresses the memory I/O bottleneck by reducing unnecessary memory traffic. According to our ablation study, however, scheduled attention contributes the largest reduction in memory usage, as it eliminates the synchronization overhead associated with batch-wise cache updates, thereby reducing both peak memory consumption and decoding latency at large batch sizes.

Applying the same fused kernel and scheduled attention techniques to the baseline methods indeed could further improve their efficiency. To better isolate the contribution of our selective cache update strategy, we additionally compare the decoding latency and peak memory consumption of Flash-Cache without scheduled attention against the baseline methods.

Configuration Acc (%) Latency (s) Memory (GB)
Flash-Cache 81.73 1163.70 43.1
w/o scheduled attention 82.71 5458.56 51.7
Fast-dLLM 80.82 7128.64 69.5
Elastic-Cache 81.50 6111.53 67.2

Our selective cache update strategy, operating under a fixed computation budget, requires substantially less memory than both Fast-dLLM and Elastic-Cache. The small, constrained computation budget also reduces decoding latency while preserving high generation accuracy, demonstrating that Flash-Cache achieves a more favorable balance between memory efficiency, speed, and model quality.

Hardware settings Following your suggestion, in addition to reporting error bars for every benchmark on the same A100 GPU, as provided in our response to W5, we further conducted additional ablation studies on two different GPU platforms: A100 (80 GB) and RTX 3090 (24 GB).

On each GPU, we evaluated the impact of the fused KV-cache kernel and scheduled attention. Specifically, we conducted experiments with batch sizes 1 and 4 on the RTX 3090 and batch sizes 1 and 16 on the A100:

Latency (s) RTX 3090 (bs=1) RTX 3090 (bs=4) A100 (bs=1) A100 (bs16)
Flash-Cache 6446.54 4948.65 3909.86 1163.70
w/o fused kernel 7240.15 4995.85 4980.18 1213.88

These experiments demonstrate that the performance gains from the fused KV-cache kernel and scheduled attention are not specific to the A100 implementation and generalize across different GPU architectures.

However, due to the substantial difference in computational capacity between the A100 and RTX 3090, the magnitude of the performance improvement differs considerably. The A100 is able to process much larger batches more efficiently, resulting in significantly greater speedups from scheduled attention at large batch sizes. In contrast, the RTX 3090 achieves more modest gains because its lower computational capacity limits the benefits of increased parallelism.

Nevertheless, the memory I/O bottleneck at batch size 1 remains substantial on both GPUs. Consequently, the fused KV-cache kernel consistently provides significant latency reductions regardless of the underlying hardware platform.

Authors · CommentOpenReview ↗

Response to Reviewer fuWk [5/6]

W6 & Q4: There are a few internal consistency / clarity issues that should be fixed. Section 3.2 says greedy Flash-Cache accuracy remains within 0.7% of the baseline in all settings, but Table 1 appears to show a much larger drop on HumanEval-256 (43.29 to 35.37 in the extracted table). The text says Flash-dLLM scales to batch size 32, but Table 6 gives detailed numbers only up to batch size 24. The main setup says the default verification threshold is gamma=0.9, while Appendix Table 5/text indicate gamma=0.95 for most non-GSM8K settings. These may be explainable, but they currently make the experimental story harder to trust. Please clarify the experimental inconsistencies: "dllm-Cache" in Figure 4, batch size 32 vs Table 6 up to 24, gamma=0.9 vs 0.95, and the HumanEval-256 accuracy drop.

Thanks for pointing out these inconsistencies. We clarify each of them as follows:

HumanEval-256 drop (43.29 to 35.37). The "within 0.7%" statement in Section 3.2 refers to GSM8K and MATH; it does not hold for HumanEval-256, and we will correct the text to state the actual per-benchmark gap rather than a blanket claim.

Batch Size in Figure 4 vs. Table 6. We would like to clarify that Figure 4 and Table 6 were conducted under two different experimental settings.

For Figure 4, we shortened the prefill length by reducing the number of few-shot examples on the GSM8K benchmark from five to one. This configuration allowed us to evaluate the scalability of a wider range of baselines at larger batch sizes. Despite this reduced prefill length, the Fast-dLLM baseline still ran out of memory (OOM) at high batch sizes.

In contrast, Table 6 evaluates the scalability of our method only under the standard evaluation setting using five few-shot examples. This setting reflects the configuration used throughout the main experiments and therefore reports results only up to the maximum feasible batch size under the standard setup.

Default verification threshold. The default verification threshold is γ=0.9\gamma = 0.9 for GSM8K and γ=0.95\gamma = 0.95 for the other benchmarks, as reported in Table 5.

Since we use LLaDA-1.5 on GSM8K as the primary benchmark for our ablation studies and analyses, we referred to the default setting as γ=0.9\gamma = 0.9 in the main text. We agree that this wording may be confusing. In the revised manuscript, we will explicitly state the default hyperparameters, namely γ=0.9\gamma = 0.9 for GSM8K and γ=0.95\gamma = 0.95 for all other benchmarks, to ensure consistency throughout the paper.

dLLM-Cache in Figure 4. dLLM-Cache was included in the Figure 4 scalability plot to broaden method coverage but was not carried into the setup and tables. We have added dLLM-Cache to the comparison tables alongside the other baselines.

We will clarify these experimental settings in the revised manuscript to avoid confusion.

Authors · CommentOpenReview ↗

Response to Reviewer fuWk [4/6]

W5: I am also not fully convinced by the statistical evidence. The checklist says no error bars are reported, while several accuracy differences are small. Some faster settings also lose accuracy. This may be a reasonable speed-quality trade-off, but the paper should be more careful when saying that generation quality is preserved. At minimum, repeated-run variance for both accuracy and throughput would help, especially on GSM8K/HumanEval-style benchmarks where small differences are easy to over-interpret.

To address the concern, we additionally conducted experiments using three different random seeds and reported the mean and standard deviation of both accuracy and tokens per second (TPS). The results for the LLaDA 1.5 model on GSM8K, MATH, MBPP, and Humaneval with a generation length of 512 are shown below.

GSM8K:

Method Acc (%) TPS
Fast-dLLM (conf) 81.19 ±\pm 0.06 36.49 ±\pm 0.42
Elastic-cache (conf) 81.30 ±\pm 0.34 108.04 ±\pm 0.57
Flash-Cache (conf) 80.51 ±\pm 0.81 539.84 ±\pm 3.77
Flash-Cache + Flash-Verify 80.87 ±\pm 0.38 622.78 ±\pm 6.71

MATH:

Method Acc (%) TPS
Fast-dLLM (conf) 33.68 ±\pm 0.00 44.32 ±\pm 0.21
Elastic-cache (conf) 35.36 ±\pm 0.00 74.68 ±\pm 0.16
Flash-Cache (conf) 35.48 ±\pm 0.00 382.08 ±\pm 0.84
Flash-Cache + Flash-Verify 35.00 ±\pm 0.00 401.54 ±\pm 0.79

MBPP:

Method Acc (%) TPS
Fast-dLLM (conf) 36.20 ±\pm 0.00 17.42 ±\pm 0.46
Elastic-cache (conf) 39.00 ±\pm 0.00 32.69 ±\pm 0.38
Flash-Cache (conf) 39.60 ±\pm 0.00 73.85 ±\pm 0.59
Flash-Cache + Flash-Verify 39.60 ±\pm 0.00 79.04 ±\pm 0.32

Humaneval:

Method Acc (%) TPS
Fast-dLLM (conf) 36.59 ±\pm 0.00 15.41 ±\pm 0.11
Elastic-cache (conf) 37.80 ±\pm 0.00 16.83 ±\pm 0.12
Flash-Cache (conf) 36.59 ±\pm 0.00 393.93 ±\pm 3.74
Flash-Cache + Flash-Verify 37.80 ±\pm 0.00 497.91 ±\pm 4.31

The accuracy on GSM8K is significantly affected by the random seed, with Flash-Cache exhibiting the largest standard deviation among all methods. In contrast, on the other benchmarks, the random seed has a negligible effect on accuracy, while only the throughput varies across different runs.

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

Flash-dLLM is a training-free inference-acceleration framework for masked diffusion LLMs with two parts: Flash-Cache, a fused Triton kernel for IO-aware KV caching with block-table scheduling and top-k "most-attended" token tracking, and Flash-Verify, a single-pass self-speculative decoder where the dLLM drafts and verifies its own tokens via a two-view (draft vs. [MASK]) causal mask. On LLaDA-1.5 and Dream-7B across GSM8K, MATH, HumanEval, and MBPP, it reports 5x~77x throughput gains and lower peak memory than no-cache, Fast-dLLM, and Elastic-Cache. Accuracy is comparable in most settings but drops in several.

Strengths and weaknesses

Strengths:

  1. The IO-bound diagnosis of the cache-update path (Fig. 1a) is correct and well-presented, and the fused kernel yields algorithm-independent speedups validated on two model families.
  2. Self-verification without an auxiliary drafter is elegant and practical, reusing the same kernel and pre-allocated cache.
  3. Benchmark coverage and the β/γ ablations are reasonable.

Weaknesses:

  1. I am concerned about the originality of the work. the method combines established techniques — FlashAttention fusion, heavy-hitter token retention, and speculative draft-and-verify — adapted to dLLMs; the two-view verification is the only substantively new element.
  2. The evaluation should be complete and the "outperforms all existing methods" claim is unsupported because the closest baselines (FreeDave, FlashDLM, dKV-Cache) are never benchmarked, and no error bars are reported despite sub-1% gaps driving conclusions. Headline speedups (up to ~187×) are measured against the weakest baseline; versus Elastic-Cache/Fast-dLLM the gain is ~3–4×, which should be foregrounded.
  3. The writing of this paper needs more refinement. The introduction asserts observations and design motivations with citations only in opening sentences, and the r = 0.48 correlation (Fig. 1c) is too weak to support its causal phrasing.
  4. The practical impact the approach is doubtful. Flash-Verify is lossy (accuracy falls with γ), sometime even significant drop in accuracy, so the speculative-decoding-style "preserves quality" framing is overstated.
Questions
  1. Can authors benchmark against FreeDave, FlashDLM, and dKV-Cache under identical settings?
  2. Can authors report mean ± std over ≥3 seeds for the main tables? Sub-1% gaps and the HumanEval-256 drop (43.29 → 35.37) make variance essential.
  3. Can authors foreground speedups versus the strongest baseline and reconcile the A100-vs-RTX-3090 discrepancy for the 1.37× kernel result?
  4. How sensitive is accuracy to the tracked-token budget k and the βmask = β/4 split? An ablation plus comparison to heavy-hitter KV eviction would substantiate the design.
  5. When does the two-view agreement criterion fail, and how does it relate to the provable guarantees of speculative decoding?
Limitations

The authors include Limitations (App. A) and Broader Impact (App. B), which is appreciated. They do not acknowledge the accuracy degradation in some settings, the lossy nature of Flash-Verify, or the missing comparisons — adding these would strengthen the paper.

Final justification

The rebuttal resolves my concerns. I have increased the score.

Formatting concerns

No concerns.

4 comments
Authors · CommentOpenReview ↗

Response to Reviewer 9FWt [4/4]

Q3: Can authors foreground speedups versus the strongest baseline and reconcile the A100-vs-RTX-3090 discrepancy for the 1.37$\times$ kernel result?

Following your suggestion, to reconcile the discrepancy between the A100 and RTX 3090 results for the fused KV-cache kernel, we additionally conducted ablation experiments by disabling the fused kernel under different batch sizes. We measured the total decoding latency on both A100 and RTX 3090 GPUs.

Despite the differences in hardware capability, the results on both GPUs show a substantial increase in decoding latency when the fused KV-cache kernel is omitted at small batch sizes. This is because memory I/O traffic dominates the decoding process and becomes the primary performance bottleneck. As the batch size increases, however, the performance gap becomes much smaller. Greater parallelism improves memory throughput and hides much of the memory access overhead, while our scheduled attention mechanism is applied for batch sizes greater than one, further mitigating the synchronization overhead.

Latency (s) RTX 3090 (bs=1) RTX 3090 (bs=4) A100 (bs=1) A100 (bs16)
Flash-Cache 6446.54 4948.65 3909.86 1163.70
w/o fused kernel 7240.15 4995.85 4980.18 1213.88

Q4: How sensitive is accuracy to the tracked-token budget k and the βmask=β/4\beta_{\text{mask}} = \beta/4 split? An ablation plus comparison to heavy-hitter KV eviction would substantiate the design.

Thanks for the comment. We clarify that, to simplify the design, we fix the number of masked tokens to βmask=16\beta_{\text{mask}} = 16 and analyze the sensitivity of Flash-Cache to the number of tracked tokens, βtrack\beta_{\text{track}}. The overall computation budget remains fixed as β=βmask+βtrack\beta = \beta_{\text{mask}} + \beta_{\text{track}}. We provide a sensitivity analysis of the tracked-token budget βtrack\beta_\text{track} in our response to W4, including a joint analysis with the verification confidence threshold γ\gamma.

Regarding the comparison with Heavy-Hitter KV-cache eviction, Heavy-Hitter is designed for KV-cache eviction in autoregressive LLMs and cannot be directly applied to KV caching in diffusion LLMs, where the KV cache is dynamic and continuously evolves throughout the denoising process. In contrast, Flash-Cache is specifically designed to efficiently update this evolving cache under a fixed computation budget.

That said, we appreciate the reviewer's suggestion. Combining KV caching with KV-cache eviction is a promising direction that could further improve memory efficiency, and we believe it is an impactful avenue for future work.

Q5: When does the two-view agreement criterion fail, and how does it relate to the provable guarantees of speculative decoding?

Thanks for the comment. We clarify that the agreement criterion fails when both views make the same error: the draft view pip_i and mask view qiq_i share most of their conditioning and differ only in the neighbor fill, so they can agree on a token that is stably wrong. Agreement filters tokens whose identity flips under different neighbor conditioning, not tokens that are wrong under both; the γ\gamma threshold reduces this residual but does not eliminate it, which is the source of the small accuracy cost.

On speculative decoding. Speculative decoding accepts with probability min⁡(1,p/q)\min(1, p/q) and resample rejects, reproducing the target distribution exactly. Our criterion is deterministic, so it does not inherit that exactness; instead it gives a bounded deviation, each accepted token stays within total-variation distance 1−γ1-\gamma of the reference marginal (see our response to Reviewer GmLa, Weakness 4 / Question 3). Speculative decoding trades compute for exactness; Flash-Verify trades a bounded, γ\gamma-controlled accuracy cost for a higher acceptance rate with no auxiliary model.

Limitations: The authors include Limitations (App. A) and Broader Impact (App. B), which is appreciated. They do not acknowledge the accuracy degradation in some settings, the lossy nature of Flash-Verify, or the missing comparisons, adding these would strengthen the paper.

Thanks for your kind comment. Following your suggestion, we will acknowledge the accuracy degradation in some settings and the lossy nature of Flash-Verify in the limitations of our revised version. We sincerely appreciate your constructive feedback.

Authors · CommentOpenReview ↗

Response to Reviewer 9FWt [3/4]

W3: The writing of this paper needs more refinement. The introduction asserts observations and design motivations with citations only in opening sentences, and the r = 0.48 correlation (Fig. 1c) is too weak to support its causal phrasing.

Thanks for the suggestion regarding paper writing. We will revise the paper accordingly. Specifically, we will make the following modifications:

On citations. In the introduction, we will add supporting references throughout the motivation paragraphs covering the KV-cache I/O, attention-sparsity, and confidence-dynamics claims.

On Fig. 1c. We would clarify that the r=0.48 correlation is presented as motivating evidence, not as a causal foundation for the method. The figure supports a directional observation, that steps with higher average confidence tend to admit more early-decodable tokens, which motivates why raising committable confidence is worth pursuing. Flash-Verify does not depend on this relationship being causal: its guarantee comes from the two-view agreement test and the γ\gamma threshold, which holds regardless of the confidence-throughput correlation strength. We will revise the phrasing around Fig. 1c to state the observed association plainly and remove the causal wording, and we will note that the correlation is moderate.

We appreciate the reviewer flagging both points and will make these revisions carefully.

W4: The practical impact the approach is doubtful. Flash-Verify is lossy (accuracy falls with γ\gamma), sometime even significant drop in accuracy, so the speculative-decoding-style "preserves quality" framing is overstated.

Thanks for raising this question. We clarify that Flash-Verify is a self-sufficient, lightweight approximation of draft-and-verify speculative decoding. Our two-view verification mechanism, combined with KV caching, eliminates the need to replicate the batch for each candidate token during verification. As a result, the computational cost of the verification step remains constant and scalable, regardless of the number of verification candidates.

This efficiency comes with an inherent trade-off: prediction quality may degrade due to the information loss introduced by both the two-view approximation and KV caching. To mitigate this issue, we introduce a confidence threshold (γ\gamma) as a safeguard to filter out uncertain predictions before they are accepted. Unlike conventional speculative decoding methods, which accept tokens solely based on prediction matching, Flash-Verify explicitly considers prediction confidence to improve robustness against approximation errors.

To further demonstrate the practical impact of Flash-Verify, we provide an additional ablation study that jointly varies the number of tracked tokens βtrack\beta_{\text{track}} and confidence threshold γ\gamma for the Flash-Cache + Flash-Verify method (LLaDA-1.5, GSM8K-512).

βtrack/γ\beta_\text{track} / \gamma 0.95 0.9 0.85 0.8 0.75 Conf
16 69.8 / 521.3 70.8 / 554.7 70.2 / 591.6 71.0 / 622.0 69.7 / 637.6 77.9 / 526.5
32 80.3 / 531.3 80.4 / 563.8 79.3 / 590.0 79.5 / 601.7 79.3 / 640.8 80.6 / 486.7
48 82.3 / 498.3 81.2 / 538.0 80.8 / 563.3 79.6 / 591.0 79.6 / 610.1 82.2 / 441.1
64 82.7 / 474.3 81.5 / 505.7 80.5 / 532.6 80.8 / 555.6 80.3 / 578.7 82.8 / 398.6
80 82.5 / 450.7 82.6 / 476.4 82.0 / 505.6 80.9 / 534.2 80.4 / 557.1 82.9 / 371.8

The results demonstrate that, at the highest confidence threshold (γ=0.95\gamma = 0.95), Flash-Cache + Flash-Verify preserves accuracy comparable to Flash-Cache + confidence-aware decoding (conf-aware) while still achieving higher throughput. As γ\gamma decreases, accuracy is gradually traded off for higher throughput, since more low-confidence tokens are accepted during verification.

Interestingly, increasing the number of tracked tokens (βtrack\beta_{\text{track}}) allows Flash-Verify to safely accept more low-confidence tokens. This is because a larger tracked-token budget reduces the approximation error introduced by KV caching, enabling more aggressive verification without a significant loss in accuracy.

Authors · CommentOpenReview ↗

Response to Reviewer 9FWt [2/4]

W2 (1) & Q1: The evaluation should be complete and the "outperforms all existing methods" claim is unsupported because the closest baselines (FreeDave, FlashDLM, dKV-Cache) are never benchmarked. Headline speedups (up to ~187$\times$) are measured against the weakest baseline; versus Elastic-Cache/Fast-dLLM the gain is ~3-4$\times$, which should be foregrounded. Can authors benchmark against FreeDave, FlashDLM, and dKV-Cache under identical settings?

Thanks for raising this. Following your suggestion, we provide additional benchmarking results in the table below. We would also like to clarify and address each point as follows:

Headline speedup framing. We will foreground the speedup over the strongest baseline (Elastic-Cache) in the abstract and main text: on GSM8K-512 this is 3.4x for Flash-Cache and 3.8x for the combined configuration, with the no-cache multipliers moved to a secondary column in the tables.

Missing baselines. We have run FreeDave, FlashDLM, and dKV-Cache under our setup (LLaDA-1.5, GSM8K-512, identical A100 hardware and software):

Method Acc (%) TPS
dKV-Cache 81.50 14.9
FlashDLM 79.91 15.7
Dynamic-dLLM 79.32 38.4
FreeDave 80.97 42.8
Fast-dLLM 80.82 36.8
Elastic-Cache 81.35 117.2
Flash-Cache (conf-aware) 81.65 544.5
Flash-Cache + Flash-Verify 82.03 564.6

These sit at 15 to 43 t/s at comparable accuracy, well below Flash-Cache. We will add them to the main results table on all benchmarks in the revision.

W2 (2) & Q2: No error bars are reported despite sub-1% gaps driving conclusions. Can authors report mean ±\pm std over ≥3\geq 3 seeds for the main tables?

Following your suggestion, we additionally conducted experiments using three different random seeds and report the mean and standard deviation of both accuracy and tokens per second (TPS). The results for the LLaDA 1.5 model on GSM8K, MATH, MBPP, and Humaneval with a generation length of 512 are shown below.

GSM8K:

Method Acc (%) TPS
Fast-dLLM (conf) 81.19 ±\pm 0.06 36.49 ±\pm 0.42
Elastic-cache (conf) 81.30 ±\pm 0.34 108.04 ±\pm 0.57
Flash-Cache (conf) 80.51 ±\pm 0.81 539.84 ±\pm 3.77
Flash-Cache + Flash-Verify 80.87 ±\pm 0.38 622.78 ±\pm 6.71

MATH:

Method Acc (%) TPS
Fast-dLLM (conf) 33.68 ±\pm 0.00 44.32 ±\pm 0.21
Elastic-cache (conf) 35.36 ±\pm 0.00 74.68 ±\pm 0.16
Flash-Cache (conf) 35.48 ±\pm 0.00 382.08 ±\pm 0.84
Flash-Cache + Flash-Verify 35.00 ±\pm 0.00 401.54 ±\pm 0.79

MBPP:

Method Acc (%) TPS
Fast-dLLM (conf) 36.20 ±\pm 0.00 17.42 ±\pm 0.46
Elastic-cache (conf) 39.00 ±\pm 0.00 32.69 ±\pm 0.38
Flash-Cache (conf) 39.60 ±\pm 0.00 73.85 ±\pm 0.59
Flash-Cache + Flash-Verify 39.60 ±\pm 0.00 79.04 ±\pm 0.32

Humaneval:

Method Acc (%) TPS
Fast-dLLM (conf) 36.59 ±\pm 0.00 15.41 ±\pm 0.11
Elastic-cache (conf) 37.80 ±\pm 0.00 16.83 ±\pm 0.12
Flash-Cache (conf) 36.59 ±\pm 0.00 393.93 ±\pm 3.74
Flash-Cache + Flash-Verify 37.80 ±\pm 0.00 497.91 ±\pm 4.31

The accuracy on GSM8K is significantly affected by the random seed, with Flash-Cache exhibiting the largest standard deviation among all methods. In contrast, on the other benchmarks, the random seed has a negligible effect on accuracy, while only the throughput varies across different runs.

Authors · CommentOpenReview ↗

Response to Reviewer 9FWt [1/4]

We appreciate the reviewer for the careful and constructive comments, which will definitely help us improve the quality of the paper. All your suggestions will be accommodated in our revised paper. Below, we provide detailed clarifications for each of your questions:

W1: I am concerned about the originality of the work. the method combines established techniques, FlashAttention fusion, heavy-hitter token retention, and speculative draft-and-verify, adapted to dLLMs; the two-view verification is the only substantively new element.

Thanks for raising this point. We would like to clarify that:

Regarding the originality of Flash-Cache, to the best of our knowledge, our work is the first to address the key technical bottlenecks that hinder the deployment of KV caching dLLMs, namely: (1) excessive KV-cache I/O traffic and (2) synchronization overhead caused by batch-wise cache updates. Although our solution is inspired by ideas from FlashAttention and Heavy-Hitter KV-Cache eviction, our objectives and designs are substantially different.

FlashAttention reduces memory I/O by introducing tiled attention computation within a single attention operation. In contrast, Flash-Cache introduces a fused KV-cache kernel that jointly performs QKV projection, positional embedding, and KV-cache updates at the exact cache locations. These operations are particularly expensive and complex in dLLMs due to their arbitrary denoising process. To address synchronization overhead, we further propose sequence tiling and scheduling, which enable asynchronous KV-cache updates across different samples in a batch. This removes the synchronization bottleneck that otherwise limits parallelism when sequences have different decoding progress.

In addition, we propose constrained cache updates, which, to the best of our knowledge, is the first method to operate under a fixed cache-update budget without requiring any full-sequence cache updates in subsequent decoding iterations. While this shares the intuition of Heavy-Hitter KV-cache eviction, preserving generation quality using a small subset of influential tokens, our goal is fundamentally different. Heavy-Hitter methods find and permanently evict tokens from the KV cache, whereas Flash-Cache dynamically identifies and updates the most influential tokens at every decoding iteration.

Regarding the originality of Flash-Verify, draft-and-verify decoding has been widely studied for autoregressive LLMs and has recently been adapted to diffusion LLMs by methods such as FlashDLM and FreeDave. However, FlashDLM relies on an external autoregressive LLM as the verifier, while FreeDave performs verification using the diffusion model itself, resulting in substantial computational overhead.

Flash-Verify addresses both limitations by introducing a two-view self-verification mechanism combined with KV caching, making the verification stage significantly more efficient without requiring an external model. This enables a practical, low-cost self-verification strategy tailored specifically for diffusion LLMs.

Reviewer GmLaOpenReview ↗
Rating
4/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 Flash-dLLM, a training-free inference acceleration framework for diffusion LLMs. The two main components are Flash-Cache and Flash-Verify, which target different bottlenecks. Flash-Cache reduces the cost of each denoising step through IO-aware KV-cache reuse, while Flash-Verify increases the number of tokens accepted per step by verifying otherwise discarded low-confidence predictions. Overall, the paper's contribution is to combine systems-level KV-cache optimization with algorithm-level parallel decoding. Experiments on mathematical reasoning and code generation show improved inference speed and memory efficiency over existing dLLM acceleration methods.

Strengths and weaknesses

Strengths

  1. The paper addresses an important and timely problem for the practical deployment of diffusion LLMs.
  2. The paper identifies two key bottlenecks: absence of effective Key-Value (KV) caching and scalable parallel decoding mechanisms for dLLMs. The proposed Flash-Cache and Flash-Verify methods are well-motivated and provide a clear path to addressing these two bottlenecks.
  3. The full Flash-dLLM system is cooperative. Rather than treating cache reuse and parallel decoding separately, Flash-Verify relies on the Flash-Cache fused cached forward path to make the additional verification pass cheap.
  4. The paper reports improved speed and memory efficiency compared with existing dLLM acceleration methods, demonstrating the effectiveness of the proposed approach.

Weaknesses

  1. The Flash-Cache module has several components: fused KV-cache kernel, scheduled flash attention, and constrained cache updates, which makes it difficult to isolate which component is responsible for each gain.
  2. According to the calculation of tracked set Tt+1=top-k(ait:i∈D<t,βm−∣Mβt+1∣)\mathcal{T}^{t+1}=\text{top-k}(\\{a_i^t: i\in \mathcal{D}^{<t} \\}, \beta_m - |\mathcal{M}_\beta^{t+1}|), which means that the newly decoded tokens DtD^t enters the tracked set Tt+1\mathcal{T}^{t+1}, but are not guaranteed to be selected. If newly decoded tokens are not selected, their KV cache may remain stale, because their previous KV state was computed while the position was still filled with [mask]. If my understanding is correct, this is a potential source of performance degradation. Can the authors elaborate on this issue?
  3. Flash-Cache and Flash-Verify are cooperative components in this paper, however, the experiments of combining them are very limited in the paper. Only table 3 shows some results for Flash-Cache + Flash-Verify, but many configurations in Table 1 are not included in Table 3. The experiment does not demonstrate the cooperative gain of the two components compared to gain of individual components.
  4. Flash-Verify is a heuristic method that verifies low-confidence predictions, but the paper does not provide intuition or theoretical guarantee for the correctness of the verified predictions.
Questions
  1. Regarding weakness 2, if my understanding is correct, can the authors elaborate on the design choice where newly decoded tokens DtD^t are not guaranteed to be selected for the tracked set T\mathcal{T}? Does the decoded token's that are not selected for tracking remain stale and degrade the performance of the model?

  2. Regarding weakness 3, can the authors provide a more comprehensive evaluation of the combined approach to demonstrate the cooperative gain of Flash-Cache and Flash-Verify compared to the gain of individual components?

  3. Regarding weakness 4, can the authors provide more intuitions, theoretical proof, empirical analysis or discussion on the mechanism behind Flash-Verify? Is there any theoretical guarantee for the correctness of the verified predictions? What is the advantage of verifying low-confidence predictions compared to simply lowering the threshold ϵ\epsilon to allow more tokens to pass?

  4. Some statements lack clarity. Can the authors clarify the following points:

    4.1 The statement "This ensures that at least β/2\beta/2 tokens can be updated" lacks supporting context.

    4.2 The definition of Qt\mathcal{Q}^t is drifting across the paper. In Line 96 Qt=Dt∪Mβt\mathcal{Q}^t = \mathcal{D}^t \cup \mathcal{M}_{\beta}^t, but in Line 169 Qt=Tt−1∪Mt\mathcal{Q}^t = \mathcal{T}^{t-1} \cup \mathcal{M}^t.

Limitations

Yes

Final justification

The authors' thorough rebuttal and additional clarifications addressed most of my concerns. Although the relative contributions of each component could be characterized more clearly, the overall contribution is meaningful and compelling, so I maintain my rating of 4: Borderline Accept.

Formatting concerns

None

5 comments
Authors · CommentOpenReview ↗

Response to Reviewer GmLa [4/5]

Q3 (2): Is there any theoretical guarantee for the correctness of the verified predictions? What is the advantage of verifying low-confidence predictions compared to simply lowering the threshold ϵ\epsilon to allow more tokens to pass?

On "correctness". Flash-Verify is a biased accelerator by design: because it commits tokens that confidence-aware decoding would have deferred, it cannot be exactly distribution-preserving, and we do not claim it is. This is consistent with the analysis of speculative decoding [1], whose exactness follows from probabilistic accept/reject, and with the theoretical account of [2], under which any accelerator that accepts beyond this rule incurs a bounded distributional deviation (unlike lossless schemes such as FreeDave, which only accept a parallel step that provably reproduces the static path, at the cost of a lower acceptance rate).

Advantage over lowering ϵ\epsilon. This is the key distinction, and it follows directly from which distribution the threshold gates. Lowering ϵ\epsilon relaxes the bar on the draft-view score max⁡xpi(x)\max_x p_i(x). But pip_i conditions on the neighbor drafts x^St∖i\hat{x}^{S^t\setminus i}, so it can be large even when the reference qiq_i is not; a lower ϵ\epsilon therefore admits precisely the tokens whose apparent confidence is an artifact of the neighbor guesses, with no bound on TV(πi,qi)\mathrm{TV}(\pi_i, q_i). Flash-Verify instead gates the mask-view confidence c~i=qi(x~i)\tilde{c}^i = q_i(\tilde{x}^i) and additionally requires draft/mask agreement, which is what makes the 1−γ1-\gamma bound hold. In short: lowering ϵ\epsilon accepts more tokens on the same, contaminated evidence; Flash-Verify accepts them only after a second, decontaminated check. This is why, in Table 4b, Flash-Verify sustains substantially higher tokens/step at comparable accuracy rather than trading accuracy away as a lower threshold would.

Empirical analysis. We further conduct experiments to compare the accuracy–throughput trade-off by varying the verification threshold γ\gamma and the confidence threshold ϵ\epsilon while using the same Flash-Cache framework.

(ACC / TPS) γ/ϵ=0.95\gamma / \epsilon = 0.95 γ/ϵ=0.9\gamma / \epsilon = 0.9 γ/ϵ=0.85\gamma / \epsilon = 0.85 γ/ϵ=0.8\gamma / \epsilon = 0.8
Flash-Verify 82.3 / 498.3 81.2 / 538.0 80.8 / 563.3 79.6 / 591.0
Confidence 81.4 / 371.0 81.9 / 424.8 81.1 / 463.0 79.7 / 516.1

The results show that Flash-Verify consistently achieves a better accuracy–throughput trade-off than confidence-aware decoding.

We hope this clarifies the mechanism and its guarantee, and we will incorporate the theorem, the corollary, and this discussion into the revised paper. We thank the reviewer again for prompting a more rigorous treatment.

Authors · CommentOpenReview ↗

Response to Reviewer GmLa [5/5]

Q4: Some statements lack clarity. Can the authors clarify the following points:

Thanks for raising this concern. We would like to clarify the mentioned confusing points as follows:

Q4.1: The statement "This ensures that at least β/2\beta/2 tokens can be updated" lacks supporting context.

We define a fixed computation budget of β\beta for each iteration. A budget of βmask=β/4\beta_\texttt{mask}=\beta/4 is allocated to unmasking tokens, meaning that the maximum number of newly decoded tokens per iteration is also β/4\beta/4. The remaining computation budget is filled with tracked tokens. As a result, the number of tracked tokens varies depending on how many new tokens were successfully decoded in the previous iteration. The minimum number of tracked tokens is β/2\beta/2, which occurs when all β/4\beta/4 masked tokens are successfully decoded.

Q4.2: The definition of Qt\mathcal{Q}^t is drifting across the paper. In Line 96 Qt=Dt∪Mβ′t\mathcal{Q}^t=\mathcal{D}^t \cup \mathcal{M}_{\beta^{\prime}}^t, but in Line 169Qt=Tt−1∪Mt169 \mathcal{Q}^t=\mathcal{T}^{t-1} \cup \mathcal{M}^t.

Thanks for pointing this out. The definition of Qt\mathcal{Q}^t in Line 96 describes the general KV-caching procedure for diffusion LLMs. In Line 169, however, we redefine Qt\mathcal{Q}^t according to our proposed Flash-Cache method.

Specifically, we introduce the tracked token set Tt\mathcal{T}^{t}, which extends the original formulation by combining the newly decoded tokens Dt\mathcal{D}^{t} with the top-kk most attended tokens selected from the previously decoded tokens: Tt=top-k⁡({ait:i∈D<t−1},  β−∣Mβt∣−∣Dt∣)\mathcal{T}^{t} = \operatorname{top\text{-}k}(\{a_i^t : i \in \mathcal{D}^{<t-1}\},\; \beta - |\mathcal{M}^{t}_\beta| - |\mathcal{D}^{t}|), and Tt=Tt∪Dt\mathcal{T}^{t} = \mathcal{T}^{t} \cup \mathcal{D}^{t}. Accordingly, Qt\mathcal{Q}^t in our method is constructed using Tt\mathcal{T}^{t} rather than the set of previously decoded tokens Dt\mathcal{D}^{t}. We will make this distinction explicit in the revised manuscript to avoid confusion between the general KV-caching formulation and our modified formulation for Flash-Cache.


References:

  1. Leviathan, Yaniv, Matan Kalman, and Yossi Matias. "Fast inference from transformers via speculative decoding." International Conference on Machine Learning. PMLR, 2023.
  2. Yin, Ming, et al. "A theoretical perspective for speculative decoding algorithm." Advances in Neural Information Processing Systems 37 (2024): 128082-128117.
Authors · CommentOpenReview ↗

Response to Reviewer GmLa [3/5]

W4: Flash-Verify is a heuristic method that verifies low-confidence predictions, but the paper does not provide intuition or theoretical guarantee for the correctness of the verified predictions.

Thanks for raising the concern. We clarify that the intuition behind Flash-Verify is to adapt the idea of KV caching into a low-cost draft-and-verify decoding framework for diffusion LLMs. Since Flash-Verify reuses cached KV states, it may produce predictions that differ from the exact model outputs due to approximation errors introduced by KV caching.

To control these prediction errors, we introduce a confidence threshold that determines whether a cached prediction is sufficiently reliable. Unlike conventional draft-and-verify paradigms, such as speculative decoding, which immediately accept drafted tokens once they match the verifier, Flash-Verify uses the confidence threshold as a safeguard against errors introduced by KV-cache approximations. This mechanism allows Flash-Verify to balance decoding efficiency with prediction accuracy.

Q3 (1): Can the authors provide more intuitions, theoretical proof, empirical analysis or discussion on the mechanism behind Flash-Verify?

Thanks for this question. We clarify in three parts: the mechanism/intuition behind Flash-Verify, whether there is a theoretical guarantee, and the advantage over simply lowering ϵ\epsilon, and we address each in detail below. We will add the formal statement (Theorem 1 and Corollary 1) to the appendix in our revision.

Intuition. Confidence-aware decoding judges a token by a single score computed while its neighbors are still being guessed, so a token can look confident only because of a specific (possibly wrong) neighbor guess. Flash-Verify instead re-examines each low-confidence token under a second, cleaner conditioning: the mask view, where the other uncertain positions are returned to [MASK][\mathrm{MASK}]. A token is committed only if the draft view and the mask view agree on it and the mask view is itself confident. Intuitively, a token whose identity survives removing the neighbor guesses is safe to accept; a token that only looked right because of those guesses is filtered out.

Formal setup. Fix a step and a search position i∈Sti \in S^t. Let qi(⋅):=pθ(xi∣xt)q_i(\cdot) := p_\theta(x^i \mid x^t) be the mask-view marginal (position ii scored with the other search positions masked) and pi(⋅):=pθ(xi∣xt,x^St∖i)p_i(\cdot) := p_\theta(x^i \mid x^t, \hat{x}^{S^t\setminus i}) the draft-view marginal (scored with the other search positions filled by their drafts). Write x~i=arg⁡max⁡xqi(x)\tilde{x}^i = \arg\max_x q_i(x), x^i=arg⁡max⁡xpi(x)\hat{x}^i = \arg\max_x p_i(x), and c~i=qi(x~i)\tilde{c}^i = q_i(\tilde{x}^i); these are exactly the quantities in the acceptance rule accept(i)=I[x^i=x~i]⋅I[c~i≥γ]\mathrm{accept}(i) = \mathbb{I}[\hat{x}^i = \tilde{x}^i]\cdot\mathbb{I}[\tilde{c}^i \ge \gamma]. On acceptance, the delivered token is the point mass πi=δx~i\pi_i = \delta_{\tilde{x}^i}. We take qiq_i as the reference distribution, i.e. what one-token-per-step static decoding commits from at position ii, and measure deviation against it in total variation.

Theoretical guarantee. Every token Flash-Verify accepts stays close to this reference, with γ\gamma as the explicit bound.

Theorem 1 (per-token deviation). For every accepted i∈Sti \in S^t,  TV(πi,qi)=1−c~i≤1−γ.\ \mathrm{TV}(\pi_i, q_i) = 1 - \tilde{c}^i \le 1 - \gamma.

Proof. With m=x~im = \tilde{x}^i, TV(δm,qi)=12[(1−qi(m))+∑x≠mqi(x)]=1−qi(m)=1−c~i\mathrm{TV}(\delta_m, q_i) = \tfrac12\big[(1-q_i(m)) + \sum_{x\ne m} q_i(x)\big] = 1 - q_i(m) = 1 - \tilde{c}^i, and acceptance requires c~i≥γ\tilde{c}^i \ge \gamma.

Summing this over a committed block A\mathcal{A} (via sub-additivity of total variation across positions) gives TV(πA,qA)≤∑i∈A(1−c~i)≤∣A∣(1−γ)\mathrm{TV}(\pi_{\mathcal{A}}, q_{\mathcal{A}}) \le \sum_{i\in\mathcal{A}}(1-\tilde{c}^i) \le |\mathcal{A}|(1-\gamma) (Corollary 1). So γ\gamma is not a heuristic knob: it is a provable per-token cap on how far an accepted token can be from what static decoding would have produced. At γ=0.9\gamma = 0.9, every committed token is within total-variation distance 0.10.1 of the reference marginal.

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

Missing a submission?

Loading the discussion…