TL;DR
This research reveals that inductive Graph Neural Networks (GNNs)—the industry standard for handling evolving data—are highly vulnerable to "link stealing" attacks. Even with zero knowledge of a graph's structure, an attacker can exploit the model's output (posteriors) to accurately reconstruct sensitive relationships between users or data points, rendering current defenses largely ineffective.
The Privacy Gap in Inductive GNNs
Graph Neural Networks (GNNs) are essential for analyzing structured data like social networks or molecular graphs. They typically operate in two modes: transductive (where the model sees the entire graph during training) and inductive (where the model learns general rules to handle new, unseen nodes). Because real-world graphs like social networks are constantly growing, the inductive setting is the most practical and popular.
While previous research showed that transductive GNNs leak information about edges (links), the privacy of inductive GNNs remained a major gap. Inductive models were theoretically considered harder to attack because the adversary doesn't have the "full picture" of the graph and must rely on incomplete subgraphs. This paper investigates whether an attacker can still "steal" links from an inductive GNN and quantifies the information at risk.
Attack Methodology
The authors propose a suite of ten link stealing attacks categorized into two main types: Posterior-Only Attacks and Combined Attacks. Posterior-only attacks rely solely on the probability scores (posteriors) the model outputs for each class. These are tested across three scenarios based on the adversary's topological knowledge: 0-hop (no knowledge), 1-hop (immediate neighbors), and 2-hop (secondary neighbors).
To execute these, the authors use a shadow model approach. They train a "mimic" GNN on a separate, similar dataset to learn the target model's behavior. A binary classifier (MLP) is then trained to analyze the GNN's outputs and predict link existence between node pairs. To ensure the attack works regardless of node query order, commutative pairwise operations like Hadamard products are employed.
Key Insights and Results
- The "0-hop" Surprise: The most striking finding is that attacks succeed even when the adversary has zero knowledge of the graph structure. Simply feeding node attributes into the model and observing the output probabilities is enough to infer links.
- Posteriors as Information Goldmines: The model's confidence scores leak significant "structural noise." This noise is actually a signal revealing how the GNN aggregated information from neighbors during training.
- Detecting "Surprising" Links: Traditional link prediction often fails to find links between very dissimilar nodes. However, these GNN-based attacks can detect these connections because the GNN's training process specifically memorizes unusual connections to improve classification accuracy.
- Performance Gains: On the DBLP dataset, the 0-hop attack outperformed traditional baselines by 14.2% AUC. Across six diverse datasets (Citation, Co-purchase, and Social networks), the proposed attacks outperformed traditional link prediction methods by an average of 7.23% AUC.
- Robustness: The attacks remained effective even when the shadow dataset was significantly smaller (10% of original size) or came from a different distribution. When posteriors were combined with graph features, the AUC reached as high as 0.968 on the Amazon Photo dataset.
Implications for Defense
The study concludes that standard defenses, such as providing only the final label (Label-Only) or using Differential Privacy (DP-GCN), fail to stop these attacks. Even when the model's output is "softened" to hide confidence, the underlying signal remains strong enough for successful link reconstruction. This research serves as a call to action: current GNN privacy defenses are largely ineffective against structural leaks in inductive settings, necessitating new mechanisms that protect edge privacy without sacrificing model utility.
Summary updated