Skip to main content
QUICK REVIEW

[Paper Review] Membership Inference Attack on Graph Neural Networks

Iyiola E. Olatunji, Wolfgang Nejdl|arXiv (Cornell University)|Jan 17, 2021
Advanced Graph Neural NetworksComputer Science7 citations
TL;DR

This paper introduces membership inference attacks on Graph Neural Networks (GNNs) using only black-box access to model outputs, revealing that structural information in graphs—not just overfitting—makes GNNs highly vulnerable to privacy leaks. It proposes two effective defenses based on output perturbation and query neighborhood sampling, reducing attack success by up to 60% without degrading model utility.

ABSTRACT

Graph Neural Networks (GNNs), which generalize traditional deep neural networks on graph data, have achieved state-of-the-art performance on several graph analytical tasks. We focus on how trained GNN models could leak information about the \emph{member} nodes that they were trained on. We introduce two realistic settings for performing a membership inference (MI) attack on GNNs. While choosing the simplest possible attack model that utilizes the posteriors of the trained model (black-box access), we thoroughly analyze the properties of GNNs and the datasets which dictate the differences in their robustness towards MI attack. While in traditional machine learning models, overfitting is considered the main cause of such leakage, we show that in GNNs the additional structural information is the major contributing factor. We support our findings by extensive experiments on four representative GNN models. To prevent MI attacks on GNN, we propose two effective defenses that significantly decreases the attacker's inference by up to 60% without degradation to the target model's performance. Our code is available at https://github.com/iyempissy/rebMIGraph.

Motivation & Objective

  • To investigate whether GNNs leak membership information about training nodes despite generalization.
  • To identify the root causes of vulnerability in GNNs beyond overfitting, particularly the role of graph structure.
  • To develop practical defenses against membership inference attacks that preserve model utility.
  • To evaluate the effectiveness of output perturbation and neighborhood query perturbation in reducing attack success.
  • To compare defense mechanisms across diverse datasets with varying graph properties.

Proposed method

  • Two realistic membership inference attack settings are introduced: one using model posteriors directly (VanPd), and another using neighborhood sampling (NsD) to simulate real-world query constraints.
  • A black-box attack model is trained on confidence scores (class posteriors) from the target GNN to distinguish between training and non-training nodes.
  • Defenses are implemented via output perturbation (VanPd) and query neighborhood perturbation (NsD), where neighbor sampling distorts the input to the target model during inference.
  • The LbP (Label-based Perturbation) defense is introduced as a binning-based strategy to reduce noise while maintaining privacy, especially effective in low-degree graphs.
  • Performance is evaluated using metrics like attack AUC, label loss (ℒ), and confidence score distortion (𝓒), with comparisons across five benchmark datasets.
  • Experiments are conducted on Cora, CiteSeer, PubMed, Flickr, and Reddit, covering diverse graph structures and node degrees.
Figure 1 : Attack methodology for membership inference on GNN models. The training nodes and neighbor information used for training the shadow GNN model are labeled as Member . We also query the shadow model with nodes from a test graph and labeled the predictions as non-Member . These predictions a
Figure 1 : Attack methodology for membership inference on GNN models. The training nodes and neighbor information used for training the shadow GNN model are labeled as Member . We also query the shadow model with nodes from a test graph and labeled the predictions as non-Member . These predictions a

Experimental results

Research questions

  • RQ1What makes GNNs vulnerable to membership inference attacks, even when they generalize well and are not overfitted?
  • RQ2How do graph structure and node degree influence the success rate of membership inference attacks on GNNs?
  • RQ3Can output perturbation and neighborhood query perturbation effectively defend against membership inference attacks on GNNs?
  • RQ4How do different defense mechanisms compare in terms of privacy protection and model utility preservation?
  • RQ5To what extent do defense mechanisms degrade the target model’s performance while reducing attacker inference?

Key findings

  • The structural encoding in GNNs is the primary factor making them vulnerable to membership inference attacks, not overfitting alone.
  • Even well-regularized GNNs remain highly susceptible to membership inference due to the inherent sensitivity of node representations to graph topology.
  • The NsD defense mechanism, which samples query neighborhoods, reduces attack success by up to 60% with minimal label loss and confidence distortion, especially effective on high-degree graphs like Reddit and Flickr.
  • NsD achieves the lowest confidence score distortion (0.05 on Reddit), making it a more oblivious and utility-preserving defense compared to VanPd (0.82 distortion) and LbP (0.60 distortion).
  • On low-degree graphs like Cora and PubMed, NsD is less effective due to limited neighborhood variation, but still reduces attack precision by 12% at 0.15 label loss.
  • VanPd, while effective at reducing attack performance, causes significant degradation in model utility, with high confidence distortion (0.82 on Reddit), making it less practical for real-world deployment.
(a) TSTF Setting
(a) TSTF Setting

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.