Where You Are Is Who You Are: User Identification by Matching Statistics

Farid Movahedi Naini, Jayakrishnan Unnikrishnan, Patrick Thiran, Martin Vetterli

Abstract

Behavioral data, such as location history or web browsing patterns, is frequently shared in "anonymized" formats after removing explicit identifiers. However, the statistical distribution of these behaviors—represented as histograms—can remain highly distinctive. This paper addresses the "user matching problem," where an adversary attempts to link unlabeled behavioral histograms to a labeled dataset. By framing this as a multi-hypothesis testing problem solved via weighted bipartite matching and employing an optimal metric based on Kullback-Leibler (KL) divergence, the authors demonstrate that users can be re-identified with high accuracy across large-scale datasets, including cellular records and GPS traces.

Introduction

In the era of big data, the release of "anonymized" datasets is a common practice for research and public utility. Typically, anonymization involves stripping direct identifiers like names, social security numbers, or IP addresses. However, the underlying behavioral data—where people travel, which websites they visit, or how they interact with services—often remains intact.

This paper explores the vulnerability of such datasets to re-identification attacks. Specifically, it focuses on the "user matching problem": given one dataset with known identities (e.g., public social media check-ins) and another where identities are hidden (e.g., anonymized mobile provider logs), can an adversary link the two? Unlike previous work that relies on precise temporal overlaps, this study focuses on histograms—time-averaged statistics of behavior. This represents a more significant challenge, as the specific timing information often used for de-anonymization is entirely removed.

Methodology: Optimal Bipartite Matching

The researchers frame the re-identification task as a multi-hypothesis testing problem. The core innovation lies in moving beyond simple one-by-one classification toward a global matching strategy.

Simultaneous Matching

In traditional classification, each unlabeled sample is compared against a library of labeled samples independently. The authors argue that this "one-by-one" approach ignores the global structure of the data. Instead, they propose simultaneous matching, which seeks the best global permutation that matches the entire set of unlabeled users to the labeled set at once.

Comparison between (a) standard one-to-one histogram classification and (b) the proposed simultaneous histogram matching approach.

This is implemented using a bipartite graph where one set of nodes represents unlabeled histograms and the other represents labeled ones. The problem is then solved using the Hungarian algorithm to find the minimum-weight maximal matching, ensuring that each user in the test set is uniquely mapped to a user in the training set.

The KL-Divergence Metric

The choice of distance metric is critical for matching accuracy. While standard measures like $l_1$-norm or cosine similarity are common, the authors derive an "optimal" weight function based on the Kullback-Leibler (KL) divergence. This metric measures the statistical distance between two histograms by comparing them to their average distribution, effectively highlighting the unique "fingerprint" of a user relative to the general population.

Experimental Evaluation

The proposed framework was evaluated on three diverse, real-world datasets:

  1. Call Data Records (CDR): Statistics from 50,000 users in Ivory Coast, tracking connections to cell towers over two weeks.
  2. Web Browsing History (WBH): Data from 121 users, using website favicons as location markers to group URLs.
  3. GeoLife (GL) GPS Trajectories: GPS traces from 154 users in Beijing, discretized into a 100m x 100m grid.

Key Results

The experiments revealed that behavioral statistics are remarkably unique. In the CDR dataset, the algorithm correctly identified 21.1% of users in a pool of nearly 47,000 people using only one week of tower-connection statistics to match against a second week. While 21% may seem modest, it is orders of magnitude higher than the 0.002% accuracy expected from random guessing. In smaller datasets like Web History, re-identification accuracy reached 90%.

Performance comparison of the proposed KL-divergence-based metric against l1-norm, cosine similarity, and dot product across varying user pool sizes (N).

As shown in the figure above, the proposed KL-divergence-based metric consistently outperformed standard heuristics ($l_1$-norm, cosine distance, and dot product) across all tested user pool sizes.

Discussion and Insights

Several key insights emerged from the study:

  • The Power of the Group: Simultaneous matching is significantly more accurate than matching users individually. As the size of the unlabeled pool increases, the algorithm gains more information to resolve ambiguities, leading to a more robust global solution.
  • Simplicity and Stationarity: The authors found that simple histogram-based matching often outperformed more complex temporal models like Markov Chains. Complex models tend to overfit to specific time windows, whereas histograms capture the "stationary" habits—the core routines—that persist over time.
  • Privacy Trade-offs: The study also tested $k$-anonymization (via micro-aggregation). While this technique reduces individual re-identification accuracy, "cluster-level" identification remains high, meaning an adversary can still accurately place a user within a very small group.

Conclusion

This research demonstrates that "where you are is who you are." Behavioral histograms, even when stripped of temporal sequences, provide a powerful fingerprint for re-identification. The success of the bipartite matching approach suggests that current anonymization practices for statistical data may be insufficient to protect user privacy against sophisticated adversaries. Future work may explore approximate matching algorithms to scale these techniques to datasets with millions of users.

Summary updated

BibTeX
@article{naini2016where,
  author = {Farid Movahedi Naini and Jayakrishnan Unnikrishnan and Patrick Thiran and Martin Vetterli},
  title = {{Where You Are Is Who You Are: User Identification by Matching Statistics}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2016},
  doi = {10.1109/tifs.2015.2498131},
}
Figure