Sybil Detection using Graph Neural Networks

Stuart Heeb, Andreas Plesner, Roger WattenhoferarXiv 2024 · DOI

Abstract

Sybil attacks, where a single entity creates multiple fake accounts, pose a significant threat to social network integrity. Traditional detection methods relying on network homophily struggle as attackers increasingly use "attack edges" to blend in with honest users. This paper introduces SYBILGAT, a framework leveraging Graph Attention Networks (GATs) to dynamically weight neighbor importance. By focusing on structural patterns and ignoring noisy connections, SYBILGAT outperforms state-of-the-art methods like SybilSCAR and SybilRank, demonstrating high resilience even in scenarios with high attack edge density.

Introduction

In a Sybil attack, malicious actors manipulate social media trends, spread misinformation, or exploit resources by creating numerous fake accounts. Traditional detection strategies often rely on the homophily assumption: the idea that honest users primarily link to other honest users, while Sybils cluster together. However, modern attackers circumvent this by creating "attack edges"—links to honest users—to "blend in."

Existing tools like Random Walks (RW) and Loopy Belief Propagation (LBP) struggle as the number of these attack edges increases. Furthermore, many current methods cannot effectively learn from both known honest and known Sybil nodes simultaneously. SYBILGAT addresses these challenges by applying Graph Neural Networks (GNNs) to noisy structural data.

Methodology: The SYBILGAT Framework

SYBILGAT is built upon the Graph Attention Network (GAT) architecture. Unlike standard GNNs that treat all neighbors equally, GATs employ an attention mechanism to assign varying weights to different neighbors. This allows the model to "ignore" suspicious or irrelevant connections, such as attack edges, and focus on the structural patterns that define a Sybil cluster.

Crucially, the model is purely structural. It relies solely on graph topology (connectivity) rather than user-generated content like profile pictures or bios. This makes it robust against generative AI capable of creating realistic fake profiles. To handle massive networks, the authors use a "Forest Fire" sampling method to train on smaller subgraphs, ensuring the learned weights are generalizable to larger, unseen networks.

Experimental Evaluation

The study evaluated SYBILGAT using a combination of real-world and synthetic datasets:

  • Twitter (X): A real-world dataset comprising over 269,000 nodes and 6.8 million edges.
  • Facebook: A friendship network used to simulate realistic honest and Sybil regions.
  • Synthetic Models: Barabási–Albert (BA) and Power Law (PL) models were used to vary "attack complexity" by adjusting the number of edges connecting Sybils to honest users.

Performance on Real-World and Targeted Attacks

SYBILGAT consistently outperformed state-of-the-art baselines like SYBILSCAR and SYBILRANK. On the Twitter dataset, SYBILGAT-L4 achieved an AUC of 0.8489, surpassing SYBILSCAR by nearly 5 percentage points.

Comparative AUC performance on Twitter and Facebook datasets.

In scenarios involving targeted attacks—where Sybils specifically link to known honest nodes—SYBILGAT-L2 maintained a high AUC (~0.77), while baseline performance dropped to near-random levels (~0.50).

Resilience to Attack Edge Density

A key strength of SYBILGAT is its stability as the network becomes noisier. As the number of attack edges per Sybil increases, the performance of traditional methods typically plummets. In contrast, SYBILGAT’s accuracy remains remarkably stable across both BA and PL synthetic models.

AUC performance against increasing attack edges in synthetic models.

Discussion and Insights

The attention mechanism acts as a dynamic filter, down-weighting the attack edges that typically mislead simpler algorithms. The authors also noted a "depth trade-off": while a shallow 2-layer model (SYBILGAT-L2) performed best in highly connected networks like Facebook, deeper models (4 or 8 layers) were necessary for sparser or more complex synthetic structures to propagate information effectively.

Conclusion and Future Work

SYBILGAT demonstrates that GNNs can effectively solve the scalability and noise issues inherent in large-scale Sybil detection. However, challenges remain. There is no universal optimal depth; the number of layers must be tuned to the specific network structure. Additionally, future research should address the dynamic nature of social networks and the potential for attackers to develop adversarial strategies specifically designed to "poison" graph structures.

Summary updated

BibTeX
@misc{heeb2024sybil,
  author = {Stuart Heeb and Andreas Plesner and Roger Wattenhofer},
  title = {{Sybil Detection using Graph Neural Networks}},
  year = {2024},
  eprint = {2409.08631},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.08631},
}
Figure