Abstract
The 2011 Kaggle Social Network Challenge presented a standard link prediction task on an anonymized dataset. We demonstrated that such anonymization is often insufficient by successfully de-anonymizing the competition graph against a fresh crawl of the Flickr social network. By matching structural signatures, we transformed the prediction task into a high-accuracy lookup, achieving a winning AUC of 0.981. This work highlights significant privacy vulnerabilities in anonymized graph data and provides a robust framework for graph matching under noise.
Introduction
Link prediction—predicting future connections in a social network—is a cornerstone of recommendation systems. To facilitate research without compromising user privacy, datasets are typically anonymized by replacing identifiers with random labels. However, the structural topology of a graph can act as a unique fingerprint. We show that if an auxiliary, non-anonymized version of the graph is available, these fingerprints can be used to re-identify nodes with high precision.
Methodology
Our approach combined structural de-anonymization with traditional machine learning.
1. Seed Identification
The first step required identifying a set of "anchor" nodes common to both the Kaggle graph and our auxiliary Flickr crawl. We leveraged the observation that high-degree nodes are structurally stable across different snapshots of a network. By comparing the top $N$ nodes by degree, we found a high degree of correspondence, which provided the necessary starting points for our attack.
We formulated seed matching as a combinatorial optimization problem, using Simulated Annealing to minimize differences in edge weights. Specifically, we used in-neighbor cosine similarity as a robust metric for node identity. As shown in the figure below, the cosine similarities in the anonymized graph are highly correlated with those in the auxiliary graph, making it an effective feature for matching.
2. Propagation and Voting
Starting from the seeds, we used an iterative "epidemic" algorithm to map remaining nodes. For each unmapped node, we calculated similarity based on the number of already-mapped neighbors. For cases where de-anonymization was ambiguous, we employed a Random Forest classifier trained on 25 structural features (e.g., Jaccard coefficient, localized random walks). A unanimous voting strategy was used to finalize predictions: if all potential de-anonymization candidates for a pair agreed an edge was absent in the real network, we predicted "no edge" with high confidence.
Data and Results
The Kaggle dataset contained ~1.1 million nodes from a June 2010 Flickr snapshot. Our auxiliary dataset was a larger crawl (~9.1 million nodes) from late 2010.
Our hybrid strategy achieved a winning AUC of 0.981. De-anonymization alone covered 64.7% of the test edges with 95.2% accuracy. By relaxing matching thresholds, we extended node coverage to 96.0%. Interestingly, the edges that resisted de-anonymization were also the most difficult for the ML model, typically involving low-degree nodes with sparse structural information.
Conclusion
Our success in the Kaggle challenge underscores the fragility of simple identity scrubbing. Structural signatures are often enough to deanonymize users even in the presence of significant noise and temporal drift. For future competitions and data releases, we recommend the use of Differential Privacy techniques to provide statistical utility without exposing raw topological structures.
Summary updated