HyFlash: A Prefix-Memory Prior for On-Device Speculative Decoding
Jongwoo Ko, Pashmina Cameron
Key points
From the paper's conclusion- We propose HyFlash, a compact parallel drafter that introduces a prefix-memory prior to separate long-range context modeling from fine-grained draft-position interactions with limited capacity.
Abstract
Parallel block drafting accelerates speculative decoding by predicting multiple future positions in a single backbone pass, but on-device deployment constrains both drafter capacity and context storage. Under tight memory budgets, drafters must model long-range dependencies and fine-grained draft-position interactions without the growing KV-cache overhead of full-context attention. We propose HyFlash, a compact parallel drafter that introduces a prefix-memory prior to separate long-range context modeling from fine-grained draft-position interactions with limited capacity. Local attention captures recent context and draft-position interactions, while recurrent memory compresses historical target features into fixed-size states. This inductive bias enables effective local and long-range modeling with bounded draft-side memory. Experiments show that HyFlash achieves higher acceptance than full-context attention with substantially less KV storage and with larger gains for shallow drafters and long contexts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target's SparsityarXiv · 2026
- LongSpark: Efficient speculative decoding with a fixed-cost parallel drafterarXiv · 2026
- Long-Context Drafting Does Not Require Long-Context DraftersarXiv · 2026
- HyCo: Hybrid Drafting for Cost-Efficient Mobile-Cloud Speculative DecodingarXiv · 2026
- FlashMap: Flow Map Speculative DecodingarXiv · 2026
- Draft in Parallel, Condition Through Depth: Adjacent Causal Injection for Speculative DecodingarXiv · 2026