Back to articles
Inference & Serving

Teaching Draft Models to Anticipate Verification with VAT

3 min read

Introduction

Speculative decoding is designed to reduce the cost of autoregressive inference. A small draft model first proposes several tokens, while a larger target model verifies those candidates in a single forward pass. When many consecutive proposals are accepted, the target model can advance farther than it would through ordinary one-token-at-a-time decoding.

The mechanism also creates a training challenge. Verification is sequential: once the first candidate is rejected, later candidates in the proposed continuation are discarded. Existing draft-model training often focuses on token-level imitation of the target model and applies a fixed position-dependent weighting. That objective does not directly represent the fact that a rejection can invalidate the rest of the sequence.

The paper “Verification-Aware Training for Speculative Decoding” proposes VAT to close this gap. Rather than redesigning the draft or target model, VAT changes the training objective and can be layered on top of existing draft-model methods.

Key ideas

  • A verification head. VAT simulates target-model verification during training and records whether each proposed position survives sequential checking. A lightweight binary classifier, trained jointly with the draft model, predicts this survival signal. The draft model therefore learns not only which token resembles the target distribution, but also which positions are likely to remain useful in a speculative block.
  • Verification-adaptive weighting. Instead of applying a fixed decay schedule across positions, VAT keeps full training weight through each sample’s first rejection point and then re-anchors the decay at that point. The weighting scheme is intended to reflect the asymmetric value of positions before and after the first failure.
  • No inference-side redesign. The approach does not require a new target model, a different draft architecture, or changes to the speculative decoding procedure. Its main intervention is in training supervision and loss construction.

Results and implications

The authors apply VAT to EAGLE-3 and DFlash with Qwen3-4B, Qwen3-8B, and LLaMA-3.1-8B. They report up to an 11.4% improvement in average acceptance length and up to an 8.7% improvement in wall-clock speedup, with consistent gains across math, coding, and chat benchmarks. The supplied material does not include the complete experimental protocol, baseline breakdown, or results for every configuration, so these figures should be read as reported maximum improvements rather than guaranteed gains in every deployment.

The broader lesson is that token imitation accuracy is not the same as speculative-decoding efficiency. A useful draft model must produce a long, continuously accepted prefix, not merely make locally plausible predictions. VAT makes that operational objective visible during training by feeding acceptance and rejection patterns back into the loss.

This is a practical direction because it preserves the existing inference stack and can potentially complement other draft-training techniques. The open-source release and broader testing will be important for assessing its behavior under different hardware, batch sizes, workloads, and latency targets.

Source: Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles