cs.CLOct 21, 2026

Credit Where Credit Is Due: Contrastive Attribution Topology Search for Multi-Agent Systems

Authors: Fabian Tritthart, Tom Zehle

Organizations: University of Freiburg

Abstract

An LLM multi-agent system (MAS) is only as good as the agents it chooses to trust: its accuracy and cost hinge on its topology, meaning which agents are included and how they communicate. A single task score, however, does not reveal which agents help or hinder performance. We propose Contrastive Attribution Topology Search (CATS), which searches for compact teams within a fixed supergraph of specialized agents. An LLM attributer compares execution traces across candidate topologies and assigns credit to individual agents. CATS uses these credits to update supergraph edges while progressively pruning weak edges and agents, yielding a small team for deployment. With small open-weight models and matched candidate evaluations, CATS improves mean accuracy on BigCodeBench by 5.3 percentage points over score-only heuristic search while using 54%\% fewer deployment tokens. On MBPP, CATS matches the strongest baselines with fewer tokens than the other searches. In a HotpotQA prompt-poisoning stress test, CATS excludes all adversarially prompted agents in all three runs, whereas random search retains some at comparable accuracy. Per-agent credit thus supports both team optimization and the pruning of potentially harmful agents.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Agents that Matter: Optimizing Multi-Agent LLMs via Removal-Based Attribution

    May 26, 2026Mingyu Lu, Yushan Huang, Chris Lin +1Multi-Agent System OptimizationCooperative Game Theory

  2. The Trace Is the State: Exact Credit Assignment for LLM Agent Teams

    Mar 6, 2026Yanjun Chen, Yirong Sun, Hanlin Wang +5Credit AssignmentCounterfactual Credit Assignment