Abstract
Social network data is frequently shared for research and commercial purposes after removing explicit identifiers. However, this "anonymization" is often insufficient, as the underlying graph structure can serve as a unique signature for individual users. This paper introduces a robust two-stage algorithmic pipeline for deanonymizing social networks using structural information alone. By combining Neighbor Degree Sequence Difference (NDSD) for global matching with a local search heuristic for refinement, the proposed method achieves near-perfect re-identification accuracy on real-world datasets, even when subjected to significant noise such as node removal and edge perturbation.
Introduction
The proliferation of social network data has raised significant privacy concerns. While operators often release datasets with names and emails removed, the structural connectivity—who is connected to whom—remains intact. This structure can be exploited by an adversary who possesses a known "eponymous" network to re-identify users in an "anonymous" version. Previous deanonymization techniques often relied on "seed nodes"—a small set of users whose identities are already known in both graphs. This research explores the limits of re-identification without such prior knowledge, relying purely on the intrinsic structural properties of the network.
The Re-identification Problem
The core challenge is to find a mapping between an eponymous graph $G$ and a noisy, anonymous graph $H$. In real-world scenarios, $H$ is rarely a perfect copy of $G$; it may have missing nodes or altered links due to data collection errors or intentional obfuscation by the data provider.
Methodology
The authors propose a two-stage pipeline to tackle this problem:
1. Neighbor Degree Sequence Difference (NDSD)
The first stage focuses on creating a "structural fingerprint" for every node. While a node's own degree is a weak identifier, the collection of its neighbors' degrees is much more distinctive. For any node $u$, NDSD generates a vector of its neighbors' degrees, sorted in descending order.
To match nodes between $G$ and $H$, the algorithm calculates the "distance" between these fingerprints using a bipartite matching approach. Specifically, it employs the Hungarian method to solve a minimum-weight perfect matching problem, ensuring that nodes with the most similar neighbor degree sequences are paired together.
2. Local Search Heuristic
While NDSD provides a strong global starting point, it can be sensitive to local noise. The second stage uses the NDSD output as an initial mapping and iteratively refines it. The local search algorithm examines pairs of nodes and determines if swapping their identities improves the overall "quality" of the match—defined by the number of edge relationships preserved between the two graphs. This "polishing" step is crucial for correcting local errors and reaching an exact solution.
Experimental Results
The approach was evaluated on 16 real-world Facebook network snapshots and various synthetic graph models (Erdos-Renyi, Watts-Strogatz, Barabasi-Albert, and Holme-Kim).
- High Accuracy and Resilience: On Facebook datasets, the combined approach achieved nearly 100% recovery of identities. Remarkably, this performance held steady even when up to 10% of nodes were removed and 10% of edges were modified.
- Model Realism: The study found that preferential attachment models (Barabasi-Albert and Holme-Kim) closely mimic the deanonymization behavior of real-world social networks. In contrast, simpler models like Erdos-Renyi were significantly harder to deanonymize, highlighting their limitations in representing actual social structures.
- Algorithmic Synergy: NDSD proved to be an efficient global searcher ($O(n^4)$), while the Local Search acted as a powerful, albeit computationally intensive ($O(n^5)$), refiner. In many cases, the Local Search was able to transform a mediocre NDSD result into a perfect mapping.
Conclusion and Future Work
This research demonstrates that structural information is a potent tool for deanonymization, even without seed nodes or auxiliary data. While the current $O(n^5)$ complexity of the local search limits its application to networks of a few thousand nodes, future work could focus on more efficient heuristics or parallel implementations to scale the approach to "mega-networks" with millions of users. Additionally, extending the method to directed graphs could further enhance re-identification by leveraging the additional signals provided by edge directionality.
Summary updated