Local Differential Privacy for Evolving Data

Matthew Joseph, Aaron Roth, Jonathan R. Ullman, Bo Waggoner

Introduction

In the modern data landscape, technology companies such as Apple, Google, and Microsoft increasingly rely on the local model of differential privacy (LDP) to collect user statistics while maintaining individual privacy. Unlike the central model, where a trusted server adds noise to aggregated data, LDP requires users to add mathematical noise to their data locally before transmission. This ensures that the raw data never leaves the user's device.

While LDP is effective for one-time data collection, a significant challenge arises when monitoring statistics that evolve over time, such as the popularity of specific emojis or frequently visited websites. Naively repeating an LDP protocol for every measurement leads to a rapid accumulation of privacy loss, typically scaling with the square root of the number of data collections. This paper addresses this fundamental limitation by introducing a novel algorithmic framework that allows for continuous, long-term monitoring where privacy loss scales only with the number of times the underlying data distribution changes, rather than the frequency of measurement.

The Problem: Privacy Erosion in Continuous Monitoring

The core issue in longitudinal LDP is the exhaustion of the "privacy budget." In the central model of differential privacy, researchers often employ the "sparse vector technique," which only incurs a privacy cost when a statistic undergoes a significant change. However, mathematical proofs have demonstrated that an exact local equivalent to this technique is impossible.

Consequently, practitioners have faced a difficult trade-off: either accept a rapidly degrading privacy guarantee or limit the frequency of data collection, potentially missing critical shifts in population trends. The authors of this paper seek to bridge this gap by developing a method to track evolving statistics without the linear or square-root growth in privacy loss over time.

Methodology: The THRESH Framework

The authors propose a new algorithmic framework centered on a core primitive called THRESH. This algorithm is designed to track the average of a population's binary data (bits) over time. The timeline is divided into discrete "epochs," but the key innovation lies in how users interact with the server during these periods.

Private Voting Protocol

Instead of transmitting a fresh noisy estimate in every epoch, THRESH utilizes a decentralized, private voting protocol consisting of three main stages:

  1. Local Monitoring: In each epoch, users locally monitor their own data to estimate their current mean. They compare this current estimate against the global mean established during the most recent update.
  2. Confidence-Weighted Voting: If a user detects a significant discrepancy between their local data and the last global update, they cast a noisy "yes" vote. To optimize the privacy budget, the algorithm employs discrete confidence thresholds. Users with high statistical confidence that a change has occurred vote more frequently, while those with lower confidence vote in only a small subset of epochs. This mechanism ensures that the system remains sensitive to changes while protecting users from wasting their privacy budget on minor fluctuations.
  3. Global Updates: The central server aggregates these noisy votes. If the total number of "yes" votes exceeds a predefined threshold, the server triggers a global update. Only at this point do users provide fresh, differentially private estimates of their data to recalibrate the global statistic.

Scaling to Complex Data: HEAVYTHRESH

The authors extend this concept to the "Heavy Hitters" problem—identifying the most frequent items in a massive dictionary (e.g., a list of millions of URLs). Monitoring such a large space directly is computationally and privately expensive. To solve this, the HEAVYTHRESH algorithm uses Johnson-Lindenstrauss matrices to compress the data into a lower-dimensional "hash." Users then monitor the distribution of these hashes, voting for a global update only when the hash distribution shifts significantly.

Key Insights and Theoretical Results

The primary breakthrough of this work is the decoupling of privacy loss from the passage of time. By implementing strict caps on the number of truthful votes and estimates a user can contribute, the algorithm ensures that the total privacy loss is bounded by the number of actual distribution changes.

Theoretical Guarantees

  • Infinite Privacy Horizon: Both THRESH and HEAVYTHRESH are proven to satisfy $\epsilon$-local differential privacy indefinitely. Regardless of the total number of epochs, the privacy guarantee remains intact as long as the number of distribution changes is bounded.
  • Accuracy and Efficiency: The authors demonstrate that the error in global estimates scales sublinearly with the inverse of the epoch length and only polylogarithmically with the total duration of the monitoring period ($T$). This represents a significant improvement over naive re-querying methods.
  • Feasibility for Large Domains: The success of HEAVYTHRESH proves that tracking massive dictionaries over time is mathematically feasible under LDP, provided the underlying trends are relatively stable.

Limitations and Future Considerations

While the privacy guarantees of this framework are robust and hold for any input, the accuracy of the system depends on certain distributional assumptions. Specifically, the data must be generated from an underlying distribution that does not change erratically. If the population's behavior is chaotic or if the subgroups of interest are too small, the accuracy of the global estimates may degrade.

Furthermore, the protocol has a "finite lifespan" in terms of active participation. Each legitimate distribution change consumes a portion of a user's privacy budget. Once a user reaches their pre-defined cap, they must output pure noise to maintain their privacy. In a real-world deployment, the server would need to monitor the fraction of "exhausted" users to maintain the calibration of its aggregate statistics. The authors suggest that future work could involve extending the voting protocol to estimate this "live" user count dynamically.

Conclusion

This research provides a vital tool for privacy-preserving data science. By shifting the focus from measuring time to measuring change, the THRESH and HEAVYTHRESH algorithms enable tech providers to maintain accurate, long-term population statistics without compromising the fundamental privacy rights of their users.

Summary updated

BibTeX
@article{joseph2020local,
  author = {Matthew Joseph and Aaron Roth and Jonathan R. Ullman and Bo Waggoner},
  title = {{Local Differential Privacy for Evolving Data}},
  journal = {J. Priv. Confidentiality},
  year = {2020},
  doi = {10.29012/jpc.718},
}
Figure