LiteSearch: Efficacious Tree Search for LLM

Ante Wang, Linfeng Song, Ye Tian, Baolin Peng, Dian Yu +3 more
6/29/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: XMUDeepLIT/LiteSearch (4 stars, last commit 2024-12-15). 1 more below.

Abstract

Recent research suggests that tree search algorithms (e.g. Monte Carlo Tree Search) can dramatically boost LLM performance on complex mathematical reasoning tasks. However, they often require more than 10 times the computational resources of greedy decoding due to wasteful search strategies, making them difficult to be deployed in practical applications. This study introduces a novel guided tree search algorithm with dynamic node selection and node-level exploration budget (maximum number of children) calculation to tackle this issue. By considering the search progress towards the final answer (history) and the guidance from a value network (future) trained without any step-wise annotations, our algorithm iteratively selects the most promising tree node before expanding it within the boundaries of the allocated computational budget. Experiments conducted on the GSM8K and TabMWP datasets demonstrate that our approach not only offers competitive performance but also enjoys significantly lower computational costs compared to baseline methods.

View on arXivView PDF

Code Implementations(2)

Code for the paper "LiteSearch: Efficacious Tree Search for LLM" (AAAI 2025)

40Shell, PythonDec 15, 20241 years ago

Code for the paper "LiteSearch: Efficacious Tree Search for LLM" (AAAI 2025).

00Shell, PythonOct 17, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024litesearch,
  title  = {LiteSearch: Efficacious Tree Search for LLM},
  author = {Ante Wang and Linfeng Song and Ye Tian and Baolin Peng and Dian Yu and Haitao Mi and Jinsong Su and Dong Yu},
  year   = {2024},
  eprint = {2407.00320},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.00320v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.00320.svg)](https://codeofpaper.com/paper/2407.00320)

Discussion