Split, count, and share: a differentially private set intersection cardinality estimation protocol

Michael Purcell, Yang Li, Kee Siong NgUAI 2023

Abstract

Traditional Private Set Intersection Cardinality (PSI-CA) protocols rely on computationally intensive Secure Multi-Party Computation (SMC), which often fails to scale to massive datasets. We present "Split, Count, and Share," a novel protocol that replaces exact cryptographic precision with Differential Privacy (DP). By utilizing a streaming-friendly architecture and Binomial noise injection, the protocol achieves constant communication complexity and linear time complexity. Our analysis demonstrates that while the protocol sacrifices exactness, its relative accuracy improves as dataset sizes increase, making it a highly efficient alternative for large-scale data-sharing scenarios.

Introduction

In many collaborative data environments—such as financial institutions identifying shared customers or healthcare providers analyzing overlapping patient populations—determining the size of a set intersection without revealing individual records is critical. Traditional PSI-CA protocols ensure privacy through SMC, which guarantees that the computation process reveals nothing but the exact final count. However, this exactness can itself be a vulnerability, potentially allowing for individual inference. Furthermore, the cryptographic overhead of SMC often leads to prohibitive communication and processing costs as datasets scale into the millions or billions.

"Split, Count, and Share" addresses these challenges by shifting the security paradigm from protecting the computation to protecting the data itself via Differential Privacy. This trade-off enables a protocol that is significantly faster and more scalable than traditional methods.

The Protocol: Split, Count, and Share

The protocol operates in five distinct phases designed for maximum efficiency and minimal memory footprint:

  1. Negotiation: Alice and Bob agree on the number of rounds ($r$), privacy parameters ($\epsilon, \delta$), and shared random oracles (hash functions).
  2. Splitting: Both parties independently partition their datasets into $r$ subsets using the shared oracles. This ensures that any element present in both sets is consistently mapped to the same "bin."
  3. Counting and Noise Injection: Alice counts the elements in her bins. Bob performs the same count but adds Binomial noise to his results. This noise provides the $(\epsilon, \delta)$-differential privacy guarantee, masking the presence or absence of specific elements in Bob's set.
  4. Sharing: Bob transmits his noisy counts to Alice. Because the number of rounds $r$ is fixed, the communication cost is $O(r)$, independent of the total dataset size.
  5. Estimation: Alice calculates the sample correlation between her local counts and Bob’s noisy counts. The correlation serves as a statistically sound estimator for the total intersection size.

Accuracy and Privacy Trade-offs

A core insight of this research is the relationship between privacy budget ($\epsilon$), dataset size ($|A|$), and estimation error. Unlike many privacy-preserving protocols where performance degrades with scale, "Split, Count, and Share" benefits from the Law of Large Numbers. As the input sets grow larger, the relative standard error of the estimate decreases.

Theoretical standard error relative to set size |A| as a function of the privacy budget epsilon. Note that larger datasets (higher log2|A|) result in lower relative error.

As shown in Figure 1, for a fixed privacy budget, increasing the set size significantly reduces the relative error. This makes the protocol particularly well-suited for "Big Data" contexts where a small percentage of error is acceptable in exchange for massive gains in speed.

Empirical Validation and Results

The authors evaluated the protocol using synthetic simulations to test mathematical bounds and estimator performance. The results confirm that the protocol maintains high utility even under strict privacy constraints. For instance, with a privacy budget of $\epsilon=0.05$, the protocol can produce estimates accurate to within 10% of the set size approximately 96% of the time.

Empirical simulation results (solid lines) compared to theoretical bounds (dashed lines) for varying set sizes. The jagged lines represent the variance in individual simulation runs.

Figure 2 illustrates the alignment between empirical simulations and theoretical standard error bounds. While the absolute error may grow with the number of rounds due to cumulative noise, the protocol's design ensures that the signal-to-noise ratio remains favorable for large-scale intersections.

Conclusion and Future Work

"Split, Count, and Share" represents a significant shift in PSI-CA research by prioritizing scalability and differential privacy over cryptographic exactness. While it is not suitable for small datasets or applications requiring bit-perfect accuracy, its constant communication complexity and linear time complexity offer a viable path for private analytics on a global scale. Future research may explore integrating other similarity estimation techniques, such as MinHash, to further refine the utility of differentially private intersection protocols.

Summary updated

BibTeX
@inproceedings{purcell2023split,
  author = {Michael Purcell and Yang Li and Kee Siong Ng},
  title = {{Split, count, and share: a differentially private set intersection cardinality estimation protocol}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
}
Figure