Reproduce “MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zheyuan Zhang, Lin Ge, Hongjiang Li, Weicheng Zhu, Chuxu Zhang, Yanfang Ye
Researchers from the University of Notre Dame and Amazon developed MAPRO, a framework that recasts multi-agent prompt optimization as Maximum a Posteriori inference. It consistently achieved superior performance, for example, an 80.21% pass rate on HumanEval-ET with Claude Haiku 3.5, by efficiently optimizing prompt sets for multi-agent systems across diverse tasks.
Key insights
- Framing multi-agent prompt optimization as a principled MAP inference problem provides a mathematical foundation for efficiently navigating the vast combinatorial search space.
- LLM-guided belief propagation, adapted for DAGs via junction-tree transformation, enables the efficient approximation of globally optimal prompt sets within polynomial time complexity.
- The use of multi-level feedback, including localized "blame" from downstream agents, allows for fine-grained credit assignment and targeted prompt mutation, addressing the challenge of identifying specific prompt contributions to system performance.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.