Continuous Features: Better Semantics, Better Prediction
Continuous features, such as embeddings, provide higher information density and capture nuanced semantic relationships and context. This allows Large Language Models to generalize more effectively and predict future states with greater accuracy compared to discrete token-based methods.
The top 3
- Acceptance Rate Boost: Continuous Features vs. Tokens: Continuous feature-level prediction significantly increases the acceptance rate of draft tokens in speculative decoding. For instance, EAGLE-3 achieves acceptance rates between 80-88% on Llama and Qwen families, compared to 72-78% for its predecessor, by using multi-layer feature fusion. Higher acceptance rates directly lead to greater inference speedups.
- Semantic Richness: Why Features Outperform Discrete Tokens: Continuous features, such as embeddings or hidden states, capture a richer, more nuanced semantic representation of language compared to discrete tokens. This allows draft models to predict the target model's next output with greater contextual understanding, leading to more accurate proposals and fewer rejections in speculative decoding.
- EAGLE-3's Multi-Layer Feature Fusion for Prediction: EAGLE-3 achieves its performance edge by employing multi-layer feature fusion, aggregating activations from all transformer layers of the target model. This allows its draft head to condition on the full computational context, not just the last-layer summary, leading to superior prediction accuracy and reported speedups of 1.81x throughput improvement at batch size 2 over previous versions.
Sources
Open the full topic