Model Inversion Attacks Against Graph Neural Networks

Zaixi Zhang, Qi Liu, Zhenya Huang, Hao Wang, Chee-Kong Lee, Enhong Chen

TL;DR

This paper introduces GraphMI, a novel model inversion attack that can reconstruct sensitive graph data (like social connections) from trained Graph Neural Networks (GNNs). The authors demonstrate its effectiveness in both white-box and black-box scenarios, showing that existing defenses like differential privacy and graph preprocessing are insufficient to fully protect against these attacks.

What Problem Does This Paper Address?

Many real-world applications, from social networks to recommendation systems, rely on graphs to represent relationships between entities. This relational data is often sensitive, and the rise of powerful GNNs for analyzing this data raises significant privacy concerns. Model inversion attacks, which aim to reconstruct private training data from a trained model, have been successful in image domains but struggle with the unique, non-grid structure of graphs. This paper addresses this gap by developing specialized model inversion attacks for GNNs, highlighting the privacy risks and evaluating the effectiveness of common defenses.

Methods

The paper proposes two main attack strategies:

  • GraphMI (White-Box Attack): This method assumes the attacker has full access to the GNN model's architecture and parameters. It comprises three key modules:
  • Projected Gradient Descent Module: Tackles the discrete nature of graph edges by using convex relaxation and preserving graph sparsity and smoothness.
  • Graph Auto-Encoder Module: Leverages graph topology, node attributes, and target model parameters to infer edges.
  • Random Sampling Module: Samples discrete edges from the probabilistic output of the previous modules.
  • Gradient Estimation and RL-GraphMI (Hard-Label Black-Box Attacks): These methods are designed for scenarios where the attacker can only query the GNN model and receive predicted labels (not confidence scores).
  • Gradient Estimation: Uses a zeroth-order oracle to estimate gradients of the attack loss function, enabling projected gradient descent.
  • RL-GraphMI: Employs deep reinforcement learning to iteratively reconstruct edges, modeling the process as a Markov Decision Process.

The authors also investigate the correlation between edge influence and inversion risk, showing that more influential edges are more likely to be recovered.

Datasets

The proposed attacks were evaluated on seven public datasets:

  • Citation Networks: Cora, Citeseer
  • Social Networks: Polblogs
  • Air-Traffic Networks: USA, Brazil
  • Chemical Networks: AIDS, Enzymes

These datasets represent diverse graph structures and domains, allowing for a comprehensive evaluation of the attacks.

Key Insights and Ideas

  • Graphs are Vulnerable: GNNs, despite their analytical power, are susceptible to model inversion attacks, revealing sensitive relational data.
  • Graph Structure Matters: Directly applying image-based model inversion techniques to graphs is ineffective due to the discrete and irregular nature of graph data. Specialized methods are needed.
  • Edge Influence is Key: Edges that have a greater impact on the GNN's predictions are more likely to be recovered by model inversion attacks, indicating a higher privacy risk for these specific connections.
  • Existing Defenses Fall Short: Standard privacy-preserving techniques like differential privacy (DP) and graph preprocessing (e.g., random rewiring, adding edges) offer only limited protection against these attacks, often at the cost of significant utility degradation.

Key Results

  • GraphMI Performance: Achieved high attack performance (AUC and AP) across various GNN architectures (GCN, GAT, GraphSAGE) and datasets, often outperforming baseline methods by a significant margin. For example, on the Cora dataset, GraphMI achieved an average attack AUC of 86.8% and AP of 88.3%.
  • Black-Box Attack Effectiveness: Gradient Estimation and RL-GraphMI demonstrated competitive performance in the black-box setting, with only a slight drop in attack AUC compared to the white-box GraphMI. Gradient Estimation was found to be more efficient in terms of queries and time.
  • Defense Evaluation:
    • Differential privacy (DP) reduced attack AUC but also significantly degraded GNN utility (node classification accuracy).
  • Graph preprocessing methods showed a trade-off: adding edges with high feature similarity offered the best defense, but randomly rewiring edges was less effective.
  • Graph Reconstruction Quality: The reconstructed graphs showed high similarity to the original graphs in terms of graph isomorphism and macro-level statistics (e.g., degree distribution, clustering coefficient).

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that some heterophily graphs might not exhibit feature smoothness, which could affect the performance of their methods.
  • The black-box attacks, while effective, still require a considerable number of queries or time.
  • Future Work:
    • Developing black-box attacks with improved query efficiency.
  • Designing more robust defenses that offer a better trade-off between privacy and utility.
  • Exploring adversarial training and detection of adversarial queries as potential defense mechanisms.

Summary updated

BibTeX
@article{zhang2023model,
  author = {Zaixi Zhang and Qi Liu and Zhenya Huang and Hao Wang and Chee-Kong Lee and Enhong Chen},
  title = {{Model Inversion Attacks Against Graph Neural Networks}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2023},
  doi = {10.1109/tkde.2022.3207915},
}
Figure