MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Large language models (LLMs) have demonstrated remarkable capabilities across diverse tasks, and LLM-based agents further extend these abilities to various practical workflows. While recent progress shows that multi-agent systems (MAS) can outperform single agents by coordinating specialized roles, designing effective MAS remains difficult due to prompt sensitivity and the compounded instability MAS creates. To cope with the challenge, recent efforts in automated prompt design have reduced manual effort. However, multi-agent prompt optimization remains largely unexplored. Challenges like exponentially expanding search space and ambiguous credit assignment together make systematic design intractable without principled methods. Therefore, we introduce M}ulti-Agent PRompt Optimization (MAPRO), a four-stage framework that first formulates MAS prompt optimization as a Maximum a Posteriori (MAP) inference problem and solves it using a language-guided variant of max-product belief propagation algorithm. To address credit assignment and updates the system iteratively, MAPRO employs a topology-aware refinement mechanism that integrates execution feedback and downstream blames to selectively update agent prompts. Through this process, MAPRO progressively converges to a coordinated set of agent-specific prompt policies. Across benchmarks in various tasks, MAPRO achieves state-of-the-art performance, consistently surpassing manually engineered baselines and recent automated alternatives. Beyond performance, our MAP-based formulation also delivers general guidelines for building more reliable and principled multi-agent systems in the future
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 35 of its 56 references that are in the map. First posted on arXiv 8 Oct 2025.
Builds on
35 of 56 references.
Closest ancestors · 4
Same direction, newest first
- 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologies4 Feb
- 2024Scaling Large Language Model-based Multi-Agent Collaboration11 Jun
- 2024Mixture-of-Agents Enhances Large Language Model Capabilities7 Jun
- 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debate14 Aug
Other references · 31
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2016NewsQA: A Machine Comprehension Datasetcited by 330
19 more
- 2018Maximum a Posteriori Policy Optimisationcited by 318
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAGcited by 242
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 91
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
- 2023CodeScore: Evaluating Code Generation by Learning Code Executioncited by 66
- 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 62
- 2024Mora: Enabling Generalist Video Generation via A Multi-Agent Frameworkcited by 41
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedbackcited by 41
- 2024Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplarscited by 37
- 2024PRompt Optimization in Multi-Step Tasks (PROMST): Integrating Human Feedback and Heuristic-based Samplingcited by 32
- 2024What Makes Large Language Models Reason in (Multi-Turn) Code Generation?cited by 29
- 2025AgentRouter: A Knowledge-Graph-Guided LLM Router for Collaborative Multi-Agent Question Answeringcited by 29
- 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 19
- 2024One Prompt is not Enough: Automated Construction of a Mixture-of-Expert Promptscited by 16
- 2025A Review of Causal Decision Makingcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 14.
15 papers.
Sort:
By area:
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answeringcited by 13
- 2025NG-Router: Graph-Supervised Multi-Agent Collaboration for Nutrition Question Answeringcited by 9
- 2026Drift-Bench: Diagnosing Cooperative Breakdowns in LLM Agents under Input Faults via Multi-Turn Interactioncited by 7
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 5
- 2026Why Semantic Entropy Fails: Geometry-Aware and Calibrated Uncertainty for Policy Optimizationcited by 5
- 2026MAS-PromptBench: When Does Prompt Optimization Improve Multi-Agent LLM Systems?cited by 4
- 2026Unifying Temporal and Structural Credit Assignment in LLM-Based Multi-Agent Prompt Optimizationcited by 2
- 2026SAGE: Answer-Conditioned Uncertainty Targets for Verbal Uncertainty Alignmentcited by 2
- 2026Optimizing What Policies Learn From: Recoverability-aware Rollout Intervention Learningcited by 2
- 2026CANTANTE: Optimizing Agentic Systems via Contrastive Credit Attributioncited by 1
- 2026Multi-Agent Coordination Adaptation via Structure-Guided Orchestrationcited by 1
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carriercited by 1
- 2026One Prompt Does Not Fit All: Self-Meta-Evolve for Personalized Information Extraction18 Sep 2026
- 2026Optimizing What Policies Learn From: Recoverability-aware Rollout Intervention Learning5 Aug 2026
- 2026HoosierHelp: Benchmarking LLM Agents for Social Service Navigation3 Jul 2026
- 2026MAS-PromptBench: When Does Prompt Optimization Improve Multi-Agent LLM Systems?22 Jun 2026
- 2026Communication Policy Evolution for Proactive LLM Agents12 Jun 2026
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carrier9 Jun 2026
- 2026SAGE: Answer-Conditioned Uncertainty Targets for Verbal Uncertainty Alignment9 Jun 2026
- 2026Unifying Temporal and Structural Credit Assignment in LLM-Based Multi-Agent Prompt Optimization28 May 2026
- 2026Multi-Agent Coordination Adaptation via Structure-Guided Orchestration25 May 2026
- 2026Why Semantic Entropy Fails: Geometry-Aware and Calibrated Uncertainty for Policy Optimization20 May 2026
- 2026CANTANTE: Optimizing Agentic Systems via Contrastive Credit Attribution13 May 2026
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answering6 Apr 2026
3 more
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks3 Mar 2026
- 2026Drift-Bench: Diagnosing Cooperative Breakdowns in LLM Agents under Input Faults via Multi-Turn Interaction2 Feb 2026
- 2025NG-Router: Graph-Supervised Multi-Agent Collaboration for Nutrition Question Answering10 Oct 2025
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answeringcited by 13
- 2026Drift-Bench: Diagnosing Cooperative Breakdowns in LLM Agents under Input Faults via Multi-Turn Interactioncited by 7
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 5
- 2026MAS-PromptBench: When Does Prompt Optimization Improve Multi-Agent LLM Systems?cited by 4
- 2026Multi-Agent Coordination Adaptation via Structure-Guided Orchestrationcited by 1
- 2026Communication Policy Evolution for Proactive LLM Agentscited by 0
- 2026HoosierHelp: Benchmarking LLM Agents for Social Service Navigationcited by 0
- 2026HoosierHelp: Benchmarking LLM Agents for Social Service Navigation3 Jul 2026
- 2026MAS-PromptBench: When Does Prompt Optimization Improve Multi-Agent LLM Systems?22 Jun 2026
- 2026Communication Policy Evolution for Proactive LLM Agents12 Jun 2026
- 2026Multi-Agent Coordination Adaptation via Structure-Guided Orchestration25 May 2026
- 2026EvolveRouter: Co-Evolving Routing and Prompt for Multi-Agent Question Answering6 Apr 2026
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks3 Mar 2026
- 2026Drift-Bench: Diagnosing Cooperative Breakdowns in LLM Agents under Input Faults via Multi-Turn Interaction2 Feb 2026
- 2025NG-Router: Graph-Supervised Multi-Agent Collaboration for Nutrition Question Answeringcited by 9
- 2026Why Semantic Entropy Fails: Geometry-Aware and Calibrated Uncertainty for Policy Optimizationcited by 5
- 2026Optimizing What Policies Learn From: Recoverability-aware Rollout Intervention Learningcited by 2
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carriercited by 1
- 2026One Prompt Does Not Fit All: Self-Meta-Evolve for Personalized Information Extractioncited by 0
- 2026One Prompt Does Not Fit All: Self-Meta-Evolve for Personalized Information Extraction18 Sep 2026
- 2026Optimizing What Policies Learn From: Recoverability-aware Rollout Intervention Learning5 Aug 2026
- 2026Confidence Laundering in Agent Systems: Why Uncertainty Needs a Latent Carrier9 Jun 2026
- 2026Why Semantic Entropy Fails: Geometry-Aware and Calibrated Uncertainty for Policy Optimization20 May 2026
- 2025NG-Router: Graph-Supervised Multi-Agent Collaboration for Nutrition Question Answering10 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026MASPO: Joint Prompt Optimization for LLM-based Multi-Agent Systems
- 2026Agent-GWO: Collaborative Agents for Dynamic Prompt Optimization in Large Language Models
- 2025MARS: Multi-Agent Adaptive Reasoning with Socratic Guidance for Automated Prompt Optimization
- 2025MAPGD: Multi-Agent Prompt Gradient Descent for Collaborative Prompt Optimization
- 2026AgentGrad: Intervention-guided Prompt Optimization for Multi Agent Systems
- 2025Reasoning-Aware Prompt Orchestration: A Foundation Model for Multi-Agent Language Model Coordination
- 2025MALBO: Optimizing LLM-Based Multi-Agent Teams via Multi-Objective Bayesian Optimization
- 2026Hierarchical LLM-Based Multi-Agent Framework with Prompt Optimization for Multi-Robot Task Planning