acceptodds
Under review as a conference paper at ICLR 2027

TRACE-MAS: Diagnosing and Repairing Collaboration Failures in Multi-Agent Systems

Abstract

LLM-based multi-agent systems (MAS) rely on not only individual agent behaviors but also the interactions that connect agents, including message exchanges and task dependencies. Existing MAS safeguards mainly perform agent-level anomaly detection, which becomes insufficient when failures originate from agent interactions and detected anomalies do not necessarily reveal their true sources. To address this limitation, we propose TRACE-MAS, a finer-grained framework for diagnosing and repairing MAS failures. TRACE-MAS learns normal collaborative execution patterns from benign trajectories and detects deviations in agent state changes, message transitions, and task dependency evolutions. It further identifies responsible execution elements through source-aware attribution and selects minimal interventions to restore collaboration while preserving task-critical capabilities. Experiments on five MAS benchmarks demonstrate that TRACE-MAS significantly improves root-cause localization accuracy by 60.2% and achieves consistent gains in task recovery over strong MAS safeguards. Our code is available on https://anonymous.4open.science/r/x7k2m9f3.

Then back it, or bet against it.

Related papers

Open the market on this paper to see 7 more related papers.