paper-with-me

Papers

Polybasic Speculative Decoding Through a Theoretical Perspective

2025-10-30 · Ruilin Wang, Huixia Li, Yuexiao Ma, Xiawu Zheng, Fei Chao, Xuefeng Xiao, Rongrong Ji 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 output distribution. However, existing work typically relies on a dualistic draft-verify framework and lacks rigorous theoretical grounding. In this paper, we introduce a novel \emph{polybasic} speculative decoding framework, underpinned by a comprehensive theoretical analysis. Specifically, we prove a fundamental theorem that characterizes the optimal inference time for multi-model speculative decoding systems, shedding light on how to extend beyond the dualistic approach to a more general polybasic paradigm. Through our theoretical investigation of multi-model token generation, we expose and optimize the interplay between model capabilities, acceptance lengths, and overall computational cost. Our framework supports both standalone implementation and integration with existing speculative techniques, leading to accelerated performance in practice. Experimental results across multiple model families demonstrate that our approach yields speedup ratios ranging from $3.31\times$ to $4.01\times$ for LLaMA2-Chat 7B, up to $3.87 \times$ for LLaMA3-8B, up to $4.43 \times$ for Vicuna-7B and up to $3.85 \times$ for Qwen2-7B -- all while preserving the original output distribution. We release our theoretical proofs and implementation code to facilitate further investigation into polybasic speculative decoding.

📄 PDF Abstract BibTeX arXiv:2510.26527

Code (0)

등록된 구현이 없습니다.

Similar 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 mo…

Language ModelingLanguage ModellingLarge Language Model

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…

SpecMemo: Speculative Decoding is in Your Pocket

2025-05-16 · Selin Yıldırım, Deming Chen

Recent advancements in speculative decoding have demonstrated considerable speedup across a wide array of large language model (LLM) tasks. Speculative decoding inherently relies on sacrificing extra memory allocations t…

Large Language Model

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

SSSD: Simply-Scalable Speculative Decoding

2024-11-08 · Michele Marzollo, Jiawei Zhuang, Niklas Roemer, Lorenz K. Müller 외

Over the past year, Speculative Decoding has gained popularity as a technique for accelerating Large Language Model inference. While several methods have been introduced, most struggle to deliver satisfactory performance…

Language ModelingLanguage ModellingLarge Language Model