arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.05449cs.CL
收藏

RoT:通过搜索树反思增强大型语言模型

RoT: Enhancing Large Language Models with Reflection on Search Trees

School of Information Science and Technology, ShanghaiTech(上海科技大学信息科学与技术学院);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程技术研究中心)

Wenyang Hui, Kewei Tu

AI总结:

本文提出RoT框架,通过总结树搜索经验生成指导方针,增强弱LLM在推理和规划任务中的性能,并适用于多种提示方法。

摘要:

大型语言模型(LLMs)在与基于树搜索的提示方法集成时,在推理和规划方面展现出了令人印象深刻的能力。然而,由于这些方法忽略了之前的搜索经验,它们在搜索过程中往往会犯同样的错误。为了解决这个问题,我们引入了搜索树反思(RoT),这是一个LLM反思框架,旨在提高基于树搜索的提示方法的性能。它使用一个强大的LLM来总结先前树搜索经验中的指导方针,以增强一个较弱LLM的能力。这些指导方针是关于通过树搜索解决该任务的指令,可以防止弱LLM在过去的搜索过程中犯类似的错误。此外,我们提出了一种新颖的状态选择方法,该方法从历史搜索过程中识别关键信息,以帮助RoT生成更具体和有意义的指导方针。在我们广泛的实验中,我们发现RoT显著提高了LLMs在各种基于树搜索的提示方法(如BFS和MCTS)的推理或规划任务中的性能。非基于树搜索的提示方法,如思维链(CoT),也能从RoT指导方针中受益,因为RoT可以提供从搜索经验中收集的任务特定知识。

英文摘要:

Large language models (LLMs) have demonstrated impressive capability in reasoning and planning when integrated with tree-search-based prompting methods. However, since these methods ignore the previous search experiences, they often make the same mistakes in the search process. To address this issue, we introduce Reflection on search Trees (RoT), an LLM reflection framework designed to improve the performance of tree-search-based prompting methods. It uses a strong LLM to summarize guidelines from previous tree search experiences to enhance the ability of a weak LLM. The guidelines are instructions about solving this task through tree search which can prevent the weak LLMs from making similar mistakes in the past search process. In addition, we proposed a novel state selection method, which identifies the critical information from historical search processes to help RoT generate more specific and meaningful guidelines. In our extensive experiments, we find that RoT significantly improves the performance of LLMs in reasoning or planning tasks with various tree-search-based prompting methods (e.g., BFS and MCTS). Non-tree-search-based prompting methods such as Chain-of-Thought (CoT) can also benefit from RoT guidelines since RoT can provide task-specific knowledge collected from the search experience.

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

↑