EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
Yuhui Li, Fangyun Wei, Chao Zhang, Hongyang Zhang
摘要
Autoregressive decoding makes the inference of Large Language Models (LLMs) time-consuming. In this paper, we reconsider speculative sampling and derive two key observations. Firstly, autoregression at the feature (second-to-top-layer) level is more straightforward than at the token level. Secondly, the inherent uncertainty in feature (second-to-top-layer) level autoregression constrains its performance. Based on these insights, we introduce EAGLE (Extrapolation Algorithm for Greater Language-model Efficiency), a simple yet highly efficient speculative sampling framework. By incorporating a token sequence advanced by one time step, EAGLE effectively resolves the uncertainty, enabling precise second-to-top-layer feature prediction with minimal overhead. We conducted comprehensive evaluations of EAGLE, including all models from the Vicuna and LLaMA2-Chat series, the MoE model Mixtral 8x7B Instruct, and tasks in dialogue, code generation, mathematical reasoning, and instruction following. For LLaMA2-Chat 70B, EAGLE achieved a latency speedup ratio of 2.7x-3.5x, doubled throughput, while maintaining the distribution of the generated text.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 124 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test 引用了 Fast Inference from Transformers via Speculative Decoding
- Universal Model Routing for Efficient LLM Inference 引用了 Fast Inference from Transformers via Speculative Decoding
- Sequoia: Scalable and Robust Speculative Decoding 引用了 Speculative Decoding with Big Little Decoder
- Sequoia: Scalable and Robust Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
- Speculative Decoding with Big Little Decoder 引用了 Lite Transformer with Long-Short Range Attention
- Speculative Decoding with Big Little Decoder 引用了 Movement Pruning: Adaptive Sparsity by Fine-Tuning
- Speculative Decoding with Big Little Decoder 引用了 Q-BERT: Hessian Based Ultra Low Precision Quantization of BERT
- Speculative Decoding with Big Little Decoder 引用了 Fast Inference from Transformers via Speculative Decoding
- Hogwild! Inference: Parallel LLM Generation via Concurrent Attention 引用了 Fast Inference from Transformers via Speculative Decoding
引用它的顶会 Paper124
- EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time TestYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangNeurIPS 2025 · 347 次引用
- CPPO: Accelerating the Training of Group Relative Policy Optimization-Based Reasoning ModelsZhihang Lin, Mingbao Lin, Yuan Xie, Rongrong JiNeurIPS 2025 · 116 次引用
- Universal Model Routing for Efficient LLM InferenceWittawat Jitkrittum, Harikrishna Narasimhan, Ankit Singh Rawat, Jeevesh Juneja 等ICLR 2026 · 99 次引用
- Sequoia: Scalable and Robust Speculative DecodingZhuoming Chen, Avner May, Ruslan Svirschevski, Yuhsun Huang 等NeurIPS 2024 · 53 次引用
- Hogwild! Inference: Parallel LLM Generation via Concurrent AttentionGleb Rodionov, Roman Garipov, Alina Shutova, George Yakushev 等NeurIPS 2025 · 35 次引用
它引用的 Paper12
- Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
- Movement Pruning: Adaptive Sparsity by Fine-TuningVictor Sanh, Thomas Wolf, Alexander M. RushNeurIPS 2020 · 656 次引用
- Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTSheng Shen, Zhen Dong, Jiayu Ye, Linjian Ma 等AAAI 2020 · 656 次引用
- Lite Transformer with Long-Short Range AttentionZhanghao Wu, Zhijian Liu, Ji Lin, Yujun Lin 等ICLR 2020 · 379 次引用
- Speculative Decoding with Big Little DecoderSehoon Kim, Karttikeya Mangalam, Suhong Moon, Jitendra Malik 等NeurIPS 2023 · 212 次引用
相关 Paper
- ConFu: Contemplate the Future for Better Speculative SamplingZongyue Qin, Raghavv Goel, Mukul Gagrani, Risheek Garrepalli 等ICML 2026
- Falcon: Faster and Parallel Inference of Large Language Models Through Enhanced Semi-Autoregressive Drafting and Custom-Designed Decoding TreeXiangxiang Gao, Weisheng Xie, Yiwei Xiang, Feng JiAAAI 2025 · 20 次引用
- HCSpec: Two-Tier Horizontal Cascade Speculative Decoding for High-Efficiency Large Language Model InferenceYizhou Zhang, Siming Chen, Hao Ye, Erhu FengACL 2026
- EAGLE-2: Faster Inference of Language Models with Dynamic Draft TreesYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangEMNLP 2024 · 16 次引用
- Alignment-Augmented Speculative Decoding with Alignment Sampling and Conditional VerificationJikai Wang, Zhenxu Tian, Juntao Li, Qingrong Xia 等EMNLP 2025
