Differentially Private Data Release over Multiple Tables

Badih Ghazi, Xiao Hu, Ravi Kumar, Pasin Manurangsi · DOI

Introduction

The release of synthetic datasets—mathematical proxies that preserve the statistical properties of sensitive data without revealing individual records—is a cornerstone of privacy-preserving data science. While techniques for generating differentially private (DP) synthetic data for single tables are well-established, real-world databases are rarely flat. They typically consist of multiple tables (e.g., Users, Orders, and Products) linked by relational joins. This paper, presented at PODS '23, introduces the first theoretically optimal algorithms for releasing DP synthetic data derived from these multi-table structures.

The Challenge: Sensitivity Explosion in Joins

The primary hurdle in applying Differential Privacy to relational data is the "sensitivity" of the join operation. In DP, the amount of noise required to protect privacy is proportional to the maximum impact a single individual's record can have on the output. In a single table, one person typically corresponds to one row. However, in a join, a single record in a primary table (like a "User") might link to thousands of records in a secondary table (like "Orders").

Removing that one user causes a "sensitivity explosion," where a single change propagates across the entire joined result. Standard DP approaches would require adding noise proportional to this worst-case scenario, often resulting in synthetic data that is too noisy to be useful for downstream analysis.

Algorithmic Frameworks

The authors propose two distinct frameworks to navigate the trade-off between privacy and utility in relational joins.

1. Join-As-One with Residual Sensitivity

The "Join-As-One" approach treats the result of a multi-table join as a single, unified table. To manage the sensitivity issue without resorting to the excessive noise of global sensitivity, the authors utilize Residual Sensitivity. This metric provides a computationally efficient, smooth upper bound on how much a single record can influence the join size. By integrating Residual Sensitivity into a modified Private Multiplicative Weights (PMW) algorithm, the framework can generate synthetic data that maintains high utility for linear queries.

2. Uniformized Sensitivity for Skewed Data

The basic Join-As-One approach can still struggle with skewed data distributions—for instance, when a few "power users" have significantly more associated records than the average user. In such cases, the high sensitivity of these outliers dictates the noise level for the entire dataset, potentially drowning out the signal from the majority of the data.

To address this, the authors introduce Uniformization:

  • Partitioning: The data is partitioned into "buckets" based on join degrees (the number of matches a record has across tables).
  • Independent Release: The DP release algorithm is run on each bucket independently.
  • Recursive Strategy: For hierarchical joins (where table relationships form a tree structure), a recursive partitioning strategy is employed.

This bucketing acts as a privacy shield, ensuring that the noise added to protect high-degree outliers does not degrade the accuracy of the rest of the dataset.

Theoretical Results and Optimality

As a theoretical contribution to the PODS '23 symposium, the paper focuses on establishing formal bounds for error and utility using abstract mathematical instances (hypergraphs).

Key Findings:

  • General Upper Bound: The authors provide a formal error bound (Theorem 1.5) for any join query. This bound scales with the square root of the join size and the residual sensitivity, providing a clear mathematical guarantee of utility.
  • Lower Bound and Optimality: The research establishes a lower bound (Theorem 1.6) proving that for simple two-table joins, their algorithm’s error is optimal up to logarithmic factors. This makes the algorithm "parameterized optimal" for common join types.
  • Accuracy Gains: In scenarios with significant data skew, the "Uniformized" algorithm demonstrates a polynomial improvement in accuracy—specifically by a factor of $n^{1/6}$ in certain cases—compared to the basic Join-As-One approach.

Limitations and Future Directions

While this work sets a new theoretical benchmark, several challenges remain. The "Uniformization" technique is currently optimized primarily for hierarchical joins; extending these guarantees to cyclic joins (e.g., triangular relationships) is a significant open problem. Additionally, the computational cost of the PMW algorithm can be high when dealing with very large attribute domains. Finally, the authors note that achieving "instance-specific" optimality—where the algorithm is optimal for every specific data distribution rather than just the worst-case—remains a difficult, unsolved problem in the field of multi-table DP.

Summary updated

BibTeX
@inproceedings{ghazi2023differentially,
  author = {Badih Ghazi and Xiao Hu and Ravi Kumar and Pasin Manurangsi},
  title = {{Differentially Private Data Release over Multiple Tables}},
  booktitle = {PODS},
  year = {2023},
  url = {https://openreview.net/forum?id=eTKWiyXH__8},
}
Figure