paper-with-me

Papers

TreeFlash: Parallel AR-Approximation for Faster Speculative Decoding

2026-06-02 · Peer Rheinboldt, Frédéric Berdoz, Roger Wattenhofer arxiv

One-shot block drafters for speculative decoding generate the full draft in a single forward pass, achieving strong throughput by eliminating sequential token generation. However, they predict each draft token conditioned only on the prefix context, with no dependence on previously drafted tokens. This non-autoregressive conditioning causes the drafter's distribution to diverge from the verifier's true autoregressive distribution as draft depth grows. This problem becomes more severe in tree-based drafting, where distinct branches are forced to share the same marginal distribution for subsequent tokens. We propose TreeFlash, which addresses this by incorporating an MLP layer conditioned on the drafter's hidden state and the previous token to approximate an autoregressive distribution. TreeFlash retains the $\mathcal{O}(1)$ decoding time complexity of one-shot drafters by employing a two-stage approximation mechanism. TreeFlash achieves state-of-the-art performance across a variety of tasks and models, improving over marginal tree drafting by $12\%$ higher block efficiency and $9\%$ higher speedup.

📄 PDF Abstract BibTeX arXiv:2606.03819

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Fast Inference from Transformers via Speculative Decoding

2022-11-30 · Yaniv Leviathan, Matan Kalman, Yossi Matias

Inference from large autoregressive models like Transformers is slow - decoding K tokens takes K serial runs of the model. In this work we introduce speculative decoding - an algorithm to sample from autoregressive model…

Language ModelingLanguage Modelling

Faster Cascades via Speculative Decoding

2024-05-29 · Harikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat, Seungyeon Kim 외

Cascades and speculative decoding are two common approaches to improving language models' inference efficiency. Both approaches involve interleaving models of different sizes, but via fundamentally distinct mechanisms: c…

Speculative Speculative Decoding

2026-03-03 · Tanishq Kumar, Tri Dao, Avner May arxiv

Autoregressive decoding is bottlenecked by its sequential nature. Speculative decoding has become a standard way to accelerate inference by using a fast draft model to predict upcoming tokens from a slower target model, …

Faster LLM Inference via Sequential Monte Carlo

2026-04-17 · Yahya Emara, Mauricio Barba da Costa, Chi-Chih Chang, Cameron Freer 외 arxiv

Speculative decoding (SD) accelerates language model inference by drafting tokens from a cheap proposal model and verifying them against an expensive target model via rejection sampling. Because rejection truncates the d…

Ouroboros: Generating Longer Drafts Phrase by Phrase for Faster Speculative Decoding

2024-02-21 · Weilin Zhao, Yuxiang Huang, Xu Han, Wang Xu 외

Speculative decoding is a widely used method that accelerates the generation process of large language models (LLMs) with no compromise in model performance. It achieves this goal by using an existing smaller model for d…

Text Generation