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

论大型语言模型中推理与规划的经验复杂性

On the Empirical Complexity of Reasoning and Planning in LLMs

National University of Singapore(新加坡国立大学)

Liwei Kang, Zirui Zhao, David Hsu, Wee Sun Lee

AI总结:

本文通过6项推理任务的实验案例,将CoT与ToT的性能优势联系到样本与计算复杂性原则,揭示任务分解及树结构在困难推理任务中的作用。

摘要:

思维链(CoT)、思维树(ToT)及相关技术在使用大型语言模型(LLM)完成某些复杂推理任务时,在实践中表现得出奇地好,但原因何在?本工作通过开展实验案例研究,并将性能收益与机器学习中已被充分确立的样本复杂性和计算复杂性原则联系起来,寻求其根本原因。我们在6个推理任务上进行了实验,范围从小学数学、航空旅行规划、……,到Blocksworld。结果表明:(i)CoT和ToT都显著受益于任务分解,任务分解将复杂推理任务拆分为具有低样本复杂性的一系列步骤,并明确勾勒出推理结构;(ii)对于计算上困难的推理任务,ToT更复杂的树结构优于CoT的线性结构。这些发现为在实践中使用LLM求解推理任务提供了有用的指导原则。

英文摘要:

Chain-of-thought (CoT), tree-of-thought (ToT), and related techniques work surprisingly well in practice for some complex reasoning tasks with Large Language Models (LLMs), but why? This work seeks the underlying reasons by conducting experimental case studies and linking the performance benefits to well-established sample and computational complexity principles in machine learning. We experimented with 6 reasoning tasks, ranging from grade school math, air travel planning, ..., to Blocksworld. The results suggest that (i) both CoT and ToT benefit significantly from task decomposition, which breaks a complex reasoning task into a sequence of steps with low sample complexity and explicitly outlines the reasoning structure, and (ii) for computationally hard reasoning tasks, the more sophisticated tree structure of ToT outperforms the linear structure of CoT. These findings provide useful guidelines for the use of LLM in solving reasoning tasks in practice.

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

↑