In our hyper-connected world, data isn't just a list of names; it’s a complex web of relationships. Whether it’s a citation network of researchers or an e-commerce site linking users to products, these are modeled as Heterogeneous Graphs—graphs with multiple types of nodes and edges. While Heterogeneous Graph Neural Networks (HGNNs) are incredibly powerful at mining these structures for recommendations, they are also a privacy nightmare.
TL;DR
The authors introduce HeteSDG, a framework that provides a "double" differential privacy guarantee for both graph features and topology. By accounting for high-order semantic relationships (meta-paths), it successfully thwarts advanced membership inference attacks while maintaining high utility through a clever bi-level optimization of the privacy budget.
What Problem Does This Paper Address?
Most privacy-preserving graph methods are designed for "homogeneous" graphs (where all nodes are the same type, like a simple friend list). However, real-world data is heterogeneous. For example, in a movie database, a "User" is linked to a "Movie," which is linked to a "Director."
The authors reveal a specific vulnerability: Membership Inference Attacks with Semantic enhancement (MIS). An attacker can use "meta-paths" (e.g., User A $\to$ Item 1 $\to$ Store $\to$ Item 2 $\to$ User C) as side information to infer whether a specific individual’s data was used to train a model. Existing Differential Privacy (DP) methods often ignore these high-order semantics, either failing to protect the data or adding so much noise that the model becomes useless.
Methods
The authors propose a two-stage mechanism called HeteSDG:
- FeatADP (Feature Attention Personalized Mechanism): Instead of adding uniform noise to all node features, this module calculates the "sensitivity" of a node based on its semantic neighbors. It uses a heterogeneous attention mechanism to determine which neighbors contribute most to a node's representation and injects personalized Gaussian noise accordingly.
- TopoGDP (Topology Gradient Perturbation Mechanism): To protect the graph structure (who is connected to whom), the model uses a Heterogeneous Variational Graph Auto-Encoder (VGAE). During training, it clips and perturbs the gradients of the link predictor, ensuring the final topology doesn't leak individual connection data.
- Bi-level Optimization: Privacy is a zero-sum game with performance. To find the "sweet spot," the authors use a bi-level optimization strategy to automatically allocate the global privacy budget ($\epsilon$) between the feature module ($\epsilon_f$) and the topology module ($\epsilon_s$).
Datasets
The framework was evaluated on four widely-used public benchmarks:
- ACM & DBLP: Citation networks (nodes: papers, authors, conferences).
- Amazon: E-commerce data (nodes: items, users, categories).
- IMDB: Movie data (nodes: movies, actors, directors).
Key Insights and Ideas
- Semantics as a Double-Edged Sword: The very thing that makes HGNNs accurate—meta-paths—is what makes them vulnerable. HeteSDG turns this around by using those same meta-paths to calibrate the privacy noise.
- The "Double Guarantee": Most papers protect either the attributes or the links. HeteSDG argues that in heterogeneous graphs, you must protect both simultaneously because one can often be used to infer the other.
- Personalized Noise: By using attention weights to scale noise, the model protects "influential" nodes more heavily without drowning out the signal from the rest of the graph.
Key Results
- Resilience to Attacks: In membership inference tests using Naive Bayesian and KNN attackers, HeteSDG reduced attack accuracy by up to 40.7% compared to non-private baselines.
- High Utility: Despite the strict privacy guarantees ($\epsilon=1$), HeteSDG achieved an F1-score of 89.31% on the ACM dataset for node classification, actually outperforming some non-private state-of-the-art models like HGT and RGCN.
- Effective Trade-off: The bi-level optimization consistently outperformed a simple 50/50 split of the privacy budget, proving that features and topology require different levels of protection depending on the dataset.
Limitations and Future Work
- Computational Overhead: While not explicitly detailed as a failure, the use of bi-level optimization and attention-based noise calculation likely increases training time compared to standard HGNNs.
- Dynamic Graphs: The current model is designed for static graphs. In the real world, social and e-commerce graphs change every second. Extending these semantic DP guarantees to dynamic, evolving graphs remains an open challenge.
- Scalability: The experiments were conducted on standard benchmarks; testing HeteSDG on industrial-scale graphs with millions of nodes would be a necessary next step for deployment.
Summary updated