PrivTree: A Differentially Private Algorithm for Hierarchical Decompositions

Jun Zhang, Xiaokui Xiao, Xing Xie

Abstract

PrivTree is a breakthrough differentially private algorithm for hierarchical data decomposition that eliminates the traditional "height dilemma." By using a novel biasing mechanism, it allows for arbitrarily deep trees with constant noise levels, enabling high-resolution data summaries that significantly outperform existing state-of-the-art methods on skewed spatial and sequence datasets.

Introduction

When releasing sensitive data, such as GPS coordinates or web browsing histories, researchers often employ hierarchical decompositions—like Quadtrees or Octrees—to create multi-resolution histograms. These structures are adaptive, remaining coarse in sparse regions while growing deep to capture detail in dense regions.

Example of a hierarchical spatial decomposition tree used to partition data points into multi-resolution cells.

However, implementing this under Differential Privacy (DP) introduces a significant challenge. Standard DP composition rules require noise injected into each count to be proportional to the maximum height ($h$) of the tree. This creates a "height dilemma": a small $h$ results in a coarse, low-utility histogram, while a large $h$ leads to massive noise at every level, preventing the algorithm from accurately deciding whether to split a node. Furthermore, $h$ cannot be tuned based on the data without risking privacy leaks.

Methods and Key Insights

PrivTree removes the dependency on a pre-defined maximum height $h$ through a novel privacy analysis of the Laplace distribution. The core innovation is the realization that as a node's count becomes significantly larger than the split threshold, the marginal privacy risk of revealing whether it should be split drops exponentially.

The privacy risk ρ(x) and its upper bound ρᵀ(x) show exponential decay as the count x increases beyond the threshold θ.

To exploit this "Exponential Decay of Risk," PrivTree utilizes several key mechanisms:

  • Biased Counts: Instead of raw counts, PrivTree subtracts a deterministic "decaying factor" $\delta$ multiplied by the node's depth. This effectively "pays" for the potential infinite depth of the tree upfront.
  • Constant Noise: Because of the biasing and the new privacy bound, PrivTree can use a constant amount of noise at every level, regardless of depth.
  • Automatic Termination: The decaying factor ensures that the biased count eventually falls below the split threshold, forcing the algorithm to terminate naturally without a hard-coded height limit.

This logic extends to sequence data using Prediction Suffix Trees (PSTs) and specialized score functions that account for both pattern magnitude and entropy.

Experimental Evaluation

The authors evaluated PrivTree on several real-world datasets, including road junctions (road), user check-ins (Gowalla), and taxi trajectories (NYC, Beijing). For sequence data, they used MOOC behavior sequences and web navigation logs (msnbc).

Key results include:

  • Spatial Accuracy: On highly skewed spatial data, PrivTree’s relative error was 4x to 10x lower than traditional grid-based or fixed-height hierarchical methods.
  • Sequence Mining: For top-$k$ frequent string mining, PrivTree consistently provided higher precision than N-gram models. At high privacy budgets ($\epsilon \geq 0.8$), it even outperformed non-private baselines that relied on simple sequence truncation.
  • Efficiency: The algorithm is highly efficient, processing millions of tuples in seconds despite the lack of a height limit.

Conclusion and Future Work

PrivTree demonstrates that adaptability in hierarchical decomposition can be achieved without sacrificing privacy or utility. While it introduces a decaying factor $\delta$, it removes the more problematic $h$ parameter. Future work may involve extending this "biased split" logic to more complex structures like lattices for frequent itemset mining and further refining parameter selection for specific utility metrics.

Summary updated

BibTeX
@inproceedings{zhang2016privtree,
  author = {Jun Zhang and Xiaokui Xiao and Xing Xie},
  title = {{PrivTree: A Differentially Private Algorithm for Hierarchical Decompositions}},
  booktitle = {SIGMOD},
  year = {2016},
  doi = {10.1145/2882903.2882928},
}
Figure