This is a Plain English Papers summary of a research paper called DFly2 Reuses Sparse Target Attention to Speed Up Long-Context Speculative Decoding. If you like these kinds of analyses, you can find more AI and machine-learning research on AIModels.fyi or follow us on Twitter.
DFly2 reuses the target’s cache and attention choices to draft faster on long contexts
DFly2 is a block-parallel speculative drafter for sparse-attention language models. Instead of building its own context cache or selecting positions itself, it reads the target model’s cached keys and values at positions the target has already selected. Across DeepSeek-V4.1-Flash, GLM-5.3-Flash, and Hy4 flash, it accepts more tokens per step than DFlash and DSpark trained with the same recipe. Its advantage over the stronger baseline rises from 3.9%–10.5% on general workloads to 10.0%–31.5% on long-context and agentic workloads; at 64K context, it delivers 62% and 81% more throughput on two such workloads at matched per-user decode speed.
Speculative decoding has a small drafter propose several tokens, then asks the target to verify them in parallel. DFly2’s key observation is that a natively sparse target already chooses a fixed set of context positions for each query, so the drafter can reuse that work rather than pay to score the context again. The paper measures that a selection made one step before a draft block covers close to nine tenths of what later tokens select on DS-V4.1-Flash.
Top comments (0)