Differentially Private Streaming Data Release under Temporal Correlations via Post-processing

Xuyang Cao, Yang Cao, Primal Pappachan, Atsuyoshi Nakamura, Masatoshi Yoshikawa · DOI

Introduction

Differential Privacy (DP) has become the gold standard for protecting individual privacy in large datasets by adding calibrated random noise to query results. However, applying DP to streaming data—where information is released continuously over time, such as real-time traffic counts or financial transactions—presents a significant challenge. In these scenarios, temporal correlations exist: an individual's state at time $t$ is often highly dependent on their state at time $t-1$.

Traditionally, these correlations are viewed as a privacy liability, as they can "leak" information and force the use of stricter privacy budgets ($\epsilon$), leading to even higher noise levels. This paper shifts the perspective, proposing that temporal correlations can instead be leveraged as a powerful tool for post-processing. By treating these correlations as a probabilistic "prior," the authors introduce a framework that significantly cleans up noisy DP releases, achieving up to a 100-fold reduction in Mean Square Error (MSE).

The Problem: Privacy Leakage vs. Utility Loss

When releasing data streams, researchers face a double-edged sword regarding temporal correlations:

  1. Privacy Leakage: Correlations allow an adversary to infer sensitive information across time steps, necessitating a smaller privacy budget to maintain the same level of protection.
  2. Utility Loss: A smaller privacy budget requires adding more noise, often rendering the resulting data useless for meaningful analysis.

Existing literature largely focuses on enhancing privacy mechanisms to mitigate leakage, which typically results in further utility sacrifices. This research asks a different question: Can we use the known structure of how data evolves over time to "denoise" the output after the privacy mechanism has been applied?

Methodology: MAP Estimation as a Corrective Tool

The authors propose a post-processing framework based on Maximum A Posteriori (MAP) estimation. The goal is to find the most plausible sequence of true counts ($\hat{R}$) given the noisy observed counts ($\tilde{R}$) and the known transition patterns of the underlying population.

The Optimization Framework

The problem is formulated as a nonlinear constrained programming task with two primary components:

  • The Likelihood Term: This models the noise introduced by the Laplace Mechanism. It measures how well a candidate estimate aligns with the actual noisy data released under DP.
  • The Prior Term: This incorporates the temporal correlations using a Markov Chain model and a multinomial distribution. It represents the physical likelihood of a specific data sequence based on how users move between locations (defined by a transition matrix $\mathcal{T}$).

To ensure the mathematical model is computationally tractable, the authors employ Stirling’s Approximation to manage the complex factorials inherent in multinomial distributions. The final optimization is solved using the Gurobi Optimizer, enforcing deterministic constraints such as non-negativity and the conservation of the total user count.

Experimental Evaluation

The framework was evaluated using synthetic datasets simulating streaming binary counts. These simulations tracked users moving between a set number of locations (e.g., $n_{loc} = 3$) over hundreds of time steps.

To test the robustness of the system, the researchers introduced a "Level of Temporal Correlations" parameter ($s$). By applying Laplacian smoothing to the transition matrix, they could simulate environments ranging from highly predictable movement patterns (strong correlation) to nearly random transitions (weak correlation).

Key Insights and Results

1. Massive Accuracy Gains

The most striking result is the framework's performance under strict privacy budgets. In scenarios with high noise, the MAP-based post-processing reduced the MSE by nearly 100 times compared to standard Maximum Likelihood Estimation (MLE) methods that ignore temporal correlations.

2. The Role of the Prior

The authors observed a dynamic shift in how the framework functions based on the privacy budget. When the budget is strict (high noise), the correlation-based "prior" becomes the dominant factor in reconstructing the data. Conversely, when the budget is lax (low noise), the framework relies more heavily on the observed noisy data. This allows the model to adaptively provide the best possible estimate regardless of the noise level.

3. Maintaining Physical Realism

Standard post-processing techniques often produce data sequences that are physically impossible according to the known transition matrix. Because the MAP framework incorporates the transition matrix directly into the prior, it naturally filters out these impossible events, ensuring the released data remains realistic and internally consistent.

4. Robustness Over Time

In many streaming DP applications, error tends to accumulate as the release duration ($T$) increases. However, the MAP framework demonstrated remarkable stability, maintaining significantly lower MSE than baseline methods even as the time horizon expanded.

Limitations and Future Work

While the framework provides a significant leap in utility, it relies on two key assumptions:

  • User Independence: The current model assumes individuals move independently. In reality, spatial correlations (e.g., crowds moving to a stadium) often exist.
  • Known Transition Matrix: The framework assumes the transition matrix $\mathcal{T}$ is either public knowledge or can be accurately estimated from historical data. Inaccurate correlation models could potentially introduce bias into the post-processed results.

Future research directions include extending the framework to more complex privacy frameworks like Pufferfish Privacy or Bayesian DP, and developing methods to handle inter-user correlations.

Summary updated

BibTeX
@inproceedings{cao2023differentially,
  author = {Xuyang Cao and Yang Cao and Primal Pappachan and Atsuyoshi Nakamura and Masatoshi Yoshikawa},
  title = {{Differentially Private Streaming Data Release under Temporal Correlations via Post-processing}},
  booktitle = {DBSec},
  year = {2023},
  url = {https://openreview.net/forum?id=UbDAx0f4VI},
}
Figure