EAGLE-3's Fusion: Combining Multi-Layer LLM Features

EAGLE-3 enhances speculative decoding by extracting low-, mid-, and high-level features from the main LLM (capturing syntax, relationships, and semantics), concatenating them, and then reducing dimensionality via a fully connected layer. This rich, fused input is fed to the draft head, a significant upgrade from prior versions that relied solely on top-layer features.

The top 3

  1. EAGLE-3's Feature Concatenation & Compression: EAGLE-3 combines features from low, mid, and high layers of the target model; for instance, concatenating three 4096-dimensional vectors from Llama-3.1-8B into a 12,288-dimensional vector, then compressing it via a fully connected layer to learn essential features for multi-step prediction.
  2. Enhanced Acceptance Rates & Speedups: This multi-layer feature fusion significantly improves draft quality, boosting acceptance rates to over 0.80 and achieving overall speedups between 3.0x and 6.5x, with an average acceptance length of 4.05 to 7.5 tokens per draft-verify cycle.
  3. Beyond Top-Layer: Richer Semantic Input: Unlike earlier EAGLE versions that relied solely on top-layer features, EAGLE-3's multi-layer fusion provides the draft head with richer, more diverse semantic representations from low, mid, and high levels of the target model, enabling better scaling with increased training data.

Sources

Open the full topic