Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Cost-Aware Diffusion Draft Trees for Speculative Decoding

About

Speculative decoding accelerates inference by having a lightweight drafter propose tokens verified in parallel by the target language model. Block diffusion drafters such as DFlash generate an entire draft block in one pass, yielding per-position marginals; DDTree uses these to build a candidate tree that maximizes expected acceptance length under a fixed node budget. We observe, however, that acceptance length is non-decreasing in budget: it always favors larger trees regardless of verification cost, offering no principled basis for budget selection. We introduce \textbf{CaDDTree} (Cost-aware Diffusion Draft Tree), a method that directly optimizes token throughput (expected tokens generated per unit time) by jointly selecting the tree structure and node budget. We model draft and verification latencies explicitly, show that the throughput objective decomposes into a per-round one-dimensional search over the budget, and prove that under a convex verification cost the throughput function is \emph{unimodal}, enabling an efficient greedy stopping rule. CaDDTree requires no offline budget search, adapting the budget each round from the current per-position distributions and verification cost. Experiments on Qwen3-4B and Qwen3-8B across eight benchmarks spanning reasoning, coding, and instruction-following tasks show that \caDDTree{} matches or surpasses DDTree with oracle budget selection on nearly all tasks.

Shuai Zhang, Huachuan Qiu, Hongliang He, Yong Dai• 2026

Related benchmarks

TaskDatasetResultRank
Instruction FollowingAlpaca--
173
Mathematical ReasoningGSM8K--
108
Code GenerationHumanEval
TPS (Tokens/s)9.32
31
Text GenerationAlpaca--
15
Text GenerationGSM8K--
10
Code GenerationLiveCodeBench
Latency (ms/tok)4.93
8
Instruction FollowingMT-Bench
Latency (ms/tok)8.32
8
Text GenerationLiveCodeBench
Latency (ms/tok)5.29
8
Text GenerationMT-Bench
Latency (ms/tok)8.94
8
Code GenerationMBPP
Time per Token (ms/tok)5.31
8
Showing 10 of 16 rows

Other info

Follow for update