
HW
Haiyu Wang, Sai Qian Zhang, Steven Li
· 1 min read
ResearcharXiv cs.LG
LinearSpec: Drafting from the Target's Memory for Long-Context Speculative Decoding in Hybrid Vision-Language Models
arXiv:2612.02985v1 Announce Type: new
Abstract: Speculative decoding speeds up vision-language models (VLMs) without changing their outputs, but block drafters such as DFlash scale poorly with context: each keeps its own key-value (KV) cache of the prompt, which costs GPU memory and prefill, and its acceptance falls as documents grow. Hybrid VLMs already hold a memory of the context: the fixed-size states of their Gated DeltaNet (GDN) layers and the KV caches of a few full-attention layers. We propose LinearSpec, a drafter that reads this memory in place instead of building its own. Its four layers start from the target VLM's top four (three GDN layers and the last attention layer), continue the target's GDN states and attend to that attention layer's KV cache, so LinearSpec needs no KV cache or prefill of its own. An entry projection estimates the input to these layers, and a sequential GDN head conditions each draft on the earlier ones. Trained on the same data as DFlash and DSpark (DFlash's backbone with a sequential head) and run in SGLang on Qwen3.5-4B, LinearSpec matches DFlash on short prompts. On 128K-token documents given as page images, it decodes 17% faster than DFlash and 9% faster than DSpark. The gain holds for document questions about tables, charts and figures, and is small on videos without subtitles. Without a draft KV cache, more concurrent requests fit in GPU memory. The gains carry over to Qwen3.5-2B and 9B.
Original source
This story was published by arXiv cs.LG and written by Haiyu Wang, Sai Qian Zhang, Steven Li. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on arxiv.org


