arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.16533cs.MAcs.CLcs.LG
收藏

自引导知识思想网络:用大语言模型增强推理

Self-guided Knowledgeable Network of Thoughts: Amplifying Reasoning with Large Language Models

National Taiwan University(台湾大学);Academia Sinica(中央研究院)

Chao-Chi Chen, Chin-Yuan Yeh, Hsi-Wen Chen, De-Nian Yang, Ming-Syan Chen

AI总结:

提出知识思想网络(kNoT)及LLM工作流模板(LWT),通过将单步LLM操作构建为任意网络节点并支持索引选择,使复杂计划分解为基本操作,在六个用例上以更少提示工程显著优于CoT、ToT和GoT等现有范式。

摘要:

我们引入了知识思想网络(kNoT):一种提示方案,其能力超越了思维链(CoT)、思维树(ToT)和思维图(GoT)等现有范式。kNoT的关键创新是LLM工作流模板(LWT),它允许由LLM为LLM指定可执行计划。LWT允许这些计划为任意网络,其中单步LLM操作作为节点,边对应这些步骤间的消息传递。此外,LWT支持通过索引选择单个元素,促使kNoT生成复杂计划,其中每个LLM操作可限于基本操作,从而极大增强长任务序列的可靠性。我们证明kNoT在六个用例上显著优于现有最优方法,同时减少了对广泛提示工程的需求。例如,在排序32个数字时,kNoT达到92%的准确率,而ToT和GoT分别为12%和31%,同时分别减少了高达84.4%和87.3%的特定任务提示。

英文摘要:

We introduce Knowledgeable Network of Thoughts (kNoT): a prompt scheme that advances the capabilities of large language models (LLMs) beyond existing paradigms like Chain-of-Thought (CoT), Tree of Thoughts (ToT), and Graph of Thoughts (GoT). The key innovation of kNoT is the LLM Workflow Template (LWT), which allows for an executable plan to be specified by LLMs for LLMs. LWT allows these plans to be arbitrary networks, where single-step LLM operations are nodes, and edges correspond to message passing between these steps. Furthermore, LWT supports selection of individual elements through indexing, facilitating kNoT to produce intricate plans where each LLM operation can be limited to elementary operations, greatly enhancing reliability over extended task sequences. We demonstrate that kNoT significantly outperforms the state of the art on six use cases, while reducing the need for extensive prompt engineering. For instance, kNoT finds 92% accuracy for sorting 32 numbers over 12% and 31% for ToT and GoT, while utilizing up to 84.4% and 87.3% less task-specific prompts, respectively.

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

↑