Differentially Private Trajectory Data Publication

Rui Chen, Benjamin C. M. Fung, Bipin C. DesaiarXiv 2011

Abstract

Trajectory data, such as GPS logs or transit records, is invaluable for urban planning but poses significant privacy risks. This paper presents a practical framework for publishing large-scale trajectory datasets under the rigorous guarantee of Differential Privacy. The approach utilizes a data-dependent "noisy prefix tree" combined with constrained inference post-processing. This methodology maintains high utility for data mining tasks while ensuring individual privacy, processing millions of records in seconds.

Introduction

As location-aware devices become ubiquitous, individuals leave behind "digital breadcrumbs"—trajectories that reveal sensitive movement patterns. While this data is a goldmine for urban planning and marketing, sharing it safely is a major challenge. Traditional methods like $k$-anonymity are vulnerable to background knowledge attacks. Differential Privacy (DP) provides a stronger mathematical guarantee: the output of an algorithm should remain nearly identical regardless of any single individual's inclusion in the dataset.

However, trajectory data is inherently high-dimensional. For a universe of 1,000 locations and a path length of 20, there are $10^{60}$ possible trajectories. Standard DP methods that account for all possible paths are computationally infeasible. This research addresses this gap by making DP practical for massive, complex datasets, such as those from the Montreal Transit Authority (STM).

Methodology

The proposed framework employs a two-stage sanitization algorithm that shifts from data-independent approaches (considering all possible paths) to a more efficient data-dependent approach.

Sample trajectory records showing paths between locations.

1. Noisy Prefix Tree Construction

Instead of exploring the entire universe of possible paths, the algorithm constructs a prefix tree based on the actual trajectories present in the database.

  • Privacy Budgeting: The total privacy budget ($\epsilon$) is distributed across the levels of the tree.
  • Adaptive Pruning: At each level, Laplace noise is added to the trajectory counts. If a path's noisy count falls below a specified threshold ($\theta$), the branch is pruned.
  • The "Ghost Node" Shortcut: To handle large location universes efficiently, a statistical process based on the binomial distribution determines how many "empty" nodes would pass the threshold due to noise, avoiding the need to check every possible location explicitly.
A noisy prefix tree showing trajectory sets and noisy counts.

2. Constrained Inference

Adding noise can lead to logical inconsistencies, such as a child node having a higher count than its parent. The authors apply a two-phase optimization (an $L_2$ solution) to adjust these noisy counts, ensuring they are consistent and respect the tree structure. Since this post-processing occurs after noise addition, it does not consume any additional privacy budget.

Experimental Evaluation

The primary evaluation utilized a real-life dataset from the Société de transport de Montréal (STM), containing over 1.2 million trajectory records across 1,012 distinct transit stations.

Key Results

  • High Utility: For count queries (e.g., "How many people visited Station A and B?"), the algorithm achieved a relative error of less than 10% under standard privacy settings.
  • Pattern Mining Accuracy: In frequent sequential pattern mining, the algorithm achieved 80% to 100% accuracy in identifying the top-$k$ most frequent patterns.
  • Scalability: The system sanitized the entire STM dataset in less than 25 seconds on standard hardware, demonstrating linear scalability with the number of records.
  • Stability: Constrained inference significantly improved accuracy and provided stability across different tree heights ($h$).

Conclusion

This work demonstrates that data-dependent prefix trees, combined with statistical shortcuts and post-processing, can make Differential Privacy practical for large-scale trajectory data. By focusing the privacy budget on paths actually present in the data, the framework achieves high utility and impressive performance. Future work will explore extending these techniques to other data mining tasks like classification and clustering, as well as incorporating temporal components into the trajectory analysis.

Reference: Chen, R., Fung, B. C. M., & Desai, B. C. (2011). Differentially Private Trajectory Data Publication. arXiv:1112.2020v1 [cs.DB].

Summary updated

BibTeX
@misc{chen2011differentially,
  author = {Rui Chen and Benjamin C. M. Fung and Bipin C. Desai},
  title = {{Differentially Private Trajectory Data Publication}},
  year = {2011},
  eprint = {1112.2020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1112.2020},
}
Figure