Detection of Malicious Agents in Social Learning

Valentina Shumovskaia, Mert Kayaalp, Ali H. Sayed · DOI

Introduction

In non-Bayesian social learning, a network of agents aims to reach a consensus on a global state by aggregating private observations and local interactions. While robust in cooperative settings, these networks are susceptible to malicious actors—such as bots or compromised sensors—that disseminate misinformation to steer the collective belief toward an incorrect hypothesis. Identifying these "wolves in sheep's clothing" is challenging because social pressure often forces malicious agents to eventually conform to the group consensus, masking their original intent.

Methodology: Inverse Modeling for Detection

This research introduces a centralized inverse modeling algorithm to unmask malicious agents by analyzing the history of shared public beliefs. Unlike forward social learning, which maps observations to beliefs, this approach reconstructs the underlying likelihood models of individual agents from their belief trajectories.

The core of the method lies in Log-Ratio Linearization, which transforms non-linear social learning iterations into a linear form. This allows for the Joint Estimation of the network's combination matrix (topology) and the expected log-likelihood ratios of each agent. By calculating an Informativeness Metric ($d_k$), the monitor can identify the specific hypothesis subset each agent is actually optimizing for. The algorithm is implemented using a recursive Stochastic Gradient Descent update rule to ensure convergence.

Experimental Setup: The MIRO Dataset

The proposed method was validated using the Multi-view Images of Rotated Objects (MIRO) dataset. The task involved a binary hypothesis test to distinguish between a "bus" ($\theta_0$) and a "car" ($\theta_1$).

Training and test schemes for malicious agent detection. (a) shows the standard training setup where agents observe image patches. (b) illustrates the test scenario where a central node is fed malicious data.

To simulate a realistic distributed sensing environment, each agent was assigned a CNN classifier but only "saw" a 112x112 pixel crop of the full 224x224 image. In the test phase, while the network was presented with a "bus," a central malicious node was intentionally fed "car" images to act as an influencer.

Key Results and Insights

The social learning framework demonstrated significant resilience; despite the malicious influence, the network reached the correct consensus with a mean accuracy of 0.80. More importantly, the inverse learning algorithm achieved a near-perfect detection rate.

Visualization of the detection process. The algorithm estimates informativeness values for each node, successfully identifying the malicious influencer (highlighted in red) with high precision.

As shown in the results, the algorithm identified the malicious agent with a mean accuracy of 0.99. A key insight is that an agent's belief trajectory—the path taken before reaching consensus—contains a unique signature of their local data. This signature remains detectable even if the agent's final opinion aligns with the group. Furthermore, the method is topology-independent, meaning the monitor does not need prior knowledge of the network's graph structure to identify the attacker.

Conclusion

This work provides a robust mathematical framework for securing social learning networks against internal threats. By leveraging the temporal dynamics of belief sharing, the inverse modeling approach effectively unmasks malicious agents even in highly connected or unknown network structures. Future research will focus on decentralizing the detection process and addressing adaptive attackers who may change their target hypotheses over time.

Summary updated

Abstract

Non-Bayesian social learning is a framework for distributed hypothesis testing aimed at learning the true state of the environment. Traditionally, the agents are assumed to receive observations conditioned on the same true state, although it is also possible to examine the case of heterogeneous models across the graph. One important special case is when heterogeneity is caused by the presence of malicious agents whose goal is to move the agents toward a wrong hypothesis. In this letter, we propose an algorithm that allows discovering the true state of every individual agent based on the sequence of their beliefs. In so doing, the methodology is also able to locate malicious behavior.
BibTeX
@article{shumovskaia2024detection,
  author = {Valentina Shumovskaia and Mert Kayaalp and Ali H. Sayed},
  title = {{Detection of Malicious Agents in Social Learning}},
  journal = {IEEE Signal Processing Letters},
  year = {2024},
  doi = {10.1109/lsp.2024.3420167},
}
Figure