arXiv:2610.10126cs.MAOct 2026

Manuscript Offprint

arXiv:2610.10126

Know the Shape, Find the Fault: Topology-Conditioned Diagnosis of Multi-Agent LLM Failures

Xinwen Liu, Zhuocheng Pan, Isabella Zhu, Jawei Zhang, Xudong Liu, Tianyu Wo

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

Xinwen Liu

liuxw24@buaa.edu.cn

Beihang University

Beijing, China

Jiawei Zhang

jw_zhang@buaa.edu.cn

Beihang University

Beijing, China

Zhuocheng Pan

zhuochengPan@buaa.edu.cn

Beihang University

Beijing, China

Xudong Liu

liuxd@buaa.edu.cn

Beihang University

Beijing, China

Isabella Zhu

zhunini@buaa.edu.cn

Beihang University

Beijing, China

Tianyu Wo

woty@buaa.edu.cn

Beihang University

Beijing, China

Abstract

Multi-agent LLM systems coordinate task execution through exchanges of information among agents. When coordination breaks down, similar symptoms in execution traces can reflect different problems in how information is passed, used, or verified. Communication topology captures how agents exchange information and provides structural cues for distinguishing coordination failure modes. Using these cues for diagnosis requires establishing how topology relates to failure patterns and recovering the relevant structure from execution traces that lack explicit topology labels.

We analyze the relationship between communication topology and failure patterns and introduce MAScope, a two-stage framework for topology-conditioned diagnosis. Its Trace Structural Extractor TSE recovers communication topology from heterogeneous execution traces by grounding an interaction graph in message evidence. The Topology-Conditioned Judge TC-Judge then classifies failures using the trace, predicted topology, an empirical failure prior estimated from separate labeled traces, and a short description of topology-specific failure patterns. Under a fixed orchestration structure, the recovered topology can be reused across executions.

Experimental results show a statistically significant association between communication topology and failure type, with χ2=409.9\chi^{2} = 409.9 and p=1.2×10−70p = 1.2 \times 10^{-70}. On the 851 MAST-clean traces, ground-truth topology context raises gpt-mini's Macro-F1 from 0.173 to 0.350. With predicted topology, the pipeline achieves 0.346, approaching the trace-only gpt-5.4 baseline of 0.372. For 1000 traces under a fixed orchestration structure, the projected pipeline cost, including one topology extraction, is approximately 6% of repeated gpt-5.4 diagnosis cost. These results show that topology-conditioned context improves failure diagnosis and supports lower-cost deployment.

Keywords

multi-agent systems; LLM agents; failure diagnosis; communication topology; topology-conditioned prior; MAST taxonomy; runtime observability

References (9)