Securing Multi-Agent Systems Against Corruptions via Node Contribution Backpropagation

Chengcan Wu, Zhixin Zhang, Mingqian Xu, Zeming Wei, Meng Sun

TL;DR

This paper introduces Backward Propagation Detection (BPD), a novel defense mechanism for Multi-Agent Systems (MAS) powered by Large Language Models (LLMs). BPD effectively identifies and isolates malicious agents by modeling their interactions as a dynamic, signed directed acyclic graph and using backward propagation to trace influence on the final decision, significantly improving security and accuracy in complex MAS environments.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being used in Multi-Agent Systems (MAS) for complex tasks. However, this complexity introduces significant security vulnerabilities. Adversarial agents can inject misleading information that propagates through the system, corrupting benign agents and leading to incorrect outputs. Existing graph-based defenses often rely on static graph structures, making them ill-equipped to handle dynamic MAS environments and evolving attack strategies. This paper addresses the critical need for a robust, dynamic defense mechanism that can accurately identify and mitigate the impact of malicious agents in these complex, interconnected systems.

Methods

The core of BPD lies in its novel approach to modeling MAS communication and detecting malicious influence.

  1. Dynamic Graph Reconstruction: MAS interactions are modeled as a signed directed acyclic graph (DAG). Each node represents an agent at a specific time step, and edges represent communication. The "sign" of an edge indicates agreement (+1), disagreement (-1), or neutrality (0) between agents, determined by an LLM. This captures the dynamic nature of conversations.
  2. Backward Propagation for Contribution Scoring: BPD employs a backward propagation mechanism, akin to a signed, layer-wise PageRank, to compute each agent's contribution to the final decision. This process starts from the final output and recursively aggregates the signed influence of upstream agents. This allows for a global assessment of influence, unlike local signal-based methods.
  3. Outlier Detection and Mitigation: Agents whose contribution scores significantly deviate from the majority are flagged as potentially malicious. The system then prunes the communication links originating from these detected agents, effectively isolating them and preventing further corruption. This detection and repair process is performed per query, making it adaptive.

Datasets

The authors evaluated BPD on several datasets:

  • MMLU (Massive Multitask Language Understanding): Used for knowledge question-answering tasks, with subdomains including mathematics, chemistry, computer science, and security.
  • Alpaca: Used for commonsense question-answering.
  • Samsum: Used for summarization tasks.
  • ChatDoctor: Used for medical question-answering.

These datasets were used with both GPT-40 and DeepSeek-V3 LLM backbones.

Key Insights and Ideas

  • Dynamic Graph is Crucial: The paper strongly emphasizes that static graph structures are insufficient for defending modern MAS. The ability to model and adapt to changing communication topologies is key.
  • Global Influence Matters: Focusing solely on local interactions is a blind spot for many existing defenses. BPD's backward propagation effectively captures how a single agent's influence can cascade and impact the final decision globally.
  • Signed Edges Capture Nuance: The use of signed edges (+1, -1, 0) to represent agreement/disagreement adds a crucial layer of interpretability and accuracy to the influence calculation, going beyond simple connection presence.
  • Per-Query Adaptive Defense: Performing detection and repair on a per-query basis allows BPD to adapt to evolving attacks and dynamic MAS structures without requiring retraining, a significant advantage over static methods.
  • Robustness Against Subtle Attacks: BPD shows particular strength against "modification" attacks, where subtle semantic changes are used to evade detection, a common weakness in other methods.

Key Results

  • Improved Accuracy: BPD consistently improved task accuracy by 3% to 7% across benchmarks compared to baselines under attack. This margin widened to around 10% on semantic-modification attacks.
  • High Detection Accuracy: BPD achieved over 90% average detection accuracy for malicious agents, outperforming the strongest baselines.
  • Robustness in Dynamic Environments: While competing defenses degraded significantly in dynamic MAS scenarios, BPD maintained its static-graph performance.
  • Efficiency: BPD incurs less than 10% additional time overhead compared to standard MAS, demonstrating practical deployability.
  • Resilience to Adaptive Attacks: Even under sophisticated "System-Aware" adaptive attacks, BPD maintained an average accuracy between 83% and 85%, surpassing most baselines under normal conditions.

Limitations and Future Work

  • Attacks Beyond Byzantine Threshold: The current work does not cover attacks that exceed the Byzantine threshold or those that do not target the scoring mechanism. These are noted as areas for future research.
  • Adaptive Thresholds and Real-time Detection: The authors suggest exploring adaptive threshold mechanisms and real-time detection for larger-scale deployments as future work.
  • LLM-Based Scoring Reliability: While human-LLM alignment studies showed high accuracy (96-98%), there's always room for further improving the reliability and robustness of the LLM-based scoring mechanism itself.

Summary updated

BibTeX
@inproceedings{wu2026securing,
  author = {Chengcan Wu and Zhixin Zhang and Mingqian Xu and Zeming Wei and Meng Sun},
  title = {{Securing Multi-Agent Systems Against Corruptions via Node Contribution Backpropagation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=TphOLCDmKB},
}
Figure