HiveMind: Contribution-Guided Online Prompt Optimization of LLM Multi-Agent Systems
Yihan Xia, Taotao Wang, Shengli Zhang, Zhangyuhua Weng, Bin Cao, Soung Chang Liew

TL;DR
HiveMind introduces a contribution-guided online prompt optimization framework for LLM multi-agent systems, utilizing a novel DAG-Shapley algorithm to efficiently quantify agent contributions and improve collaborative performance.
Contribution
The paper presents DAG-Shapley, an efficient attribution algorithm leveraging DAG structures to reduce computational costs of Shapley values in multi-agent systems.
Findings
DAG-Shapley reduces LLM calls by over 80%.
HiveMind outperforms static baselines in stock-trading scenarios.
DAG-Shapley maintains attribution accuracy comparable to full Shapley values.
Abstract
Recent advances in LLM-based multi-agent systems have demonstrated remarkable capabilities in complex decision-making scenarios such as financial trading and software engineering. However, evaluating each individual agent's effectiveness and online optimization of underperforming agents remain open challenges. To address these issues, we present HiveMind, a self-adaptive framework designed to optimize LLM multi-agent collaboration through contribution analysis. At its core, HiveMind introduces Contribution-Guided Online Prompt Optimization (CG-OPO), which autonomously refines agent prompts based on their quantified contributions. We first propose the Shapley value as a grounded metric to quantify each agent's contribution, thereby identifying underperforming agents in a principled manner for automated prompt refinement. To overcome the computational complexity of the classical Shapley…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsConstraint Satisfaction and Optimization · Stock Market Forecasting Methods · Mobile Crowdsensing and Crowdsourcing
