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

基于大语言模型的累积推理

Cumulative Reasoning with Large Language Models

IIIS, Tsinghua University(清华大学人工智能研究院);Shanghai Qi Zhi Institute(上海启智研究院)

Yifan Zhang, Jingqin Yang, Yang Yuan, Andrew Chi-Chih Yao

AI总结:

本文提出了一种名为累积推理(CR)的框架,通过模拟人类的迭代和累积思维过程,增强大语言模型(LLM)的问题解决能力。CR通过分解任务、生成并验证中间推理步骤,构建动态有向无环图(DAG)来组成解决方案,从而在逻辑推理、24点游戏和数学问题等任务中取得了显著的性能提升。

摘要:

近年来,大语言模型(LLMs)在解决问题方面取得了显著进展,但其解决复杂问题的能力仍然有限。本文介绍了一种名为累积推理(CR)的结构化框架,通过模拟人类的迭代和累积思维过程,增强LLM的问题解决能力。CR通过三个不同的角色:提出者、验证者和报告者,系统地分解任务,生成并验证中间推理步骤,并通过构建动态有向无环图(DAG)来组成解决方案。这种方法显著增强了问题解决能力。我们通过几个复杂的推理任务展示了CR的优势:在逻辑推理任务中,CR在现有方法上提高了9.3%,在经过整理的FOLIO维基数据集上达到了98.04%的准确率。在24点游戏中,它达到了98%的准确率,比以前的方法提高了24%。在解决数学问题时,CR在之前的办法上提高了4.2%,在最困难的第五级问题中相对改进了43%。当结合代码环境使用CR时,我们进一步利用LLM的推理能力,并在程序思维(PoT)方法上提高了38.8%。

英文摘要:

Recent advancements in large language models (LLMs) have shown remarkable progress, yet their ability to solve complex problems remains limited. In this work, we introduce Cumulative Reasoning (CR), a structured framework that enhances LLM problem-solving by emulating human-like iterative and cumulative thought processes. CR orchestrates LLMs in three distinct roles: Proposer, Verifier(s), and Reporter, to systematically decompose tasks, generate and validate intermediate reasoning steps, and compose them into a solution by building a dynamic Directed Acyclic Graph (DAG) of verified propositions. This approach substantially enhances problem-solving capabilities. We demonstrate CR's advantage through several complex reasoning tasks: it outperforms existing methods in logical inference tasks with up to a 9.3% improvement, achieving 98.04% accuracy on the curated FOLIO wiki dataset. In the Game of 24, it achieves 98% accuracy, marking a 24% improvement over previous methods. In solving MATH problems, CR achieves a 4.2% increase from previous methods and a 43% relative improvement in the most challenging level 5 problems. When incorporating a code environment with CR, we further harness LLMs' reasoning capabilities and outperform the Program of Thought (PoT) method by 38.8%.

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

↑