On Differentially Private Counting on Trees

Badih Ghazi, Pritish Kamath, Ravi Kumar, Pasin Manurangsi, Kewen Wu · DOI

Abstract

Hierarchical data structures are ubiquitous in large-scale data analytics, from census reporting to advertising taxonomies. However, releasing counts for every node in a tree while maintaining Differential Privacy (DP) often leads to significant error accumulation as tree depth increases. This paper introduces a novel error metric, $\alpha$-multiplicative root mean squared error ($\alpha$-mRMSE), which allows for a small multiplicative error alongside traditional additive noise. We show that while this shift does not benefit pure DP, it enables an exponential reduction in error for approximate DP—from $O(\sqrt{d})$ to $O(\log d)$.

Introduction

Tree aggregation involves estimating the counts of all nodes in a hierarchy where leaves represent individual data points and internal nodes represent sums of their descendants. Standard DP mechanisms face a trade-off: as the depth $d$ of the tree increases, the privacy budget is depleted across levels, or the added noise becomes prohibitive.

Traditional error metrics focus solely on additive error. However, in many practical scenarios, a small relative (multiplicative) error is acceptable for large counts. For instance, an error of 100 in a population of 1,000,000 is negligible, whereas the same error in a group of 50 is catastrophic. This paper explores whether relaxing the error requirement to include a multiplicative component can improve utility.

Methodology

The researchers propose the $\alpha$-mRMSE metric, which effectively ignores errors that are less than a fraction $\alpha$ of the true value. To optimize for this metric, they move beyond simple independent noise addition. Key technical innovations include:

  1. Reduction to Classification: The problem is reframed as determining whether a node's count exceeds a specific threshold $\tau$.
  2. Transition Node Identification: Using the Sparse Vector Technique (SVT), the algorithm identifies "transition nodes"—the highest nodes in the tree exceeding the threshold. This focuses the privacy budget on the most critical nodes.
  3. Truncated Laplace Mechanism: By truncating the noise distribution, the authors prevent extreme noise spikes from affecting the entire tree's accuracy, a common issue in large-scale queries.
  4. Geometric Thresholding: The algorithm iteratively refines estimates using geometrically increasing thresholds to precisely bound the true counts.

Key Results

The primary contribution of this work is the discovery that multiplicative error serves as a "cheat code" for approximate DP ($\delta > 0$). While pure DP ($\epsilon$-DP) remains constrained by a linear dependency on depth $d$, approximate DP allows for an exponential improvement.

Comparison of error bounds for pure and approximate differential privacy under different error types.

As shown in the table above, the transition from additive-only error to additive-multiplicative error reduces the upper bound from $O(\sqrt{d})$ to $O(\log d)$ in the $(\epsilon, \delta)$-DP setting. For deep hierarchies, such as a tree with depth 100, this represents a significant gain in accuracy, making private counting viable for complex taxonomies.

Discussion and Future Work

The results demonstrate that the "depth penalty" inherent in traditional tree aggregation can be largely bypassed by allowing for multiplicative error. However, several avenues for future research remain:

  • Non-negative Constraints: The current framework assumes non-negative input counts. Extending these bounds to signed data remains an open problem.
  • Parameter Sensitivity: The new algorithm exhibits a slightly higher sensitivity to the privacy parameter $\delta$ compared to standard Gaussian mechanisms.
  • Optimality: There is potential for even tighter bounds, possibly reducing the dependency on $d$ to $O(\log^* d)$ or even removing it entirely in favor of a dependency on the error tolerance $1/\alpha$.

In conclusion, this work provides a powerful new tool for privacy-preserving hierarchical analytics, demonstrating that a subtle change in error measurement can lead to dramatic algorithmic breakthroughs.

Summary updated

BibTeX
@inproceedings{ghazi2023differentially,
  author = {Badih Ghazi and Pritish Kamath and Ravi Kumar and Pasin Manurangsi and Kewen Wu},
  title = {{On Differentially Private Counting on Trees}},
  booktitle = {ICALP},
  year = {2023},
  url = {https://openreview.net/forum?id=h8TOn8F0tO},
}
Figure