arXiv:2610.29292cs.CLOct 2026

Manuscript Offprint

arXiv:2610.29292

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

Fabian Tritthart, Tom Zehle

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

LLM-based multi-agent systems split work across specialized agents, for example one that writes code and another that tests it. Such collaboration can improve small models [9, 10], but more agents and messages mean more tokens. Building a good system therefore requires choosing which agents to include and how they communicate, that is, the topology. Since the best topology depends on the task, manual design is difficult [5, 6], which motivates automated search over candidate teams.

Task scores, however, evaluate the team as a whole: a correct solution may contain unnecessary work, and a failed one may include useful contributions. Scores alone thus say little about which agents to keep. Can feedback on individual agents guide the search for compact, effective teams?

We introduce Contrastive Attribution Topology Search (CATS), an offline meta-agent that assembles teams from a fixed agent pool. Starting from a supergraph of candidate links, CATS evaluates sampled teams on target-domain tasks. An LLM compares their transcripts and assigns each agent signed credit. CATS then updates link probabilities, prunes weak links and unreachable agents, and selects one fixed team for deployment. Agent models, prompts, roles, and tools never change.

Our contributions are: (i) contrastive per-agent credit to guide team construction (Figure 1), (ii) higher mean accuracy and lower deployment token use than score-only search on two coding benchmarks with matched candidate evaluations (Table 1), and (iii) a HotpotQA stress test where CATS excludes all poisoned agents in every run, while random search retains some at comparable accuracy (Table 2).

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Managing Agents that Manage Agents: Workshop on Responsible Use of Meta-Agents.

Figure

Figure 1: CATS pipeline. At each of T steps, K subgraphs are sampled from the supergraph and evaluated on N tasks. The depicted supergraph is a simplified example.