DPHMM: Customizable Data Release with Differential Privacy via Hidden Markov Model

Yonghui Xiao, Yilin Shen, Jinfei Liu, Li Xiong, Hongxia Jin, Xiaofeng Xu

Introduction

The release of sequential data, such as GPS trajectories or web browsing histories, is a privacy minefield. While Differential Privacy (DP) has become the gold standard for protecting individual records in static databases, it often falters when applied to time-series data. The primary culprit is temporal correlation: in a Markovian system, a user's state at any given time $t$ is highly dependent on their state at $t-1$.

If an adversary understands the transition probabilities of a system—for instance, knowing that a person cannot travel between two distant cities in a matter of seconds—they can use this knowledge to "shrink" the set of possible states a user might be in. This creates a "probabilistic constraint" that can leave certain states exposed, even if noise has been added to the data. Existing frameworks like Blowfish allow for customizable privacy policies, but they were designed for static data and fail to account for these shifting temporal risks.

The DPHMM Framework

To address these challenges, the authors introduce DPHMM, a novel framework that embeds a private data release mechanism directly into a Hidden Markov Model (HMM). DPHMM is designed to prevent privacy leaks caused by temporal correlations while maintaining significantly higher data utility than traditional methods.

The DPHMM architecture, illustrating the flow from hidden true states through a private release mechanism to observable released data.

Methodology and Core Components

The DPHMM framework relies on several key innovations to balance privacy and utility:

  • Policy Graphs: Instead of treating all states as equally sensitive, DPHMM allows users to define a policy graph where edges represent states that must remain "indistinguishable." For example, a user might specify that an observer should not be able to distinguish whether they are at a library or a cafeteria.
  • Sensitivity Hull: Traditional DP mechanisms typically use $L_1$ sensitivity, which often overestimates the amount of noise required. DPHMM adopts a geometric approach, utilizing the convex hull of the differences between connected states in the policy graph. This allows for much tighter noise bounds, preserving more of the original data's signal.
  • K-norm Mechanism: The framework employs the K-norm mechanism, a generalization of the Laplace mechanism optimized for the specific "shape" of the sensitivity hull.
  • Minimum Protectable Graph: Privacy is not static in sequential models; it can "erode" over time. When temporal correlations effectively "disconnect" a node in the privacy graph—making it a "sitting duck" for adversarial inference—DPHMM uses a greedy algorithm to re-connect it to its nearest neighbor in the measurement space. This ensures the state remains protected with minimal impact on overall accuracy.

Experimental Evaluation

The researchers evaluated DPHMM using two large-scale real-world location datasets: Geolife (GPS trajectories in Beijing) and Gowalla (social media check-ins in Los Angeles). The data was partitioned into grids to create discrete state spaces for the HMM.

DPHMM was compared against DPLS (Differential Privacy on Location Set), a state-of-the-art baseline. The results demonstrated that DPHMM consistently outperformed DPLS across various metrics. Specifically, when using a utility-oriented graph ($G_{util}$), DPHMM achieved lower error rates while maintaining a higher Degree of Protection (DoP), meaning the true state remained hidden among a larger set of candidate states.

Key Insights and Ideas

Temporal Erosion of Privacy

One of the most striking insights from the study is that privacy is dynamic. As time progresses and transitions occur, the "effective" privacy graph changes. A state that was safe at the start of a sequence might become exposed later due to the history of released data and the constraints of the transition matrix.

An illustration of categorical protection, where states with similar semantic meanings (e.g., education or dining) are grouped to maintain privacy.

Geometry over Scalars

By moving from a single sensitivity value to a "sensitivity hull," the authors demonstrate that privacy is inherently directional. Noise does not need to be added uniformly in every direction; it only needs to be sufficient in the directions that distinguish sensitive states from one another. This insight is central to DPHMM's ability to maintain high utility.

Customization and Efficiency

Unlike "one-size-fits-all" DP, DPHMM supports diverse policies, such as Categorical Protection or Transition Protection. Furthermore, while calculating the sensitivity hull is computationally complex, the runtime for DPHMM converges to a stable and manageable level as the Markov model reaches its stationary distribution.

Limitations and Future Work

While DPHMM represents a significant step forward, some limitations remain. Finding the mathematically optimal protectable graph is #P-hard, leading the authors to rely on a greedy heuristic. Additionally, the framework assumes the adversary has perfect knowledge of the Markov transition matrix. Future research will explore automatic design of optimal policy graphs for complex requirements and "Local Differential Privacy" variants that eliminate the need for a trusted data collector.

Summary updated

BibTeX
@misc{xiao2016dphmm,
  author = {Yonghui Xiao and Yilin Shen and Jinfei Liu and Li Xiong and Hongxia Jin and Xiaofeng Xu},
  title = {{DPHMM: Customizable Data Release with Differential Privacy via Hidden Markov Model}},
  year = {2016},
  eprint = {1609.09172},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.09172},
}
Figure