DEV Community

Papers Mache
Papers Mache

Posted on

Verification-aware training speeds up draft models

Speculative decoding can substantially reduce the latency of large language model inference, often achieving notable speedups. However, draft models are trained without regard to the sequential verification step that discards tokens after the first rejection. A training plug‑in that simulates verification adds an extra 8.7 % wall‑clock speedup and yields longer accepted token sequences[1].

Before VAT, draft‑training pipelines applied a uniform per‑position loss weight, treating every token as equally important regardless of whether it would survive verification. The verification process itself proceeds sequentially, truncating the output at the first mismatch, yet prior objectives never reflected this cascade behavior.

Verification‑Aware Training extends the average acceptance length by up to 11.4 % across math, code, and chat benchmarks[1]. For instance, on Qwen3-4B, VAT raises the speedup of EAGLE-3 from to (+7.9%) and that of DFlash from to (+5.9%), with corresponding gains in average acceptance length from to (+8.0%) and from to (+6.1%)[1].

The same plug‑in delivers up to an 8.7 % wall‑clock acceleration on the evaluated models[1]. These gains arise without altering the draft architecture, target model, or inference engine; VAT merely reshapes the training loss to mirror downstream acceptance patterns[1].

VAT’s impact is limited to the training phase; it does not modify the verification algorithm used at runtime and its reported improvements stem from experiments on Qwen3‑4B, Qwen3‑8B, and LLaMA‑3.1‑8B only. Whether similar benefits persist for much larger models or in domains with highly non‑sequential acceptance criteria remains an open question.

Practitioners should incorporate verification‑aware loss weighting when fine‑tuning draft models for speculative decoding pipelines, because the extra speedup and longer accepted outputs come essentially for free at training time. Will future decoders treat verification as first‑class supervision?

References

  1. Verification-Aware Training for Speculative Decoding

Top comments (0)