Abstract
FastEagle is a novel speculative decoding framework designed to overcome the sequential bottleneck inherent in traditional autoregressive drafter models. By employing a non-autoregressive cascaded architecture, FastEagle generates an entire sequence of candidate tokens in a single forward pass. This approach achieves significant speedups—up to 5.67x over vanilla decoding—while consistently outperforming state-of-the-art methods like EAGLE-3 across various benchmarks.
Introduction: The Drafting Bottleneck
Large Language Models (LLMs) are fundamentally limited by their autoregressive generation process, where each token requires a full forward pass. Speculative decoding mitigates this by using a smaller "drafter" model to propose a sequence of tokens, which the "target" model then verifies in parallel.
However, current state-of-the-art drafters, such as EAGLE, are themselves autoregressive. Generating a draft of $N$ tokens requires $N$ sequential passes through the drafter. While faster than the target model, this cumulative latency creates a "drafting bottleneck." FastEagle aims to eliminate these sequential dependencies within the drafting stage itself.
The FastEagle Architecture
The core innovation of FastEagle is the Cascaded Drafter. Instead of running a single layer multiple times (temporal autoregression), it utilizes a series of $N$ lightweight decoder layers ($L_1, \dots, L_N$) arranged in a structural cascade.
Single-Pass Generation
The drafter receives fused features from the target model and processes them through the cascade. Layer 1 predicts the first draft token, Layer 2 predicts the second, and so on, all within a single forward pass. This shift from temporal to structural processing allows the hardware to handle the draft generation much more efficiently.
Multi-Level Supervision and Feature Anchoring
To prevent error accumulation across the cascaded layers, FastEagle employs a dual-loss training strategy:
- Token Prediction Loss: A standard cross-entropy loss comparing the drafter's output to the target model's distribution.
- Feature Alignment Loss: A "Smooth L1" loss that forces the drafter's internal hidden states to match the actual features of the target model.
Ablation studies highlight the importance of this "Feature Anchoring." Without the Feature Alignment Loss, the speedup on benchmarks like MT-Bench drops from 4.40x to 3.19x, indicating that the drafter must operate within the target model's feature manifold to be effective.
Experimental Results
FastEagle was evaluated across diverse models (Vicuna-13B, LLaMA-3.1 8B, LLaMA-3.3 70B, DeepSeek-R1-Distill-LLaMA 8B) and benchmarks (MT-Bench, HumanEval, GSM8K).
Key findings include:
- Superior Speedups: FastEagle achieved a mean speedup of 5.67x on Vicuna-13B and 4.74x on LLaMA-3.1 8B, consistently outperforming EAGLE-3 in mean performance.
- Practical Throughput: When integrated into the vLLM framework, FastEagle demonstrated superior throughput for batch sizes up to 32.
- Lossless Quality: Since the target LLM verifies every token, the output quality remains identical to standard autoregressive decoding.
Conclusion and Future Work
FastEagle effectively removes the drafting bottleneck by replacing temporal autoregression with a structural cascade. While it introduces some memory overhead at very large batch sizes and requires model-specific training, its ability to provide significant, lossless acceleration makes it a powerful tool for LLM inference. Future work may involve optimizing tree-searching strategies to further improve acceptance rates without increasing latency.
Summary updated