# Cadence: Regulating the Speculation Externality in LLM Serving

> Cadence chooses each speculative-decoding step from a profiled latency budget and the tightest request’s remaining delay allowance. On one H200, Cadence served Qwen3-32B with EAGLE-3 under high load, reaching 1.30× AR throughput and a 0.53% regression rate versus 31.4% for SGL-SD.

- arXiv: https://arxiv.org/abs/2612.04294
- Authors: Swapnil Gandhi, Christos Kozyrakis
- Published: 2026-12-03
- Topic: Inference & systems
- Visual carousel: https://instaxiv.com/p/2612.04294
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## In a shared batch, who pays for extra speculation?

**0.53%** High-load regression rate; SGL-SD: 31.4%

## Throughput can rise while requests regress

![Figure 1](https://cdn.instaxiv.com/figures/2612.04294/figure1.webp)

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. (Figure 1)

## Every request waits; not every request earns back the time

$$
\begin{gathered}A_r>\theta\\\theta=\dfrac{L(B,\ell_{\max},K)}{L_{\mathrm{AR}}(B)}\end{gathered}
$$

For request $r$, $A_r$ 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.

- $A_r$: Accepted draft tokens plus the bonus token
- $\theta$: 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+\varepsilon)L_{\mathrm{AR}}(B)$ per token it generates.
2. **Set each cap**: Limit decode time to $(1+\varepsilon)T^{AR}+\beta$: 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

$$
\begin{gathered}\tau=(1+\varepsilon)L_{\mathrm{AR}}(B)+\begin{cases}\rho\,R_{\min},&R_{\min}\ge0\\R_{\min},&R_{\min}<0\end{cases}\\\cyan{R_{\min}}=\min_{q\in\mathcal{C}}R_q\end{gathered}
$$

Spend only a fraction of positive slack; if the minimum is negative, use the whole deficit instead of loosening the limit.

- $\tau$: Maximum profiled latency admitted for the step
- $R_{\min}$: Least slack among requests carrying a cap
- $\rho$: 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

![Figure 2](https://cdn.instaxiv.com/figures/2612.04294/figure2.webp)

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. (Figure 2)

## Cadence leads the reported fixed-policy baselines

| Method | Throughput / SGL-AR | Regressed (%) |
| --- | --- | --- |
| SGL-AR | 1.00× | 0.0 |
| SGL-SD | 1.03× | 31.4 |
| SGL-SD-C320 | 1.14× | 14.7 |
| **Cadence (1.14× vs C320)** | **1.30×** | **0.53** |

_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

**Adapted D-cut / DSpark:** 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.

**Cadence’s distinction:** 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

![Figure 3](https://cdn.instaxiv.com/figures/2612.04294/figure3.webp)

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. (Figure 3)

## The bound has specific operating conditions

- **Overshoot condition**: Requires overshoot ≤ $\varepsilon L_{\mathrm{AR}}$ 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.

## Key takeaways

- 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?

## Links

- arXiv: https://arxiv.org/abs/2612.04294
- PDF: https://arxiv.org/pdf/2612.04294

## Citation

```bibtex
@article{gandhi2026cadence,
  title   = {Cadence: Regulating the Speculation Externality in LLM Serving},
  author  = {Gandhi, Swapnil and Kozyrakis, Christos},
  journal = {arXiv preprint arXiv:2612.04294},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.04294}
}
```
