arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00320cs.CLcs.AIcs.LG
收藏

LiteSearch:面向大语言模型的高效树搜索

LiteSearch: Efficacious Tree Search for LLM

School of Informatics, Xiamen University(厦门大学信息学院);Tencent AI Lab(腾讯AI实验室)

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

AI总结:

本文提出LiteSearch引导式树搜索算法,通过动态节点选择、节点级探索预算和无逐步标注的价值网络引导,在GSM8K和TabMWP上以显著更低计算成本取得与基线相当的推理性能。

摘要:

近期研究表明,树搜索算法(如蒙特卡洛树搜索)能够显著提升大语言模型在复杂数学推理任务上的表现。然而,由于搜索策略存在大量浪费,这类方法通常需要超过贪心解码十倍以上的计算资源,致使其难以在实际应用中得到部署。本研究提出一种新颖的引导式树搜索算法,通过动态节点选择与节点级探索预算(最大子节点数)计算来解决上述问题。该算法同时考虑朝向最终答案的搜索进展(历史信息)以及来自价值网络的引导(未来信息),其中价值网络无需任何逐步标注即可训练。算法在分配的计算预算范围内迭代选择最有希望的树节点,再对其进行扩展。在GSM8K和TabMWP数据集上开展的实验表明,与基线方法相比,我们的方法不仅具有有竞争力的性能,而且计算成本显著更低。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