AI summary · arXiv: 2404.04735v1 · cs.AI

MACM: Utilizing a Multi-Agent System for Condition Mining in Solving Complex Mathematical Problems

Bin Lei
Original paper · DOI 10.52202/079017-1692 Submitted to arXiv on 06 Apr. 2024 Published in Advances in Neural Information Processing Systems 37 (2024) License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Recent advancements in large language models, particularly with GPT-4, have shown impressive capabilities in processing standard queries.
  • These models struggle with complex mathematical problems requiring multi-step logical reasoning.
  • Prompting engineering has emerged as a key research area to address this limitation.
  • Methodologies like Tree of Thought and Graph of Thought aim to enhance inferential abilities but face challenges in tackling complex mathematical problems and lack generalizability.
  • The Multi-Agent System for conditional Mining (MACM) prompting method is introduced to resolve complex mathematical problems and demonstrate strong generalization capabilities across various contexts.
  • MACM significantly improves the accuracy of GPT-4 Turbo on challenging level five mathematical problems in the MATH dataset from 54.68% to 76.73%.
  • MACM code is available on GitHub for further exploration.
  • While effective, MACM increases problem-solving time due to multiple invocations of the model for inference.
  • Evaluations using the MATH dataset reveal limitations in addressing geometry problems effectively.
  • Future work will focus on advancing cognitive capabilities by leveraging prompting methods like MACM to refine responses and generate expansive datasets for model enhancement.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Large language models GPT-4 prompting engineering Multi-Agent System for conditional Mining (MACM) structured thinking paradigms

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
Recent advancements in large language models have showcased impressive capabilities in processing standard queries, particularly with the introduction of GPT-4. However, these models often fall short when faced with advanced mathematical problems that require intricate multi-step logical reasoning. To address this limitation, prompting engineering has emerged as a key area of research. Methodologies like the Tree of Thought and Graph of Thought aim to enhance inferential abilities but face challenges in effectively tackling complex mathematical problems and lack generalizability due to the need for tailored prompts. In response to these limitations, this paper introduces the Multi-Agent System for conditional Mining (MACM) prompting method. This innovative approach not only resolves complex mathematical problems but also demonstrates strong generalization capabilities across various mathematical contexts. By implementing MACM, the accuracy of GPT-4 Turbo on challenging level five mathematical problems in the MATH dataset significantly improves from 54.68% to 76.73%. The code for MACM is readily available on GitHub for further exploration. While MACM proves effective in enhancing large language models' accuracy in handling complex mathematical challenges, it does come with a trade-off of increased problem-solving time due to multiple invocations of the model for inference. Additionally, evaluations using the MATH dataset reveal limitations in effectively addressing geometry problems. Future work will focus on advancing the model's cognitive capabilities by leveraging prompting methods like MACM to refine responses and generate expansive datasets for model enhancement. Overall, this research aims to advance the field of Machine Learning by pushing the boundaries of large language models' reasoning abilities through innovative prompting techniques like MACM. By iteratively refining models with high-quality datasets generated through structured thinking paradigms, we can progressively augment their intrinsic intelligence and pave the way for more accurate and reliable AI-generated content in complex problem-solving scenarios.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 57 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Ming Yin (2 papers)

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem
    MDToC: Metacognitive Dynamic Tree of Concepts for Boosting Mathematical Problem-Solving of Large Language Models
    Tung D. Ta, Tim Oates, Thien van Luong et al. · 2025 · Ministry of Science and Technology, Vietnam · cited 1 time · Not summarized yet

    MDToC uses concept trees, verified calculations, and majority voting to improve LLM mathematical problem-solving, while MACM mines conditions through multiple agents.

    Abstract

    Despite advances in mathematical reasoning capabilities, Large Language Models (LLMs) still struggle with calculation verification when using established prompting techniques. We present MDToC (Metacognitive Dynamic Tree of Concepts), a three-phase approach that constructs a concept tree, develops accuracy-verified calculations for each concept, and employs majority voting to evaluate competing solutions. Evaluations across CHAMP, MATH, and Game-of-24 benchmarks demonstrate our MDToC's effectiveness, with GPT-4-Turbo achieving 58.1\% on CHAMP, 86.6\% on MATH, and 85\% on Game-of-24 - outperforming GoT by 5\%, 5.4\%, and 4\% on all these tasks, respectively, without hand-engineered hints. MDT…

  2. Close Broader context
    Math Agents: Computational Infrastructure, Mathematical Embedding, and Genomics
    Melanie Swan, Takashi Kido, Eric Roland et al. · 2023 · Other Quantitative Biology · preprint, not peer reviewed · cited 23 times · Not summarized yet

    Math Agents converts equations from literature into LaTeX and Python through a GPT-based workflow, rather than solving complex mathematical problems with condition mining.

    Abstract

    The advancement in generative AI could be boosted with more accessible mathematics. Beyond human-AI chat, large language models (LLMs) are emerging in programming, algorithm discovery, and theorem proving, yet their genomics application is limited. This project introduces Math Agents and mathematical embedding as fresh entries to the "Moore's Law of Mathematics", using a GPT-based workflow to convert equations from literature into LaTeX and Python formats. While many digital equation representations exist, there's a lack of automated large-scale evaluation tools. LLMs are pivotal as linguistic user interfaces, providing natural language access for human-AI chat and formal languages for large…

  3. Close Broader context
    DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
    Zhihong Shao, Peiyi Wang, Qihao Zhu et al. · 2024 · Computation and Language · preprint, not peer reviewed · cited 10,680 times · AI summary available

    DeepSeekMath improves mathematical reasoning by continued pre-training on math-related data, whereas MACM improves GPT-4 Turbo through multi-agent prompting.

    Abstract

    Mathematical reasoning poses a significant challenge for language models due to its complex and structured nature. In this paper, we introduce DeepSeekMath 7B, which continues pre-training DeepSeek-Coder-Base-v1.5 7B with 120B math-related tokens sourced from Common Crawl, together with natural language and code data. DeepSeekMath 7B has achieved an impressive score of 51.7% on the competition-level MATH benchmark without relying on external toolkits and voting techniques, approaching the performance level of Gemini-Ultra and GPT-4. Self-consistency over 64 samples from DeepSeekMath 7B achieves 60.9% on MATH. The mathematical reasoning capability of DeepSeekMath is attributed to two key fact…

  4. Close Shared data, tool or method
    Advancing Automatic Math Word Problem Solvers: The UMLC Dataset and Comprehensive Model Evaluation
    Michael Kurisappan, D. Kanmani · 2024 · Panamerican Mathematical Journal · Not summarized yet

    UMLC introduces a unified dataset for evaluating math word-problem solvers, while MACM evaluates its prompting method on the MATH dataset.

    Abstract

    Recent years have seen a rise in the number of generative AI technologies, there has been a significant improvement in solving math word problems. This presents its own unique set of challenges because of answer accuracy while solving more complex real-world logical questions. Despite its popularity, existing benchmark datasets are suffering from limitations due to lack of a unified, standardized, fair, and comprehensive dataset to train the AI models to solve complex math reasoning. To overcome the shortcomings of previous studies outlined above, we propose the Unified Mathematical Language Challenge (UMLC), an innovative and comprehensive dataset exactly crafted to ease the solving of simp…

  5. Close Another approach to the problem Cited by this paper
    Solving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verification
    Aojun Zhou, Ke Wang, Zi-Mu Lu et al. · 2023 · International Conference on Learning Representations · cited 221 times · Not summarized yet

    GPT-4 Code Interpreter uses code execution and self-verification for challenging math problems, whereas MACM uses multi-agent condition mining.

    Abstract

    Recent progress in large language models (LLMs) like GPT-4 and PaLM-2 has brought significant advancements in addressing math reasoning problems. In particular, OpenAI's latest version of GPT-4, known as GPT-4 Code Interpreter, shows remarkable performance on challenging math datasets. In this paper, we explore the effect of code on enhancing LLMs' reasoning capability by introducing different constraints on the \textit{Code Usage Frequency} of GPT-4 Code Interpreter. We found that its success can be largely attributed to its powerful skills in generating and executing code, evaluating the output of code execution, and rectifying its solution when receiving unreasonable outputs. Based on thi…

  6. Close Same method, another problem Cites this paper
    A self-evolving multi-role collaborative framework with fine-grained difficulty guidance for innovative mathematical problem generation
    Yi-Fei Sun, Yong-An Li, A.-K. Qin et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet

    The framework uses collaborating roles to generate innovative math problems, while MACM uses a multi-agent system to solve complex mathematical problems.

    Abstract

    Mathematical problem generation (MPG) is a significant research direction in the field of intelligent education. In recent years, the rapid development of large language models (LLMs) has enabled new technological approaches to problem-generation tasks. Although existing LLMs can achieve high correctness rates, they generally lack innovation and exhibit poor discrimination. In this paper, we propose the task of innovative math problem generation (IMPG). To solve the IMPG task, this paper proposes a self-evolving, multi-role collaborative framework with fine-grained difficulty guidance. First, a multi-role collaborative mechanism comprising a sampler, generator, evaluator, state machine, and …

  7. Close Shared data, tool or method
    MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework
    Sirui Hong, Mingchen Zhuge, Jonathan Chen et al. · 2023 · Artificial Intelligence · preprint, not peer reviewed · cited 2,758 times · AI summary available

    MetaGPT structures LLM-agent collaboration with standardized workflows, a general multi-agent framework distinct from MACM's mathematical condition-mining method.

    Abstract

    Remarkable progress has been made on automated problem solving through societies of agents based on large language models (LLMs). Existing LLM-based multi-agent systems can already solve simple dialogue tasks. Solutions to more complex tasks, however, are complicated through logic inconsistencies due to cascading hallucinations caused by naively chaining LLMs. Here we introduce MetaGPT, an innovative meta-programming framework incorporating efficient human workflows into LLM-based multi-agent collaborations. MetaGPT encodes Standardized Operating Procedures (SOPs) into prompt sequences for more streamlined workflows, thus allowing agents with human-like domain expertise to verify intermediat…

  8. Close Another approach to the problem Cited by this paper
    Boosting Logical Reasoning in Large Language Models through a New Framework: The Graph of Thought
    Bin Lei, Pei-Hung Lin, C. Liao et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 52 times · Not summarized yet

    Graph of Thoughts organizes reasoning as linked thoughts to improve multi-step problem solving, while MACM applies multi-agent condition mining to complex mathematics.

    Abstract

    Recent advancements in large-scale models, such as GPT-4, have showcased remarkable capabilities in addressing standard queries. However, when facing complex problems that require multi-step logical reasoning, their accuracy dramatically decreases. Current research has explored the realm of \textit{prompting engineering} to bolster the inferential capacities of these models. Our paper unveils a pioneering prompting technique, dubbed \textit{Graph of Thoughts (GoT)}. Through testing on a trio of escalating challenges: the 24-point game, resolution of high-degree polynomial equations, and derivation of formulas for recursive sequences, our method outperformed GPT-4, achieving accuracy improvem…

