Differentially Private Link Prediction with Protected Connections

Abir De, Soumen Chakrabarti

Abstract

Link prediction (LP) algorithms are fundamental to modern social networking platforms, powering features like friend recommendations. However, these algorithms can inadvertently leak sensitive information about hidden or "private" connections through structural patterns like triad completion. Existing differential privacy (DP) approaches for graphs, such as Node-DP or Edge-DP, often result in a prohibitive loss of predictive utility. This paper introduces DPLP (Differentially Private Link Predictor), a framework that protects specifically designated "protected" connections while optimizing for recommendation accuracy. By employing a trainable monotonic score transformation and a tailored privacy model, DPLP achieves a superior privacy-utility trade-off compared to standard DP mechanisms.

Introduction

Social network platforms rely heavily on link prediction to suggest new connections to users. While these features enhance user engagement, they also pose a significant privacy risk. Even if a user explicitly marks a connection as private, the underlying graph structure can reveal its existence. For instance, if Alice is publicly connected to Charlie and privately connected to Bob, and Bob is also publicly connected to Charlie, a recommendation of Bob to Alice (or vice versa) based on their mutual friend Charlie might inadvertently signal the existence of the hidden Alice-Bob link. This phenomenon is known as leakage through triad completion.

Standard differential privacy (DP) techniques struggle to address this specific problem. Node-DP, which protects all information related to a single user, is often too restrictive, destroying the graph's structural utility. Edge-DP protects every edge but often fails to provide meaningful utility when noise is added to raw heuristic scores. Furthermore, off-the-shelf DP methods typically inject noise into raw scores without considering the final ranking quality, leading to poor recommendation performance.

The DPLP Framework

DPLP addresses these challenges through a specialized privacy model and a novel learning-to-rank mechanism.

Protected-Pair Differential Privacy

Instead of applying a blanket privacy constraint to the entire graph, DPLP introduces Protected-Pair Differential Privacy. This model specifically bounds the privacy loss for node-pairs that users have explicitly marked as "protected." This granular approach allows the algorithm to leverage the remaining public graph structure to maintain high predictive accuracy while guaranteeing privacy for sensitive links.

Conceptual framework of Protected-Pair Differential Privacy and the DPLP mechanism.

Monotonic Score Transformation

A key innovation in DPLP is the use of an Unconstrained Monotone Neural Network (UMNN) to transform raw scores from base LP algorithms (e.g., Adamic-Adar, Common Neighbors, or Node2Vec). Because the transformation is strictly monotonic, it preserves the original ranking order produced by the base heuristic. However, the network is trained to "stretch" the margins between high-quality and low-quality recommendations. This ensures that the true top candidates remain at the top of the ranking even after the subsequent injection of privacy-preserving noise.

Differentially Private Sampling and Training

To generate recommendations, DPLP employs an exponential mechanism to sample nodes based on the transformed scores. The UMNN is trained using a tractable ranking objective: a pairwise hinge loss that serves as a surrogate for the Area Under the Curve (AUC). To ensure zero privacy leakage during the training phase, the model is optimized using only the public edges of the graph.

Experimental Evaluation

The authors evaluated DPLP on five diverse real-world datasets: Facebook (social), USAir (transportation), Twitter (social), Yeast (protein interaction), and PB (political blogs). In these experiments, 30% of the connections were randomly designated as "protected" to simulate a privacy-conscious environment.

Performance and Utility Retention

DPLP was compared against several standard DP mechanisms, including Staircase, Laplace, and Exponential noise, across various base LP algorithms. The results, summarized in the table below, highlight DPLP's ability to retain utility under a strict privacy budget ($\epsilon_p = 0.1$).

Performance comparison (AUC) of DPLP against standard DP mechanisms across various datasets and base algorithms.

As shown in the results, DPLP consistently outperforms standard DP methods. For example, on the Facebook dataset using the Adamic-Adar (AA) heuristic, the non-private baseline ($\mathcal{A}$) achieves an AUC of 0.842. While standard Laplace or Exponential noise causes the AUC to plummet to approximately 0.170, DPLP maintains a high AUC of 0.788. This trend is consistent across most datasets and heuristics, demonstrating that DPLP's score transformation is vital for surviving noise injection.

Discussion and Conclusion

The success of DPLP underscores the importance of granularity in privacy-preserving graph algorithms. By focusing on "Protected-Pair DP," the system retains enough structural information to provide useful recommendations. Furthermore, the results demonstrate that raw heuristic scores are inherently fragile when subjected to DP noise; reshaping these scores through a learned monotonic function is a powerful strategy for preserving ranking quality.

While DPLP offers a significant advancement, it is not a universal solution. It requires a set of public edges for training, making it unsuitable for "fully private" environments where every edge is sensitive. Future research may explore defenses against more sophisticated attacks, such as user collusion or graph steganography, and further refine the theoretical utility-privacy bounds for diverse graph generative models.

This summary is based on the paper "Differentially Private Link Prediction with Protected Connections".

Summary updated

BibTeX
@inproceedings{de2021differentially,
  author = {Abir De and Soumen Chakrabarti},
  title = {{Differentially Private Link Prediction with Protected Connections}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i1.16078},
}
Figure