paper-with-me

Papers

OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure

2024-06-25 · Jikai Wang, Yi Su, Juntao Li, Qingrong Xia, Zi Ye, Xinyu Duan, Zhefeng Wang, Min Zhang

Autoregressive language models demonstrate excellent performance in various scenarios. However, the inference efficiency is limited by its one-step-one-word generation mode, which has become a pressing problem recently as the models become increasingly larger. Speculative decoding employs a "draft and then verify" mechanism to allow multiple tokens to be generated in one step, realizing lossless acceleration. Existing methods mainly adopt fixed heuristic draft structures, which fail to adapt to different situations to maximize the acceptance length during verification. To alleviate this dilemma, we proposed OPT-Tree, an algorithm to construct adaptive and scalable draft trees. It searches the optimal tree structure that maximizes the mathematical expectation of the acceptance length in each decoding step. Experimental results reveal that OPT-Tree outperforms the existing draft structures and achieves a speed-up ratio of up to 3.2 compared with autoregressive decoding. If the draft model is powerful enough and the node budget is sufficient, it can generate more than ten tokens in a single step. Our code is available at https://github.com/Jikai0Wang/OPT-Tree.

📄 PDF Abstract BibTeX arXiv:2406.17276

Code (1)

jikai0wang/opt-tree 공식 구현 pytorch

Similar Papers 제목 키워드 기반

TALON: Confidence-Aware Speculative Decoding with Adaptive Token Trees

2026-01-12 · Tianyu Liu, Qitan Lv, Yuhao Shen, Xiao Sun 외 arxiv

Speculative decoding (SD) has become a standard technique for accelerating LLM inference without sacrificing output quality. Recent advances in speculative decoding have shifted from sequential chain-based drafting to tr…

Accelerating Speculative Decoding with Block Diffusion Draft Trees

2026-04-14 · Liran Ringel, Yaniv Romano arxiv

Speculative decoding accelerates autoregressive language models by using a lightweight drafter to propose multiple future tokens, which the target model then verifies in parallel. DFlash shows that a block diffusion draf…

Fast Inference of Visual Autoregressive Model with Adjacency-Adaptive Dynamical Draft Trees

2025-12-26 · Haodong Lei, Hongsong Wang, Xin Geng, Liang Wang 외 arxiv

Autoregressive (AR) image models achieve diffusion-level quality but suffer from sequential inference, requiring approximately 2,000 steps for a 576x576 image. Speculative decoding with draft trees accelerates LLMs yet u…

RASD: Retrieval-Augmented Speculative Decoding

2025-03-05 · Guofeng Quan, Wenfeng Feng, Chuzhan Hao, Guochao Jiang 외

Speculative decoding accelerates inference in large language models (LLMs) by generating draft tokens for target model verification. Current approaches for obtaining draft tokens rely on lightweight draft models or addit…

Retrieval

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

2026-05-28 · Jiaming Fan, Daming Cao, Canchen Huang, Jiale Fu 외 arxiv

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, inc…