atlas

Research map / Architectures and efficiency / Attention and transformers

Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Long-context KV and memory attention · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Gumiho, a hybrid speculative decoding draft head that uses a serial two-layer Transformer for early draft tokens and parallel MLP heads for later ones, plus full tree attention, and reports speedups over Eagle-2 on several LLMs.

Problem

Existing multi-head speculative decoding methods treat all draft positions as equally important and use a single serial or parallel paradigm, which limits mean accepted tokens and drafting speed.

Approach

Early draft tokens matter more for accepted length, so allocate a serial Transformer to the first two positions and lightweight parallel MLPs to the remaining five, and add full tree attention that lets shorter candidate paths borrow tokens from longer paths at matching positions without extra computation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Gumiho instead of Eagle-2speculative decoding · Mean across six datasets, temperature 0, Vicuna-7Bspeedup: 2.74× -> 2.97×Helped
use Gumiho instead of Eagle-2speculative decoding · Mean across six datasets, temperature 0, LLaMA2-70Bspeedup: 2.47× -> 2.76×Helped
use Gumiho instead of Eagle-2speculative decoding · Mean across six datasets, temperature 0, LLaMA3-70Bspeedup: 2.98× -> 3.45×Helped
use Gumiho instead of Eagle-2speculative decoding · Mean across six datasets, temperature 1, LLaMA3-70Bspeedup: 2.91× -> 3.37×Helped
add Full Tree Attention (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7Bspeedup: 3.10× -> 3.15×Helped
add Full Tree Attention (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7Bmean accepted tokens (τ): 5.18 -> 5.29Helped
reduce the Transformer serial-head depth below 2 layers (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7Bmean accepted tokens (τ)Hurt
increase the Transformer serial-head depth from 2 to 3 layers (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7BspeedupHurt
increase the Transformer serial-head depth from 2 to 3 layers (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7Bmean accepted tokens (τ)Helped
increase the number of parallel MLP heads from the default width (ablation)Gumiho · MT-Bench, temperature 0, Vicuna-7Bmean accepted tokens (τ)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: ShareGPT

Benchmarks: MT-Bench HumanEval GSM8K Alpaca CNN/Daily Mail Natural Questions

Metrics: speedup ratio mean accepted tokens (tau) draft time

Baselines: Medusa Hydra Eagle Eagle-2

Builds on: Medusa Hydra Eagle Eagle-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy