Cadence: Regulating the Speculation Externality in LLM Serving
Gandhi & Kozyrakis in Inference & systems
In a shared batch, who pays for extra speculation?
Cadence: Regulating the Speculation Externality in LLM Serving
Throughput can rise while requests regress

On Qwen3-32B/EAGLE-3 in SGLang on one H200, depth-3 SGL-SD raises batch throughput 13% over AR, yet 29/112 requests run slower than AR. Panel (c) shades them.
Every request waits; not every request earns back the time
For request r, Ar counts accepted draft tokens plus the bonus. It gains against AR steps only if that count exceeds the shared step’s duration in AR-step units.
- Ar
- Accepted draft tokens plus the bonus token
- θ
- Speculative-step latency in AR-step units
Turn a delay cap into a step-by-step limit
- 1
Track slack
Charge each request the measured step latency; credit (1+ε)LAR(B) per token it generates.
- 2
Set each cap
Limit decode time to (1+ε)TAR+β: profiled AR-step time at seen batch sizes, scaled by delay tolerance plus a fixed arrival allowance.
- 3
Find the bottleneck
The capped request with least slack sets the next step’s maximum profiled latency.
Pace leaves a reserve of positive slack
Spend only a fraction of positive slack; if the minimum is negative, use the whole deficit instead of loosening the limit.
- τ
- Maximum profiled latency admitted for the step
- Rmin
- Least slack among requests carrying a cap
- ρ
- Fraction of positive slack the step may spend
Inside the ceiling, Cadence allocates draft tokens
- 1
Protect the first token
When a safe budget fits one first draft token per request, the floor gives it to everyone or no one.
- 2
Estimate survival
One offline acceptance curve, shared across requests, estimates survival by draft position before verification.
- 3
Choose a depth and budget
Rank by expected benefit; operator utility scores safe plans. Fixing depth 3 cost 12.6% throughput on the evaluation mix at saturation; AR is fallback.
Every budget is chosen before drafting

Panel (a) sets allowed latency from least slack; (b) filters profiled depth/token budgets, applies the first-token floor and fills by expected benefit; (c) tracks measured time and generated tokens.
Cadence leads the reported fixed-policy baselines
600 s trace, high-load phase; Qwen3-32B/EAGLE-3 BF16, one H200; 10-seed mean. Cadence: ε=.25, β=40 ms, ρ=.8. Appendix full-results table.
A throughput lead isn’t a per-request guarantee
Uncapped reimplementations on Cadence’s EAGLE-3 drafter, profile and engine, with its depth choices: DSpark led throughput by 0.85% on the high-load trace; D-cut stayed within 0.10% of Cadence.
Neither rule reads request delay or supplies a bound. Cadence applies a per-request cap; no request exceeded it on this trace, though its formal guarantee needs bounded profile overshoot.
A slight throughput lead and a per-request delay bound are separate objectives.
The high-load result sits inside a changing trace

Three 200-second phases: low, high and moderate. In the middle high-load phase, Cadence reached 1.30× AR throughput with a 0.53% regression rate; means cover ten seeds, request panels pool 5-second bins.
The bound has specific operating conditions
Overshoot condition
Requires overshoot ≤ εLAR at the next batch size, or two steps ahead under overlap. Host stalls broke it on 0.18% of trace steps.
AR reference includes catch-up
The cap’s AR step still runs drafter catch-up; at batch 112 it takes 1.14× as long as AR decoding with the drafter off.
Evaluation scope
The primary trace uses Qwen3-32B/EAGLE-3 on one H200 with greedy chain drafting; the profile omits context length, and neither long-context nor expert-parallel serving is evaluated.
Why it matters
- Aggregate throughput can rise while low-acceptance requests regress; measure per-request speed, not tokens per second alone.
- Profile whole-step latency, set per-request delay limits, and let the tightest slack govern each speculative step.
- Open question: can the profile and overshoot condition hold for longer contexts or expert-parallel serving?
12 slides, 3 min
2 days ago