Introduction
Graph Neural Networks (GNNs) have emerged as a powerful paradigm for learning from structured data, leveraging both individual node attributes and the complex web of relationships (edges) between them. However, this dual dependency creates significant privacy vulnerabilities. Adversaries can exploit GNN outputs to perform Privacy Inference Attacks (PIAs), successfully reconstructing sensitive node features or de-anonymizing private connections.
While Differential Privacy (DP) offers a rigorous mathematical framework to mitigate these risks, its application to graph data is fraught with challenges. Traditional DP mechanisms typically apply "homogeneous" noise, treating all features and edges with uniform suspicion. In the sparse and interconnected environment of a graph, such uniform noise often propagates across neighbors, destroying the structural integrity and feature signals necessary for model accuracy. This paper introduces HETERORR, a novel framework that addresses the privacy-utility trade-off by intelligently distributing noise based on the specific importance and sensitivity of data components.
Methodology: The HETERORR Framework
HETERORR is a pre-processing mechanism that generates a "permanently private" synthetic graph. By applying Local Differential Privacy (LDP) at the data source, the framework ensures that any model subsequently trained on the synthetic graph inherits DP protections due to the "post-processing" property of differential privacy. The framework consists of two specialized components: FEATURERR and EDGERR.
FEATURERR: Feature-aware Randomized Response
To protect node attributes without sacrificing utility, FEATURERR avoids the pitfalls of uniform noise. It calculates a "unifying score" for each feature using two metrics:
- Feature Importance: Utilizing SHAP (SHapley Additive exPlanations), the model determines which features contribute most significantly to the GNN's predictive performance.
- Feature Sensitivity: A masking technique identifies which features are most susceptible to privacy leaks.
By allocating the privacy budget ($ \epsilon $) heterogeneously, FEATURERR applies less noise to high-importance, low-sensitivity features and heavier randomization to sensitive, low-utility features. To handle continuous embedding features (such as those from image or text encoders), the mechanism discretizes the feature space into bins, concentrating probability mass to maintain strong DP guarantees without degrading the data into white noise.
EDGERR: Edge-aware Randomized Response
Protecting the graph structure requires preserving the underlying topology while obscuring specific private links. EDGERR utilizes a Private Hierarchical Random Graph (PHRG) model. The approach distinguishes between "public" edges (non-sensitive structural anchors) and "private" edges. Using a Markov Chain Monte Carlo (MCMC) sampling process, EDGERR constructs a dendrogram—a hierarchical tree representation—that maintains the "skeleton" of the graph. This allows the mechanism to inject DP-compliant noise into private connections while preserving essential properties like community structure and sparsity.
Experimental Evaluation
The researchers evaluated HETERORR against several state-of-the-art baselines, including LPGNN, Duchi, and LapGraph, across two distinct domains:
- FLICKR-MIR: A social computing dataset where nodes represent images (processed via ResNet-50) and edges represent social connections.
- PPI (Protein-Protein Interaction): A biological dataset used for classifying protein functions across various human tissues.
Key Results
- Utility Gains: FEATURERR demonstrated a significant performance boost, achieving a 7.6% improvement over the best baseline (LPGNN) on the FLICKR-MIR dataset and a 2.6% improvement on the PPI dataset.
- Structural Preservation: EDGERR improved edge-level utility by 6.3% compared to LapGraph, proving that hierarchical modeling better preserves graph topology than flat noise injection.
- Defense Against Inference: Against the LinkTeller attack—a sophisticated method for recovering private edges—HETERORR reduced the attacker's success rate (ROC-AUC) from 0.91 to approximately 0.52–0.54, effectively reducing the attack to the level of a random guess.
- Visual Privacy: Qualitative analysis showed that even if an attacker attempted to reconstruct raw images from the node embeddings, the LDP-processed data rendered the resulting reconstructions unrecognizable.
Discussion and Future Work
HETERORR demonstrates that heterogeneity is essential for practical DP in GNNs. By identifying and protecting "utility-heavy" features and using public edges as structural anchors, the framework maintains high performance while providing robust defense.
However, certain limitations remain. The calculation of SHAP scores currently relies on pre-trained models from public datasets; if no relevant public data is available, bootstrapping the importance scores without leaking privacy remains a challenge. Additionally, the MCMC sampling required for EDGERR may face scalability issues on massive, billion-node graphs. Future research will focus on optimizing the computational overhead of hierarchical modeling and exploring adaptive importance scoring in fully private settings.
Summary updated