Introduction
Graph embedding models, such as DeepWalk, LINE, and node2vec, have become essential tools for mapping complex network structures into low-dimensional vector spaces. These embeddings enable critical downstream tasks like link prediction and node clustering. However, the reliance on the skip-gram model (SGM) within these frameworks introduces significant privacy risks. Because training data often contains sensitive relationships—such as financial transactions or private social ties—releasing these embeddings can expose individuals to user-linkage attacks.
Standard approaches to privacy, primarily Differential Privacy (DP), often struggle with graph data. Specifically, Differentially Private Stochastic Gradient Descent (DP-SGD) typically injects Gaussian noise into gradients during training. While effective for independent data points, DP-SGD fails on graphs because the removal or modification of a single node affects multiple edges, leading to high "sensitivity." To achieve node-level privacy, DP-SGD requires such an overwhelming amount of noise that the resulting embeddings lose their utility. AdvSGM addresses this challenge by integrating privacy mechanisms directly into an adversarial training framework, preserving utility while maintaining strict privacy guarantees.
The AdvSGM Framework
To bypass the destructive nature of post-hoc noise injection, AdvSGM (Adversarial Skip-gram Model) utilizes a Generative Adversarial Network (GAN) architecture to provide privacy organically. The framework consists of three primary components:
- The Generator: This component creates "fake" neighbor nodes by sampling from Gaussian distributions, simulating potential graph structures.
- The Discriminator: Functioning as the skip-gram model, the discriminator attempts to distinguish between real node pairs from the graph and the fake pairs produced by the generator.
- Optimizable Noise Terms: The core innovation of AdvSGM is the introduction of two carefully crafted noise terms directly into the activation functions (Sigmoids) of the adversarial module.
By mathematically tuning the weights that balance the standard skip-gram loss and the adversarial loss, the authors demonstrate that the resulting gradient naturally adopts the form of a DP-perturbed gradient. To ensure these gradients remain strictly bounded—a fundamental requirement for DP—the authors introduced a Constrained Sigmoid function. This allows AdvSGM to achieve node-level differential privacy during the optimization process itself, rather than as an additive step after gradient calculation.
Experimental Evaluation
The authors evaluated AdvSGM across six diverse real-world datasets: PPI (Protein-Protein Interaction), Facebook, Wiki, Blog, Epinions, and DBLP. These datasets were pre-processed to focus exclusively on structural linkage by removing self-loops. The model's performance was measured using two primary tasks: Link Prediction (AUC) and Node Clustering (Mutual Information, or MI).
AdvSGM was compared against several state-of-the-art private graph models, including DPGGAN, DPGVAE, GAP, and DPAR, as well as standard DP-SGD.
Key Results
- Superiority over Private Baselines: Across all tested privacy budgets (ε ranging from 1 to 6), AdvSGM consistently outperformed existing private methods. For instance, on the PPI dataset at ε=6, AdvSGM achieved an AUC of 0.6095, whereas standard DP-SGD yielded only 0.5077—a result barely better than random chance.
- Privacy as a Regularizer: One of the most striking findings was that at looser privacy budgets (ε=6), AdvSGM actually outperformed the non-private standard skip-gram model. On the PPI dataset, the non-private model achieved an AUC of 0.5924 and an MI of 0.7385, while AdvSGM reached an AUC of 0.6095 and an MI of 1.0818. This suggests that the adversarial noise acts as a beneficial regularizer, improving the model's ability to generalize.
- Node-Level Privacy: By analytically bounding gradient sensitivity to the product of batch size and the clipping threshold, AdvSGM successfully achieves node-level DP, a much more rigorous standard than the more common edge-level DP.
Discussion and Future Work
AdvSGM represents a significant step forward in private graph representation learning by demonstrating that adversarial training can be repurposed as a privacy engine. By weaving noise into the loss function and activation layers, the model avoids the "sensitivity curse" that plagues traditional DP-SGD applications on graphs.
However, the current framework is limited to simple graphs containing only structural information. It does not yet incorporate node features or attributes, which are prevalent in many modern datasets. Future research will focus on extending AdvSGM to attribute graphs and applying these adversarial privacy techniques to matrix factorization-based network embeddings. This evolution will be crucial for deploying private graph learning in real-world scenarios where both structure and metadata are sensitive.
Summary updated