Context Aware Local Differential Privacy

Jayadev Acharya, Kallista A. Bonawitz, Peter Kairouz, Daniel Ramage, Ziteng Sun

In the world of data privacy, Local Differential Privacy (LDP) is considered the gold standard for collecting sensitive information without relying on a trusted central server. It is the underlying technology behind how major tech companies collect telemetry data from user devices. However, LDP has a notorious reputation for degrading "utility"—the accuracy and usefulness of the collected data—because it treats every single data point as equally sensitive.

This paper by Acharya et al. (ICML 2020) argues that a one-size-fits-all approach is unnecessary. By introducing a "Context-Aware LDP" framework, the authors demonstrate that we can achieve significantly better data accuracy simply by acknowledging that some information is inherently more private than others.

The Problem: Context-Free Privacy

The fundamental trade-off in LDP is between privacy ($\epsilon$) and utility. To keep data private, noise is added; the more noise added, the less accurate the final estimate becomes.

The critical gap identified by the authors is that standard LDP is context-free. It assumes that distinguishing between "I visited a hospital" and "I visited a pharmacy" requires the same amount of noise as distinguishing between "I visited a coffee shop" and "I visited a park." In reality, users might only care about hiding their precise location within a city, not the fact that they are in the city itself. By forcing the same high level of privacy on non-sensitive distinctions, standard LDP wastes the "privacy budget" and severely degrades data utility.

A Context-Aware Framework

To solve this, the authors propose a generalized framework where privacy is defined by a Privacy Matrix ($E$). Instead of a single global $\epsilon$ value, each pair of data elements $(x, x')$ is assigned its own sensitivity level $\epsilon_{x,x'}$.

The research focuses on two highly practical models:

  1. High-Low LDP (HLLDP): Only a small subset of the data domain is considered sensitive. For example, in web browsing telemetry, most URLs are mundane, but a few (like medical or financial portals) are highly sensitive.
  2. Block-Structured LDP (BSLDP): The data is partitioned into blocks (e.g., cities or regions). The goal is to hide which specific element within a block a user has visited (e.g., which specific restaurant), but not necessarily which block they are in.

To implement these models, the authors develop new privatization schemes based on Hadamard Response (HR). Unlike older methods, these HR-based schemes are "communication-efficient," requiring users to send only a few bits ($O(\log k)$) to the server.

Key Insights and Results

The authors evaluated their methods using both synthetic data (Uniform, Geometric, and Zipf distributions) and the real-world Gowalla Dataset, which contains 3.6 million check-ins across 43,750 locations.

  • Massive Accuracy Gains: On the Gowalla dataset, switching from standard LDP to Block-Structured LDP yielded dramatic improvements. By simulating a geo-location application where precise coordinates are sensitive but general regions are not, the estimation error plummeted.
Total Variation error comparison between standard LDP and various Block-Structured LDP configurations on the Gowalla dataset.
  • Sample Efficiency: Theoretical analysis shows that for High-Low LDP, the sample complexity depends quadratically on the number of sensitive elements, but only linearly on the total domain size. In contrast, standard LDP scales quadratically with the total domain size, making it far less efficient for large datasets.
  • Asymmetry is a Strength: For binary data (Yes/No), the authors prove that "universal optimality" can be achieved by using asymmetric noise—protecting "Yes" answers more rigorously than "No" answers.
  • The Power of Partitioning: In the Block-Structured model, partitioning data into $m$ blocks can theoretically reduce the required sample size by a factor of $m$ compared to standard LDP. This represents a massive gain for large-scale data collection efforts.

Limitations and Future Work

While Context-Aware LDP offers a massive leap forward in utility, it introduces new challenges:

  • The Partitioning Problem: The success of the Block-Structured model relies heavily on defining a "good" partition. While a simple grid works for basic geo-data, real-world boundaries and population densities are non-uniform, making optimal block selection a complex task.
  • Arbitrary Matrices: The paper successfully solves the problem for specific structures (High-Low and Block). However, finding the optimal privatization scheme for a completely arbitrary, unstructured privacy matrix $E$ remains an open challenge for large data domains ($k > 2$).
  • Side Information: The current model assumes the "context" (which elements are sensitive) is public knowledge. Future research must explore scenarios where the sensitivity of the data is itself private information.

Summary updated

BibTeX
@inproceedings{acharya2020context,
  author = {Jayadev Acharya and Kallista A. Bonawitz and Peter Kairouz and Daniel Ramage and Ziteng Sun},
  title = {{Context Aware Local Differential Privacy}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=5gRUT3spWm},
}
Figure