paper-with-me

Papers

Scaling Speculative Decoding with Lookahead Reasoning

2025-06-24 · Yichao Fu, Rui Ge, Zelei Shao, Zhijie Deng, Hao Zhang

Reasoning models excel by generating long chain-of-thoughts, but decoding the resulting thousands of tokens is slow. Token-level speculative decoding (SD) helps, but its benefit is capped, because the chance that an entire $\gamma$-token guess is correct falls exponentially as $\gamma$ grows. This means allocating more compute for longer token drafts faces an algorithmic ceiling -- making the speedup modest and hardware-agnostic. We raise this ceiling with Lookahead Reasoning, which exploits a second, step-level layer of parallelism. Our key insight is that reasoning models generate step-by-step, and each step needs only to be semantically correct, not exact token matching. In Lookahead Reasoning, a lightweight draft model proposes several future steps; the target model expands each proposal in one batched pass, and a verifier keeps semantically correct steps while letting the target regenerate any that fail. Token-level SD still operates within each reasoning step, so the two layers of parallelism multiply. We show Lookahead Reasoning lifts the peak speedup of SD both theoretically and empirically. Across GSM8K, AIME, and other benchmarks, Lookahead Reasoning improves the speedup of SD from 1.4x to 2.1x while preserving answer quality, and its speedup scales better with additional GPU throughput. Our code is available at https://github.com/hao-ai-lab/LookaheadReasoning

📄 PDF Abstract BibTeX arXiv:2506.19830

Code (0)

등록된 구현이 없습니다.

Tasks

GPUGSM8K

Similar Papers 제목 키워드 기반

Break the Sequential Dependency of LLM Inference Using Lookahead Decoding

2024-02-03 · Yichao Fu, Peter Bailis, Ion Stoica, Hao Zhang

Autoregressive decoding of large language models (LLMs) is memory bandwidth bounded, resulting in high latency and significant wastes of the parallel processing power of modern accelerators. Existing methods for accelera…

Code Completion

Constrained Decoding with Speculative Lookaheads

2024-12-09 · Nishanth Nakshatri, Shamik Roy, Rajarshi Das, Suthee Chaidaroon 외

Constrained decoding with lookahead heuristics (CDLH) is a highly effective method for aligning LLM generations to human preferences. However, the extensive lookahead roll-out operations for each generated token makes CD…

Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling

2025-08-30 · Shengyin Sun, Yiming Li, Xing Li, Yingzhao Lian 외 arxiv

Test-time scaling has emerged as a powerful paradigm for enhancing the reasoning capabilities of large language models (LLMs) by allocating additional computational resources during inference. However, this paradigm is i…

Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models

2024-05-07 · Jonathan Mamou, Oren Pereg, Daniel Korat, Moshe Berchansky 외

Speculative decoding is commonly used for reducing the inference latency of large language models. Its effectiveness depends highly on the speculation lookahead (SL)-the number of tokens generated by the draft model at e…

SSR: Speculative Parallel Scaling Reasoning in Test-time

2025-05-21 · Yuanlin Chu, Bo wang, Xiang Liu, Hong Chen 외

Large language models (LLMs) have achieved impressive results on multi-step mathematical reasoning, yet at the cost of high computational overhead. This challenge is particularly acute for test-time scaling methods such …

DiversityMathMathematical Reasoning