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)|2024. 04. 06.
Scheduling and Optimization AlgorithmsEngineering인용 수 3
한 줄 요약

이 논문은 복잡한 수학 문제 해결을 위해 대규모 언어 모델(Large Language Models, LLMs)을 향상시키기 위해 문제에서 논리적 조건을 반복적으로 채굴하는 다중 에이전트 시스템인 MACM을 제안한다. 목적을 추상화하고 에이전트 간 협업을 통해 알려진 조건을 동적으로 확장함으로써, MACM은 GPT-4 Turbo의 수준 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}.

연구 동기 및 목표

  • 복잡하고 다단계적인 수학 문제 해결에서 LLM의 제한된 추론 능력을 해결하기 위해.
  • 문제 유형에 맞게 맞춤형 프롬프트 설계가 필요한 기존 프롬프팅 방법의 낮은 일반화 능력을 극복하기 위해.
  • 문제를 조건과 목표로 추상화하여 재사용 가능하고 확장 가능한 추론을 위한 프롬프팅 프레임워크를 개발하기 위해.
  • 피팅 튜닝 없이 LLM 기반 수학 문제 해결의 오류 수정 및 정확도 향상시키기 위해.
  • 다양한 수학 분야에 적용 가능한 일반적인 프롬프팅 방법을 제공하기 위해.

제안 방법

  • 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피팅 튜닝 없이 다중 에이전트 시스템이 복잡한 수학 문제에서 LLM의 추론 정확도를 향상시킬 수 있는가?
  • RQ2MACM의 조건 채굴 방식은 기존 프롬프팅 방법과 비교해 다양한 수학 문제 유형에 얼마나 잘 일반화되는가?
  • RQ3MACM이 어려운 문제 세트에서 기초 LLM인 GPT-4 Turbo가 범한 오류를 어느 정도 수정할 수 있는가?
  • RQ4기타 프롬프팅 기법과 비교해 MACM에서 추론 비용(LLM 호출 수)과 정확도 향상 사이의 상충 관계는 어떠한가?
  • RQ5MACM은 정확도와 일반화 능력 면에서 Tree of Thought 및 Graph of Thought과 같은 최신 프롬프팅 프레임워크를 초월하는가?

주요 결과

  • MACM은 GPT-4 Turbo의 수준 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보다 더 높은 정확도 상한선을 보였으며, 스케일링 시 원래 GPT-4 Turbo 오류의 약 90%를 수정했다.
  • 반복적인 조건 확장 방식은 계층적 프롬프팅 방법보다 더 깊은 논리적 추론과 더 나은 오류 탐지 능력을 제공한다.
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

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.