DFlow: Enabling Verifier Information Flow in Block Diffusion Speculative Decoding
Authors: Yaojie Zhang, Linfeng Zhang, Bin Cui, Xupeng Miao
Organizations: School of Computer Science & Beijing Key Laboratory of Software and Hardware Cooperative Artificial Intelligence Systems, Peking University · University of Electronic Science and Technology of China · Shanghai Jiao Tong University · Institute of Computational Social Science, Peking University (Qingdao)
Block diffusion speculative decoding improves LLM inference efficiency by proposing a block of future tokens in parallel and verifying them with a single forward pass through the target model. However, existing methods retain only the accepted prefix and discard the rejected suffix, preventing the computation spent on these positions from benefiting subsequent drafting rounds and forcing the drafter to repeatedly reconstruct representations for future tokens from scratch. We observe that rejection only determines whether a proposed token can be committed, while the verifier representations at rejected positions can still provide useful information for subsequent predictions. Based on this observation, we propose DFlow, a simple yet effective framework that enables verifier information to flow across drafting rounds. DFlow reuses the hidden states produced by the target verifier for the rejected suffix to guide subsequent drafting without additional target computation. To effectively learn this information flow across drafting rounds, we introduce a self-condition train strategy that feeds verifier representations from earlier predictions back into subsequent predictions. Experiments on Qwen3 models across diverse benchmarks demonstrate that DFlow consistently improves draft quality and acceptance length over DFlash.
Figures & tables
Figure 1: Average acceptance length of different methods on Qwen3-1.7B under greedy decoding.
Figure 2: Pipeline of DFlow. DFlow reuses verifier hidden states from rejected suffix positions through the relay module to enhance the corresponding mask embeddings in the next drafting round, without an additional target model forward.
Math
Code
Chat
Overall
Model
Method
GSM8K
MATH-500
HumanEval
MBPP
MT-Bench
Alpaca
Avg.
Temperature = 0
Qwen3-1.7B
EAGLE-3
3.71
3.62
3.30
3.07
3.20
2.73
3.27
DFlash
4.30
4.08
3.51
3.43
3.43
2.61
3.56
DFlow
4.83
4.53
3.83
3.75
3.78
2.85
3.93
Qwen3-4B
EAGLE-3
3.30
3.14
3.08
3.00
3.07
2.86
3.08
Table 1: Average acceptance length τ under the low-concurrency setting. Results are reported under both greedy decoding ( T=0 ) and sampling decoding ( T=1 ). The average is computed over all evaluated benchmarks.
Task
Method
Concurrency
1
2
4
8
16
32
Qwen3-4B
GSM8K
Baseline
146.25
287.58
549.67
1063.16
1804.22
2850.74
EAGLE-3
233.99 1.60×
420.16 1.46×
758.99 1.38×
1210.98 1.14×
1634.96 0.91×
1942.57 0.68×
DFlash
349.59 2.39×
635.08 2.21×
1124.58 2.05×
1802.80 1.70×
2368.26 1.31×
2672.69 0.94×
DFlow
376.26 2.57×
679.39 2.36×
1217.36 2.21×
1959.07 1.84×
2580.66 1.43×
3208.95 1.13×
Table 2: High-concurrency throughput on Qwen3 models. Baseline rows report absolute throughput in TPS. Other entries report TPS with green subscripts indicating speedup over the corresponding baseline.
Block diffusion drafters accelerate speculative decoding by generating multiple draft tokens in a single forward pass. However, each pass produces only a fixed-length block from a single target-generated anchor, limiting how far the draft can extend. Meanwhile, target verification computes hidden states even at positions beyond the first rejection, but these states are typically discarded rather than reused. We propose ReAnchor, a training-free method that reanchors a pretrained drafter at shifted positions using discarded verifier states to generate parallel draft blocks. These blocks improve predictions within the original block and extend coverage beyond its endpoint. At sampling temperature of T=0, ReAnchor achieves its largest average gains on Gemma 4-12B, improving acceptance length by 19.4% and decoding speed by 17.9% across eight benchmarks. Averaged equally over four target models and eight benchmarks, it improves acceptance length by 15.2% and decoding speed by 13.4% with pretrained DFlash drafters.
Diffusion drafters accelerate speculative decoding by proposing multiple tokens in parallel. Despite recent advances in speculative decoding through sequence-level drafting and verification, existing training objectives remain largely designed around token-level verification. To address this mismatch, we introduce Block Verification-aware loss (BV loss), a training objective designed to maximize the expected acceptance length of a drafted sequence. BV loss is directly derived from the block verification acceptance rule, providing a principled connection between the drafter training objective and the inference-time verification mechanism at the sequence level. Across math, code, and chat benchmarks, BV loss increases the mean number of tokens accepted per verification call under block verification by 13.0--21.0% over cross-entropy loss training for DFlash and DSpark with Qwen3-4B and Qwen3-8B without changing the inference procedure. BV loss also outperforms tokenwise acceptance objectives such as TV loss and LK loss, and its gains extend to token verification and greedy decoding. These results demonstrate the benefit of training block diffusion drafters with an objective aligned with sequence-level verification, rather than optimizing each token independently.
Suyoung Kim, Jahyun Koo, Hyeonjin Kim +5
a2sys (a2sys.ai) · Seoul National University (snu.ac.kr) · University of Wisconsin (wisc.edu)
Block-diffusion drafters like dFlash generate an entire block of draft tokens in a single forward pass, drastically reducing the overhead of multiple-token drafting in speculative decoding. The crucial final step of the single-pass discrete denoising process involves using the logit distribution at each position to sample conditionally independent tokens. The resulting draft is thus a set of per-position marginals, rather than a joint distribution: no draft token is guaranteed to depend on its predecessors. Such independently sampled marginals tend to produce sequences with tokens that are individually likely, but jointly improbable under the target model's distribution, which verifies each token conditionally. This can cause early rejection and limits acceptance length. To address this, we propose xPress as a means to restore the missing causality in diffusion drafters. xPress is a lightweight causal refiner that reconciles the whole diffusion block at once through parallel refinement, restoring and propagating causal dependencies across the draft without a token-by-token loop. On Qwen3-8B, across seven math, code, and chat benchmarks, xPress raises acceptance length by about 30% on average (up to +56%) and its end-to-end decoding throughput by about 1.3 on average (up to 1.7) compared to the original dFlash diffusion drafter.
Zheng Wang, Davis Wertheimer, Yu Chin Fabian Lim +4