BASTION: Budget-Aware Speculative Decoding with Tree-structured Block Diffusion Drafting
Soowon Oh, Nam Cao, Yujin Kim, Hojung Jung, Huzama Ahmad, Sangmin Bae, Se-Young Yun
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Speculative Decoding Optimization · Type: new method · Keywords: speculative decoding, tree-based verification, budget-aware, block-diffusion drafting, language model inference
Summary
BASTION introduces a system-aware adaptive tree framework for block-diffusion speculative decoding that dynamically selects verification budgets to maximize speedup.
Explained to a 5-year-old
A computer talks by writing words one by one. Sometimes it can guess many words at once to go faster. It makes a tree of possible guesses to see which ones are right. It decides how many guesses to check based on how fast it thinks it will be. This helps the computer finish talking quicker.
Explained to a 5-year-old, longer
When you talk to a computer, it writes words one after another. To make it faster, it can try to guess many words at the same time. It looks at the chances of each guess being correct. It draws a tree that shows many possible paths of words. The tree helps it see which guesses might be right. It also checks how long it takes to verify each guess. By looking at how fast the checking is, it decides how many guesses to try. It picks the guesses that are most likely to be accepted. This way it can accept more correct words in each step. The computer does not need to train anything new for this. It works on different computers and with different talking models. All of this makes the computer finish writing faster.
For a technical reader
The paper addresses the inefficiency of fixed verification budgets in speculative decoding for large language models. It proposes building a dynamic tree of high-probability draft paths at each decoding step and selecting a verification budget that maximizes an estimated speedup. The speedup estimate combines a surrogate acceptance rate from the drafter with an analytical model of verifier latency calibrated from runtime measurements. This adaptive budgeting requires no extra training of the drafter or target model and preserves the original decoding rule. Experiments across multiple models, benchmarks, temperatures, and GPUs show up to 6.93× speedup over standard autoregressive decoding and a 40% improvement over the best existing method.
Problem
Existing tree-based verification for speculative decoding uses fixed tree topologies or static verification budgets, which may not be optimal for varying draft distributions, context lengths, target models, and hardware.
Method
The approach builds a tree toward high-probability draft paths at each decoding cycle and selects a verification budget that maximizes an online speedup estimate. This estimate combines a drafter-based acceptance surrogate with an analytical verifier-latency model calibrated from observed runtimes, requiring no extra training of the drafter or target model and preserving the target model's decoding rule.
Results
The approach achieves up to a 6.93× wall-clock speedup over standard autoregressive decoding, about 40% higher speedup than Dflash, without per-setting budget tuning.
Contributions
It introduces a system-aware adaptive tree framework that dynamically builds draft trees and selects verification budgets based on an online speedup estimate, and it works across target models, benchmarks, temperatures, and GPU platforms without extra training.
Practical relevance
It enables faster language model inference on diverse hardware, reducing latency and computational cost for deploying large 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