Why Feature-Level Prediction Outperforms Token Drafting
EAGLE's core advantage lies in predicting richer, more abstract internal representations (features) from the target LLM's hidden states, allowing it to better anticipate the main LLM's output and achieve higher acceptance rates compared to draft models predicting only discrete tokens.
The top 3
- Features Are More Predictable: Continuous vs. Discrete: Feature-level prediction leverages the abstract, continuous nature of hidden states, making their autoregressive prediction considerably simpler and more robust for the draft model compared to directly predicting discrete, high-entropy tokens. This inherent compressibility and clarity of features contribute to higher prediction accuracy.
- Leverage Target LLM's Frozen Classification Head: Feature-level methods, such as EAGLE, predict the next feature and then utilize the *frozen classification head* of the original, larger LLM to map these features to tokens. This strategy reuses the target model's powerful and accurate token mapping capability, preserving output quality while significantly simplifying the draft model's task and reducing its overhead.
- Higher Acceptance Rates, Reduced Error Accumulation: Predicting at the feature level, which is more structured, leads to higher acceptance rates of drafted tokens because it reduces the discrepancy between the draft and target models. This minimizes error accumulation, allowing more tokens to be verified in a single pass and significantly boosting inference speed; for instance, EAGLE achieves 1.5x-1.6x faster speeds than Medusa.
Sources
Open the full topic