Introduction
In the world of differential privacy (DP), a core challenge is "query release": how can we accurately answer a massive number of statistical questions (e.g., "How many people in this dataset are over 30 and own a home?") without compromising individual privacy?
Simple methods, like adding independent noise to every answer, quickly exhaust the "privacy budget" as the number of queries grows. While theoretical "optimal" mechanisms exist, they often require solving NP-hard discrete optimization problems to generate synthetic datasets that match the noisy answers. This makes them impractical for real-world datasets with many features.
To bridge this gap between theoretical optimality and practical scalability, the Relaxed Adaptive Projection (RAP) algorithm provides a scalable way to release differentially private answers to millions of statistical queries. By transforming a difficult discrete optimization problem into a continuous one, RAP leverages modern machine learning tools to outperform existing state-of-the-art methods on large-scale datasets.
Methods
The authors introduce RAP, which combines three clever strategies:
- Continuous Relaxation: Instead of searching for a discrete synthetic dataset (a combinatorial problem), they relax the data domain into a continuous space. This makes the "projection" step—finding a dataset that matches noisy query answers—differentiable.
- Adaptive Query Selection: Rather than answering all queries upfront and wasting privacy budget on redundant information, RAP works iteratively. In each round, it uses a private selection mechanism ("Report Noisy Max") to find "hard" queries where the current synthetic data performs poorly. It then only spends privacy budget to answer those specific queries.
- Modern ML Tooling: Because the problem is now a continuous optimization task, the authors can use standard deep learning optimizers like Adam and libraries like JAX. This allows for easy GPU acceleration and makes the algorithm highly extensible.
Finally, they use randomized rounding (with a technique called SparseMax) to convert the relaxed, continuous data back into a standard discrete dataset format.
Datasets
The researchers evaluated RAP on two common benchmarks:
- ADULT: Census data with ~49k records and 15 features (expanded to 588 binary features).
- LOANS: Financial data with ~43k records and 48 features (expanded to 4,427 binary features).
These datasets represent realistic challenges for DP algorithms due to their mix of categorical and numerical data.
Key Insights
- The Power of Generalization: By answering just a small subset of "hard" queries, the synthetic dataset often "learns" to answer millions of other queries correctly. This "virtuous cycle" allows the algorithm to maintain high accuracy while being frugal with the privacy budget.
- Optimization over Representation: The paper shifts the focus from designing complex, query-specific algorithms to using general-purpose, high-performance optimization. By making the loss function differentiable, they can ride the wave of progress in the deep learning ecosystem.
- Consistency as a Regularizer: Projecting noisy answers onto the space of "possible datasets" forces the answers to be mutually consistent, which helps cancel out the random noise added for privacy.
Key Results
RAP significantly outperforms the previous state-of-the-art algorithm, FEM (Follow-the-Perturbed-Leader), particularly in the most challenging regimes: high privacy (low $\epsilon$) and massive query workloads.
- Scalability: The authors successfully ran experiments with workloads of up to 20 million queries, a scale that would crash many traditional DP algorithms.
- Accuracy: As shown in the figure above, RAP (especially the "SparseMax" variant) maintains much lower maximum error than FEM as the privacy constraint becomes stricter (moving left on the x-axis).
- Efficiency: The use of JAX and GPUs allows RAP to handle workloads that are several orders of magnitude larger than what matrix-based methods (like HDMM) can typically manage.
Limitations and Future Work
- Heuristic Nature: While the privacy guarantee is mathematically rigorous, the accuracy depends on the optimizer finding a good solution. There is no theoretical guarantee that the optimizer won't get stuck in a local minimum.
- Small Workload Performance: For very small, specific sets of queries, specialized methods like HDMM still tend to be more accurate. RAP is designed for the "large workload" regime.
- Hyperparameter Tuning: Performance is sensitive to the size of the synthetic dataset and the number of adaptive rounds. Finding the optimal balance remains an empirical task.
In conclusion, RAP represents a significant step toward making high-utility, differentially private data sharing a practical reality for large-scale, complex datasets.
Summary updated