Reproduce “Accelerating Large Language Model Reasoning via Speculative Search” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhihai Wang, Jie Wang, Jilai Pan, Xilin Xia, Huiling Zhen, Mingxuan Yuan, Jianye Hao, Feng Wu
A novel Speculative Search (SpecSearch) framework accelerates tree-search-based large language model (LLM) reasoning by optimizing thought generation. This approach achieves up to 4.11x speedup over autoregressive decoding and 2.12x over token-level speculative decoding, while consistently maintaining or enhancing reasoning accuracy across various models and tasks.
Key insights
- The generation of intermediate "thoughts" is the primary computational bottleneck for advanced tree-search-based LLM reasoning, rather than individual token generation.
- Smaller LLMs can effectively generate high-quality reasoning thoughts for simpler steps, enabling efficient drafting.
- A dynamically estimated, quality-preserving rejection threshold, combined with a thought evaluator, is crucial for integrating small model outputs without degrading overall reasoning accuracy.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.