Output is identical to greedy decoding on every document in every system. Frozen Llama-3.2-1B with three look-ahead draft heads.
Speed-up over greedy decoding, end to end, 16 verified tokens per round. About 120 held-out documents × 64 new tokens per condition, {{SEEDS}}, drafting from a 4,352-token shortlist.
| Condition | Chain of 3 drafts | Tree | Tree + 5 copied tokens | Tree + 8 copied tokens | Tree + 12 copied tokens | Low-looping documents | Greedy, ms per word | Best, ms per word |
|---|
Chain: one draft per head. Tree: the 16 most confident draft nodes. Copied tokens: if the last two or more tokens occurred earlier, that many verified tokens are the ones that followed.
Hindi (Devanagari), seed 0, tree + 12 copied tokens, 16 verified tokens, ms per round.
| Draft the tree (3 heads, shortlist) | 2.1 |
| Suffix lookup for the copied branch | 0.03 |
| Build inputs and attention mask | 0.40 |
| Backbone pass over 17 tokens and argmax | 23.3 |
| Accept the path, update the cache | 1.8 |
| One round, 4.42 tokens | 27.6 |
| Greedy decoding, 1 token | 18.1 |
One GTX 1080 Ti, fp32, batch size 1, a Python decoder, greedy decoding, 64 new tokens after a 256-token prompt.
Greedy decoding with a 1B model loops. Low-looping: tree + 12 copied tokens on documents where at most 10% of the continuation repeats itself (44 to 65 per condition). In romanized Hindi the continuation largely restates the prompt, which is what the copied tokens exploit.
Compute. 3 × GTX 1080 Ti (11 GB) + 1 × Quadro P6000 (24 GB), fp32. Timing: 10 to 34 min per run on one idle GTX 1080 Ti, peak 5.9 GB. Heads: 15 runs × 10M tokens, 6 to 8 h each, 350 to 465 tokens/s, peak 8.8 GB.