[论文解读] Cumulative Reasoning with Large Language Models
本文提出了 Cumulative Reasoning (CR),一个三代理框架(提出者 proposer、验证者 verifier、报道者 reporter),通过迭代构建并验证中间命题来解决复杂任务,在 FOLIO-wiki-curated、Game of 24 和 MATH 上取得了最先进的结果,包括一个在代码环境下的变体,性能也很强。
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%. Project Page: https://github.com/iiis-ai/cumulative-reasoning.
研究动机与目标
- 通过启用深思熟虑的累积推理,让语言模型有能力解决高度复杂的任务。
- 将问题分解为原子步骤,并在类有向无环图(DAG)结构中累积中间结果。
- 在逻辑推理、谜题求解和数学推理数据集上评估 CR,并与 CoT(Chain-of-Thought)和 ToT(Tree-of-Thought)基线进行比较。
- 扩展 CR 以包含一个 Python 代码环境,以在不使用外部工具的情况下测试模型的内在推理。
提出的方法
- 引入具有三个 LLM 角色的 CR:提出者提出下一步,验证者验证提案,报道者决定何时停止并给出解决方案。
- 使用派生自 DAG/超图的推理轨迹,存储历史上正确的中间结果,从而实现非线性思维过程。
- 将 CR 与 Chain-of-Thought (CoT) 和 Tree-of-Thought (ToT) 进行比较;讨论 CR 的泛化能力和记忆优势。
- 在 FOLIO-wiki、FOLIO-wiki-curated、AutoTNLI、Game of 24 和 MATH 上进行实验以基准性能。
- 在代码环境实验中,改用通过 Python 执行的符号验证来测试内在推理,而不使用外部工具。
实验结果
研究问题
- RQ1累积的多代理推理过程能否在逻辑推理、谜题求解和数学问题求解方面超过标准提示方法?
- RQ2将中间结果存储在类 DAG 结构中是否比基于链/树的方法提高鲁棒性和准确性?
- RQ3CR 在多样化任务(FOLIO、Game of 24、MATH)上的表现与 CoT 和 ToT 相比如何?
- RQ4增加 Python 代码环境对 CR 的性能和错误模式有何影响?
主要发现
- 使用 GPT-4 的 CR 在 FOLIO-wiki-curated 上达到 98.04%,错误率为 1.96%。
- 在 FOLIO-wiki(未筛选)上,GPT-4 使用 CR 的准确率达到 87.45%。
- Game of 24 的 CR 达到 98% 的准确率,比之前的 ToT 状态的最先进水平提升了 24%。
- 在不使用代码的情况下,MATH 上 CR 的总体准确率为 58.0%,比带 PHP 的 Complex-CoT 高出 4.2%,在第 5 级问题上实现相对 43% 的提升。
- 在 MATH 的 Python 代码环境下,CR 的总体准确率为 72.2%,相对超越 PAL 38.9%,相对超越 ToRA 18.8%。
- CR 在 MATH 的子领域表现出鲁棒性,尤其是在使用 PHP 提示时。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。