TreeGraft: Adaptive Multi-Drafter Grafting for Tree-Based Speculative Decoding

📅 2026-05-28
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决单个起草者在树结构推测解码中速度与质量的矛盾,TreeGraft采用多起草者框架联合构建共享草稿树,通过轻量级调度器控制成本,提高解码效率和质量。
📝 Abstract
Speculative decoding accelerates large language model inference through a draft-then-verify paradigm. Building on this, tree-structured methods improve inference by organizing proposals into multiple candidate paths, increasing the accepted length. However, existing tree-structured methods use a single drafter for all drafting steps, creating a dilemma: a smaller drafter is fast but yields lower-quality trees, whereas a larger drafter improves tree quality but suffers from high latency. To address this, we propose TreeGraft, a multi-drafter framework in which drafters of different costs jointly construct a shared draft tree. TreeGraft uses the stronger drafter to rescore candidates by updating scores assigned by the weaker drafter, reselect grafting positions, and recover promising paths left unexplored. It also integrates stronger drafter expansions non-destructively, preserving existing branches that may still be accepted by the target model. Together, these designs improve the quality of the shared draft tree. To control the drafting cost, TreeGraft introduces a lightweight scheduler distilled from an offline value system to decide when to call the stronger drafter. Across 10 model pairs and 6 benchmarks, TreeGraft outperforms the better of the two fixed single-drafter endpoint strategies by 15.1% on average, reaching a maximum gain of 26.6%. Our code is available at https://anonymous.4open.science/r/TreeGraft-E983.
Problem

Research questions and friction points this paper is trying to address.

speculative decoding
tree-structured methods
draft-then-verify
latency
Innovation

Methods, ideas, or system contributions that make the work stand out.

multi-drafter framework
shared draft tree
non-destructive integration
lightweight scheduler
🔎 Similar Papers
2023-12-18Neural Information Processing SystemsCitations: 52
J
Jiaming Fan
Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China; Southeast University; Ant Group
Daming Cao
Daming Cao
Nanjing University of Information Science and Technology
Information theory
C
Canchen Huang
Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China; Southeast University
Jiale Fu
Jiale Fu
Southeast University
speculative decodingLLM reasoning
J
Jin Zhang
Ant Group
Junjie Gao
Junjie Gao
MBZUAI NLP Msc
NLP Agent LLM
Kai Yang
Kai Yang
Ant Group
Artificial Intelligence
Xiangzhong Luo
Xiangzhong Luo
Nanyang Technological University
X
Xu Yang
Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education, China; Southeast University