# Tencent drafter reuses DeepSeek and GLM sparse attention for faster speculative decoding

A Tencent preprint describes a drafter model that keeps no memory of its own. It reads what a sparse language model has already stored and chosen, and its lead over two recent drafters grows on long prompts.

- Category: Efficiency
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-11-26
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/tencent-drafter-reuses-deepseek-and-glm-sparse-attention-for-faster-speculative

## The study

DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target's Sparsity (preprint, not peer reviewed). arXiv 2611.34776. https://arxiv.org/abs/2611.34776

## At a glance

- What it shows: A small helper model that guesses the next few words for a large model works better when it borrows the large model's own memory and its own choice of which past words matter. On long documents and agent tasks it was accepted about 10% to 31% more often than the best rival, on three different large models.
- What it does not show: It does not show the method working on ordinary large models without built-in sparse attention. It also does not show results from a live service with real users.
- Why it matters: Long agent sessions and long chats are where AI replies slow down most. This approach speeds them up without the extra memory and set-up time that today's helper models add.

## What the study shows

Speculative decoding speeds up a large language model without changing its output. A small "drafter" model guesses several next words. The large "target" model checks them all in one pass and keeps the ones it agrees with. The more guesses it keeps per step, the faster the reply.

Recent long-context models such as DeepSeek-V4, GLM-5 and Tencent's Hy4 use sparse attention. Each layer reads only a fixed number of past positions, picked for the current word by a small scoring component called an indexer. They also store a compact KV cache, the memory of past words that attention reads.

The authors argue that current drafters, such as DFlash and DSpark, were built for older dense models. DFlash keeps its own cache over the whole prompt. DSpark keeps a short window of recent words. Both add memory, and both must be built when the prompt is first processed, which delays the first word of the reply.

The new drafter, DFly2, keeps no cache. Each of its three layers reads the cache of one paired layer in the target, at the positions that layer's indexer already chose. It also starts from that layer's weights. The authors checked that a choice made one step early still holds for the next few words: on DS-V4.1-Flash it covered close to nine tenths of what later words would pick, against under a fifth for a recent window of the same size.

The authors tested on three targets: DS-V4.1-Flash, GLM-5.3-Flash and Hy4 flash. They trained DFlash and DSpark themselves on the same data and recipe. DFly2 kept more guesses per step on every benchmark tested. Its lead over the stronger rival was 3.9% to 10.5% on general tasks such as maths and code, and 10.0% to 31.5% on long-context and agent tasks of up to 128,000 tokens.

Under heavy load on DS-V4.1-Flash, at the same speed per user, DFly2 served about 28% more text than DSpark on short prompts and 62% and 81% more on two sets of 64,000-token prompts. This is a preprint and has not been peer reviewed.

## Our reading

In our reading, the core idea is simple and sensible. A sparse model already pays to decide which past words matter. A drafter that copies that decision gets a good reading list for free, instead of guessing by recency or paying to score everything again. The gain is largest exactly where the reading list matters most: long prompts.

The long-context results are the most telling. The authors report that DFly2's accepted guesses on agent tasks stayed within 4% of its general average, while DSpark fell by 11% to 21%. On Hy4 flash, the full-cache DFlash almost stopped working past the 32,000-token training length, keeping close to one word per step. A drafter that reads a fixed number of well-chosen positions sees the same amount of context in training and in use, which plausibly explains why it holds up.

For a concrete case, picture a coding agent working through a 64,000-token session of files and tool output. On that kind of prompt, the authors' serving test shows the same hardware producing about four fifths more text per second than with DSpark, at equal speed for each user. If that holds in real services, it is a direct cut in cost per agent session.

The rest of the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/tencent-drafter-reuses-deepseek-and-glm-sparse-attention-for-faster-speculative

## How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
