Feature Predictability: How EAGLE Reduces Entropy for Draft Models

While continuous features can inherently carry ambiguity, the EAGLE framework actively reduces their entropy by incorporating the next sampled token into the draft model. This targeted approach resolves 'feature uncertainty,' making feature-level predictions significantly more predictable and robust compared to relying solely on individual tokens.

The top 3

  1. EAGLE's Core: Predicting Smoother Hidden States: EAGLE reduces entropy by directly predicting the target LLM's second-to-top-layer hidden states (features) instead of discrete tokens. These continuous feature vectors are inherently 'smoother' and more regular than token sequences, making their autoregressive prediction significantly simpler and more accurate, thus lowering uncertainty in the draft.
  2. Resolving Feature Uncertainty with Shifted Tokens: To combat the inherent uncertainty when predicting continuous features due to the target model's discrete token sampling, EAGLE incorporates the *already sampled token sequence advanced by one time step*. This 'shifted token' disambiguates the branching paths in the feature stream, ensuring a consistent input-output mapping for the draft model and making feature prediction more precise.
  3. EAGLE's Accuracy Edge: 80% Draft Acceptance: By effectively reducing entropy through feature-level prediction and uncertainty resolution, EAGLE achieves significantly higher draft accuracy, reaching approximately 80% compared to Medusa's ~60%. This superior predictability leads to greater token acceptance rates and substantial speedups, making it up to 1.6x faster than Medusa and 3x faster than vanilla decoding for 13B models.

Sources

Open the full topic