Cumulative Reasoning with Large Language Models

Yifan Zhang, Jingqin Yang, Yang Yuan, Andrew Chi-Chih Yao
8/8/2023
107 citations
cs.AI

Official code: iiis-ai/cumulative-reasoning (311 stars, Python, last commit 2025-08-02).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

[TMLR] Cumulative Reasoning With Large Language Models (https://arxiv.org/abs/2308.04371)

31135Python, Jupyter NotebookAug 10, 20231 years ago
large-language-modelsllmmathpromptingreasoning

Similar Papers

Cite this paper

@article{zhang2023cumulative,
  title  = {Cumulative Reasoning with Large Language Models},
  author = {Yifan Zhang and Jingqin Yang and Yang Yuan and Andrew Chi-Chih Yao},
  year   = {2023},
  eprint = {2308.04371},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.04371v9}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.04371.svg)](https://codeofpaper.com/paper/2308.04371)

Discussion