HDPView: Differentially Private Materialized View for Exploring High Dimensional Relational Data

Fumiyuki Kato, Tsubasa Takahashi, Shun Takagi, Yang Cao, Seng Pei Liew, Masatoshi Yoshikawa · DOI

Introduction

In the initial stages of data science and research, analysts often perform exploratory data analysis (EDA) to understand the underlying distributions and correlations within a dataset. However, when these datasets contain sensitive information—such as medical records or financial transactions—traditional EDA poses significant privacy risks. Differential Privacy (DP) has emerged as the gold standard for privacy-preserving data analysis, yet its application to high-dimensional relational data remains a formidable challenge.

This paper introduces HDPView, a novel framework designed to generate differentially private materialized views (p-views). HDPView enables accurate range queries on high-dimensional data without requiring prior knowledge of the query workload, providing a robust tool for privacy-conscious data exploration.

The Challenges of High-Dimensional Privacy

Existing DP mechanisms for data exploration typically fall into three categories, each with significant drawbacks:

  1. The Noise Explosion: Traditional methods often partition the data domain into a fine-grained grid. In high-dimensional spaces, the number of cells grows exponentially, leading to a scenario where the added Laplacian or Gaussian noise overwhelms the actual data signal.
  2. Workload Dependence: Many state-of-the-art methods optimize the privacy budget based on a specific set of queries. This is impractical for exploratory analysis, where the queries are not known in advance.
  3. The Reliability Gap: While generative models (like GANs) can produce synthetic datasets, they lack formal analytical error bounds. Analysts have no way of knowing the precision of a specific query result, which is critical for scientific integrity.

The HDPView Framework: Recursive Binary Partitioning

HDPView addresses these issues through a strategy of recursive binary partitioning. Unlike previous hierarchical methods like Privtree, which utilize quad-tree-style splits (partitioning a block into $2^d$ sub-blocks), HDPView performs "surgical" binary splits.

Minimizing Segmentation Error

The core objective of HDPView is to minimize the Segmentation Error (SE), which is defined as the sum of:

  • Aggregation Error (AE): The loss of precision caused by grouping distinct data points into a single partition and representing them with an average value.
  • Perturbation Error (PE): The noise added to the partition counts to satisfy the requirements of Differential Privacy.

By splitting a block only when the reduction in AE outweighs the increase in PE, HDPView maintains a compact representation that preserves the most significant features of the data distribution.

Key Algorithmic Innovations

HDPView introduces two primary mechanisms to manage the privacy budget ($\epsilon$) effectively:

  • Random Cut: When a partition is identified for splitting, HDPView employs the Exponential Mechanism to select the optimal dimension and the most effective "cut point." This ensures that the structure of the view is data-driven while remaining private.
  • Random Converge: To prevent the exhaustion of the privacy budget through repeated checks for convergence, the authors propose a "Biased Aggregation Error" (BAE) metric. This DP-compliant stopping criterion determines when further splitting no longer provides a meaningful accuracy benefit.

Analytical Reliability and Efficiency

One of the standout features of HDPView is its ability to provide analytical reliability. Because the entire partitioning process is differentially private, the system can calculate and return an estimated error bound for any range query at runtime. This allows researchers to gauge the trustworthiness of their findings without further depleting the privacy budget.

Furthermore, HDPView is exceptionally space-efficient. In experiments using the Adult census dataset, HDPView's materialized view was approximately $10^{13}$ times smaller than a naive noisy count vector, making it feasible to store and query high-dimensional summaries on standard hardware.

Experimental Evaluation

The researchers evaluated HDPView against eight diverse real-world datasets, including the high-dimensional Jm1 software engineering dataset (domain size $\approx 2 \times 10^{21}$) and the Bitcoin transaction graph.

Results Summary

  • Accuracy: HDPView consistently outperformed state-of-the-art methods such as HDMM and PrivBayes in terms of average relative Root Mean Squared Error (RMSE), particularly in high-dimensional settings.
  • Robustness: While generative models like PrivBayes can perform well on specific distributions, HDPView demonstrated superior consistency across varying data types and query ranges.
  • Concentrated Data: HDPView excels on datasets where data is highly concentrated in specific regions of the domain. By avoiding unnecessary splits in empty space, it prevents the accumulation of noise that plagues grid-based methods.

Limitations and Future Directions

While HDPView represents a significant advancement, the authors note certain limitations. The framework currently relies on ordinal encoding for categorical attributes that lack a natural order (e.g., "Occupation"). This may result in less efficient partitions compared to purely numerical data. Additionally, while the default hyperparameters are robust, extreme data distributions may require tuning to balance the budget between structural discovery and value perturbation.

Future work aims to extend the HDPView framework to support more complex relational operations, such as joins and multi-table views, further expanding the possibilities for private data exploration.

Summary updated

BibTeX
@article{kato2022hdpview,
  author = {Fumiyuki Kato and Tsubasa Takahashi and Shun Takagi and Yang Cao and Seng Pei Liew and Masatoshi Yoshikawa},
  title = {{HDPView: Differentially Private Materialized View for Exploring High Dimensional Relational Data}},
  journal = {Proc. VLDB Endow.},
  year = {2022},
  doi = {10.14778/3538598.3538601},
}
Figure