Measuring Re-identification Risk

Cj Carey, Travis Dick, Alessandro Epasto, Adel Javanmard, Josh Karlin, Shankar Kumar, Andres Muñoz Medina, Vahab Mirrokni, Gabriel Henrique Nunes, Sergei Vassilvitskii, Peilin Zhong

Introduction

Modern digital ecosystems rely heavily on user representations to provide personalized experiences, from targeted advertising to content recommendations. To protect privacy, these systems often replace raw browsing histories or personal identifiers with compact representations, such as interest tokens (e.g., "Sports Enthusiast") or high-dimensional embeddings. While these methods are more private than sharing raw data, they are not inherently immune to privacy breaches.

The primary threat addressed in this research is re-identification: the ability of an adversary to link a supposedly anonymous representation back to a specific individual. While frameworks like Differential Privacy (DP) and k-anonymity provide rigorous privacy guarantees, they can be overly conservative or fail to specifically quantify the risk of cross-context matching. This paper introduces a formal mathematical framework based on hypothesis testing to measure re-identification risk directly.

Theoretical Framework

The authors model re-identification as a statistical decision problem. They distinguish between two primary adversarial settings:

  1. The Random-User Setting: An attacker observes a single user representation and attempts to identify the correct individual from a candidate set of $n$ users.
  2. The Matching Setting: An attacker observes representations for an entire group of $n$ users and attempts to map the entire set of representations to their corresponding identities simultaneously.

Mathematical Foundations

A key contribution of this work is the derivation of formal upper bounds on an attacker's success probability. The authors prove that in the random-user setting, the maximum achievable accuracy is fundamentally constrained by the $L_{\infty, 1}$ norm of the representation matrix. This provides a concrete metric for system designers to evaluate the inherent "leakiness" of their user representations.

Furthermore, the research highlights a "Matching Advantage." Theoretically, identifying all users in a group simultaneously (the matching setting) can be strictly easier for an attacker than identifying a single random user. This suggests that systems exposing global sets of user data may be more vulnerable than previously thought.

Optimal Attack Strategies

To test the theoretical bounds in practice, the authors derived an Asymmetric Weighted Hamming Distance algorithm. Unlike standard Hamming distance, which treats all feature matches equally, this optimal attack recognizes that matching on a rare trait (e.g., "17th-century Lute Music") provides a much stronger signal for identification than matching on a common trait (e.g., "Cooking").

To validate this approach, the authors compared their theoretically derived attack against a heuristic attack using a Transformer-based Neural Network. The results showed that the Asymmetric Weighted Hamming attack performed nearly as well as the deep learning model, confirming that the mathematical model captures the core mechanics of re-identification.

Empirical Evaluation

The framework was applied to two distinct real-world scenarios: the Chrome Topics API and the Million Song Dataset.

Chrome Topics API

The Topics API is designed to enable interest-based advertising without tracking users across sites. In a simulation involving 10 million users over an 8-week period, the research found that the re-identification risk remained below 3%, even if two websites colluded to track a user. This robustness is attributed to the API’s use of a limited, low-dimensional topic set (approx. 350 topics) and the injection of noise through randomization.

Million Song Dataset

In contrast, the Million Song Dataset—where users are represented by songs they have liked—showed much higher vulnerability. Because the "feature space" (the library of possible songs) is vast, user profiles are highly unique. The study found that observing just four independent random songs from a user resulted in a 1% re-identification risk among a million users. This underscores the difficulty of anonymizing high-dimensional data compared to low-dimensional representations.

Key Insights

  • Sufficiency vs. Necessity: The study demonstrates that while DP and k-anonymity are sufficient to ensure low re-identification risk, they are not always necessary. Some systems may provide strong practical privacy without meeting the strict mathematical requirements of DP, suggesting that standard metrics might be too restrictive for certain applications.
  • The Power of Rarity: Privacy risk is not just a function of the volume of data shared, but the uniqueness of that data relative to the general population.

Limitations and Future Directions

While the framework provides a powerful tool for risk assessment, it operates under a "closed-world" assumption, where the attacker knows the entire universe of possible users. In "open-world" scenarios, the risk may be lower as the attacker faces uncertainty about whether a user is even present in their database.

Additionally, the current model does not account for "side information," such as IP addresses or location data, which could be combined with representations to increase risk. Future work will focus on extending these methods to continuous embedding spaces and incorporating external metadata into the risk calculation.

Summary updated

BibTeX
@article{carey2023measuring,
  author = {CJ Carey and Travis Dick and Alessandro Epasto and Adel Javanmard and Josh Karlin and Shankar Kumar and Andres Muñoz Medina and Vahab Mirrokni and Gabriel Henrique Nunes and Sergei Vassilvitskii and Peilin Zhong},
  title = {{Measuring Re-identification Risk}},
  journal = {Proc. ACM Manag. Data},
  year = {2023},
  doi = {10.1145/3589294},
}
Figure