P-EAGLE: Parallel-Drafting EAGLE with Scalable Training
Xin Huang, Mude Hui, Jaime C Salas, Yue Sun, Nathan Pemberton, Ashish Khetan, Xiang song, George Karypis
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Speculative Decoding Optimization · Type: new method · Keywords: parallel speculative decoding, multi-token prediction, scalable training, attention mask pre-computation, sequence partitioning, LLM inference acceleration
Areas: LLM Reasoning › Efficient Reasoning › Efficient Transformers; Long Context › Long-context mechanisms › Long-context attention mechanisms; Model Architectures & Sequence Modeling › Language Model Architectures › Diffusion Generation Acceleration
Summary
P-EAGLE introduces a parallel multi-token speculative decoding approach with scalable training techniques, achieving speedups over autoregressive EAGLE.
Explained to a 5-year-old
Computers can read and write like people, but they sometimes take a long time to finish a long answer. To make them faster, we let them guess several words at the same time instead of just one. However, when we try to teach them to guess many words, the training becomes very slow because it needs a lot of work. We found a way to share some of the computer’s thinking so that it doesn’t have to start from scratch each time. We also split the long text into smaller pieces so the computer can work on them one at a time.
Explained to a 5-year-old, longer
Computers can read and write like people, but they sometimes take a long time to finish a long answer. To make them faster, we let them guess several words at the same time instead of just one. However, when we try to teach them to guess many words, the training becomes very slow because it needs a lot of work. We found a way to share some of the computer’s thinking so that it doesn’t have to start from scratch each time. We also split the long text into smaller pieces so the computer can work on them one at a time. This sharing and splitting helps the computer learn faster without using too much time. As a result, the computer can answer questions and write stories more quickly. The improvement works on big computers that understand language. It helps people get answers faster when they ask a chatbot a question. The new method also uses less computer power, which is better for the environment. It makes the whole process smoother and less complicated. Overall, this makes the computer smarter at writing long texts quickly.
For a technical reader
The paper proposes a parallel speculative decoding framework that predicts multiple tokens per forward pass, reducing latency compared to traditional autoregressive drafting. It introduces attention mask pre-computation and sequence partitioning to keep training complexity manageable for long contexts. By implementing the method in vLLM, the authors achieve 1.10×-1.36× speedups over the baseline autoregressive version across several large models. The technique is designed to be easily integrated into existing inference pipelines without major architectural changes.
Problem
Training speculative decoding drafters for long sequences becomes impractical because computational cost grows quadratically with sequence length and parallel token prediction.
Method
The approach transforms autoregressive speculative decoding into parallel multi-token prediction using a shared hidden state, and introduces attention mask pre-computation and sequence partitioning to enable gradient accumulation within sequences, making training scalable for long contexts.
Results
The approach achieves speedups of 1.10×-1.36× over autoregressive speculative decoding across three large language models (GPT-OSS 120B, 20B, and Qwen3-Coder 30B).
Contributions
The paper presents a parallel multi-token speculative decoding framework with scalable training techniques, including attention mask pre-computation and sequence partitioning, enabling efficient training for long contexts.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction