Sub-optimal Learning in Meta-Classifier Attacks: A Study of Membership Inference on Differentially Private Location Aggregates

Yuhan Liu, Florent Guépin, Igor Shilov, Yves-Alexandre de MontjoyearXiv 2024 · DOI

Introduction

Organizations frequently release "location aggregates"—statistical data indicating the number of individuals present at specific locations during defined time intervals. While these datasets are invaluable for urban planning and public health monitoring, they pose significant privacy risks. To mitigate these risks, Differential Privacy (DP) is often employed, typically by adding Laplace-distributed noise to the aggregate counts.

To evaluate the efficacy of these protections, researchers utilize Membership Inference Attacks (MIAs). The objective of an MIA is to determine whether a specific individual's data (a "trace") was included in a published aggregate. Traditionally, the "gold standard" for such attacks has been the meta-classifier—a Multi-Layer Perceptron (MLP) trained on "shadow data" to distinguish between members and non-members. However, a persistent discrepancy exists: empirical attack accuracies often fall significantly short of the theoretical privacy limits defined by DP. This study investigates why standard attack models underperform and demonstrates that privacy risks may be much higher than previously estimated.

Data Representation and Problem Formulation

The core of the problem involves two types of data: individual user traces ($x$) and location aggregates ($A$). A user trace is a binary matrix representing an individual's presence at various locations over time. A location aggregate is the sum of these individual traces, perturbed by noise to satisfy DP requirements.

Figure 2: Representation of individual user traces (left) and the resulting location aggregate (right).

The attacker's goal is to infer if a target trace $z$ is part of the aggregate $A$.

Methods: Beyond Black-Box Attacks

The authors move away from purely "black-box" neural networks, proposing two interpretable "metric-based" attacks grounded in hypothesis testing:

  1. One-threshold Attack: The attacker aggregates all observations within the dataset and compares the total to a single threshold. This approach is effective when noise follows a Gaussian distribution.
  2. Two-threshold Attack: The attacker performs a likelihood ratio test on each individual cell of the aggregate first, applying a threshold to each, and then sums the results. This "double thresholding" strategy is mathematically optimal for data protected by Laplace noise.

The study also analyzes standard MLPs to determine which rules they actually learn during training. Theoretical proofs suggest that while an MLP is capable of encoding the optimal two-threshold rule, it often fails to do so in practice due to optimization challenges.

Key Insights: Why MLPs Underperform

The research reveals several critical insights into the behavior of standard attack models:

  • MLPs as "Lazy Learners": Standard MLPs, when trained on typical shadow datasets (e.g., ~2,000 samples), almost exclusively learn the simpler, sub-optimal one-threshold rule. They tend to converge on local optima rather than discovering the more complex two-threshold strategy required for Laplace noise.
  • The Data Gap: To successfully learn the optimal two-threshold rule, an MLP requires a massive increase in training data—increasing from 2,000 to approximately 200,000 shadow aggregates.
  • Underestimation of Risk: Because previous privacy audits relied on under-trained MLPs, they reported lower attack accuracies. This creates a false sense of security, leading practitioners to believe their DP configurations are more robust than they truly are against a sophisticated adversary.

Results and Performance Analysis

The proposed metric-based attacks, particularly the two-threshold variant, significantly outperform standard MLP-based meta-classifiers under Laplace noise.

Figure 1: Attacking accuracy compared against theoretical DP bounds for different attacker knowledge levels.

As shown in Figure 1, there is a clear hierarchy in attack performance. "Informed" attackers, who possess knowledge of all other individuals in the dataset, achieve accuracies much closer to the theoretical DP limit than "Auxiliary" attackers. Crucially, when MLPs are provided with sufficient training data (200k samples), their performance "boosts" to match the optimal metric attacks, finally closing the gap to the theoretical bounds.

Conclusion and Future Directions

This study demonstrates that the perceived privacy of location aggregates is often an artifact of sub-optimal attack modeling. The primary limitation for auditors is the vast amount of shadow data required to train a "perfect" MLP attack. To address this, future work could explore synthetic data generation or pre-training models on public datasets to help MLPs learn complex optimal rules more efficiently. While focused on location data, these findings likely generalize to other high-dimensional time-series data protected by DP, such as genomic sequences or machine learning training trajectories.

Summary updated

BibTeX
@misc{liu2024sub,
  author = {Yuhan Liu and Florent Guépin and Igor Shilov and Yves-Alexandre de Montjoye},
  title = {{Sub-optimal Learning in Meta-Classifier Attacks: A Study of Membership Inference on Differentially Private Location Aggregates}},
  year = {2024},
  eprint = {2412.20456},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.20456},
}
Figure