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

思考搜索:通过效率的视角进行语言模型规划

Thought of Search: Planning with Language Models Through The Lens of Efficiency

David S. Hippocampus Department of Computer Science(戴维·S·海马科斯学院计算机科学系);Cranberry-Lemon University(Cranberry-Lemon大学);IBM Research(IBM研究院)

Michael Katz, Harsha Kokel, Kavitha Srinivas, Shirin Sohrabi

AI总结:

本文提出了一种高效且保持正确性和完备性的LLM规划方法,通过解决四个代表性搜索问题展示其有效性,并呼吁研究社区关注效率与正确性的平衡。

摘要:

在计算机科学中,算法最重要的性质之一是正确性、完备性和复杂性。然而,对于最近提出的大量用于大型语言模型规划的方法,这些性质却很少被分析。在本工作中,我们填补了这一空白。我们分析了使用LLM进行规划的这些性质,并指出近期的趋势为了效率而放弃了正确性和完备性。我们提出了一种显著更高效的方法,同时能够保持正确性和完备性。我们以四个代表性的搜索问题为例,与文献中试图解决这些问题的LLM方法进行比较。我们展示了通过使用LLM生成搜索组件的代码,可以仅用几次LLM调用就以100%的准确率解决整个数据集。我们呼吁对计算资源的负责任使用;敦促研究社区调查维护效率的正确且完整的LLM方法。

英文摘要:

Among the most important properties of algorithms investigated in computer science are soundness, completeness, and complexity. These properties, however, are rarely analyzed for the vast collection of recently proposed methods for planning with large language models. In this work, we alleviate this gap. We analyse these properties of using LLMs for planning and highlight that recent trends abandon both soundness and completeness for the sake of inefficiency. We propose a significantly more efficient approach that can, at the same time, maintain both soundness and completeness. We exemplify on four representative search problems, comparing to the LLM-based solutions from the literature that attempt to solve these problems. We show that by using LLMs to produce the code for the search components we can solve the entire datasets with 100\% accuracy with only a few calls to the LLM. We argue for a responsible use of compute resources; urging research community to investigate sound and complete LLM-based approaches that uphold efficiency.

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

↑