SyncAI.news, a Varaisys broadcasting
Cadence: Regulating the Speculation Externality in LLM Serving
SG

Swapnil Gandhi, Christos Kozyrakis

· 1 min read

ResearcharXiv cs.CL

Cadence: Regulating the Speculation Externality in LLM Serving

arXiv:2612.04294v1 Announce Type: cross Abstract: 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 all, while only requests whose draft tokens are accepted are repaid. We call this shared cost the speculation externality: 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 regress, 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 drafting. The caps therefore reduce to one allowed step latency, set by the request closest to its cap. Within this limit, an all-or-none floor 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.30x over AR decoding and 1.26x over SGL-SD while cutting the regression rate, the share of requests that regress, from SGL-SD's 31.4% to 0.53%.

Original source

This story was published by arXiv cs.CL and written by Swapnil Gandhi, Christos Kozyrakis. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News