Unexpected Information Leakage of Differential Privacy Due to Linear Property of Queries

Wen Huang, Shijie Zhou, Yongjian Liao

Abstract

Differential Privacy (DP) is widely regarded as the gold standard for data privacy, protecting individual records by adding controlled noise to query results. However, this paper reveals a critical vulnerability: the linear property of common queries (e.g., counting or summing) can be exploited by attackers with partial background knowledge. By strategically splitting queries, an attacker can obtain multiple independent noisy samples of a target record, effectively bypassing the intended privacy budget and enabling high-accuracy membership inference attacks.

Introduction

The core of Differential Privacy lies in the privacy budget ($\epsilon$), which quantifies the maximum information leakage allowed. Once this budget is exhausted, the system should ideally prevent further queries. However, standard DP mechanisms often fail to account for the mathematical properties of the queries themselves. Specifically, a query $q$ is linear if $q(D_1 \cup D_2) = q(D_1) + q(D_2)$ for disjoint datasets. This paper demonstrates that this linearity acts as a "backdoor," allowing attackers to manipulate the system's perception of privacy consumption.

The Attack Framework

The researchers propose a two-stage attack framework that leverages background knowledge ($D_{know}$) to isolate a target record $x$.

The proposed attack framework illustrating how an attacker leverages background knowledge and query linearity to perform membership inference.

1. I.I.D. Sample Generation

An attacker selects various disjoint subsets of known records. They then issue queries that combine these subsets with the unknown target record $x$. To the DP mechanism, these appear as distinct, legitimate queries on different parts of the data, often falling under "Parallel Composition" rules. However, because the attacker knows the true values of the background records, they can subtract them from the noisy results. This process yields $m$ independent and identically distributed (i.i.d.) noisy samples of the target record's value.

2. Membership Inference via T-Test

With $m$ samples in hand, the attacker performs a one-sample t-test. They compare the sample mean against two hypotheses:

  • $H_0$: The target record $x$ is absent (the mean reflects only background noise).
  • $H_1$: The target record $x$ is present (the mean is shifted by the value of $x$).

As the number of samples $m$ increases, the standard error of the mean decreases, making the presence or absence of $x$ statistically detectable even under heavy noise.

The Privacy Budget Disconnect

A central insight of this work is the discrepancy between the "perceived" and "actual" privacy budget. While the DP mechanism might believe it has only released information equivalent to $\epsilon$ (assuming queries hit different records), the attacker has effectively extracted $m \cdot \epsilon$ worth of information regarding the target record. This exploitation turns what the mechanism considers Parallel Composition into what is effectively Sequential Composition from the attacker's perspective.

Key Results and Implications

Mathematical proofs and experimental validations on synthetic datasets confirm the attack's potency:

  • Success Rate: Membership inference accuracy increases sharply with the number of samples ($m$).
  • Resilience to Noise: Even with strict budgets (e.g., $\epsilon = 0.1$), an attacker with enough background knowledge to generate 20–30 samples can identify a record with high confidence.
  • Linearity as a Multiplier: Background knowledge acts as a multiplier for information gain, allowing a single "look" at a record to be amplified into dozens of independent observations.

Conclusion

This research highlights a significant gap in current Differential Privacy implementations. While DP provides robust theoretical guarantees, the interaction between query properties and background knowledge can undermine these protections. Future work must focus on developing query auditors capable of detecting when sequences of linear queries are being used to isolate individual records, ensuring that the "perceived" privacy budget aligns with the actual information leakage.

Summary updated

Abstract

The differential privacy is a widely accepted conception of privacy preservation and the Laplace mechanism is a famous instance of differential privacy mechanisms to deal with numerical data. In this paper, we find that the differential privacy does not take liner property of queries into account, resulting in unexpected information leakage. In specific, the linear property makes it possible to divide one query into two queries such as $q(D)=q(D_1)+q(D_2)$ if $D=D_1\cup D_2$ and $D_1\cap D_2=\emptyset$. If attackers try to obtain an answer of $q(D)$, they not only can issue the query $q(D)$, but also can issue the $q(D_1)$ and calculate the $q(D_2)$ by themselves as long as they know $D_2$. By different divisions of one query, attackers can obtain multiple different answers for the query from differential privacy mechanisms. However, from attackers' perspective and from differential privacy mechanisms' perspective, the totally consumed privacy budget is different if divisions are delicately designed. The difference leads to unexpected information leakage because the privacy budget is the key parameter to control the amount of legally released information from differential privacy mechanisms. In order to demonstrate the unexpected information leakage, we present a membership inference attacks against the Laplace mechanism.
BibTeX
@article{huang2021unexpected,
  author = {Wen Huang and Shijie Zhou and Yongjian Liao},
  title = {{Unexpected Information Leakage of Differential Privacy Due to Linear Property of Queries}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2021},
  url = {https://openreview.net/forum?id=shxpOxVzOD},
}
Figure