When Embedding-Based Defenses Fail: Rethinking Safety in LLM-Based Multi-Agent Systems
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large language model (LLM)-powered multi-agent systems (MAS) enable agents to communicate and share information, achieving strong performance on complex tasks. However, this communication also creates an attack surface where malicious agents can propagate misinformation and manipulate group decisions, undermining MAS safety. Existing embedding-based defenses aim to detect and prune suspicious agents, but their effectiveness depends on a clear separation between the text embeddings of malicious and benign messages. Attackers can circumvent such defenses by crafting messages whose embeddings lie close to benign ones. We analyze this failure mode theoretically and validate it empirically with three attacks, Slow Drift, Benign Wrapper, and Chaos Seeding. Our analysis further reveals a fundamental limitation of embedding-based defenses: because they rely solely on the text embeddings, they ignore token-level confidence signals such as logits, which can remain informative when embeddings are not distinguishable under attack. We propose using confidence scores to prune or down-weight messages during MAS communication. Experiments show improved robustness across models, datasets, and communication topologies. Moreover, we find that the effectiveness of confidence signals decays over communication rounds, highlighting the importance of early intervention. This insights can inform and inspire future work on MAS attacks and defenses.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 25 of its 29 references that are in the map. First posted on arXiv 1 May 2026.
Builds on
25 of 29 references.
References · 25
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2024GPT-4o System Cardcited by 4,467
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
- 2024Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agentscited by 341
13 more
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2025Deep Think with Confidencecited by 199
- 2024Prompt Infection: LLM-to-LLM Prompt Injection within Multi-Agent Systemscited by 126
- 2024To Believe or Not to Believe Your LLMcited by 120
- 2025Red-Teaming LLM Multi-Agent Systems via Communication Attackscited by 118
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2024MultiAgent Collaboration Attack: Investigating Adversarial Attacks in Large Language Model Collaborations via Debatecited by 54
- 2025BlindGuard: Safeguarding LLM-based Multi-Agent Systems under Unknown Attackscited by 37
- 2025textitAgents Under Siege: Breaking Pragmatic Multi-Agent LLM Systems with Optimized Prompt Attackscited by 31
- 2025Enhancing Multi-Agent Debate System Performance via Confidence Expressioncited by 18
- 2025MUR: Momentum Uncertainty guided Reasoning for Large Language Modelscited by 17
- 2024DebUnc: Improving Large Language Model Agent Communication With Uncertainty Metricscited by 13
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
- 2026Defending LLM-based Multi-Agent Systems Against Cooperative Attacks with Sentence-Level Rectification
- 2025Attack the Messages, Not the Agents: A Multi-round Adaptive Stealthy Tampering Framework for LLM-MAS
- 2025Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detection
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
- 2025Comprehensive Vulnerability Analysis is Necessary for Trustworthy LLM-MAS
- 2025Securing Multi-Agent Systems Against Corruptions via Node Contribution Backpropagation
- 2026Safety of Latent Communication in Multi-Agent Systems