NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PEARL: Parallel Speculative Decoding with Adaptive Draft Length

Tianyu Liu, Yun Li, Qitan Lv, Kai Liu, Jianchen Zhu, Winston Hu, Xiao Sun

TL;DR

PEARL (Parallel spEculative decoding with Adaptive dRaft Length) is a novel framework designed to accelerate Large Language Model (LLM) inference by overlapping the "drafting" and "verification" phases of speculative decoding. By allowing the draft and target models to run in parallel and dynamically adjusting the number of guessed tokens, PEARL achieves up to a 4.43× speedup over standard auto-regressive decoding and a 1.50× improvement over vanilla speculative decoding.

What Problem Does This Paper Address?

Standard LLM inference is notoriously slow because it is "auto-regressive": to generate 100 tokens, the model must run 100 serial passes, as each token depends on the previous one. Speculative Decoding (SD) was introduced to mitigate this bottleneck. In SD, a smaller, faster "draft" model quickly guesses several tokens, and a larger "target" model verifies them all at once in a single pass.

However, vanilla SD suffers from a critical "mutual waiting" problem. The target model sits idle while the draft model is guessing, and the draft model sits idle while the target model is verifying. Furthermore, most SD methods use a fixed "draft length" (e.g., always guessing exactly 5 tokens). This rigid approach is inefficient: if the text is highly predictable, the model should guess more tokens; if it is complex, it should guess fewer to avoid wasted computation.

Comparison of execution timelines between vanilla speculative decoding and PEARL.

Methods

To break the serial bottleneck and enable true parallelism, PEARL introduces two primary strategies:

  1. Pre-verify: Instead of waiting for the draft model to finish generating its entire sequence, the target model starts verifying the very first draft token as soon as it is ready. If this initial token is incorrect, the system immediately halts the current drafting phase and starts over. This early intervention saves valuable time that would have otherwise been wasted on a cascade of useless guesses.
  2. Post-verify: While the target model is busy verifying a batch of draft tokens, the draft model does not sit idle. It continues to "speculate" and generate even more tokens for the next potential batch.
Detailed timeline of PEARL's Pre-verify and Post-verify mechanisms.

By combining these two mechanisms, the draft and target models run concurrently. This asynchronous execution naturally leads to an Adaptive Draft Length. In "easy" scenarios where tokens are consistently accepted, the draft model can race ahead of the target model, generating a long sequence of tokens. In "difficult" scenarios where tokens are rejected, the pre-verify step catches the error early and resets the process, keeping the draft length short and efficient.

Datasets

The authors evaluated PEARL across several diverse benchmarks to ensure robustness across different tasks:

  • HumanEval: A benchmark for code generation.
  • GSM8K & MGSM: Benchmarks for English and multilingual grade-school math word problems.
  • MT-bench: A multi-round dialogue benchmark used to test general conversational ability.

These evaluations were conducted using popular model families, including Llama 2, Llama 3.1, CodeLlama, and DeepSeek-Coder. The setup paired small versions (e.g., 7B parameters) as drafters with large versions (e.g., 70B parameters) as targets.

Key Insights and Ideas

  • Parallelism over Seriality: The core insight of PEARL is that the drafting and verification phases do not need to be strictly sequential. By treating them as asynchronous processes, the latency of the smaller model can be effectively hidden behind the execution time of the larger one.
  • The "Speed Ratio" Rule: The authors discovered that the optimal draft length is closely tied to the speed ratio between the draft and target models. For instance, if the target model is 5× slower than the draft model, a window size of 5 is typically the "sweet spot" for maximizing parallelism.
  • Massive Increase in Accepted Tokens: Because PEARL does not stop the draft model during verification, it can theoretically accept a massive number of tokens in a single "step." In tests using DeepSeek, PEARL achieved a Mean Accepted Token (MAT) count of 39.9, compared to just 5.69 for vanilla speculative decoding.

Key Results

  • Speedups: PEARL consistently outperformed all baselines. It achieved a maximum speedup of 4.43× compared to auto-regressive decoding and 1.50× compared to vanilla speculative decoding on the CodeLlama 7B/70B pair.
  • Efficiency: On the MT-bench dialogue task, PEARL demonstrated a speedup of roughly 2.64×, significantly higher than other advanced methods like Ouroboros or Lookahead Decoding.
  • Robustness: The system remains highly effective even in resource-constrained scenarios where both models share the same GPU. By utilizing pipeline parallelism, PEARL prevents the models from competing for the same hardware resources.

Limitations and Future Work

  • Hardware Scheduling: While PEARL is conceptually parallel, scheduling two models on the same GPU can lead to resource contention. The proposed pipeline parallelism mitigates this, but a multi-GPU setup is required for truly optimal performance.
  • Power Consumption: Running two models simultaneously increases overall GPU utilization, which may lead to higher power consumption compared to simpler, serial decoding methods.
  • Future Integration: The authors suggest that future work could integrate PEARL with other acceleration techniques, such as "tree attention" (verifying multiple draft branches simultaneously) or advanced draft-token caching mechanisms, to push inference speeds even further.

Summary updated

BibTeX
@inproceedings{liu2025pearl,
  author = {Tianyu Liu and Yun Li and Qitan Lv and Kai Liu and Jianchen Zhu and Winston Hu and Xiao Sun},
  title = {{PEARL: Parallel Speculative Decoding with Adaptive Draft Length}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=QOXrVMiHGK},
}
Figure