On the Privacy of Sublinear-Communication Jaccard Index Estimation via Min-hash Sketching

Seung Geol Choi, Dana Dachman-Soled, Mingyu Liang, Linsheng Liu, Arkady Yerukhimovich

TL;DR

This paper investigates the privacy guarantees of min-hash sketching, a technique for efficiently estimating the similarity (Jaccard index) between large datasets. The authors propose a differentially private min-hash protocol and analyze the privacy implications of releasing min-hash outputs, even without explicit noise, under certain conditions.

What Problem Does This Paper Address?

Estimating the Jaccard index, a measure of set similarity, is crucial in many applications like document comparison and community detection. Min-hash sketching offers a communication-efficient way to approximate this index. However, a common belief is that min-hash inherently provides privacy, but this has not been rigorously quantified. This paper aims to bridge this gap by formally analyzing the privacy guarantees of min-hash protocols, both with and without added noise, and exploring the conditions under which privacy is preserved.

Methods

The paper introduces a differentially private min-hash protocol that adds Laplacian noise to the min-hash counts to achieve formal privacy guarantees. Beyond this, a significant contribution is the analysis of privacy in scenarios where min-hash outputs are released without added noise. Here, the authors leverage the inherent "noise" introduced by the approximation error of the min-hash sketch itself. They explore two main settings:

  • Centralized Setting: In this scenario, the min-hash functionality chooses the hash functions. The paper shows that under certain input conditions, the min-hash output inherently satisfies differential privacy without any additional noise.
  • Distributed Setting (Public Hash Functions): When hash functions are public, the direct application of differential privacy fails. The authors introduce and utilize Distributional Differential Privacy (DDP), a more relaxed notion, to show that privacy can still be achieved if the input data has sufficient min-entropy. They also develop novel techniques, including a "strong chain rule for min-entropy" and a "geometric collision property," to prove DDP guarantees under these more practical conditions.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and protocol design, using synthetic inputs to demonstrate privacy properties.

Key Insights and Ideas

  • Min-hash noise as privacy: The paper's most surprising insight is that the inherent approximation error of min-hash sketching can, under specific conditions, act as a form of noise that protects input privacy, even without explicit differential privacy mechanisms.
  • DDP for practical privacy: The introduction and application of Distributional Differential Privacy (DDP) are key to analyzing privacy in settings where hash functions are public, a more realistic scenario than the idealized centralized setting.
  • Novel cryptographic tools: The development of a "strong chain rule for min-entropy" and the analysis of the "geometric collision property" are significant theoretical contributions that enable the privacy proofs in challenging settings.
  • Guidance for practical use: The paper provides clear guidance on how to use min-hash sketches for private Jaccard index estimation, clarifying the extent of their privacy guarantees and when additional measures are necessary.

Key Results

  • A highly-efficient two-party protocol for differentially private Jaccard index estimation is presented, offering better accuracy than prior work.
  • In a centralized setting, min-hash output satisfies differential privacy without additional noise under certain input conditions.
  • In a distributed setting with public hash functions, min-hash achieves Distributional Differential Privacy (DDP) if the honest party's set has sufficiently high min-entropy.
  • The paper provides theoretical guarantees for DDP under various assumptions about input distributions and leakage.

Limitations and Future Work

  • Input assumptions: The privacy guarantees, especially for DDP, often rely on strong assumptions about the min-entropy of the input data. Relaxing these assumptions is a potential area for future work.
  • Practical implementation: While the paper proposes efficient protocols, the empirical evaluation focuses on comparing accuracy and communication costs. Further work could explore the performance of these protocols in real-world scenarios.
  • Generalization of DDP: The paper adapts DDP for the min-hash context. Exploring its broader applicability in other privacy-preserving computation scenarios could be valuable.
  • Compositionality: While the paper touches upon composition, a more thorough investigation of how privacy guarantees compose over multiple interactions or protocols could be beneficial.

Summary updated

Abstract

The min-hash sketch is a well-known technique for low-communication approximation of the Jaccard index between two input sets. Moreover, there is a folklore belief that min-hash sketch based protocols protect the privacy of the inputs. In this paper, we investigate this folklore to quantify the privacy of the min-hash sketch. We begin our investigation by considering the privacy of min-hash in a centralized setting where the hash functions are chosen by the min-hash functionality and are unknown to the participants. We show that in this case the min-hash output satisfies the standard definition of differential privacy (DP) without any additional noise. This immediately yields a privacy-preserving sublinear-communication semi-honest 2-PC protocol based on FHE where the hash function is evaluated homomorphically. To improve the efficiency of this protocol, we next consider an implementation in the random oracle model. Here, the protocol participants jointly sample public prefixes for domain separation of the random oracle, and locally evaluate the resulting hash functions on their input sets. Unfortunately, we show that in this public hash function setting, the min-hash output is no longer DP. We therefore consider the notion of distributional differential privacy (DDP) introduced by Bassily et al.(FOCS 2013). We show that if the honest party's set has sufficiently high min-entropy then the output of the min-hash functionality achieves DDP, again without any added noise. This yields a more efficient semi-honest two-party protocol in the random oracle model, where parties first locally hash their input sets and then perform a 2PC for comparison. By proving that our protocols satisfy DP and DDP respectively, our results formally confirm and qualify the folklore belief that min-hash based protocols protect the privacy of their inputs.
BibTeX
@article{choi2023privacy,
  author = {Seung Geol Choi and Dana Dachman-Soled and Mingyu Liang and Linsheng Liu and Arkady Yerukhimovich},
  title = {{On the Privacy of Sublinear-Communication Jaccard Index Estimation via Min-hash Sketching}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2023},
  url = {https://openreview.net/forum?id=GdsfHnWHp8},
}

Loading related content...

Figure