[논문 리뷰] Cumulative Reasoning with Large Language Models
이 논문은 Cumulative Reasoning (CR)를 소개합니다. CR은 제안자, 검증자, 보고자의 세 에이전트 프레임워크로, 중간 명제를 반복적으로 구성하고 검증하여 복잡한 작업을 해결하며, 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 및 ToT 기준선과 비교합니다.
- 외부 도구 없이 내부 LLM 추론을 시험하기 위해 Python 코드 환경을 CR에 확장합니다.
제안 방법
- CR을 세 가지 LLM 역할로 도입합니다: 제안자는 다음 단계를 제시하고, 검증자는 제안을 검증하며, 보고자는 언제 멈추고 해답을 제시할지 결정합니다.
- 역사적으로 정확한 중간 결과를 저장하는 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와 비교하여 어떻게 수행하는가?
- RQ4Python 코드 환경을 추가하는 것이 CR의 성능과 오류 모드에 어떤 영향을 미치는가?
주요 결과
- GPT-4를 사용한 CR은 FOLIO-wiki-curated에서 98.04%의 정확도, 오류율 1.96%를 달성합니다.
- FOLIO-wiki(un-curated)에서 GPT-4와 CR은 87.45%의 정확도에 도달합니다.
- Game of 24에서 CR은 98%의 정확도에 도달하며, 이전 ToT 최첨단 대비 24%의 개선을 보입니다.
- MATH에서 코드 없이 CR은 58.0%의 전체 정확도를 달성하고, Complex-CoT with PHP 대비 4.2% 포인트 상승, Level 5 문제에서 상대적으로 43% 개선됩니다.
- Python 코드 환경이 있는 CR은 MATH에서 72.2%의 전체 정확도를 낳아 PAL 대비 상대적으로 38.9%, ToRA 대비 상대적으로 18.8% 우위입니다.
- CR은 PHP 프롬프트를 사용할 때 MATH의 하위 영역에서도 강건함을 보입니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.