Privacy-Preserving Representation Learning on Graphs: A Mutual Information Perspective

Binghui Wang, Jiayi Guo, Ang Li, Yiran Chen, Hai Li

Abstract

Existing graph representation learning methods often inadvertently leak sensitive information; for example, a model trained to classify nodes might accidentally reveal private links between them. This paper introduces a framework that utilizes Mutual Information (MI) objectives to learn task-specific embeddings. These embeddings are designed to excel at a primary task while reducing performance on a sensitive private task to the level of random guessing. By employing variational bounds to make MI optimization tractable, the proposed method achieves a robust balance between utility and privacy across several benchmark datasets.

Introduction

Graph Representation Learning (GRL) is fundamental to modern social network analysis, drug discovery, and recommendation systems. By mapping nodes into a low-dimensional latent space, GRL enables powerful downstream applications. However, these embeddings often capture excessive structural information, allowing adversaries to infer private details that were never intended for disclosure.

A critical challenge identified in this research is "task leakage": a model trained for node classification (e.g., predicting a user's interests) may produce embeddings that reveal private friendships via link prediction. Conversely, link predictors can leak sensitive node attributes. This paper aims to decouple these tasks, ensuring that embeddings contain only the information necessary for the primary objective while actively obscuring private features.

Methodology

The authors frame privacy preservation as an information-theoretic optimization problem. They define two adversarial scenarios:

  1. Link Prediction with Node Privacy (P1): Maximizing information for link existence while minimizing information about node labels.
  2. Node Classification with Link Privacy (P2): Maximizing information for node labels while minimizing information about link existence.
The proposed framework for privacy-preserving graph representation learning.

The Mutual Information Objective

The core strategy involves maximizing the Mutual Information $I(Z; Y_{primary})$ between the embeddings $Z$ and the primary task labels $Y_{primary}$, while simultaneously minimizing $I(Z; Y_{privacy})$ for the sensitive task.

Variational Bounds for Tractability

Since direct calculation of Mutual Information is difficult in high-dimensional spaces, the authors utilize variational bounds:

  • Maximization: A variational lower bound is derived, training a "utility" network (such as a GCN or GAT) to approximate the information.
  • Minimization: A Contrastive Log-ratio Upper Bound (vCLUB) is employed as a "privacy guard," penalizing the embedding function if private labels can be easily inferred.

This setup creates an adversarial game where the embedding function (the defender) attempts to satisfy both bounds against auxiliary networks (the adversaries) that try to extract information to help the defender estimate the MI terms.

Experimental Setup

The framework was evaluated on three standard citation graph benchmarks: Cora, Citeseer, and Pubmed. In these datasets, nodes represent documents with bag-of-words features, and edges represent citation links. The tasks involved classifying document topics and predicting citation links.

Results and Discussion

The framework was tested using various base architectures, including Graph Convolutional Networks (GCN), Graph Attention Networks (GAT), and Hyperbolic GCNs (HGCN).

The Utility-Privacy Trade-off

The results demonstrate that successful privacy protection—defined as reducing adversarial performance to the level of random guessing—is achievable with minimal impact on primary task utility. For instance, in the "Node Classification + Link Privacy" setup, the adversary's link prediction AUC was reduced from approximately 80% to 50% (random guess) across all datasets.

Impact of the trade-off hyperparameter $\lambda$ on node classification accuracy and link privacy.

Key Insights

  • Privacy as Random Guessing: The method successfully drives adversarial accuracy toward the statistical baseline of random selection (e.g., ~14% for a 7-class dataset).
  • Task Decoupling: The experiments confirm that graph features are often redundant. It is possible to strip "link-heavy" components from an embedding while retaining sufficient "label-heavy" information for high classification accuracy. For example, on Cora, node classification accuracy only dropped from ~81% to ~79% while achieving near-perfect link privacy.
  • Robustness: The framework remains stable across different values of the trade-off hyperparameter $\lambda$, facilitating easier implementation without exhaustive fine-tuning.

Conclusion

This work provides a principled approach to privacy-preserving GRL using Mutual Information. While the framework introduces some computational overhead due to auxiliary networks and is currently focused on binary task pairs, it represents a significant step toward secure graph analysis. Future work may explore multi-attribute privacy and applications to more complex, heterogeneous graph structures like financial networks.

Summary updated

BibTeX
@inproceedings{wang2021privacy,
  author = {Binghui Wang and Jiayi Guo and Ang Li and Yiran Chen and Hai Li},
  title = {{Privacy-Preserving Representation Learning on Graphs: A Mutual Information Perspective}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
  doi = {10.1145/3447548.3467273},
}
Figure