EAGLE-3 vs. Medusa: Stable Fusion Outperforms Parallel Heads
EAGLE-3's multi-layer feature fusion provides its lightweight draft head with a comprehensive computational context from the target model, unlike Medusa, which uses independent parallel decoding heads. This approach results in significantly more stable acceptance rates across various task types and longer speculation lengths, making EAGLE-3 more robust in practical applications.
The top 3
- EAGLE-3's Near 2x Speedup Over Medusa-2: In specific benchmarks using Llama 3.3 70B Instruct FP8 on H200 SXM5 GPUs (batch size 1-4), EAGLE-3 achieved approximately 6,200 tokens/second, nearly doubling Medusa-2's 3,200 tokens/second, and significantly outperforming standard decoding at 1,700 tokens/second.
- Stable Fusion: Deeper Context for Better Drafts: EAGLE-3's core innovation, 'stable fusion' or multi-layer feature fusion, aggregates activations from *every* transformer layer of the main LLM via a learned gating mechanism, providing a richer computational context to its draft head. This contrasts with earlier EAGLE versions that relied solely on top-layer features and Medusa's approach of adding separate parallel decoding heads.
- EAGLE-3's Scalability with Training Data: Unlike prior speculative decoding methods, EAGLE-3 is designed to fully benefit from scaling up training data, leading to enhanced performance. This improved data scalability, coupled with its multi-layer feature fusion, contributes to higher average acceptance lengths and greater speedups compared to approaches like Medusa which may face limitations in data scaling.
Sources
Open the full topic