Hybrid Spark: Adaptive Speculative Decoding That Lets the Content Choose the Drafter
Abstract
Speculative decoding (SD) speeds up large language model (LLM) serving, but its gain depends on the workload's shape, such as batch size and context length, and on its content. A model-based drafter proposes a short block on any content, while a model-free drafter such as n-gram lookup proposes long copies at almost no cost when the output repeats its input, as in code editing. Adaptive verification spends a batch-wide verification budget on the draft tokens most likely to be accepted, but it supports only one model-based drafter. Model-free drafters provide no per-token confidence, so they cannot take part in budget allocation, and deployments must either fix one drafter or split their GPUs between drafters. We present , a framework that runs a model-based and a model-free drafter on every step and gives each request the better of their chains, within adaptive verification and entirely on the GPU, which keeps asynchronous scheduling intact. The key idea is a price per verified draft token: the goodput that slot would earn elsewhere in the batch. Once the model-free drafter's tokens carry calibrated acceptance estimates, fit once on general text, this price puts both drafters' chains on one scale. Instantiated with and an n-gram drafter in vLLM, achieves 1.10--1.62 the output throughput of on code editing at batch size~4 and 1.04--1.27 at batch size~128, while staying at 0.97--1.01 of it on chat at temperature~0. A single deployment can therefore serve both workloads.
Create a lesson
Related papers
HybridSpec: Throughput-Aware Speculative Decoding for Hybrid GDN-MoE Models
Shared title terminology · Haiyu Wang, Sai Qian Zhang, Zechun Liu et al.
Speculative Decoding Is Less Speculative Than You Think
Shared title terminology · Guanning Zeng, Andrea Zanette
Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It Costs
Shared title terminology · Mohammed Nayeem Khan, Navin Kumar R
D3D: Decoupled Diffusion Drafting for Asynchronous Speculative Decoding
Shared title terminology · Baoyou Chen, Ruiqiao Mei, Guancong Lin et al.
RECAP: Context-Aware Prediction Recycling with Request-Local and Persistent Memories for Multimodal Speculative Decoding
Shared title terminology · Hengjie Zhu, Dayan Wu, Xinze Liu et al.
MetaSkill: Reusable Problem-Solving Methods for Adaptive Skill Orchestration in LLM Agents
Shared title terminology · Tianxing Wang, Mingming Zhao, Shuai Huang et al.