Differentially Private Query Release Through Adaptive Projection

Sergul Aydore, William Brown, Michael Kearns, Krishnaram Kenthapadi, Luca Melis, Aaron Roth, Ankit Siva

This paper, titled "Differentially Private Query Release Through Adaptive Projection," presents a significant step forward in the practical generation of synthetic data that preserves privacy while remaining useful for complex statistical analysis.

TL;DR

The authors introduce RAP (Relaxed Adaptive Projection), an algorithm that generates differentially private synthetic datasets by turning a traditionally "hard" discrete optimization problem into a continuous, differentiable one. By leveraging modern machine learning tools like JAX and Adam, RAP can accurately answer millions of statistical queries—outperforming existing state-of-the-art methods in high-workload scenarios.

What Problem Does This Paper Address?

In the world of Differential Privacy (DP), a common goal is to release a "synthetic dataset" that looks like the original data but protects individual identities. This synthetic data should ideally give the same answers to statistical queries (e.g., "How many people in this dataset are over 40 and own a home?") as the real data.

However, two major hurdles exist:

  1. The Accuracy-Privacy Trade-off: Answering a massive number of queries usually requires adding so much noise (to protect privacy) that the results become useless.
  2. Computational Complexity: Finding a synthetic dataset that matches a set of noisy query answers is a "projection" problem. Historically, this is an NP-hard discrete optimization problem that requires specialized, expensive integer program solvers and doesn't scale well to high-dimensional data or millions of queries.

Methods

The authors propose the Relaxed Adaptive Projection (RAP) mechanism, which breaks the problem down using three clever strategies:

  • Continuous Relaxation: Instead of searching for a discrete dataset (rows of 0s and 1s), they relax the domain to a continuous space. They represent the data as probability distributions over one-hot encodings. This makes the "projection loss" (the difference between the synthetic and real query answers) differentiable.
  • Modern ML Optimization: Because the problem is now differentiable, the authors can use standard deep learning tools. They implement the algorithm in JAX and use the Adam optimizer to minimize error, allowing for GPU acceleration and high scalability.
  • Adaptive Query Selection: Rather than spending the entire "privacy budget" to answer every possible query upfront, the algorithm works in rounds. In each round, it uses a private selection mechanism (Report Noisy Max) to find "hard" queries where the current synthetic data is performing poorly. It then updates the synthetic data to fix those specific errors.
  • Randomized Rounding: To get back to a standard discrete dataset, they use SparseMax and randomized rounding, ensuring the final output fits the original data schema.

Datasets

The researchers evaluated RAP on two well-known benchmarks, pre-processed to be entirely categorical:

  • ADULT: Census data with ~48,000 records and 15 features (expanded to 588 binary features).
  • LOANS: Financial data with ~42,000 records and 48 features (expanded to 4,427 binary features).

They tested the algorithm against workloads ranging from $10^5$ to $10^8$ queries, focusing on 3-way and 5-way marginals.

Key Insights and Ideas

  • Generalization is Key: The authors found that by fixing the synthetic data on a small subset of "hard" queries, the dataset naturally improved its accuracy on many other queries it hadn't even "seen" yet. This is a form of algorithmic generalization that saves the privacy budget.
  • Differentiability = Scalability: By moving away from integer programming (like the FEM algorithm) and toward first-order optimization (like Adam), the researchers could handle workloads of 20 million queries without hitting computational bottlenecks.
  • Tooling Matters: The use of JAX allows researchers to define new query classes (like linear threshold functions) simply by writing a Python function, without needing to manually derive complex optimization constraints.

Key Results

  • Outperforming the State-of-the-Art: RAP significantly outperformed the FEM (Follow-the-Perturbed-Leader) algorithm, particularly in the "high-privacy" regime (where the privacy budget $\epsilon$ is small) and when the number of queries is very large.
  • Workload Thresholds: While RAP dominates on large workloads, the authors noted that HDMM (High Dimensional Matrix Mechanism) still performs better on smaller, specialized workloads (around 65,000 queries) where matrix-based optimizations are more efficient.
  • Rounding Efficiency: The randomized rounding process was shown to be highly effective; with only 5x oversampling, the rounded discrete dataset achieved nearly the same accuracy as the continuous relaxed version.

Limitations and Future Work

  • Non-Convexity: The optimization problem in RAP is non-convex. While it works very well in practice, there are no theoretical guarantees that the Adam optimizer will always find the global minimum.
  • Small Workloads: As mentioned, RAP is a "heavy lifter" designed for millions of queries; for very small sets of queries, simpler mechanisms are still superior.
  • Complex Queries: While the paper demonstrates success with marginals and linear thresholds, future work could explore how well this relaxation technique handles more complex, non-linear statistical functions.

Reference: Aydore, S., Brown, W., Kearns, M., Kenthapadi, K., Melis, L., Roth, A., & Siva, A. (2021). Differentially Private Query Release Through Adaptive Projection. arXiv:2103.06641v2.

Summary updated

Abstract

We propose, implement, and evaluate a new algorithm for releasing answers to very large numbers of statistical queries like $k$-way marginals, subject to differential privacy. Our algorithm makes adaptive use of a continuous relaxation of the Projection Mechanism, which answers queries on the private dataset using simple perturbation, and then attempts to find the synthetic dataset that most closely matches the noisy answers. We use a continuous relaxation of the synthetic dataset domain which makes the projection loss differentiable, and allows us to use efficient ML optimization techniques and tooling. Rather than answering all queries up front, we make judicious use of our privacy budget by iteratively and adaptively finding queries for which our (relaxed) synthetic data has high error, and then repeating the projection. We perform extensive experimental evaluations across a range of parameters and datasets, and find that our method outperforms existing algorithms in many cases, especially when the privacy budget is small or the query class is large.
BibTeX
@inproceedings{aydore2021differentially,
  author = {Sergul Aydore and William Brown and Michael Kearns and Krishnaram Kenthapadi and Luca Melis and Aaron Roth and Ankit Siva},
  title = {{Differentially Private Query Release Through Adaptive Projection}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=EprpRw4z8L},
}
Figure