Adversarial Privacy-Preserving Graph Embedding Against Inference Attack

Kaiyang Li, Guangchun Luo, Ye Yang, Wei Li, Shihao Ji, Zhipeng Cai

TL;DR

The authors present Adversarial Privacy Graph Embedding (APGE), the first graph embedding framework specifically designed to thwart inference attacks on sensitive node attributes. By combining latent factor disentanglement with adversarial "purging," APGE produces low-dimensional representations that preserve graph utility (like link prediction) while effectively hiding private information from malicious classifiers.

What Problem Does This Paper Address?

Graph embeddings have become the standard way to transform complex network data into a format machine learning models can understand. However, these embeddings are "leaky." Even if a data owner removes sensitive attributes (like sexual orientation or political leanings) before generating embeddings, an adversary can often reconstruct that information by analyzing the node's position in the network and its non-sensitive features.

Existing privacy methods often focus on differential privacy for links (hiding whether a specific edge exists), which doesn't stop an attacker from inferring a user's overall profile. The challenge is to "sanitize" the embedding space so that it retains enough information for legitimate tasks (utility) while actively removing the signal that allows for private attribute inference.

Fig. 1: A example of inference attack on Graph Embedding

Methods

The authors propose a unified framework called APGE that integrates two distinct privacy mechanisms into a Graph Convolutional Network (GCN) pipeline:

  1. Privacy-Disentangling (APDGE): Inspired by supervised adversarial autoencoders, this mechanism feeds the private label directly into the decoder. This forces the encoder to learn a latent representation ($Z'$) that is "label-invariant"—essentially, the encoder realizes it doesn't need to store the private information because the decoder already has it.
  2. Privacy-Purging (APPGE): This is an adversarial game. An internal "Attacker" network tries to predict the private attribute from the embedding, while an "Obfuscator" (the encoder) is trained to minimize reconstruction loss and maximize the Attacker's error.
  3. The Expansion Layer: A key technical contribution is the use of an expansion layer between the compressed latent code ($Z'$) and the final embedding ($Z$). This allows the model to aggressively compress the private signal in a very low-dimensional space without sacrificing the capacity needed for high-utility downstream tasks.
Fig. 5: Adversarial Privacy Graph Embedding

Datasets

The model was evaluated on two real-world social network datasets from the Facebook100 collection:

  • Yale: Contains 8,578 nodes and ~405k edges. The authors set "class year" as the sensitive attribute and "student/faculty status" as the utility attribute.
  • Rochester: Contains 4,563 nodes and ~167k edges. Here, "gender" was treated as the sensitive attribute and "class year" as the utility attribute.

Key Insights and Ideas

  • Structure Leaks Secrets: Simply removing a sensitive attribute from the input feature matrix (a baseline called GAE_RM) is insufficient. The graph topology itself is highly correlated with private traits; APGE is effective because it sanitizes both the features and the structural signal.
  • Synergy of Mechanisms: Disentangling (input-side) and Purging (output-side) are complementary. Disentangling provides a "clean" starting point for the latent space, while Purging acts as a final filter against any residual signal.
  • Tunable Trade-offs: By adjusting the hyperparameter $\lambda$ (the weight of the adversarial loss) and the dimension of the latent code $Z'$, practitioners can precisely navigate the trade-off between how much utility they keep and how much privacy they guarantee.

Key Results

APGE demonstrated a superior ability to protect privacy while maintaining utility compared to state-of-the-art methods like CDSPIA:

  • Privacy Protection: On the Yale dataset, APGE reduced the Macro-F1 score of an inference attack (using an MLP) to 0.579, compared to 0.930 for standard Graph Autoencoders (GAE).
  • Utility Preservation: Despite the massive drop in attack accuracy, APGE maintained a link prediction accuracy of 0.820, only slightly lower than the unprotected GAE's 0.856.
  • Robustness: The authors tested the embeddings against six different types of attack models (SVM, Random Forest, KNN, etc.). APGE consistently outperformed other methods, showing that the privacy protection isn't just "security through obscurity" against one specific classifier.
Fig. 6: Evaluation on the trade off between utility and privacy

Limitations and Future Work

  • Known Sensitive Attributes: The current framework requires the data owner to know exactly which attributes are sensitive and have labels for them during the training phase. It may not protect against "unknown unknowns"—attributes the defender didn't realize were sensitive.
  • Computational Overhead: The adversarial training process (alternating between updating the Attacker, Discriminator, and Obfuscator) is more complex and computationally intensive than standard graph embedding.
  • Future Directions: The authors suggest exploring how these techniques could be adapted for dynamic graphs or extended to protect multiple sensitive attributes simultaneously.

Summary updated

BibTeX
@article{li2020adversarial,
  author = {Kaiyang Li and Guangchun Luo and Ye Yang and Wei Li and Shihao Ji and Zhipeng Cai},
  title = {{Adversarial Privacy-Preserving Graph Embedding Against Inference Attack}},
  journal = {IEEE Internet of Things Journal},
  year = {2020},
  doi = {10.1109/jiot.2020.3036583},
}
Figure