- Trained with Tencent's AngelSpec framework, the DFly2 drafter avoids extra memory overhead by reusing both a sparse main model's memory cache and its chosen context positions.
- On the single-request, greedy CodeSpan 64K benchmark with DeepSeek-V4.1-Flash, the authors report 3.23 times the decoding speed and 2.37 times the end-to-end speed of ordinary autoregressive decoding.
Reusing main model memory
Tencent researchers have released the DFly2 drafter within their AngelSpec training framework, alongside a November 25 arXiv preprint, to reduce memory overhead when generating text from long prompts.
Ordinary language models produce text one token, or word piece, at a time. Speculative decoding speeds this up by using a small drafter model to guess several upcoming tokens so the main model can verify them at once.
Over long inputs, conventional drafters usually maintain a separate memory cache or scan wide text windows. Designed for sparse-attention models that already filter prompts down to relevant pieces, DFly2 stores no cache of its own. Instead, it reads the main model's existing memory at the exact prompt positions the main model already chose.
Token generation versus full-request speed
Practical speedups depend heavily on whether a test tracks only token output or the whole user request.
In the authors' single-request, greedy CodeSpan 64K test on DeepSeek-V4.1-Flash, DFly2 achieved 3.23 times the decoding speed of ordinary autoregressive decoding. Across the whole request, which includes reading the prompt before generation starts, the authors measured 2.37 times the end-to-end speed.
Those results reflect that specific single-request workload, while the preprint's separate high-concurrency figures measure total server output at matched per-user generation speeds.
Sources & context
Go to the original material. Company claims remain attributed to their sources.
01


