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

Thought Propagation:一种利用大语言模型进行复杂推理的类比方法

Thought Propagation: An Analogical Approach to Complex Reasoning with Large Language Models

University of Chinese Academy of Sciences(中国科学院大学);Yale University(耶鲁大学)

Junchi Yu, Ran He, Rex Ying

AI总结:

本文提出 Thought Propagation,通过让 LLM 生成并求解类比问题、复用其洞见修正初始方案,以即插即用方式增强复杂推理,并在三类任务上显著优于基线。

摘要:

随着提示方法的发展,大语言模型(LLM)已在推理任务中取得显著成功。然而,现有提示方法无法复用解决相似问题时获得的洞见,并且由于它们提示 LLM 从零开始推理,因此会受到多步推理中误差累积的影响。为解决这些问题,我们提出了 Thought Propagation(TP,思维传播),该方法探索类比问题并利用其解决方案来增强 LLM 的复杂推理能力。这些类比问题与输入问题相关,具有可复用的解决方案和问题求解策略。因此,传播求解先前类比问题的洞见以启发新的问题求解是很有前景的。为实现这一点,TP 首先提示 LMs 提出并求解一组与输入问题相关的类比问题。随后,TP 复用类比问题的结果,以直接产生新的解决方案,或推导一个知识密集型执行计划,从而修正从零开始获得的初始解决方案。TP 与现有提示方法兼容,无需大量任务特定提示工程,即可在广泛任务中实现即插即用的泛化与增强。在三项具有挑战性的任务上的实验表明,TP 相比基线取得了显著提升:在最短路径推理中找到最优解的比例平均绝对提升 12%,在创意写作中的人类偏好提升 13%,在 LLM-Agent Planning 的任务完成率上增强 15%。

英文摘要:

Large Language Models (LLMs) have achieved remarkable success in reasoning tasks with the development of prompting methods. However, existing prompting approaches cannot reuse insights of solving similar problems and suffer from accumulated errors in multi-step reasoning, since they prompt LLMs to reason \textit{from scratch}. To address these issues, we propose \textbf{\textit{Thought Propagation} (TP)}, which explores the analogous problems and leverages their solutions to enhance the complex reasoning ability of LLMs. These analogous problems are related to the input one, with reusable solutions and problem-solving strategies. Thus, it is promising to propagate insights of solving previous analogous problems to inspire new problem-solving. To achieve this, TP first prompts LLMs to propose and solve a set of analogous problems that are related to the input one. Then, TP reuses the results of analogous problems to directly yield a new solution or derive a knowledge-intensive plan for execution to amend the initial solution obtained from scratch. TP is compatible with existing prompting approaches, allowing plug-and-play generalization and enhancement in a wide range of tasks without much labor in task-specific prompt engineering. Experiments across three challenging tasks demonstrate TP enjoys a substantial improvement over the baselines by an average of 12\% absolute increase in finding the optimal solutions in Shortest-path Reasoning, 13\% improvement of human preference in Creative Writing, and 15\% enhancement in the task completion rate of LLM-Agent Planning.

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

↑