Context The local measurements come from the four-phone Inkling 2 Mini study; the study page has the testbed and the full request results. Inkling 2 Mini study.
Speculative decoding is easy to describe and hard to evaluate. A small draft model — or a cheaper proposal source such as an n-gram table — suggests several tokens. The target model verifies them in one pass. If the proposals are accepted, the request emits more than one token per target model call. If they are rejected, the request pays for the draft, the verification, and the rollback.
The arithmetic is unforgiving. A verifier that looks cheaper per emitted token can still make the request slower, because the verifier is not the whole request. The draft has to be produced, the accepted prefix has to be committed, and the rejected suffix has to be discarded. On a phone cluster, those steps cross device boundaries.
Two different experiments
The local work separated a known-continuation diagnostic from a production-style drafting path. That distinction matters more than any single speedup number.
In the diagnostic, the verifier was given the continuation in advance. It replayed the same recorded prompt and 24-token continuation at proposal widths 0, 2, 4, and 8. This measures the cost of checking known tokens. It deliberately avoids production drafting and rollback.
| Proposal width | Verification rounds | Median round | Verifier time per emitted token |
|---|---|---|---|
| Serial | 23 | 300–303 ms | 311–314 ms |
| 2 | 8 | 753–758 ms | 268–280 ms |
| 4 | 5 | 1,172–1,182 ms | 265–285 ms |
| 8 | 3 | 1,902–1,914 ms | 244–259 ms |
Width 8 had the lowest verification cost per emitted token, roughly 17–22% below serial. That looks like a win. But the median round still took about 1.9 seconds. To beat serial, a width-8 round would need roughly seven emitted tokens per round before draft and rollback overhead. The observed rounds emitted fewer than that in the document and code cases.
What production drafting did
The production path used the server's built-in ngram-simpleengine with a three-token lookup. It ran one document-grounded request, one structured Python request, and one open-ended request for 40 tokens each, with uncached prompts and the same greedy sampling (always taking the most likely next token). The measurement order was serial / width 8 / width 8 / serial.
All emitted token IDs matched the serial control. The speed did not:
| Request | Serial decode | Width 8 decode | Accepted / proposed | Completion, serial → width 8 |
|---|---|---|---|---|
| Document | 2.99–3.12 tok/s | 1.31 tok/s | 11/40 in 5 rounds | 23.84–23.95 s → 40.04–40.57 s |
| Python | 3.06–3.14 tok/s | 2.12–2.22 tok/s | 3/11 in 2 rounds | 20.27–20.63 s → 24.68–25.73 s |
| Open-ended | 3.17 tok/s | 3.04–3.10 tok/s | 8/8 in 1 round | 18.88 s → 19.03–19.08 s |
The open-ended case nearly broke even because the model accepted all eight proposals in a single round. The document case was the opposite: many proposals were rejected, and each rejection added work without enough accepted tokens to pay for the next round. A perfect-proposal verifier result would not have predicted this. The verifier was never asked to propose, accept, or roll back.
The question to ask before enabling it
Speculative decoding is a bet on the proposal distribution. The useful questions are local:
- How many tokens does a draft propose, and how many survive verification on this workload?
- What does a rejected proposal cost in rollback, state restore, or recomputation?
- Does the draft share the target model's tokenizer and sampling policy?
- Is the verification pass actually batched, or does it serialize behind a device handoff?
- Does the request include prefill, queueing, and the first-token wait, or only the decode loop?
The local answer was not “speculative decoding is slower.” It was narrower: at width 8, with this n-gram source and this historical four-phone placement, the production path lost on the document and code prompts and nearly tied on the open-ended one. The verifier diagnostic showed a real per-token saving. The request showed why that saving was not enough.
What would make the next test useful
A matched follow-up should keep the prompt, tokenizer, sampling policy, placement, and thermal band fixed; reverse the arm order; and report acceptance, emitted tokens per round, draft cost, rollback cost, and completion time separately. It should also include a proposal source that is trained or selected for the workload, not only a generic n-gram table.
Until then, the honest claim is the small one: a known-continuation verifier can be cheaper per emitted token, and a production n-gram drafter can still make the request slower. Both statements are true at the same time because they measure different things.