← Latest papers
💻 computer science

JetFlow: Breaking the Scaling Ceiling of Speculative Decoding with Parallel Tree Drafting

JetFlow is a novel speculative decoding framework that overcomes the scaling limitations of existing methods by training a causal parallel draft head to generate branch-wise consistent token trees, thereby achieving significant speedups (up to 9.64x) on diverse LLM workloads without compromising acceptance rates.

Original authors: Lanxiang Hu, Zhaoxiang Feng, Yulun Wu, Haoran Yuan, Yujie Zhao, Yu-Yang Qian, Bojun Wang, Daxin Jiang, Yibo Zhu, Tajana Rosing, Hao Zhang

Published 2026-06-19
📖 4 min read☕ Coffee break read

Original authors: Lanxiang Hu, Zhaoxiang Feng, Yulun Wu, Haoran Yuan, Yujie Zhao, Yu-Yang Qian, Bojun Wang, Daxin Jiang, Yibo Zhu, Tajana Rosing, Hao Zhang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to write a long story, but you have a very strict editor (the AI model) who only lets you write one word at a time. Before you can write the second word, the editor must read the first, check it, and give you the green light. Before the third, they check the second, and so on. This "one word at a time" rule makes writing very slow, even if the editor is incredibly smart.

Speculative Decoding is a trick to speed this up. Instead of waiting for the editor to check every single word, you hire a fast, cheap assistant (the "drafter") to guess the next few words for you. You then show these guesses to the editor all at once. If the editor agrees with the guesses, you get to write several words in the time it usually takes to write one. If the editor disagrees, you just throw away the wrong guesses and start over.

The Problem: The "Speed vs. Accuracy" Trap

The paper explains that previous methods hit a wall. They faced a dilemma:

  1. The "Cautious" Assistant: Some assistants are very careful. They guess the next word, then guess the word after that based on their first guess, and so on. This makes their guesses very accurate (the editor accepts them often), but it's slow because they have to think step-by-step.
  2. The "Fast" Assistant: Other assistants are super fast. They shout out a whole list of words at once without thinking about how they connect. This is very quick, but the list often makes no sense together (e.g., "The cat... flew... to the... moon... yesterday"). The editor has to reject most of these because the words don't fit the story's flow, wasting the assistant's speed.

The paper calls this the "Causality-Efficiency Dilemma." You usually had to choose between being fast but inaccurate, or accurate but slow.

The Solution: JETFLOW

The authors created a new system called JETFLOW that breaks this trap. Think of JETFLOW as a super-assistant who can think in parallel but still respects the story's logic.

Here is how it works, using a simple analogy:

  • The Tree Metaphor: Imagine the story is a tree. The trunk is the text you've already written. You want to grow new branches (future words).
    • Old "Fast" assistants would grow branches randomly. One branch might say "The cat," another might say "The dog," and a third might say "The moon." They don't know which path is real, so they waste time growing dead branches.
    • Old "Cautious" assistants would grow one branch, check it, then grow the next. It's safe, but slow.
    • JETFLOW looks at the trunk and instantly sketches out many different possible branches all at once. But here's the magic: it ensures that every single branch follows the rules of the story. If a branch starts with "The cat," the next word on that specific branch must be something a cat would do. It doesn't mix up the branches.

How JETFLOW Does It

  1. One Pass, Many Paths: JETFLOW uses a special "head" (a part of the AI) that looks at the hidden thoughts of the main editor. In a single glance, it predicts a whole tree of possible next words.
  2. Respecting the Flow: It uses a special "mask" (like a set of traffic rules) that forces the assistant to only look at the words that came before on its specific path. It prevents the assistant from peeking at the future or mixing up different storylines.
  3. The Result: Because the assistant's guesses are logically consistent with the story flow, the main editor (the target model) accepts a much longer string of words at once.

The Results: How Much Faster?

The paper tested this on math problems, coding tasks, and chat conversations using powerful computer chips (H100 GPUs).

  • Math Problems: On difficult math tests, JETFLOW made the AI 9.6 times faster than the standard slow method.
  • Chatting: For open-ended conversations, it was 4.5 times faster.
  • Scalability: The more "guesses" (budget) they allowed the assistant to make, the faster it got. Unlike older methods that got confused or slowed down when asked to guess too many words, JETFLOW kept getting faster and more efficient.

In Summary

JETFLOW is like hiring a team of assistants who can all shout out different story endings simultaneously, but they are smart enough to know that each ending must make sense on its own. This allows the main editor to approve huge chunks of text instantly, breaking the "one word at a time" speed limit without losing the quality of the story.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →