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

树搜索何时对LLM规划有用?取决于判别器

When is Tree Search Useful for LLM Planning? It Depends on the Discriminator

The Ohio State University(俄亥俄州立大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);Cisco Research(思科研究)

Ziru Chen, Michael White, Raymond Mooney, Ali Payani, Yu Su, Huan Sun

AI总结:

本文分析LLM智能体中判别准确率对迭代修正、树搜索与重排序三种规划方法的影响,发现高级规划方法需至少90%判别准确率才能显著优于重排序,而当前LLM判别能力不足且树搜索效率低下。

摘要:

在本文中,我们考察了大语言模型(LLMs)如何在包含生成器、判别器和规划方法三个组件的语言智能体框架下解决多步问题。我们研究了两种高级规划方法——迭代修正和树搜索——的实际效用。我们对判别准确率如何影响智能体在使用这两种方法或一种更简单的方法(重排序)时的整体性能进行了全面分析。在文本到SQL解析和数学推理两个任务上的实验表明:(1)高级规划方法要求判别器至少达到90%的准确率,才能相比重排序取得显著改进;(2)当前LLMs的判别能力尚未满足高级规划方法实现此类改进的需求;(3)在使用基于LLM的判别器时,高级规划方法可能无法充分平衡准确率与效率。例如,与其他两种方法相比,树搜索至少慢10到20倍,但带来的性能提升可以忽略不计,这阻碍了其在实际应用中的落地。代码和数据可在https://github.com/OSU-NLP-Group/llm-planning-eval获取。

英文摘要:

In this paper, we examine how large language models (LLMs) solve multi-step problems under a language agent framework with three components: a generator, a discriminator, and a planning method. We investigate the practical utility of two advanced planning methods, iterative correction and tree search. We present a comprehensive analysis of how discrimination accuracy affects the overall performance of agents when using these two methods or a simpler method, re-ranking. Experiments on two tasks, text-to-SQL parsing and mathematical reasoning, show that: (1) advanced planning methods demand discriminators with at least 90% accuracy to achieve significant improvements over re-ranking; (2) current LLMs' discrimination abilities have not met the needs of advanced planning methods to achieve such improvements; (3) with LLM-based discriminators, advanced planning methods may not adequately balance accuracy and efficiency. For example, compared to the other two methods, tree search is at least 10--20 times slower but leads to negligible performance gains, which hinders its real-world applications. Code and data are available at https://github.com/OSU-NLP-Group/llm-planning-eval.

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

↑