Performance Edge: EAGLE Outpaces Medusa by 1.6x

For 13B models, EAGLE is reported to be 1.6 times faster than Medusa and 3 times faster than vanilla decoding, showcasing significant efficiency gains. Meanwhile, ML-SpecQD provides speedups of up to 2.72 times compared to BF16 baselines.

The top 3

  1. EAGLE's Feature-Level Prediction Outperforms Token-Based Drafting: EAGLE's primary advantage stems from performing autoregression at the target model's second-to-top layer (feature-level prediction), a method proven more stable and accurate than Medusa's token-level prediction. This fundamental difference enables more effective draft generation.
  2. EAGLE Achieves Up to 80% Draft Acceptance, Outranking Medusa's 65%: EAGLE consistently delivers a higher draft token acceptance rate, reaching approximately 70-80% on benchmarks like MT-bench, significantly surpassing Medusa's typical 50-65%. This indicates more accurate speculative predictions, leading to fewer verification steps and faster inference.
  3. EAGLE's Unified Draft Head vs. Medusa's Multi-Head Approach: EAGLE's draft model uses a single transformer layer and reuses the target model's frozen LM head, effectively resolving feature uncertainty with a shifted token sequence. In contrast, Medusa employs a set of simpler linear heads, which can sometimes lead to less coherent multi-token drafts due to challenges in context construction.

Sources

Open the full topic