TL;DR
This paper introduces ResidualPlanner and ResidualPlanner+, novel differentially private mechanisms that efficiently and optimally answer marginal queries and more complex workloads, even on massive datasets. They achieve state-of-the-art accuracy and scalability, outperforming existing methods by orders of magnitude in certain scenarios.
What Problem Does This Paper Address?
Releasing aggregate statistics from sensitive data, like counts of individuals with specific characteristics (marginals), is crucial for data analysis. However, doing so while preserving privacy is a significant challenge. Existing "matrix mechanisms" for privacy-preserving marginal queries are often either optimal but don't scale to large datasets, or scalable but suboptimal. Furthermore, they typically support only a limited set of objective functions (ways to measure accuracy) and struggle with more general query types like range queries. This paper addresses the need for mechanisms that are both optimal and scalable for marginal queries, and extends this to more complex query types and a wider range of accuracy objectives.
Methods
The core innovation lies in a new "residual basis" approach. Instead of working with standard query matrices, ResidualPlanner decomposes marginal queries into a set of "residual matrices." These matrices form a linearly independent basis that can represent marginals more compactly. This leads to:
- ResidualPlanner: An optimal and scalable mechanism for marginal queries. It leverages a novel linear basis to efficiently represent marginals and can optimize for a wide variety of convex loss functions (ways to define accuracy). It also provides closed-form solutions for variances, enabling detailed analysis of accuracy.
- ResidualPlanner+: An extension that handles more general workloads, including combinations of marginals and range/prefix-sum queries. It achieves state-of-the-art accuracy and scalability for these complex queries, though it may not be strictly optimal.
- Discrete Gaussian Noise: The authors show how to adapt their mechanisms to use discrete Gaussian noise, which is crucial for numerically secure implementations, without sacrificing privacy guarantees.
Datasets
The paper evaluates its methods on several real-world datasets:
- Adult dataset: 14 attributes, large domain sizes.
- CPS dataset: 5 attributes, moderate domain sizes.
- Loans dataset: 12 attributes, mixed domain sizes.
- Synth-nd dataset: A synthetic dataset used to evaluate scalability by varying the number of attributes and domain sizes.
Key Insights and Ideas
- The power of residual bases: Decomposing queries into a "residual basis" allows for a more compact and efficient representation, which is key to achieving both optimality and scalability.
- Flexibility in accuracy objectives: ResidualPlanner's ability to optimize for various convex loss functions (beyond just total variance) is a significant advantage, allowing data curators to tailor privacy-utility trade-offs.
- Bridging the gap to general queries: ResidualPlanner+ successfully extends the core ideas to handle more complex query types like range and prefix-sum queries, which are common in real-world data analysis.
- Numerical security matters: Adapting the mechanisms for discrete Gaussian noise is a crucial step for practical deployment, ensuring robustness against potential vulnerabilities.
Key Results
- Scalability: ResidualPlanner and ResidualPlanner+ significantly outperform existing methods like HDMM, especially on large datasets. For instance, they can handle datasets with up to 100 attributes in minutes, while HDMM runs out of memory.
- Accuracy: ResidualPlanner achieves optimal accuracy for marginal queries, matching theoretical lower bounds (SVD Bound). ResidualPlanner+ provides state-of-the-art accuracy for more complex workloads, outperforming HDMM on prefix-sum queries.
- Speed: The selection and reconstruction phases are orders of magnitude faster than previous methods, particularly for larger datasets and more complex queries.
- Flexibility: The ability to optimize for different loss functions (e.g., weighted sum of variances, max variance) and handle diverse query types (marginals, range, prefix-sum) is a major practical benefit.
Limitations and Future Work
- Optimality for general queries: While ResidualPlanner+ is highly scalable and accurate for general queries, it is not guaranteed to be optimal. Future work aims to achieve optimality for range queries.
- Handling infinite domains: The current methods are designed for finite attribute domains. Extending them to handle attributes with infinite domains is a future research direction.
- Hierarchical structures: Incorporating support for hierarchical data structures (e.g., nested attributes) is another avenue for future work.
- Alternative noise distributions: Exploring the use of other noise distributions, like Laplace, is also suggested.
Summary updated