Abstract
Secure multiparty computation (MPC) has been proposed to allow multiple mutually distrustful data owners to jointly train machine learning (ML) models on their combined data. However, by design, MPC protocols faithfully compute the training functionality, which can leak private information and be tampered with in poisoning attacks. In this work, we argue that model ensembles, implemented in our framework called SafeNet, are a highly MPC-amenable way to avoid many adversarial ML attacks. SafeNet leverages the natural partitioning of data to provide high scalability, provable protection from poisoning, and defense against privacy attacks. We demonstrate that SafeNet achieves up to 39x faster training and 36x less communication than standard MPC frameworks while significantly reducing backdoor attack success.
Introduction
Privacy-preserving machine learning (PPML) often relies on Secure Multi-Party Computation (MPC) to enable collaborative training without exposing raw datasets. However, standard MPC approaches face two critical challenges: extreme computational overhead and a lack of inherent robustness against malicious data. If a participant provides poisoned data, the MPC protocol "faithfully" trains on it, resulting in a compromised global model. SafeNet addresses these issues by shifting the paradigm from joint training to secure ensembling.
Methodology: Secure Ensembling
SafeNet decomposes the training process to minimize the use of expensive MPC operations. Instead of training a single large model within an MPC "black box," SafeNet utilizes a multi-stage workflow:
- Local Training: Each data owner trains a model locally on their private data in plaintext. This avoids the massive overhead of performing backpropagation inside MPC.
- Secret Sharing: Owners share their trained models ($M_k$) and small validation subsets ($D_k^v$) into the MPC environment.
- Secure Filtering: Inside the MPC, servers aggregate the validation slices into a global validation set. Each model is evaluated, and those falling below an accuracy threshold ($\phi$) are discarded, effectively quarantining poisoned models.
- Secure Inference: For predictions, the MPC servers perform a secure majority vote across the ensemble of validated models.
Evaluation and Results
The authors evaluated SafeNet across diverse datasets, including MNIST, EMNIST, Adult, Fashion-MNIST, and CIFAR-10. The framework demonstrates significant advantages in efficiency and security:
- Efficiency: SafeNet achieved a 39x speedup in training time and a 36x reduction in communication compared to the four-party MPC framework by Dalskov et al.
- Robustness: In scenarios where an adversary controlled 1 out of 20 owners, standard MPC training suffered a 100% backdoor success rate. SafeNet reduced this to 0%, maintaining robustness even with nearly 50% malicious participants.
- Accuracy: Beyond security, ensembling often improved performance. For instance, on the EMNIST dataset, the ensemble provided a 25.14% improvement over individual local models.
Discussion and Conclusion
SafeNet proves that ensembling is an exceptionally effective primitive for private collaborative learning. By restricting MPC to "shallow" operations like filtering and voting, it achieves scalability that joint training cannot match. While challenges remain regarding inference latency for large ensembles and handling extreme non-IID data distributions, SafeNet offers a robust, efficient, and mathematically grounded first choice for secure ML training.
Summary updated