Metraipolis › archive › dc_f112645a2721
Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inference — arXiv:2609.24698
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.24698
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:50:12.871Z
- SHA-256 of the archived text
c195559eaa06aebaf642f775557af0543c845b5a66d329d88ebd07785eda8ded- Stable URL of this page
https://metraipolis.com/documento/dc_f112645a2721
How to cite
Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inference — arXiv:2609.24698 — arXiv (en), https://arxiv.org/abs/2609.24698 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_f112645a2721 (Metraipolis archive dc_f112645a2721, sha256 c195559eaa06aebaf642f775557af0543c845b5a66d329d88ebd07785eda8ded)
BibTeX
@misc{dcf112645a2721,
title = {Adapting Tree-Structured Speculative Decoding to DeepSeek-V4 for Efficient Inference — arXiv:2609.24698},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.24698},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_f112645a2721; sha256 c195559eaa06aebaf642f775557af0543c845b5a66d329d88ebd07785eda8ded},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24698. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Repeated execution of the target model during autoregressive decoding is a major source of LLM inference latency. Unlike linear speculation, which follows a single candidate chain, tree-structured speculation retains multiple branches from shared prefixes; under the same budget, this broader coverage can improve acceptance and efficiency. Adapting it to DeepSeek-V4 is nontrivial: its CSA/HCA online compressed attention concentrates the difficulty on the target-verify side, where branches diverging from a shared prefix compress into different states, breaking cross-branch state consistency. We integrate tree-structured speculative decoding into the DeepSeek-V4-Flash pipeline via branch-aware causal verification, temporary state isolation, and accepted-path state refresh, keeping verification and compressed-state updates consistent across branches. Across budgets D=5 to D=8, batch sizes 1 to 64, and three datasets (GSM8K, MBPP, ShareGPT), tree speculation achieves a higher accepted length than the matched linear configurations in all settings (e.g., at D=8 about 2.83--3.41 versus 2.39--2.84) and improves throughput in nearly all configurations---marginal only at the smallest budget---by up to about 18.5%. More importantly, the gains follow stable, transferable regularities: the relative gain grows with the budget and is most pronounced for less predictable workloads at small-to-medium batch sizes, while beyond a certain budget throughput plateaus and decouples from the still-rising accepted length. These results show that retaining multiple candidate paths under the same budget can effectively improve DeepSeek-V4 decoding efficiency, and offer experience for adapting speculative decoding to future models with compressed, sparse, or structured context representations. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.24698 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T06:48:45.060Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).