NeurIPS 2026QuestionsPapersAreasAboutMarkdown

SpecBlock: Block-Iterative Speculative Decoding with Dynamic Tree Drafting

Weijie Shi, Qiang Xu, fan deng, Yaguang Wu, Jiarun Liu, Yehong Xu, Hao Chen, Jia Zhu, Jiajie Xu, Xiangjun Huang, jian yang, Xiaofang Zhou

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Speculative Decoding Optimization · Type: new method · Keywords: speculative decoding, LLM inference, block iterative drafting, path dependence, dynamic tree drafting, cost-aware bandit

Summary

SpecBlock introduces a block-iterative drafter that generates K dependent token positions per forward pass, preserving path dependence while reducing drafter calls, achieving 8-13% speedup over EAGLE-3 at 44-52% of its drafting cost.

Explained to a 5-year-old

Computers sometimes write long sentences, and they can be slow. To make them faster, we let them guess many possible next words at the same time. The new idea makes those guesses talk to each other so they are more likely to be right. It does this by looking at what was written before and using that to help the next guesses. This helps the computer finish writing quicker.

Explained to a 5-year-old, longer

When a computer writes a story, it has to think about what word comes next. It can try to guess many possible words at once to speed things up. Some old ways of guessing only look at one word at a time, which is slow. Other ways guess many words at once, but they often guess wrong. The new idea tries to do both: guess many words quickly, but also make sure they match what came before. It does this by using the hidden information from earlier words to help the later guesses. The computer works in groups of guesses, where each group depends on the previous one. It also chooses which guesses are most likely to be correct, so it doesn't waste time. During training, it only learns from guesses that are actually correct, ignoring wrong ones. At run time, it can even learn a little more by listening to feedback from the computer. All of these tricks help the computer finish writing faster and use less power. In the end, the story comes out just as well, but the computer gets there quicker.

For a technical reader

The paper addresses the latency bottleneck in speculative decoding for large language models by redesigning the drafter to produce multiple dependent token predictions per forward pass. It introduces block-wise inference where each forward generates K tokens, preserving contextual dependencies through layer-wise state propagation and inheritance across blocks. A learned rank head dynamically allocates branching probabilities, while a valid-prefix mask ensures training only on feasible sequences. At inference time, a cost-aware bandit selectively updates the drafter based on verifier feedback, balancing throughput gains against update overhead. Experiments show the approach yields 8-13% speedup over prior autoregressive drafters like EAGLE-3 while using roughly half the drafter computation, with further gains from adaptive updates.

Problem

Accelerating LLM inference via speculative decoding is challenging because existing drafters either preserve accurate token dependencies but are slow (autoregressive) or are fast but produce inaccurate paths (parallel). This trade-off limits overall speedup and efficiency.

Method

The approach uses block-wise forward passes where each forward generates K dependent positions, carries hidden states across layers and blocks via layer-wise shift and inheritance, employs a co-trained rank head for dynamic branching, uses a valid-prefix mask to avoid loss on invalid prefixes, and optionally applies a cost-aware bandit to selectively update the drafter at inference.

Results

The approach achieves an 8-13% mean speedup over EAGLE-3 while using only 44-52% of its drafting cost, and cost-aware adaptation further extends the lead to 11-19%.

Contributions

A block-iterative drafter that preserves path dependence across multiple positions per forward, a dynamic branching mechanism via a rank head, a valid-prefix training mask, and a cost-aware bandit for selective updates at inference.

Practical relevance

Enables faster LLM inference on existing hardware by reducing drafter computation while maintaining accuracy, benefiting practitioners running large language models.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction