GUARDIAN: Safeguarding LLM Multi-Agent Collaborations with Temporal Graph Modeling
Jialong Zhou, Lichao Wang, Xiao Yang
TL;DR
GUARDIAN tackles safety in LLM-based multi-agent collaborations by modeling interactions as a discrete-time temporal attributed graph to explicitly capture hallucination and error propagation. It introduces an unsupervised encoder–decoder with dual reconstruction tasks and a graph abstraction driven by the Information Bottleneck, formalized as $L_GIB = I(X_t; Z_t) - beta I(Z_t; Y_t)$, along with an incremental training paradigm that updates representations over time. The approach achieves state-of-the-art accuracy across MMLU, MATH, FEVER, and Biographies benchmarks while reducing API calls and runtime, demonstrating strong anomaly detection with bounded information flow between agents. Its model-agnostic design and principled compression/regularization make it broadly applicable to diverse LLMs and multi-agent setups.
Abstract
The emergence of large language models (LLMs) enables the development of intelligent agents capable of engaging in complex and multi-turn dialogues. However, multi-agent collaboration faces critical safety challenges, such as hallucination amplification and error injection and propagation. This paper presents GUARDIAN, a unified method for detecting and mitigating multiple safety concerns in GUARDing Intelligent Agent collaboratioNs. By modeling the multi-agent collaboration process as a discrete-time temporal attributed graph, GUARDIAN explicitly captures the propagation dynamics of hallucinations and errors. The unsupervised encoder-decoder architecture incorporating an incremental training paradigm learns to reconstruct node attributes and graph structures from latent embeddings, enabling the identification of anomalous nodes and edges with unparalleled precision. Moreover, we introduce a graph abstraction mechanism based on the Information Bottleneck Theory, which compresses temporal interaction graphs while preserving essential patterns. Extensive experiments demonstrate GUARDIAN's effectiveness in safeguarding LLM multi-agent collaborations against diverse safety vulnerabilities, achieving state-of-the-art accuracy with efficient resource utilization. The code is available at https://github.com/JialongZhou666/GUARDIAN
