Test-Time Speculation
Avinash Kumar
Sujay SanghaviPDPoulami Das Avinash Kumar

Sujay Sanghavi
PDPoulami Das
+3
Speculative decoding speeds up LLM inference via a fast draft model verified by a target model, but its acceptance length degrades with generation length, falling near 1 within a few thousand tokens for state-of-the-art speculators such as DFlash, EAGLE-3, and PARD, because they are trained offline on short sequences yet must match the target on much longer outputs. The authors propose Test-Time Speculation (TTS), an online distillation method that continuously adapts the draft at test time, exploiting that token verification already invokes the target for each draft token, so the draft (student) is trained on the target (teacher) at no additional cost over several speculation rounds. Across ten models from the Qwen-3, Qwen-3.5, DeepSeek-R1, GPT-OSS, MiniMax, and Llama3.1 families, TTS improves acceptance length by up to 72% and 41% on average, with gains scaling with generation length.

arXiv ·
· May 10, 2026