TL;DR
This paper introduces a unified game-theoretic framework to measure individual agent contributions in Multi-Agent LLM Systems (MAS). By introducing a novel "model replacement" protocol and demonstrating that simple Leave-One-Out (LOO) evaluation matches expensive combinatorial methods at a fraction of the cost, the authors provide a principled toolkit to optimize MAS performance and reduce inference costs by up to 35%.
What Problem Does This Paper Address?
As Large Language Model (LLM) multi-agent systems grow more complex—tackling everything from software engineering to medical diagnosis—debugging them becomes a nightmare. When a system succeeds or fails, it is incredibly difficult to pinpoint which agent was responsible. An agent's contribution depends not just on its underlying LLM, but on its assigned role, prompts, and how it interacts within the system's communication topology.
While cooperative game theory concepts like Shapley values offer a mathematical way to assign credit, they are computationally prohibitive because they require evaluating an exponential number of agent combinations. Furthermore, completely removing a structurally vital agent (like a central coordinator) often breaks the system entirely, making traditional ablation studies impractical.
Methods
The authors formalize agent attribution as a protocol-conditioned cooperative game. Under this framework, an attribution query is defined by three choices: a behavior metric (e.g., task success, token cost), a coalition distribution (which subsets of agents to evaluate), and a removal protocol.
The paper systematically evaluates different configurations of this framework and introduces a novel removal protocol:
- Agent Ablation: Completely excising an agent from the system (the standard approach, which can cause system failures).
- Introspective Removal: Prompting an LLM judge to simulate how the system would behave if an agent were missing, avoiding re-execution.
- Model Replacement (Novel): Instead of deleting an agent, its expensive proprietary backbone model is swapped with a cheaper, open-source alternative. This preserves the system's communication topology while isolating the marginal value of the premium model.
Datasets
The framework was benchmarked across three diverse multi-agent environments:
- PlanCraft: A Minecraft-inspired environment testing planning and tool use.
- WorkBench: A workplace-task benchmark evaluating planning and tool selection across business databases (analytics, CRM, email, etc.).
- BrowseComp-Plus: A deep-research benchmark isolating retrieval, reasoning, and synthesis over verified documents.
Additionally, the authors conducted real-world case studies using MBPP (Python programming tasks) for coding agents and MedQA / MedEthicsQA for medical consultation agents.
Key Insights and Ideas
- Leave-One-Out (LOO) is All You Need: Surprisingly, across various topologies and protocols, the simple LOO method (evaluating the system with just one agent removed/replaced at a time) identifies bottleneck agents just as effectively as complex combinatorial methods like Shapley values.
- LLM Judges are Unfaithful Counterfactuals: Introspective removal via an LLM judge correlates poorly with actual physical ablation. LLMs struggle to accurately simulate the complex, cascading dynamics of multi-agent interactions in their heads.
- Model Replacement is a Safer Diagnostic: Swapping an agent's "brain" rather than deleting the agent entirely provides a highly actionable signal for cost optimization without risking catastrophic system collapse.
- Accuracy and Ethics are Decoupled: In medical multi-agent systems, the agents that contribute the most to diagnostic accuracy (like specialized doctors) can actively degrade the system's ethical alignment, highlighting the danger of optimizing for a single metric.
Key Results
- Significant Cost Reductions: Using LOO attribution to guide model replacement (swapping low-contribution agents with smaller open-source models) improved task performance by up to 17% while slashing token costs by up to 35%.
- MetaGPT Optimization: In a code-generation case study, replacing the bottom three agents identified by the framework (Product Manager, Project Manager, Engineer) boosted pass@1 accuracy from 62% to 79% while cutting proprietary token usage by 38%.
- Medical MAS Auditing: For the medical system (MDTeamGPT), replacing accuracy-boosting but ethics-degrading agents with alternative models increased the ethical reasoning score by 4% while fully preserving diagnostic accuracy.
Limitations and Future Work
- Scale Constraints: The authors limited their evaluation to moderate-sized multi-agent systems (4 to 6 agents) because computing the exact combinatorial baselines (Shapley, Owen, Myerson values) becomes intractable for larger groups. Future work will need to explore sampling-based approximations.
- Static Topologies: The framework currently assumes fixed agent roles and communication graphs. Extending it to dynamic systems—where agents are recruited, dismissed, or rerouted on the fly—remains an open challenge.
- Global vs. Instance-Level: The study focuses primarily on global attribution across a dataset rather than diagnosing why a single, specific execution trace failed.
Summary updated