TL;DR
Speculative decoding speeds up LLM inference on average, but in a shared server it creates a hidden tax: a slow-accepting request can drag down the whole batch, or a fast-accepting request can force everyone else to wait through longer verification steps. CADENCE is a per-step controller that caps how much time any individual request can lose to speculation. On Qwen3-32B under high load, it boosts throughput by 1.30× over autoregressive decoding and 1.26× over SGLang's default speculative decoding, while slashing the fraction of requests that run slower than autoregressive decoding from 31.4% to 0.53%.
What Problem Does This Paper Address?
In speculative decoding (SD), a small, fast drafter model proposes several tokens ahead, and the large target model verifies them all in a single pass. When a single request runs alone on a GPU, there is plenty of spare compute, so verifying a handful of draft tokens takes about as long as generating one token.
Inside a shared, continuously batched server, that free lunch disappears. Every request in the batch advances together in the same decode step. Once a large batch saturates the GPU's compute, every extra draft token verified in that step lengthens the step for all requests.
This creates what the authors call the speculation externality: the extra latency a speculative step adds beyond a standard autoregressive (AR) step. The cost is socialized across the entire batch, but the benefit is privatized—a request only gains if its own draft tokens are accepted. Because token acceptance varies widely across requests and over time, judging SD by mean batch throughput falls into a throughput trap. In a batch of 112 requests, SGLang's default SD raises overall throughput by 13% over AR decoding, yet 26% of requests actually regress, running slower than they would with speculation turned off.
Methods
Existing adaptive SD schedulers rank draft tokens by drafter confidence (to maximize throughput) or by deadlines, but none of them bound how much time an individual request loses to speculation.
CADENCE's key insight is that every decode step generates at least one token per request. Because of this, the worst-case delay a step can add to any request is known before drafting begins: it is simply the step's latency minus one AR step's latency.
Using this, CADENCE regulates speculation per step:
- Delay Caps & Slack: Each capped request is given a delay cap—a tolerance $\varepsilon$ (e.g., 25%) times its AR decoding time, plus a small arrival allowance $\beta$. A request's slack is how much delay it can still absorb before hitting its cap.
- Allowed Step Latency ($\tau$): Before drafting, the "critical request" (the one with the least slack) sets a single allowed step latency $\tau$ for the whole batch, holding back a small reserve (via a pace parameter $\rho = 0.8$) to guard against runtime latency overshoots.
- Budget Selection & All-or-None Floor: CADENCE checks an offline latency profile for candidate verification budgets (a draft depth paired with a total number of verified tokens) that fit within $\tau$. If none fit, it falls back to an AR step. Whenever there is headroom for one draft token per request, an all-or-none floor ensures every request gets its first draft token, so no request waits through a speculative step with nothing to verify.
- Filling & Tracking: CADENCE fills the remaining budget using a single shared offline acceptance curve, picks the budget that maximizes the operator's utility (such as throughput or priority-weighted speed), runs the step, and updates every request's slack from the measured step latency.
Datasets
The authors evaluate CADENCE serving Qwen3-32B (BF16) with its EAGLE-3 drafter on an NVIDIA H200 GPU in SGLang (with seven additional model/GPU/precision configurations in the appendix).
- Workload: An equal-probability mix of chat (ShareGPT), summarization (CNN/DailyMail), math (GSM8K), and code editing (InstructCoder).
- Traffic: Arrival patterns derived from the Azure LLM Inference Trace 2023, replayed in a 600-second trace (200 s each of low, high, and moderate load, with high load averaging 33.8 requests/s and bursting to 67.7 requests/s), alongside steady-load saturation runs and "slow class" stress tests.
Key Insights and Ideas
- Per-step depth choice drives throughput: Choosing the draft depth per step (between 0, 1, 3, or 7) rather than fixing it at 3 is what earns CADENCE's throughput gains. At high load, CADENCE speculates less—averaging ~2.3 draft tokens per request instead of 3—which keeps steps fast.
- The delay cap is nearly free: When the draft depth adapts per step, the delay cap rarely needs to intervene at $\varepsilon = 0.25$, costing at most 0.22% of throughput. When a workload has a minority of very low-acceptance requests, however, the cap steps in to protect them without needing any drafter confidence signals.
- Confidence ranking alone doesn't bound delay: Even if a scheduler knew each request's true token survival probability, ranking solely by survival consistently puts low-acceptance requests last, pushing 40.4% of a slow-acceptance class over the cap at $\varepsilon = 0.1$.
Key Results
Under high load on the 600-second trace:
- Throughput: 1.30× over SGL-AR and 1.26× over SGL-SD (and 1.80× regression-free throughput over SGL-SD).
- Regression Rate: Cut from 31.4% (SGL-SD) down to 0.53%.
- Worst Slowdown: Reduced from 2.08× to 1.21× (averaged over 10 seeds).
- Cap Violations: 0% of requests exceeded their delay cap under CADENCE, compared to 2.25% under SGL-SD.
- Overhead: The per-step controller adds just 0.4 ms at the median (1.2 ms at p99), or 1.2% of a 32.9 ms full-batch AR step.
Limitations and Future Work
The authors note several boundaries of the current work:
- Drafting & Parallelism: The evaluation focuses on greedy chain drafting. While the appendix tests tensor parallelism across multiple GPUs, neither expert parallelism nor long-context workloads (where step latency varies with context length) are modeled or evaluated.
- Host Stalls: The formal delay bound holds only if a step does not overshoot its profiled latency by more than $\varepsilon L_{\text{AR}}(B)$ (8.2 ms at $\varepsilon = 0.25$ for a full batch). Occasional CPU host stalls broke this condition on 0.18% of CADENCE's steps during the trace.
Summary updated