Privacy Preserving Social Network Publication Against Mutual Friend Attacks

Chong-Jing Sun, Philip S. Yu, Xiangnan Kong, Yan Fu

Abstract

The publication of social network datasets for research purposes necessitates robust anonymization techniques. While traditional methods focus on node degrees, this paper identifies a more potent threat: the Mutual Friend Attack. By exploiting the number of mutual friends between pairs of individuals—a feature common to most social platforms—adversaries can re-identify sensitive relationships and identities. We introduce the $k$-NMF anonymity framework and two algorithms, ADD and ADD&DEL, designed to ensure that every edge in a graph shares its mutual friend count with at least $k-1$ other edges. Experimental results on real-world datasets demonstrate that our approach effectively thwarts re-identification while preserving the graph's essential structural properties.

Introduction: The Mutual Friend Attack

When social network data is released, names are typically replaced with identifiers. However, the graph's structure itself can serve as a fingerprint. Previous research has addressed $k$-degree anonymity, which ensures no individual has a unique number of friends. Yet, modern social platforms provide additional structural cues, most notably the "Mutual Friends" feature.

Figure 1: Common social media interfaces highlight mutual friend counts, providing a structural signature that can be used for re-identification in anonymized datasets.

If an adversary knows that Alice and Bob share exactly 47 mutual friends, they can search a de-identified dataset for the unique edge with that specific mutual friend count. Once the edge is identified, the identities of the connected nodes are compromised. This paper addresses the challenge of making these mutual friend counts (NMF) non-unique to protect user privacy.

Methodology: $k$-NMF Anonymity

We define a graph as $k$-NMF anonymous if every edge belongs to an equivalence class of at least $k$ edges sharing the same number of mutual friends. Mathematically, the number of mutual friends between two nodes is equivalent to the number of triangles that the edge connecting them participates in.

Figure 5: (a) A sample graph with node degrees. (b) A social graph with labeled identities. (c) The same graph with edges labeled by their Number of Mutual Friends (NMF).

To achieve this anonymity, we propose two primary algorithms:

  1. ADD: This algorithm employs Breadth-First Search Edge Anonymization (BFSEA) to strategically add edges, increasing mutual friend counts where necessary to meet the $k$ threshold while minimizing structural distortion.
  2. ADD&DEL: This more flexible approach allows for both edge addition and deletion. By removing edges, the algorithm can reach anonymity targets with fewer total modifications, better preserving the original network's characteristics.

A key innovation is the Anonymized Triangle Preservation Principle (ATPP). Because modifying one edge can change the NMF for many others, ATPP prevents "ripple effects" by ensuring that once an edge is anonymized, subsequent operations do not invalidate its status. Finally, the KDA algorithm layers standard $k$-degree anonymity on top of $k$-NMF anonymity for a double layer of protection.

Experimental Evaluation

The proposed methods were evaluated on three real-world datasets: ACM (citation graph), Cora (collaboration graph), and Brightkite (friendship network).

Key Results

  • Vulnerability Assessment: Raw datasets were found to be highly vulnerable, with hundreds of edges possessing unique NMF values, confirming the viability of the Mutual Friend Attack.
  • Utility Preservation: The ADD&DEL algorithm outperformed the pure ADD approach. It maintained global metrics like Average Path Length (APL) and Clustering Coefficient (CC) remarkably well. For the Cora dataset, even at $k=100$, the APL changed by less than 0.8.
  • Structural Integrity: Analysis of Betweenness Centrality distributions confirmed that the overall "shape" and functional utility of the network remained largely intact after anonymization.

Insights and Future Directions

Our analysis reveals that NMF, like node degree, follows a Power Law distribution. Most pairs have few mutual friends, while a "long tail" of pairs with many mutual friends represents the highest privacy risk. Anonymizing the graph is essentially a strategic exercise in triangle management.

While effective, the current algorithms have a complexity of $O(|E||V|^2)$, which may require optimization for massive, web-scale graphs. Future work should also address dynamic networks, where maintaining anonymity as the graph evolves presents a significant challenge, and investigate whether edge deletion introduces bias in specific analyses like information diffusion.

Summary updated

BibTeX
@article{sun2014privacy,
  author = {Chong-Jing Sun and Philip S. Yu and Xiangnan Kong and Yan Fu},
  title = {{Privacy Preserving Social Network Publication Against Mutual Friend Attacks}},
  journal = {Trans. Data Priv.},
  year = {2014},
  url = {https://openreview.net/forum?id=mblj6GFOz6},
}
Figure