EAGLE-1's Core Feature Extrapolation Mechanism

EAGLE-1 innovates by extrapolating at the second-top-layer contextual feature vectors of the main LLM using a lightweight auto-regression head. This head predicts subsequent feature vectors, which are then converted into tokens via the original LLM's frozen classification head, leveraging the principle that feature sequences are more compressible than token sequences.

The top 3

  1. EAGLE-1's Lightweight Autoregression Head Architecture: EAGLE-1's core extrapolation mechanism relies on a single, trainable 'Autoregression Head,' which typically consists of a fully-connected layer followed by a transformer decoder layer, integrating directly with the main LLM's frozen embedding and LM heads.
  2. Second-to-Top-Layer Features: EAGLE-1's Extrapolation Input: EAGLE-1's mechanism primarily extrapolates future tokens by leveraging the main LLM's second-to-top-layer hidden states, positioned just before its final Language Model (LM) head, based on the principle that these internal 'features' are smoother and more predictable than raw token sequences.
  3. Efficiency Gain: Eliminating Separate Draft Models: EAGLE-1's key innovation is its ability to directly reuse and extrapolate from the main LLM's internal feature maps, which significantly reduces the memory and computational overhead typically associated with traditional speculative decoding methods that require a completely separate, smaller draft model.

Sources

Open the full topic