Scaling Speculative Decoding with Lookahead Reasoning

Yichao Fu, Rui Ge, Zelei Shao, Zhijie Deng, Hao Zhang

Abstract

Large Reasoning Models (LRMs) like OpenAI’s o1 have set new benchmarks in complex problem-solving but are hindered by slow inference speeds caused by massive "Chain-of-Thought" (CoT) generations. This paper introduces Lookahead Reasoning (LR), a hierarchical speculative decoding framework designed to accelerate these models. Unlike traditional speculative decoding that operates at the token level, LR predicts entire reasoning steps and utilizes semantic verification to validate them. This approach effectively raises the algorithmic ceiling of speculation, achieving up to a 2.1x speedup on reasoning-heavy tasks while preserving the original model's accuracy.

Introduction

Standard Speculative Decoding (SD) has become a popular technique for accelerating Large Language Models (LLMs). It uses a lightweight "draft" model to predict a sequence of tokens, which a larger "target" model then verifies in parallel. However, SD faces a fundamental limitation: the probability of a long token sequence being exactly correct decreases exponentially with its length. For reasoning models that generate thousands of tokens in a Chain-of-Thought, this often limits speedups to a modest 1.4x.

Reasoning is inherently hierarchical, consisting of high-level logical steps composed of low-level tokens. Traditional SD ignores this structure, treating reasoning as a flat string of text. Lookahead Reasoning addresses this by introducing a two-layered parallel system that leverages the hierarchical nature of thought.

Methods

Lookahead Reasoning (LR) operates through a multi-layered speculation process:

  1. Step-Level Speculation: A small draft model generates several potential future reasoning steps (e.g., the subsequent logical deductions in a mathematical proof).
  2. Semantic Verification: Standard SD requires an exact token-by-token match for acceptance. In contrast, LR employs a Verifier (such as a smaller LLM-as-a-Judge or an embedding-based model) to determine if a draft step is semantically equivalent to the target model's output. If the underlying logic is sound, the step is accepted even if the specific wording differs.
  3. Token-Level Speculation: Within each reasoning step, the system continues to use traditional token-level SD to maximize efficiency.
  4. Asynchronous Execution: To maximize GPU utilization, the system can verify the initial steps while the draft model simultaneously generates subsequent steps.
Overview of the Lookahead Reasoning process compared to standard autoregressive decoding.

Because step-level and token-level speculations are orthogonal, their speedups are multiplicative, allowing the system to surpass the limitations of single-layer speculation.

Experimental Evaluation

The researchers evaluated LR across a diverse set of reasoning-heavy benchmarks, including:

  • Mathematics: GSM8K, AIME ’24, and AMC12 ’23.
  • Coding: HumanEval and LiveCodeBench (problems from late 2024 to early 2025).
  • General Reasoning: GPQA (hard science) and MT-Bench (multi-turn dialogue).

The primary testbed involved the DeepSeek-R1-Distill and Qwen3 families, typically pairing a 1.5B/1.7B parameter draft model with a 32B parameter target model.

Key Results and Insights

The core finding of this work is that semantic equivalence is far more common than exact token matching in reasoning tasks. Over 50% of reasoning steps produced by a 1.5B model were found to be semantically equivalent to those of a 32B model, despite differing in exact phrasing.

Performance comparison across various reasoning benchmarks.

Key empirical results include:

  • Enhanced Speedups: On the GSM8K benchmark, LR improved the speedup of standard speculative decoding from 1.4x to 2.1x.
  • Accuracy Preservation: Across all benchmarks, the accelerated model maintained accuracy within 1-2% of the original target model, proving the robustness of semantic verification.
  • Scalability: LR demonstrates superior scalability compared to standard SD. As GPU throughput increases, LR can draft deeper into the reasoning chain, further improving performance.

Discussion and Limitations

While Lookahead Reasoning significantly improves inference speed, several areas for future work remain. Currently, the system relies on static markers (like double newlines) for step segmentation; more dynamic or learned segmentation could offer further gains. Additionally, the computational overhead of the "LLM-as-a-Judge" verifier, while net-positive for speed, suggests a need for even more lightweight verification methods. Finally, the overall speedup remains sensitive to the draft model's quality; if the drafter's logic diverges significantly from the target, the system reverts to standard, slower decoding.

Despite these challenges, Lookahead Reasoning represents a significant step forward in making Large Reasoning Models practical for real-time applications by effectively bridging the gap between high-level logic and low-level token generation.

Summary updated

BibTeX
@inproceedings{fu2025scaling,
  author = {Yichao Fu and Rui Ge and Zelei Shao and Zhijie Deng and Hao Zhang},
  title = {{Scaling Speculative Decoding with Lookahead Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=JxxKj8pow1},
}
Figure