Prior work it builds on

  1. Close Groundwork for this paper
    Measuring Mathematical Problem Solving With the MATH Dataset
    Dan Hendrycks, Collin Burns, Saurav Kadavath et al. · 2021 · NeurIPS Datasets and Benchmarks · cited 7,206 times · Not summarized yet

    MATH provides challenging competition problems with step-by-step solutions, and MACM reports improved GPT-4 Turbo accuracy on that benchmark.

    Abstract

    Many intellectual endeavors require mathematical problem solving, but this skill remains beyond the capabilities of computers. To measure this ability in machine learning models, we introduce MATH, a new dataset of 12,500 challenging competition mathematics problems. Each problem in MATH has a full step-by-step solution which can be used to teach models to generate answer derivations and explanations. To facilitate future research and increase accuracy on MATH, we also contribute a large auxiliary pretraining dataset which helps teach models the fundamentals of mathematics. Even though we are able to increase accuracy on MATH, our results show that accuracy remains relatively low, even with …

  2. Close Another approach to the problem
    Tree of Thoughts: Deliberate Problem Solving with Large Language Models
    Shunyu Yao, Dian Yu, Jeffrey Zhao et al. · 2023 · Computation and Language · cited 5,284 times · AI summary available

    Tree of Thoughts searches over intermediate reasoning steps for deliberate problem solving, while MACM uses agents to mine conditions in mathematical problems.

    Abstract

    Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate d…

  3. Close Another approach to the problem
    Automatic Chain of Thought Prompting in Large Language Models
    Zhuosheng Zhang, Aston Zhang, Mu Li et al. · 2022 · Computation and Language · cited 1,072 times · AI summary available

    Automatic Chain of Thought generates reasoning demonstrations without manual crafting, addressing prompt generalizability rather than MACM's multi-agent condition mining.

    Abstract

    Large language models (LLMs) can perform complex reasoning by generating intermediate reasoning steps. Providing these steps for prompting demonstrations is called chain-of-thought (CoT) prompting. CoT prompting has two major paradigms. One leverages a simple prompt like "Let's think step by step" to facilitate step-by-step thinking before answering a question. The other uses a few manual demonstrations one by one, each composed of a question and a reasoning chain that leads to an answer. The superior performance of the second paradigm hinges on the hand-crafting of task-specific demonstrations one by one. We show that such manual efforts may be eliminated by leveraging LLMs with the "Let's …

  4. Related Another approach to the problem Used in depth by this paper
    Graph of Thoughts: Solving Elaborate Problems with Large Language Models
    Maciej Besta, Nils Blach, Aleš Kubíček et al. · 2023 · AAAI Conference on Artificial Intelligence · cited 1,681 times · AI summary available

    Graph of Thoughts models LLM reasoning as a graph with dependencies and feedback, while MACM uses a multi-agent method for complex mathematics.

    Abstract

    We introduce Graph of Thoughts (GoT): a framework that advances prompting capabilities in large language models (LLMs) beyond those offered by paradigms such as Chain-of-Thought or Tree of Thoughts (ToT). The key idea and primary advantage of GoT is the ability to model the information generated by an LLM as an arbitrary graph, where units of information ("LLM thoughts") are vertices, and edges correspond to dependencies between these vertices. This approach enables combining arbitrary LLM thoughts into synergistic outcomes, distilling the essence of whole networks of thoughts, or enhancing thoughts using feedback loops. We illustrate that GoT offers advantages over state of the art on diffe…

  5. Related Broader context
    Capabilities of GPT-4 on Medical Challenge Problems
    Harsha Nori, Nicholas King, S. McKinney et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 1,508 times · AI summary available

    The study evaluates GPT-4 on medical examinations and benchmarks, whereas MACM evaluates GPT-4 Turbo on complex mathematical problems.

    Abstract

    Large language models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation across various domains, including medicine. We present a comprehensive evaluation of GPT-4, a state-of-the-art LLM, on medical competency examinations and benchmark datasets. GPT-4 is a general-purpose model that is not specialized for medical problems through training or engineered to solve clinical tasks. Our analysis covers two sets of official practice materials for the USMLE, a three-step examination program used to assess clinical competency and grant licensure in the United States. We also evaluate performance on the MultiMedQA suite of benchmark datasets. Beyond mea…

