Explainable AI Based Diagnosis of Poisoning Attacks in Evolutionary Swarms

Mehrdad Asadi, Roxana Rădulescu, Ann Nowé

TL;DR

Researchers have introduced PADEX, a diagnostic framework that uses Explainable AI (XAI) to detect data poisoning attacks in autonomous swarms. By training surrogate models to mimic swarm behavior and analyzing them with SHAP values, the framework can identify the "fingerprints" of malicious data—such as fake GPS coordinates—that lead to inefficient drone coordination.

What Problem Does This Paper Address?

Swarming systems, like fleets of drones used for search-and-rescue or environmental monitoring, rely on decentralized decision-making. To work efficiently, these agents must form "optimal coalitions." However, because these systems often operate "in the wild," they are highly susceptible to data poisoning attacks.

An adversary doesn't need physical access to a drone; they can simply inject false data (like spoofed GPS coordinates) into the system. This causes the swarm to make sub-optimal decisions, wasting battery life or failing to cover critical areas. The challenge is that in a complex, self-organizing swarm, it is incredibly difficult to distinguish between a legitimate strategic shift and a subtle malicious manipulation.

Methods

The authors propose the PADEX (Poisoning Attack Diagnosis in Evolutionary swarms with eXplainable AI) framework, which consists of three main modules:

  1. Swarming System (Module A): The authors model drone interactions using Evolutionary Game Theory. Drones use "revision protocols" (like replicator dynamics) to reach a stable state where they efficiently sample Points of Interest (PoI).
  2. Surrogate Modeling (Module B): Since the emergent behavior of a swarm is often a "black box," the authors train a Random Forest classifier to act as a surrogate. This model learns to predict the swarm's coalition strategies based on agent positions.
  3. XAI-Based Diagnosis (Module C): This is the core innovation. The authors use SHAP (SHapley Additive exPlanations) to quantify how much each feature (e.g., a drone's X/Y coordinates) contributes to the final strategy. By comparing the SHAP values of a "clean" model versus a suspected "poisoned" model, they can identify anomalous behavior.

Datasets

The study utilized a synthetic dataset generated specifically for a multi-drone cooperative sampling task:

  • Size: 10,000 solutions (game traces).
  • Content: Initial random configurations of drones and their resulting optimal coalitions.
  • Poisoning: The authors synthetically altered the training data by injecting "fake" GPS coordinates and sub-optimal coalition outcomes at levels ranging from 5% to 40%.
  • Availability: The authors have made the data available on GitHub.

Key Insights and Ideas

  • The 10% Threshold: The researchers found that once poisoning exceeds 10%, the swarm's behavior deviates significantly from the stable "self-enforcement rules" of the game. Below this level, the attack's impact is often masked by the model's inherent robustness.
  • XAI as a Diagnostic Tool, Not Just an Explainer: Traditionally, XAI is used to help humans understand a single prediction. Here, it is repurposed as a security metric. By looking at the average effects of features across 100 samples, the authors could statistically prove (using Mann-Whitney U tests) that the model had been compromised.
  • Breaking Stability: Poisoning doesn't just lower accuracy; it fundamentally shifts the "stable space" of solutions. The attack forces the swarm into inefficient coalitions that carry a higher "cost" for the individual agents, breaking the evolutionary equilibrium.

Key Results

  • Performance Degradation: As poisoning increased from 0% to 40%, the surrogate model's predictive accuracy dropped from 91% to 63%.
  • Statistical Significance: At poisoning levels of 30% and 40%, the SHAP value deviations were statistically significant ($p < 0.001$), providing a clear signal for early diagnosis of an ongoing attack.
  • Visual Footprints: The authors demonstrated that poisoned models show a distinct shift in "feature importance" (visible in SHAP summary plots), where the contribution of specific agent positions to the team strategy becomes erratic compared to the clean model.

Limitations and Future Work

  • Attack Scope: The current study focuses primarily on feature perturbation (GPS spoofing). The authors acknowledge that other vectors, such as label flipping (falsely reporting a bad strategy as a good one), need to be investigated.
  • Real-World Deployment: The experiments were conducted in a simulated environment. Future work is needed to see how PADEX handles the "noise" of real-world sensor data versus intentional poisoning.
  • Attack Recognition: While PADEX can detect an attack, the authors want to evolve the framework to recognize specific types of attacks, which would allow for more targeted mitigation strategies (e.g., isolating a specific compromised drone).

Summary updated

Abstract

Swarming systems, such as for example multi-drone networks, excel at cooperative tasks like monitoring, surveillance, or disaster assistance in critical environments, where autonomous agents make decentralized decisions in order to fulfill team-level objectives in a robust and efficient manner. Unfortunately, team-level coordinated strategies in the wild are vulnerable to data poisoning attacks, resulting in either inaccurate coordination or adversarial behavior among the agents. To address this challenge, we contribute a framework that investigates the effects of such data poisoning attacks, using explainable AI methods. We model the interaction among agents using evolutionary intelligence, where an optimal coalition strategically emerges to perform coordinated tasks. Then, through a rigorous evaluation, the swarm model is systematically poisoned using data manipulation attacks. We showcase the applicability of explainable AI methods to quantify the effects of poisoning on the team strategy and extract footprint characterizations that enable diagnosing. Our findings indicate that when the model is poisoned above 10%, non-optimal strategies resulting in inefficient cooperation can be identified.
BibTeX
@misc{asadi2025explainable,
  author = {Mehrdad Asadi and Roxana Rădulescu and Ann Nowé},
  title = {{Explainable AI Based Diagnosis of Poisoning Attacks in Evolutionary Swarms}},
  year = {2025},
  eprint = {2505.01181},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.01181},
}
Figure