paper-with-me

Papers

A Theoretical Perspective for Speculative Decoding Algorithm

2024-10-30 · Ming Yin, Minshuo Chen, Kaixuan Huang, Mengdi Wang

Transformer-based autoregressive sampling has been the major bottleneck for slowing down large language model inferences. One effective way to accelerate inference is \emph{Speculative Decoding}, which employs a small model to sample a sequence of draft tokens and a large model to validate. Given its empirical effectiveness, the theoretical understanding of Speculative Decoding is falling behind. This paper tackles this gap by conceptualizing the decoding problem via markov chain abstraction and studying the key properties, \emph{output quality and inference acceleration}, from a theoretical perspective. Our analysis covers the theoretical limits of speculative decoding, batch algorithms, and output quality-inference acceleration tradeoffs. Our results reveal the fundamental connections between different components of LLMs via total variation distances and show how they jointly affect the efficiency of decoding algorithms.

📄 PDF Abstract BibTeX arXiv:2411.00841

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Polybasic Speculative Decoding Through a Theoretical Perspective

2025-10-30 · Ruilin Wang, Huixia Li, Yuexiao Ma, Xiawu Zheng 외 arxiv

Inference latency stands as a critical bottleneck in the large-scale deployment of Large Language Models (LLMs). Speculative decoding methods have recently shown promise in accelerating inference without compromising the…

Annealed Relaxation of Speculative Decoding for Faster Autoregressive Image Generation

2026-01-14 · Xingyao Li, Fengzhuo Zhang, Cunxiao Du, Hui Ji arxiv

Despite significant progress in autoregressive image generation, inference remains slow due to the sequential nature of AR models and the ambiguity of image tokens, even when using speculative decoding. Recent works atte…

Image Generation

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…

SpecServe: Efficient and SLO-Aware Large Language Model Serving with Adaptive Speculative Decoding

2025-03-07 · Kaiyu Huang, Hao Wu, Zhubo Shi, Han Zou 외

Large Language Model (LLM) services often face challenges in achieving low inference latency and meeting Service Level Objectives (SLOs) under dynamic request patterns. Speculative decoding, which exploits lightweight mo…

Language ModelingLanguage ModellingLarge Language Model

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