Inference, Serving & Production·Question 59 of 76Advanced

vLLM now ships an opt-in lossy verification policy for speculative decoding (FLy), reporting roughly 1.04 to 1.31x decode throughput on MI355X and B300. Would you ever turn it on, and how would you prove it is safe for your product?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Start from what you give up. Standard speculative decoding uses an exact rejection-sampling rule, so the output distribution is provably the target model's. That is why it can ship with no eval cycle. A lossy policy relaxes the acceptance test: some draft tokens the exact rule would have rejected are kept, for example ones the target still rates highly. You are no longer serving the target model. You are serving a new model defined by target, drafter and policy together, and it has to be qualified like one. Read the policy's exact definition before reasoning about it.

Full worked answer

Start from what you give up. Standard speculative decoding uses an exact rejection-sampling rule, so the output distribution is provably the target model's. That is why it can ship with no eval cycle. A lossy policy relaxes the acceptance test: some draft tokens the exact rule would have rejected are kept, for example ones the target still rates highly. You are no longer serving the target model. You are serving a new model defined by target, drafter and policy together, and it has to be qualified like one. Read the policy's exact definition before reasoning about it.

Is the gain worth that? At 4% to 31%, the gain is modest next to what speculative decoding already gives, and it was measured on specific hardware with specific drafters. Benchmark it on your traffic first. If the real gain is under ~10%, cheaper levers usually win: better drafter alignment, a speed tier, prefix caching, or simply more capacity.

Where I would consider it:

  • Bulk, decode-heavy workloads whose outputs are checked downstream: summarisation pipelines, synthetic data generation, extraction with schema validation, code generation gated by tests.
  • Internal tools where small stylistic drift does not matter.

Where I would not:

  • Anything sold as "the same model as the provider's".
  • Regulated or audited outputs.
  • Safety-critical refusal behaviour.
  • Evals and graders, where reproducibility is the point.
  • Long agent runs where small per-token deviations compound.

Proving it is safe:

  1. Distribution-level checks. Generate paired outputs with exact and lossy verification from the same prompts and seeds. Compare token-level divergence, output length, refusal rate, format validity and tool-call argument accuracy. Length drift is an early warning: relaxed acceptance can bias towards the drafter's habits.
  2. Task evals. Run your product eval suite with paired statistics and a pre-registered non-inferiority margin, broken down by domain, language and temperature. Gains and damage both vary by slice.
  3. Long-horizon tests. Multi-thousand-token generations and full agent trajectories, measuring task success rather than per-turn quality.
  4. Safety evals. Jailbreak and refusal suites, because a drafter is a smaller, less aligned model and relaxed acceptance lets more of its choices through.
  5. Staged rollout. Opt in per route, canary with online quality metrics, keep exact verification as an instant config rollback, and tag every response with the policy that produced it.

Re-qualify on every drafter, target or engine upgrade. Treat it like changing quantization, not like a performance flag.

What a good answer covers

  • Standard speculative decoding uses an exact rejection-sampling rule, so the output distribution is…
  • That is why it can ship with no eval cycle
  • A lossy policy relaxes the acceptance test
  • You are no longer serving the target model
  • You are serving a new model defined by target, drafter and policy together, and it has to be qualified…

Key terms: Where I would consider it · Where I would not · Proving it is safe · Distribution-level checks · Task evals · Long-horizon tests · Safety evals · Staged rollout

Interviewer follow-ups to expect

  1. Why is exact speculative decoding safe to enable without evals while this is not?

  2. How would you choose the non-inferiority margin?

  3. What would you log so a quality regression can be traced to the verification policy?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep