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.
The top 3
- Shifted Tokens: EAGLE's Key to Resolving Feature Ambiguity: EAGLE's core innovation feeds the draft model the actually sampled next token (shifted token) alongside predicted features, directly disambiguating branches that continuous features alone cannot distinguish, making subsequent feature prediction well-posed.
- Quantified Speedup: Shifted Tokens Boost EAGLE by ~47%: The incorporation of shifted tokens significantly enhances EAGLE's speculative decoding performance, increasing its speedup ratio from 1.9x to 2.8x and demonstrating superior effectiveness over alternative input designs.
- EAGLE's Efficient Architecture for Shifted Token Integration: EAGLE's draft model achieves efficiency by reusing the target LLM's frozen embedding and LM heads, with a small trainable autoregression head that fuses feature sequences and shifted token embeddings to predict the next feature.
Sources
Open the full topic