Skip to main content
QUICK REVIEW

[论文解读] MACM: Utilizing a Multi-Agent System for Condition Mining in Solving Complex Mathematical Problems

Bin Lei, Zhang, Yi|arXiv (Cornell University)|Apr 6, 2024
Scheduling and Optimization AlgorithmsEngineering被引用 3
一句话总结

该论文提出MACM,一种多智能体系统,通过从问题中迭代挖掘逻辑条件来增强大语言模型(LLMs)在复杂数学问题求解中的能力。通过抽象目标并动态扩展已知条件,MACM使GPT-4 Turbo在level 5 MATH数据集上的准确率从54.68%提升至76.73%,展现出优于现有提示工程方法的泛化能力和错误纠正能力。

ABSTRACT

Recent advancements in large language models, such as GPT-4, have demonstrated remarkable capabilities in processing standard queries. Despite these advancements, their performance substantially declines in extbf{advanced mathematical problems requiring complex, multi-step logical reasoning}. To enhance their inferential capabilities, current research has delved into extit{prompting engineering}, exemplified by methodologies such as the Tree of Thought and Graph of Thought. Nonetheless, these existing approaches encounter two significant limitations. Firstly, their effectiveness in tackling complex mathematical problems is somewhat constrained. Secondly, the necessity to design distinct prompts for individual problems hampers their generalizability. In response to these limitations, this paper introduces the extit{Multi-Agent System for conditional Mining} ( extbf{MACM}) prompting method. It not only resolves intricate mathematical problems but also demonstrates strong generalization capabilities across various mathematical contexts. With the assistance of MACM, the accuracy of GPT-4 Turbo on the most challenging level five mathematical problems in the MATH dataset increase from $\mathbf{54.68\%} ext{ to } \mathbf{76.73\%}$. The code is available in \url{https://github.com/bin123apple/MACM}.

研究动机与目标

  • 解决LLMs在求解复杂多步数学问题时推理能力有限的问题。
  • 克服现有提示工程方法泛化能力差的问题,这些方法需要针对特定问题进行提示设计。
  • 开发一种提示框架,将问题抽象为条件和目标,实现可重用、可扩展的推理。
  • 在不进行微调的情况下,提升基于LLM的数学问题求解中的错误纠正能力和准确率。
  • 实现一种适用于多种数学领域的通用提示方法。

提出的方法

  • MACM引入一种多智能体系统,从问题的目标和初始约束中提取并迭代扩展已知条件。
  • 它将每个问题抽象为一组初始条件和一个目标,将推理过程与问题特定的提示结构解耦。
  • 智能体协作从现有条件中生成新的逻辑推论,逐步构建出解决方案。
  • 该方法通过将推理路径压缩为动态演化的条件集合,避免使用分层推理结构(如树或图)。
  • MACM采用迭代条件挖掘与验证,通过重复推理循环实现错误检测与纠正。
  • 系统动态更新条件集合,使推论之间的连接关系比传统提示方法更丰富。
Figure 1: The Comparison Between the Current Mainstream Prompting Methods and MACM. MACM extracts conditions and the objective from each math problem, iteratively adds new insights to the known conditions, and repeats this until enough information is gathered to reach a solution.
Figure 1: The Comparison Between the Current Mainstream Prompting Methods and MACM. MACM extracts conditions and the objective from each math problem, iteratively adds new insights to the known conditions, and repeats this until enough information is gathered to reach a solution.

实验结果

研究问题

  • RQ1多智能体系统是否能在不进行微调的情况下提升LLMs在复杂数学问题上的推理准确率?
  • RQ2与现有提示方法相比,MACM的条件挖掘方法在多样化数学问题类型上的泛化能力如何?
  • RQ3在具有挑战性的问题集中,MACM在多大程度上能够纠正基础LLM(如GPT-4 Turbo)的错误?
  • RQ4与其它提示技术相比,MACM在推理成本(LLM调用次数)与准确率提升之间存在何种权衡?
  • RQ5MACM是否在准确率和泛化能力上均优于最先进的提示框架(如Tree of Thought和Graph of Thought)?

主要发现

  • MACM使GPT-4 Turbo在level 5 MATH数据集问题上的准确率从54.68%提升至76.73%,提升了22.05个百分点。
  • 在24点游戏中,MACM使用相同GPT-4模型时,准确率比Tree of Thought高出17%。
  • 在MATH数据集上,MACM比SC-CoT高出7.8个百分点,展现出更优的泛化能力和错误纠正能力。
  • 在64个元素的数字序列排序任务中,MACM使用GPT-3.5实现了92%的准确率,优于GoT的估计值89.06%。
  • 当增加LLM响应数量时,MACM的准确率上限高于I-O、CoT和SC-CoT,在大规模下纠正了近90%的原始GPT-4 Turbo错误。
  • 该方法的迭代条件扩展机制能够实现更深层次的逻辑推理,并优于分层提示方法的错误检测能力。
Figure 2: The overall structure of MACM. : Original Math problem; : Condition list; : True; : False; : Discard; : Known Conditions; : New Conditions; : Objective; : Thinker; : Judge; : Executor; ➀: Initialize the initial condition list and the objective; ➁: Explore new Conditions based on current co
Figure 2: The overall structure of MACM. : Original Math problem; : Condition list; : True; : False; : Discard; : Known Conditions; : New Conditions; : Objective; : Thinker; : Judge; : Executor; ➀: Initialize the initial condition list and the objective; ➁: Explore new Conditions based on current co

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。