Collaborative data analysis often faces a fundamental conflict: the desire to gain insights from aggregated data versus the necessity of protecting individual privacy and proprietary information. This paper, published in 2017, addresses this by introducing a protocol that allows multiple organizations to jointly train statistical models without sharing raw data or compromising the privacy of the individuals involved.
The Privacy Dilemma in Collaborative Analysis
In scenarios like medical research, where multiple hospitals might want to pool patient data to improve drug dosage predictions, two distinct privacy risks emerge:
- Input Privacy: Participants are reluctant to share their raw datasets with each other or even a third-party aggregator due to legal, ethical, or competitive concerns. Secure Multiparty Computation (SMC) addresses this by enabling computations on encrypted data, but it does not prevent the final output from leaking sensitive information.
- Output Privacy: Even if the computation process is secure, the resulting model itself can be exploited. An adversary might "reverse-engineer" a highly accurate model to determine if a specific individual's record was part of the training set. Differential Privacy (DP) mitigates this by injecting "noise" into the data or the model.
As shown in the figure above, standard Centralized DP (CDP) typically relies on a trusted central collector to aggregate data and then add noise. However, if this collector is "honest-but-curious" or compromised, input privacy is lost. Distributed DP (DDP) allows each party to add their own noise, but simply summing independent noise can lead to excessive inaccuracies in the final model.
The SM-DDP Protocol
The authors propose the Secure Multiparty Distributed Differentially Private (SM-DDP) protocol. This approach combines SMC and DDP to provide a solution that requires no trusted central authority. The protocol is built on three pillars:
- Functional Mechanism (FM): Instead of adding noise directly to raw data or the final model parameters, FM adds noise to the polynomial coefficients of the model's objective function. This allows parties to compute local statistics independently.
- Homomorphic Encryption (HE): Utilizing the BGV scheme, parties can aggregate their local statistics while they remain encrypted. This ensures that no intermediate values are exposed during the computation.
- Ring Topology: The parties are organized in a logical circle. Each participant adds their noisy, encrypted local statistics to a running total and passes it to the next party.
A critical technical innovation is the use of the infinite divisibility property of the Laplace distribution. By carefully calibrating local noise, the authors ensure that the final aggregated noise follows a standard Laplace distribution, maintaining strong DP guarantees without the accuracy degradation typically seen in naive distributed noise addition.
Evaluation and Results
The protocol was tested using two significant datasets: the IPUMS census records (370,000 records) and the Warfarin (IWPC) medical dataset (1,400 patients). The evaluation focused on accuracy, performance, and scalability.
- Accuracy: Once parameters were properly tuned—specifically by scaling the local privacy budget by the number of parties—the SM-DDP protocol achieved Mean Squared Error (MSE) levels nearly identical to those of centralized DP systems.
- Performance and Scalability: The system proved to be highly efficient. A setup involving 20 parties and 32 attributes processed 10,000 samples in under a minute. Crucially, the protocol's complexity depends on the number of attributes rather than the number of samples, making it exceptionally scalable for large-scale data analysis. Computational time was found to increase linearly with the number of participants.
Conclusion and Future Directions
SM-DDP represents a significant step forward in privacy-preserving machine learning by removing the need for a trusted third party. While currently optimized for linear regression, the framework provides a foundation for more complex models. Future work may address potential collusion risks between the key-generating party and its neighbors, as well as defenses against "active" adversaries who might attempt to skew the model with malicious data.
Summary updated