NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Locality Sensitive Hashing of Trajectories Under Local Differential Privacy

Fabrizio BoninsegnaSEBD 2023

Abstract

This paper investigates the integration of Locality Sensitive Hashing (LSH) with Local Differential Privacy (LDP) to protect sensitive GPS trajectory data. While LSH enables efficient similarity searches, achieving formal privacy guarantees through LDP introduces a significant utility-privacy trade-off. The author provides a generalized theoretical framework for LSH-based Randomized Response (LSH-RR) and demonstrates that the utility of these methods diminishes rapidly as the cardinality of the hash space increases, posing a challenge for high-dimensional trajectory data.

Introduction

GPS trajectories, which consist of sequences of identity, position, and time tuples, are highly sensitive. Traditional anonymization techniques, such as removing names, are insufficient to prevent reconstruction attacks that can link frequent routes or home addresses back to specific individuals. To manage the massive volume of trajectory data in applications like ride-sharing, researchers employ Locality Sensitive Hashing (LSH). LSH maps similar items into the same "buckets," facilitating rapid nearest-neighbor searches. However, LSH lacks formal privacy guarantees.

The central challenge addressed in this research is the application of Differential Privacy (DP)—the gold standard for data privacy—to LSH sketches without compromising their utility. Specifically, the paper focuses on Local Differential Privacy (LDP), where data is obfuscated on the user's device before transmission, ensuring that even the data collector cannot access the raw trajectory.

Comparison of Trusted Server (Centralized DP) vs. Untrusted Server (Local DP) models.

Methodology: The LSH-RR Framework

The proposed approach builds upon a technique known as LSH-RR, which combines LSH with a Randomized Response (RR) mechanism. The process involves three primary steps:

  1. LSH Sketching: Trajectories are converted into "sketches"—sequences of hash values—using methods such as snapping points to a random grid or recording intersections with random disks.
  2. Randomized Response: To ensure privacy, the user does not transmit the actual hash. Instead, a probabilistic mechanism is used: with a certain probability, the true hash is sent; otherwise, a random hash from the entire set of possible values is transmitted.
  3. Metric Differential Privacy: The author extends theoretical work to demonstrate that this method provides "metric" DP. This ensures that trajectories physically close to one another (e.g., measured by Fréchet distance) remain more indistinguishable to an attacker than those that are far apart.

Theoretical Insights and the Cardinality Trap

A key contribution of this work is the generalization of privacy proofs for LSH-RR. While previous research focused on specific LSH types, such as random hyperplanes, this paper introduces a framework (Theorem 1) applicable to any $(r_1, r_2, p_1, p_2)$-sensitive LSH family.

However, the analysis reveals a critical "utility-privacy trade-off" termed the "Cardinality Trap." For Randomized Response to remain useful, the privacy budget ($\epsilon$) must scale with the logarithm of the cardinality—the total number of possible hash values—in the hash space.

In simple scenarios with small hash spaces (e.g., binary hashes), LDP is effective. However, for trajectories, the number of possible grid paths or disk sequences is astronomically high. For a trajectory on a $c \times c$ grid, the hash space size can reach $2^{c^2}$. In such high-cardinality spaces, the standard RR mechanism becomes "all-or-nothing": one must choose between privacy with negligible utility or utility with negligible privacy.

Conclusion and Future Directions

The theoretical analysis indicates that simple Randomized Response mechanisms suffer from poor utility in high-cardinality discrete spaces because the noise required to maintain privacy overwhelms the signal in high-dimensional trajectory sketches.

Future research should explore more sophisticated LDP mechanisms, such as the Exponential Mechanism, which may better preserve the utility of hash values. Additionally, empirical testing on real-world trajectory datasets is necessary to quantify the accuracy of nearest-neighbor queries under these privacy constraints once more efficient mechanisms are integrated.

Summary updated

BibTeX
@inproceedings{boninsegna2023locality,
  author = {Fabrizio Boninsegna},
  title = {{Locality Sensitive Hashing of Trajectories Under Local Differential Privacy}},
  booktitle = {SEBD},
  year = {2023},
  url = {https://openreview.net/forum?id=gmBFFq2af8},
}
Figure