One round of decoding, left to right. The backbone is frozen; only the draft heads (46.1M parameters) are trained. Each part is marked as prior work or ours.
1. Backbone
Frozen Llama-3.2-1B gives its own next token and the hidden state at that position.
Given
2. Draft heads
Three look-ahead heads. Each reads the tokens drafted before it and is trained on the backbone’s own outputs.
Prior work: Hydra, Medusa-2, Hydra++
3. Shortlist
Heads score 4,352 tokens: 256 successors of the previous token and the 4,096 most frequent.
Prior work: FR-Spec
4. Confidence tree
4 candidates per node; the N nodes with the highest path probability are kept.
Prior work: EAGLE-2
5. Copied branch
If the last 2 or more tokens occurred earlier, up to 12 tokens that followed are added as a branch.
Prior work: prompt lookup decoding
6. Calibrated allocator
A linear scorer ranks head nodes and copied nodes in one budget, using confidence, word-group position, script switch and token length.
Ours
7. Verify
One backbone pass over all nodes with a tree attention mask. The longest path that matches the backbone is committed.
Prior work: lossless verification
The measured speeds use steps 1 to 5 and 7 with a fixed rule for the copied branch: 12 copied tokens and N − 12 tree nodes when the branch opens.
The allocator of step 6 adds about 1% where the budget leaves room for it: 2.99× against 2.95× at 24 verified tokens (1 seed, next slide).
Reweighting group-start targets in training, word-position features for the heads, shortlists by script, word-group rules for the tree without calibration, ending the copied branch at the word-group boundary. Each changed tokens per pass by less than 1% or lowered it.
Compute. Heads: 10M tokens per run, batch 2 × 512, AdamW, learning rate 1e-4, fp32; 2.8 h for one stack on a GTX 1080 Ti (1,000 tokens/s, 7.4 GB). Allocator: fitted on 358 held-out documents in under 5 min per seed, 5.5 GB.