paper-with-me

Papers

Accelerating Large Language Model Reasoning via Speculative Search

2025-05-03 · Zhihai Wang, Jie Wang, Jilai Pan, Xilin Xia, HuiLing Zhen, Mingxuan Yuan, Jianye Hao, Feng Wu

Tree-search-based reasoning methods have significantly enhanced the reasoning capability of large language models (LLMs) by facilitating the exploration of multiple intermediate reasoning steps, i.e., thoughts. However, these methods suffer from substantial inference latency, as they have to generate numerous reasoning thoughts, severely limiting LLM applicability. To address this challenge, we propose a novel Speculative Search (SpecSearch) framework that significantly accelerates LLM reasoning by optimizing thought generation. Specifically, SpecSearch utilizes a small model to strategically collaborate with a large model at both thought and token levels, efficiently generating high-quality reasoning thoughts. The major pillar of SpecSearch is a novel quality-preserving rejection mechanism, which effectively filters out thoughts whose quality falls below that of the large model's outputs. Moreover, we show that SpecSearch preserves comparable reasoning quality to the large model. Experiments on both the Qwen and Llama models demonstrate that SpecSearch significantly outperforms state-of-the-art approaches, achieving up to 2.12$\times$ speedup with comparable reasoning quality.

📄 PDF Abstract BibTeX arXiv:2505.02865

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…

Similar Papers 제목 키워드 기반

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…

SEED: Accelerating Reasoning Tree Construction via Scheduled Speculative Decoding

2024-06-26 · Zhenglin Wang, Jialong Wu, Yilong Lai, Congzhi Zhang 외

Large Language Models (LLMs) demonstrate remarkable emergent abilities across various tasks, yet fall short of complex reasoning and planning tasks. The tree-search-based reasoning methods address this by surpassing the …

GPUManagement

Breaking the Reward Barrier: Accelerating Tree-of-Thought Reasoning via Speculative Exploration

2026-05-11 · Shuzhang Zhong, Haochen Huang, Shengxuan Qiu, Pengfei Zuo 외 arxiv

Tree-of-Thought (ToT) reasoning structures Large Language Model (LLM) inference as a tree-based search, demonstrating strong potential for solving complex mathematical and programming tasks. However, its efficiency is co…

FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling

2025-02-20 · Weilin Zhao, Tengyu Pan, Xu Han, Yudi Zhang 외

Speculative sampling has emerged as an important technique for accelerating the auto-regressive generation process of large language models (LLMs) by utilizing a draft-then-verify mechanism to produce multiple tokens per…

Language ModelingLanguage Modelling

Accelerating Large Language Model Decoding with Speculative Sampling

2023-02-02 · Charlie Chen, Sebastian Borgeaud, Geoffrey Irving, Jean-Baptiste Lespiau 외

We present speculative sampling, an algorithm for accelerating transformer decoding by enabling the generation of multiple tokens from each transformer call. Our algorithm relies on the observation that the latency of pa…

Language ModelingLanguage ModellingLarge Language Modelmodel