XG-Guard: interpretable fine-grained defense for LLM multi-agent systems based on dual-level graph anomaly detectionExplainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detection
AI summary
The researchers propose XG-Guard, an interpretable fine-grained defense framework for LLM multi-agent systems, used to detect malicious agents. The framework uses a dual-level agent encoder to jointly model sentence-level and token-level representations, uses a topic anomaly detector to capture the shifting discussion focus in MAS conversations, and quantifies token-level contributions through dual-level score fusion to provide explanations. In experiments across multiple MAS topologies and attack scenarios, XG-Guard shows robust detection performance and strong interpretability.