# Hybrid Spark: Adaptive Speculative Decoding That Lets the Content Choose the Drafter

DevFeed: [Hybrid Spark: Adaptive Speculative Decoding That Lets the Content Choose the Drafter](<https://devfeed.tech/articles/hybrid-spark-adaptive-speculative-decoding-that-lets-the-content-choose-the-drafter-118351.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05611>)

Author: Ekagra Ranjan, Bharat Venkitesh

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Model Optimizer](<https://devfeed.tech/topics/model-optimizer.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [vllm](<https://devfeed.tech/topics/vllm.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [dspark](<https://devfeed.tech/tags/dspark.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [speculative-decoding](<https://devfeed.tech/tags/speculative-decoding.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

## AI overview

Hybrid Spark runs model-based and model-free drafters on each step, then selects the better chain for each request within GPU-based adaptive verification. It assigns a shared price to verified draft tokens based on the goodput they could earn elsewhere in the batch. Because model-free drafters lack per-token confidence, their acceptance estimates are calibrated using a fit on general text so their drafts can enter the same budget allocation. In a vLLM implementation with dSpark and an n-gram drafter, the abstract reports 1.10-1.62x dSpark's output throughput on code editing at batch size 4 and 1.04-1.27x at batch size 128; on chat at temperature 0, throughput is 0.97-1.01x dSpark's. The reported results suggest one deployment can serve both workloads.

## Source excerpt

arXiv:2611.05611v1 Announce Type: new Abstract: Speculative decoding (SD) speeds up large language model (LLM) serving, but its gain depends on the workload's \emph{shape}, such as batch size and context length, and on its \emph{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 \sys, 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 \dspark and an n-gram drafter in vLLM, \sys achieves 1.10--1.62\x the output throughput of \dspark on code editing at batch size~4 and 1.04--1.27\x at batch size~128, while staying at 0.97--1.01\x of it on chat at temperature~0. A single deployment can therefore serve both workloads.