Optimizing Locally Differentially Private Protocols

Tianhao Wang, Jeremiah Blocki, Ninghui Li, Somesh JhaarXiv 2017

TL;DR

This paper introduces a unified framework for analyzing and optimizing Local Differential Privacy (LDP) protocols, leading to two new, more accurate protocols: Optimized Unary Encoding (OUE) and Optimized Local Hashing (OLH). These protocols offer significant improvements in utility compared to existing methods, with OLH providing a communication-efficient alternative for large datasets.

What Problem Does This Paper Address?

Collecting aggregate statistics from users while preserving individual privacy is a critical challenge. Traditional Differential Privacy (DP) relies on a trusted curator, which is often impractical. Local Differential Privacy (LDP) addresses this by having each user locally perturb their data before sending it to an aggregator, eliminating the need for a trusted third party. While LDP protocols like Google's RAPPOR are deployed, there's a need for a systematic way to analyze, compare, and optimize these protocols to achieve better accuracy (utility) for a given privacy budget. Existing protocols often have limitations in terms of communication cost, accuracy, or applicability to different data scales.

Methods

The core contribution is a novel framework for "pure" LDP protocols. This framework provides a generic aggregation and decoding technique with a precisely analyzable unbiased estimate and variance formula. This allows for in-depth analysis and optimization of existing protocols.

Key techniques include:

  • Pure LDP Protocol Framework: Defining a class of LDP protocols with a symmetric property that allows for unified analysis.
  • Optimized Unary Encoding (OUE): A new protocol that optimizes the perturbation parameters (p and q) of the basic unary encoding to achieve better accuracy than standard approaches like RAPPOR.
  • Optimized Local Hashing (OLH): Another new protocol inspired by random matrix projection. It generalizes binary local hashing by allowing hash functions to output values in a larger range, leading to improved accuracy and significantly reduced communication cost compared to unary encoding, especially for large domains.
  • Variance Analysis: Deriving precise formulas for the variance of estimates, which is crucial for comparing protocol performance and identifying optimal parameters.

Datasets

  • Synthetic Data: Used for experimental evaluation, generated following a Zipf's distribution (s=1.1, n=10,000 users) and a normal distribution.
  • Kosarak Dataset: A real-world dataset containing clickstream data from a Hungarian news website (approx. 8 million clicks for 41,270 pages) used to estimate page popularity.
  • Rockyou Dataset: Used for evaluating the effect of the privacy budget (ε) on information quality.

Key Insights and Ideas

  • Unified Framework for LDP: The "pure" LDP protocol framework is a significant contribution, enabling systematic comparison and optimization of diverse LDP methods.
  • OUE and OLH are Optimal (for large domains): The paper demonstrates that OUE and OLH achieve the same optimal accuracy, with OLH offering a superior communication cost for large domains. This suggests a fundamental limit in achievable accuracy for these types of encoding.
  • Connection between Unary Encoding and Hashing: The optimized versions of unary encoding (OUE) and local hashing (OLH) are shown to be mathematically equivalent in terms of their accuracy, highlighting a deep connection between these seemingly different approaches.
  • Communication Cost vs. Domain Size: The paper clearly illustrates the trade-off between communication cost and domain size. Protocols like OUE and OLH are essential when the domain size is large, as unary encoding becomes prohibitively expensive.
  • RAPPOR's Limitations: The analysis and experiments suggest that RAPPOR's use of Bloom filters and cohorts, while addressing collisions, introduces complexities and limits its ability to benefit from larger privacy budgets compared to OUE and OLH.

Key Results

  • Improved Accuracy: Optimized Unary Encoding (OUE) and Optimized Local Hashing (OLH) provide significantly better accuracy (lower variance) than existing protocols like Basic RAPPOR and Random Matrix Projection (Binary Local Hashing). For instance, OLH's variance is orders of magnitude smaller than previous methods for typical ε values.
  • Communication Efficiency: OLH achieves O(log d) communication cost, a substantial improvement over O(d) for unary encoding-based methods, making it suitable for large domains.
  • Guideline for Protocol Selection: The paper provides clear guidelines based on domain size (d) and privacy budget (ε) for choosing the most appropriate protocol (DE, OUE, or OLH).
  • Empirical Validation: Extensive experiments on synthetic and real-world datasets confirm the analytical results, showing that OUE and OLH consistently outperform other methods in terms of accuracy. For example, on the Kosarak dataset, OLH detected significantly more true positives with fewer false positives.

Limitations and Future Work

  • Focus on Frequency Estimation: The paper primarily focuses on frequency estimation, which is a fundamental task but not the only application of LDP.
  • "Pure" LDP Framework: While powerful, the framework is defined for "pure" LDP protocols. Protocols that don't fit this definition (like RAPPOR) are analyzed separately.
  • Open Questions: The paper poses an open question about whether OLH and OUE represent the absolute best possible protocols for frequency estimation, especially when considering information theory.
  • Future Work: The authors suggest applying the insights gained to other LDP problems, such as discovering heavy hitters in very large domains, and exploring optimal LDP protocols for hypothesis testing and maximizing mutual information. They also mention the potential for further optimization of OLH and OUE.

Summary updated

BibTeX
@misc{wang2017optimizing,
  author = {Tianhao Wang and Jeremiah Blocki and Ninghui Li and Somesh Jha},
  title = {{Optimizing Locally Differentially Private Protocols}},
  year = {2017},
  eprint = {1705.04421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.04421},
}
Figure