TensorX
返回文献探索

Paper · arXiv 2407.00320

LiteSearch: Efficacious Tree Search for LLM

Ante Wang, Linfeng Song, Ye Tian, Baolin Peng, Dian Yu, Haitao Mi, Jinsong Su, Dong Yu

39 upvotesJune 29, 2024arXiv 预印本
AI 摘要

A guided tree search algorithm with dynamic node selection and budget calculation improves LLM mathematical reasoning performance while reducing computational costs.

Monte Carlo Tree Searchtree search algorithmsLLMguided tree searchdynamic node selectionnode-level exploration budgetvalue networkGSM8KTabMWP

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号