Papers that cite it

  1. Close Review
    A Survey of Mathematical Reasoning in the Era of Multimodal Large Language Model: Benchmark, Method & Challenges
    Yibo Yan, Jiamin Su, Jianxiang He et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 83 times · Not summarized yet

    The survey reviews mathematical-reasoning benchmarks, methods, and challenges for multimodal LLMs, including the area addressed by MACM.

    Abstract

    Mathematical reasoning, a core aspect of human cognition, is vital across many domains, from educational problem-solving to scientific advancements. As artificial general intelligence (AGI) progresses, integrating large language models (LLMs) with mathematical reasoning tasks is becoming increasingly significant. This survey provides the first comprehensive analysis of mathematical reasoning in the era of multimodal large language models (MLLMs). We review over 200 studies published since 2021, and examine the state-of-the-art developments in Math-LLMs, with a focus on multimodal settings. We categorize the field into three dimensions: benchmarks, methodologies, and challenges. In particular…

  2. Related Another approach to the problem Uses this paper in depth
    Meta-Reasoner: Dynamic Guidance for Optimized Inference-time Reasoning in Large Language Models
    Yuan Sui, Yu-Fei He, C. Trinh et al. · 2025 · Annual Meeting of the Association for Computational Linguistics · cited 29 times · Not summarized yet

    Meta-Reasoner adapts inference strategies using contextual bandits, while MACM applies multi-agent condition mining to complex mathematical reasoning.

    Abstract

    Large Language Models (LLMs) often struggle with computational efficiency and error propagation in multi-step reasoning tasks. While recent advancements on prompting and post-training have enabled LLMs to perform step-wise reasoning, they still tend to explore unproductive solution paths without effective backtracking or strategy adjustment. In this paper, we propose Meta-Reasoner, a new framework that empowers LLMs to"think about how to think". It optimizes the inference process by dynamically adapting reasoning strategies in real-time. Our approach employs contextual multi-armed bandits (CMABs) to learn an adaptive policy. It learns to evaluate the current state of LLM's reasoning and dete…

  3. Close Another approach to the problem
    CMCTS: A Constrained Monte Carlo Tree Search framework for mathematical reasoning in large language model
    Qing-Wen Lin, Boyan Xu, Gui-Min Hu et al. · 2025 · Applied intelligence (Boston) · cited 11 times · Not summarized yet

    CMCTS uses constrained tree search, process rewards, and action-order rules for mathematical reasoning, rather than MACM's multi-agent condition mining.

    Abstract

    This paper introduces the Constrained Monte Carlo Tree Search (CMCTS) framework to enhance the mathematical reasoning capabilities of Large Language Models (LLM). By incorporating a constrained action space, Process Reward Model (PRM), and partial-order rules, CMCTS effectively addresses the limitations of existing MCTS methods in terms of state space diversity and action selection rationality. Specifically, during the expansion phase, CMCTS restricts action sampling to a predefined constrained action set to increase candidate state diversity. In the simulation phase, it introduces partial-order rules and PRM to optimize action selection and prevent unreasonable state transitions. Experiment…

  4. Close Shared data, tool or method
    MAMath-Bench: Process-Aware and Robust Evaluation of Multimodal Multi-Agent Mathematical Reasoning
    Xin-Ping Wang, Jie Ma, Rui Xing et al. · 2026 · Not summarized yet

    MAMath-Bench evaluates multimodal multi-agent mathematical reasoning and intermediate steps, while MACM proposes a multi-agent solving method.

    Abstract

    Mathematical reasoning is a fundamental capability for educational applications of Large Language Models (LLMs), where reliable problem solving requires not only correct answers but also coherent and verifiable reasoning processes. Multi-agent systems (MASs) have shown growing potential in this domain by leveraging collaboration and verification among multiple LLM agents. However, existing evaluations primarily focus on the correctness of final answers in text-only settings, offering limited insight into multimodal reasoning capabilities, the reliability of intermediate reasoning steps, and robustness against reasoning errors. To address these limitations, we introduce MAMath-Bench, a proces…

  5. Related Shared data, tool or method Uses this paper in depth
    Putnam-AXIOM: A Functional and Static Benchmark for Measuring Higher Level Mathematical Reasoning in LLMs
    Aryan Gulati, Brando Miranda, E. Chen et al. · 2025 · International Conference on Machine Learning · cited 18 times · Not summarized yet

    Putnam-AXIOM supplies university-level competition problems and generated variants for evaluating LLM mathematical reasoning, rather than proposing a solving method.

    Abstract

    Current mathematical reasoning benchmarks for large language models (LLMs) are approaching saturation, with some achieving>90% accuracy, and are increasingly compromised by training-set contamination. We introduce Putnam-AXIOM, a benchmark of 522 university-level competition problems drawn from the prestigious William Lowell Putnam Mathematical Competition, and Putnam-AXIOM Variation, an unseen companion set of 100 functional variants generated by programmatically perturbing variables and constants. The variation protocol produces an unlimited stream of equally difficult, unseen instances -- yielding a contamination-resilient test bed. On the Original set, OpenAI's o1-preview -- the stronges…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 3 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.