TL;DR
This paper tackles the challenge of efficiently generating random noise for differential privacy in distributed settings using secure multi-party computation (MPC). By benchmarking and comparing various sampling protocols, they reveal that bitwise sampling methods offer the best performance, and provide practical guidelines for choosing the right protocol based on security and efficiency needs.
What Problem Does This Paper Address?
Differential privacy (DP) is crucial for protecting sensitive data, but its application in distributed systems, where data is spread across multiple parties, presents a challenge. The "distributed DP" (DDP) model uses secure multi-party computation (MPC) to achieve DP without a trusted central server. A key bottleneck in DDP is the efficient and secure generation of random noise within the MPC framework. While many secure sampling protocols have been proposed, they often have different security assumptions and lack standardized evaluations, making it difficult for practitioners to choose the most suitable one. This paper aims to fill this gap by providing a comprehensive benchmark and analysis of existing secure sampling protocols for DDP.
Methods
The authors propose a taxonomy of secure sampling protocols, categorizing them into three main approaches: distributed noise generation (DNG), uniform transformation, and bitwise sampling. They implement and benchmark six existing protocols, extending DNG protocols to be resilient against Byzantine attackers by incorporating a Kolmogorov-Smirnov (KS) test for detecting poisoned noise. Their benchmark is built on the MP-SPDZ framework, allowing for versatile MPC protocol implementations. They also align the security settings of different protocols to ensure a fair comparison of their efficiency and utility.
Datasets
The paper uses the Kosarak dataset, which contains click records from a Hungarian news website, for evaluating the utility of different sampling protocols in a practical counting query scenario.
Key Insights and Ideas
- Bitwise Sampling Dominance: Protocols based on bitwise sampling consistently outperform other methods in terms of efficiency (fewer AND gates, faster execution, less communication). This is attributed to their ability to leverage efficient bitwise operations within MPC.
- Malicious Security Cost: Achieving malicious security in MPC is significantly more expensive than semi-honest security. While DNG is efficient for semi-honest settings, bitwise sampling is the go-to for malicious security.
- Obscure Data Structures for Efficiency: Using oblivious data structures, like those in Ostack-sampling, can reduce circuit size and improve efficiency, especially in high-security regimes.
- Utility of Discrete Noise: The utility loss introduced by using discrete noise in DDP is minimal and comparable to continuous noise in centralized DP, alleviating concerns about utility degradation.
- KS Test for Robustness: The KS test provides a valuable mechanism to detect poisoned noise in DNG protocols, enhancing their security against malicious parties, though at a performance cost.
Key Results
- Efficiency: Bitwise sampling protocols (ODO-Laplace, Ostack-Laplace, ODO-Gaussian, Ostack-Gaussian) are generally more efficient than DNG and uniform transformation methods. ODO-Laplace and ODO-Gaussian are particularly efficient for smaller security parameters ($\lambda$), while Ostack-based methods become more competitive with larger $\lambda$ and sample sizes ($n$).
- Malicious vs. Semi-honest: Malicious security protocols, especially Ostack-based bitwise sampling, are the most effective for malicious settings. For semi-honest settings, DNG protocols with simple aggregation are the most efficient.
- Utility: The utility of DDP protocols (measured by Mean Squared Error - MSE) is comparable to centralized DP (CDP) protocols, even with discrete noise. Local DP (LDP) and shuffle DP exhibit significantly higher MSEs.
- Collusion Impact: In DNG protocols, collusion among parties significantly degrades utility, highlighting the need for additional security measures or larger noise variances.
- Parameter Sensitivity: Efficiency metrics (AND gates, running time, communication) generally increase with the number of samples ($n$) and the security parameter ($\lambda$). The privacy budget ($\epsilon$) also affects efficiency, with smaller $\epsilon$ leading to larger circuit sizes.
Limitations and Future Work
- Data Poisoning: The paper acknowledges that data poisoning attacks by input parties, which skew aggregation results before noise sampling, are not fully addressed by secure sampling protocols. Future work might involve leveraging zero-knowledge proofs for input validation.
- Transform-Laplace Inefficiency: The Transform-Laplace protocol was found to be significantly less efficient due to expensive logarithmic arithmetic in MPC and was largely excluded from detailed analysis in later figures.
- Approximated Epsilon: The Ostack-Laplace* protocol uses an approximated $\epsilon$, which offers better efficiency but at the cost of slightly worse utility.
- Future Work: The authors suggest further research into improving the efficiency of DNG protocols with additional post-processing and exploring more advanced techniques for handling data poisoning attacks. They also highlight the potential for their benchmark to serve as a library for MPC protocol designers.
Summary updated