A per-step controller for speculative decoding in LLM serving. It bounds how much time each request loses to other requests' drafts and still raises throughput. On Qwen3-32B under high load it gets 1.30× over plain decoding.
Every policy in each phase of the trace of Section 4.2, the 600 s run with 200 s each of low, high and moderate load, as means over ten seeds. Regressed is the regression rate, the share of requests that regress. Regression-free throughput counts only the tokens of requests that do not regress. The high-load columns of the first panel give throughput, regression-free throughput, mean step latency, mean queue length in requests and the regression rate. Step latency averages every step of the phase, including those that run with a partly filled batch between bursts. The second panel gives, under high load, the p99 and worst slowdown, and the p99 TPOT, from admission, of the quarters of requests with the lowest and the highest mean acceptance length at draft depth seven. | low load | high load | moderate load | regressed | throughput | regression-free | step | queue | regressed | regressed policy | (%) | / SGL-AR | thr. / SGL-AR | (ms) | length | (%) | (%) SGL-AR | 0.0 | 1.00 × | 1.00 × | 24.9 | 215 | 0.0 | 0.0 SGL-SD | 0.02 | 1.03 × | 0.72 × | 39.5 | 184 | 31.4 | 7.8 SGL-SD-D7 | 2.9 | 0.63 × | 0.03 × | 103.3 | 919 | 94.4 | 93.2 SGL-SD-C320 | 2.0 | 1.14 × | 1.00 × | 38.4 | 128 | 14.7 | 12.1 Cadence | 0.02 | 1.30 × | 1.29 × | 27.9 | 66 | 0.53 | 0.08 | high load | p99 | worst | p99 TPOT (ms) policy | slowdown | slowdown | low acceptance | high acceptance SGL-AR | 1.00 × | 1.00 × | 29.1 | 29.1 SGL-SD | 1.57 × | 2.08 × | 50.4 | 27.3 SGL-SD-D7 | 2.75 × | 3.61 × | 87.9 | 45.0 SGL-SD-C320 | 1.30 × | 1.71 × | 40.9 | 27.2 Cadence | 0.96 × | 1.21 × | 29.8 | 22.3
Going deeper
Picture a shared shuttle bus. Some riders bring luggage that speeds their trip if it is unpacked at the stop, but every stop then lasts longer for everyone. Riders whose luggage turns out useless still wait through the long stop, and some arrive later than if the bus had never stopped for luggage at all.
This paper keeps a tab for each rider: how much time they have lost compared with a bus that never waits for luggage. Before each stop, the driver checks the rider closest to their limit and lets the stop run only as long as that rider can afford.
Within that limit the driver unpacks the luggage most likely to help, and always at least one bag for everyone if there is room. On the authors' runs the bus moves more riders per hour than either never unpacking or always unpacking, and almost nobody arrives later than they would have.
The abstract, word for word, with the six densest phrases unpacked.
Speculative decoding (SD) speeds up LLM inference: a small model drafts several tokens, which the target model verifies in one pass. Speculating for mean throughput hides a cost: every request in a batch waits through the same decode step, so one request’s draft tokens can lengthen the step for all1, while only requests whose draft tokens are accepted are repaid. We call this shared cost the speculation externality2: the step’s latency beyond one autoregressive (AR) step, which generates one token per request. Acceptance varies across requests and over time, and requests with too few accepted draft tokens regress3, running slower than under AR decoding. In one step with 112 requests, SGLang’s default SD (SGL-SD) raises throughput 13% over AR decoding while 26% of requests regress. We introduce Cadence, a per-step controller that caps each request’s delay, the time it loses compared with AR steps. Every step generates at least one token per request, so the most a step can add to any request’s delay is its latency beyond one AR step, known before drafting4. The caps therefore reduce to one allowed step latency, set by the request closest to its cap. Within this limit, an all-or-none floor5 makes every speculative step verify each request’s first draft token whenever there is headroom for one per request. Cadence then fills the rest of each possible step within this limit with the draft tokens expected to add the most utility, using one offline acceptance curve, the same for every request, and runs the one that an operator’s utility scores highest. On Qwen3-32B under high load (33.8 requests/s on average), Cadence raises throughput 1.30 × over AR decoding and 1.26 × over SGL-SD while cutting the regression rate, the share of requests that regress, from SGL-SD’s 31.4% to 0.53%6.
Two lines lead here: speculative decoding itself, and schedulers that decide how much to speculate per step.
Read four parts of it, in this order.
Skip Appendix E and most of Appendix D unless you want a specific setting.
The bound is conditional and the cap rarely binds. Look here first.
Profiled against measured step latency for each policy on the trace of Section 4.2, the 600 s run with low, high, then moderate load for 200 s each. The first four numeric columns give the mean absolute percentage error (MAPE) of the profile in each phase of the trace and over the whole trace. The next three give the median, 99th-percentile (p99) and largest overshoot per step, a step’s measured minus its profiled latency, or zero. The last gives, at ε=0.25, the share of each policy’s steps whose overshoot exceeds εLAR(B) at the batch size B of the step after it. Such a step breaks the condition of Proposition A.2. | error of the profile (MAPE, %) | overshoot per step (ms) | steps over policy | low | high | moderate | all | median | p99 | max | εLAR(B) (%) Cadence | 1.9 | 1.9 | 1.9 | 1.9 | 0.05 | 1.2 | 20.5 | 0.18 SGL-SD | 1.9 | 1.9 | 1.9 | 1.9 | 0.05 | 2.1 | 20.5 | 0.18 SGL-AR | 1.9 | 1.9 | 1.9 | 1.9 | 0.04 | 1.1 | 20.6 | 0.17
Cadence at saturation for each tolerance ε: throughput relative to SGL-AR, the share of steps where the allowed step latency τ binds, that is, changes the plan (the step’s draft depth and every request’s speculation length), the regression rate, the share of requests over the cap, and the worst slowdown. The τ entry is blank at ε=∞, where no request is capped. tolerance | throughput | τ binds | regressed | over the | worst ε | / SGL-AR | (% of steps) | (%) | cap (%) | slowdown 0 | 1.04 × | 48.0 | 47.2 | 21.7 | 1.15 × 0.05 | 1.296 × | 1.1 | 0.4 | 0.0 | 1.13 × 0.1 | 1.298 × | 0.3 | 0.4 | 0.0 | 1.14 × 0.25 | 1.30 × | 0.0 | 0.4 | 0.0 | 1.14 × 0.5 | 1.30 × | 0.0 | 0.4 | 0.0 | 1.14 × ∞ | 1.30 × | | 0.4 | 0.0 | 1.14 ×
Removing one component of Cadence at a time. Throughput is relative to Cadence on the same workload. The low-acceptance (low-acc.) group is the lowest-acceptance quarter on W1, the 10% minority with mean acceptance length 1.39 at draft depth seven on W2 and the slow class on W3. Rows without the cap are judged against the workload’s cap, and their τ entry is blank. The latest past the cap is the largest amount by which a request’s measured decoding time exceeds its cap, over all requests and seeds. τ binds on a step when the allowed step latency τ changes the step’s plan, its draft depth or any request’s speculation length. | throughput | regression rate (%) | low-acc. over | latest past | τ binds row | / Cadence | all | low-acc. | the cap (%) | the cap (ms) | (% of steps) W1: evaluation mix at saturation, ε=0.25 Cadence | 1.000 | 0.38 | 1.5 | 0 | 0 | 0 depth fixed at 1 | 1.000 | 0.38 | 1.5 | 0 | 0 | 0 depth fixed at 3 | 0.874 | 7.32 | 28.0 | 0.016 | 0.4 | 15.6 no budget choice | 1.000 | 0.40 | 1.6 | 0 | 0 | 0 no cap | 1.000 | 0.38 | 1.5 | 0 | 0 | depth fixed at 3, no cap | 0.884 | 10.42 | 38.6 | 0.654 | 1,196 | no floor | 1.000 | 0.38 | 1.5 | 0 | 0 | 0 pace ρ=1 | 1.000 | 0.38 | 1.5 | 0 | 0 | 0 profiled ledger | 1.000 | 0.38 | 1.5 | 0 | 0 | 0 W2: trace under high load, 10% low-acceptance minority, ε=0.25 Cadence | 1.000 | 5.06 | 50.5 | 0 | 0 | 0 depth fixed at 1 | 1.000 | 5.11 | 51.0 | 0 | 0 | 0 depth fixed at 3 | 0.893 | 8.26 | 81.8 | 0.125 | 12.9 | 18.2 no budget choice | 1.000 | 5.17 | 51.6 | 0 | 0 | 0.01 no cap | 1.000 | 5.06 | 50.5 | 0 | 0 | depth fixed at 3, no cap | 0.938 | 8.30 | 81.9 | 27.2 | 1,566 | no floor | 1.000 | 5.06 | 50.5 | 0 | 0 | 0 pace ρ=1 | 1.000 | 5.06 | 50.5 | 0 | 0 | 0 profiled ledger | 1.000 | 5.06 | 50.5 | 0 | 0 | 0 W3: 10% slow class at saturation, ε=0.1 Cadence | 1.000 | 5.04 | 51.1 | 0 | 0 | 0.64 depth fixed at 1 | 1.0006 | 4.86 | 49.3 | 0 | 0 | 0.59 depth fixed at 3 | 0.805 | 23.33 | 84.1 | 0.122 | 0.3 | 43.9 no budget choice | 0.994 | 5.30 | 53.6 | 0 | 0 | 0.83 no cap | 1.0008 | 5.09 | 51.6 | 0.031 | 5.8 | depth fixed at 3, no cap | 0.863 | 12.93 | 85.4 | 64.7 | 3,483 | no floor | 1.000 | 5.04 | 51.1 | 0 | 0 | 0.64 pace ρ=1 | 1.000 | 5.05 | 51.2 | 0 | 0 | 0.59 profiled ledger | 1.000 | 5.04 | 51.1 | 0 | 0 | 0.69
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all