DP-PSI: Private and Secure Set Intersection

Jian Du, Tianxi Ji, Jamie Cui, Lei Zhang, Yufei Lu, Pu DuanarXiv 2022 · DOI

Abstract

Standard Private Set Intersection (PSI) protocols reveal exact matches between datasets, potentially violating privacy regulations like GDPR by "singling out" individuals. This paper introduces DP-PSI, a novel protocol that integrates Differential Privacy (DP) directly into cryptographic PSI exchanges. By combining subsampling, permutation, and noise injection, DP-PSI provides a scalable, privacy-preserving approximation of the intersection. Experimental results demonstrate that DP-PSI can process hundreds of millions of records in seconds, outperforming existing state-of-the-art methods by orders of magnitude while maintaining robust privacy guarantees.

Introduction: The Privacy Gap in Set Intersection

In modern data-driven industries, parties often need to identify common users—for instance, an advertiser and a publisher measuring campaign success. Private Set Intersection (PSI) has long been the standard cryptographic solution, allowing parties to find overlapping elements without revealing unmatched data.

However, standard PSI has a significant compliance flaw: it reveals the exact intersection. Under frameworks like the GDPR, knowing that a specific individual exists in another party's database constitutes "singling out," which is often prohibited. Existing alternatives either sacrifice privacy by revealing exact matches or sacrifice performance by using computationally expensive Multi-Party Computation (MPC) to hide the intersection entirely. DP-PSI bridges this gap by introducing mathematical uncertainty into the intersection itself, ensuring no single user can be confidently identified.

Methodology: Weaving DP into Cryptography

DP-PSI enhances the traditional Diffie-Hellman based PSI protocol by introducing controlled randomness at key stages. The protocol follows three primary steps:

  1. Subsampling: The receiver randomly omits a portion of their dataset using Bernoulli trials before encryption.
  2. Permutation: The receiver shuffles the order of the sender's encrypted items to prevent tracking of individual records.
  3. Upsampling (Noise Injection): The sender computes the intersection and adds "fake" matches—elements from the receiver's set that were not actually present in the sender's set.
Figure 3: The receiver's role in DP-PSI involves sub-sampling the dataset and permuting the encrypted elements to ensure privacy.

By combining these steps, the protocol ensures plausible deniability. If a user ID appears in the final output, the receiver cannot be certain whether it was a true match or a result of the noise injection process.

Performance and Scalability

The authors evaluated DP-PSI using simulated datasets ranging from $2^{10}$ to $2^{28}$ (~268 million) elements, with a typical matching ratio of 70%. The results highlight a dramatic improvement in scalability and speed:

  • Real-world Scale: The protocol successfully handled datasets of up to 134 million records ($2^{27}$), making it suitable for large-scale ad-tech environments.
  • Speed Benchmarks: For a dataset of $2^{15}$ elements, DP-PSI completed in just 0.28 seconds. In comparison, previous DP-PSI implementations took over 3,600 seconds for the same task.
  • Efficiency over Circuit-Based Methods: In a Private Intersection-Sum task with 8.3 million records, DP-PSI took 86 seconds, significantly faster than Google’s full-shuffle method (965s) and specialized MPC circuits (112s).

Key Insights: Efficiency through Approximation

A core innovation of DP-PSI is its approach to payloads. Traditionally, calculating aggregate statistics (like total spend) on an intersection required heavy cryptographic circuits. Because DP-PSI already protects the intersection via differential privacy, parties can safely reveal the matched IDs and sum associated payloads in plaintext. This "bypassing" of heavy crypto for the final computation is what enables its massive performance gains.

Furthermore, the protocol utilizes a "bounded" DP definition. This allows the parties to publish the exact size of the input datasets (0-DP) while maintaining strict protection over the specific contents of those sets.

Limitations and Future Outlook

The primary trade-off in DP-PSI is the loss of exactness. As a differentially private method, the final intersection is an approximation. There is an inherent tension between the privacy budget ($\epsilon$) and the utility (precision and recall) of the results. Future research will likely focus on optimizing these trade-offs for specific industry use cases, such as advertising funnels, to ensure that the injected noise does not compromise the business value of the joint marketing analytics.

Summary updated

BibTeX
@misc{du2022dp,
  author = {Jian Du and Tianxi Ji and Jamie Cui and Lei Zhang and Yufei Lu and Pu Duan},
  title = {{DP-PSI: Private and Secure Set Intersection}},
  year = {2022},
  eprint = {2208.13249},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.13249},
}
Figure