LinkThief: Combining Generalized Structure Knowledge with Node Similarity for Link Stealing Attack against GNN

Yuxing Zhang, Siyuan Meng, Chunchun Chen, Mengyao Peng, Hongyan Gu, Xinli Huang · DOI

TL;DR

This paper introduces LinkThief, a novel link stealing attack against Graph Neural Networks (GNNs) that goes beyond traditional node similarity by incorporating generalized structural knowledge from a "shadow" graph. This approach significantly improves the ability to steal links that are otherwise resistant to existing attacks, demonstrating a new vulnerability in GNN privacy.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are increasingly used in various applications, but their reliance on graph structure for learning also makes them vulnerable to privacy attacks. One such attack is "link stealing," where an adversary tries to infer the existence of edges in a target GNN's training graph. Existing link stealing attacks primarily rely on the assumption that connected nodes have similar learned representations (posteriors). However, this assumption fails for certain types of links where node similarity doesn't directly correlate with connectivity. This paper addresses this limitation by proposing an attack that can steal these "similarity-resistant" links, which are common in real-world scenarios like social networks where diverse connections exist.

Methods

LinkThief is a multi-module framework designed to overcome the limitations of similarity-based attacks. Its core innovation lies in combining generalized structure knowledge with node similarity.

  • Shadow-Target Bridge Graph: To bridge the gap between the attacker's knowledge of a partially leaked target graph and a simulated "shadow" graph, the authors propose creating a "Shadow-Target Bridge Graph." This graph helps align structural information from both sources.
  • Bridge Graph Generator (BGG): This module constructs the Shadow-Target Bridge Graph by learning "bridges" (inter-graph links) between the shadow and target graphs. It uses a policy gradient method (REINFORCE) to optimize these bridges, aiming to minimize the distributional distance between node representations from the shadow and target graphs.
  • Edge Subgraph Preparation Module (ESPM): This module samples edge subgraphs around potential links. Crucially, it uses different sampling strategies for target links (favoring target graph neighbors) and shadow links (incorporating both shadow and target graph neighbors) to better align structures. It also employs Double-Radius Node Labeling (DRNL) to assign structure labels to nodes within the subgraph.
  • Edge Structure Feature Extractor (ESFE): This module extracts generalized structural features from the prepared edge subgraphs. It uses a GNN encoder and contrastive learning to capture implicit node similarity knowledge and raw structure information, aiming to maximize mutual information between these two views.
  • Attack Model: The extracted edge subgraph structure features are concatenated with traditional node similarity features and fed into a Multi-Layer Perceptron (MLP) for the final link prediction.

Datasets

The paper evaluates LinkThief on four real-world datasets, comprising a total of sixteen graphs:

  • Twitch: Social networks from five regions (ENGB, ES, TW, RU, PTBR).
  • Facebook: Social networks from five US universities (Caltech, Haverford, Reed, Simmons, Swarthmore).
  • ArnetMiner: Citation networks from three academic databases (DBLPv7, Citationv1, ACMv9).
  • Airport: Airport networks from three countries/regions (Brazil, USA, Europe).

Key Insights and Ideas

  • Beyond Node Similarity: The most significant insight is that relying solely on node similarity is insufficient for robust link stealing attacks, especially in real-world graphs with diverse connectivity patterns. Structural information from related graphs (shadow graphs) is crucial.
  • Bridging the Gap: The concept of a "Shadow-Target Bridge Graph" is a novel way to effectively transfer structural knowledge from a shadow graph to the target graph, mitigating the challenges posed by structural and covariate shifts.
  • Targeted Subgraph Sampling: Differentiating sampling strategies for target and shadow links within the edge subgraph preparation is key to aligning their structural representations and improving attack effectiveness.
  • Theoretical Justification: The theoretical analysis of privacy theft provides a strong foundation for the proposed methods, explaining why certain strategies (like increasing target node proportion in subgraphs) improve attack performance.

Key Results

LinkThief consistently outperforms existing link stealing attacks (LSA-3 and LSA-4) across all tested datasets, particularly on those where similarity-based attacks are less effective (e.g., Twitch and Facebook).

  • On the Twitch dataset, LinkThief improved AUC scores by up to 40% compared to LSA-4.
  • Across various datasets, LinkThief achieved significantly higher AUC scores, demonstrating its ability to steal links that were previously resistant to attacks.
  • Ablation studies confirmed the effectiveness of each proposed module: BGG, ESPM, and ESFE all contribute to LinkThief's superior performance. Removing any single module led to a noticeable decrease in attack effectiveness.
  • Empirical verification of Proposition 3.4 showed that minimizing the distance between shadow and target node features (via BGG) and increasing the proportion of target nodes in edge subgraphs (via ESPM) directly leads to higher attack success rates.

Limitations and Future Work

  • Computational Complexity: While the paper mentions using the Sinkhorn algorithm to approximate Wasserstein distance, the computational cost of bridge learning and subgraph extraction might still be a consideration for very large graphs.
  • Shadow Graph Quality: The effectiveness of LinkThief relies on the quality and relevance of the shadow graph. The paper doesn't extensively explore how the choice of shadow graph impacts the attack.
  • Future Work: The authors suggest further exploring the impact of shadow graph selection and potentially extending the framework to other GNN-based privacy attacks. The theoretical analysis could also be expanded to more complex GNN architectures.

Summary updated

BibTeX
@inproceedings{zhang2024linkthief,
  author = {Yuxing Zhang and Siyuan Meng and Chunchun Chen and Mengyao Peng and Hongyan Gu and Xinli Huang},
  title = {{LinkThief: Combining Generalized Structure Knowledge with Node Similarity for Link Stealing Attack against GNN}},
  booktitle = {ACM Multimedia},
  year = {2024},
  url = {https://openreview.net/forum?id=U4aT9LYsXb},
}
Figure