Abstract
SPEED is a collaborative deep learning framework designed to address the privacy-utility trade-off in distributed machine learning. By integrating Distributed Differential Privacy (DDP) with Homomorphic Encryption (HE), SPEED protects sensitive data from both curious servers and colluding participants. The framework introduces a novel non-interactive encrypted argmax operator and local noise generation, achieving state-of-the-art accuracy on standard image classification benchmarks with practical computational overhead.
Introduction
Collaborative machine learning enables multiple entities, such as hospitals or financial institutions, to train a shared model without centralizing raw data. However, privacy remains a significant barrier. Even when raw data is not shared, model outputs can leak sensitive information through membership inference or model inversion attacks.
Existing solutions have significant gaps. Private Aggregation of Teacher Ensembles (PATE) provides strong differential privacy but requires a trusted aggregation server. Federated Learning often requires high communication bandwidth and remains vulnerable to server-side attacks. While standard Homomorphic Encryption (HE) allows computing on encrypted data, performing full deep learning training in the encrypted domain is currently too slow for real-world use. SPEED aims to bridge these gaps by creating a "tripartite" architecture where no single entity needs to be fully trusted.
The SPEED Architecture
The SPEED framework utilizes a tripartite structure consisting of Teachers (data holders), an Aggregation Server, and a Student model.
In this model, Teachers maintain their private datasets locally. The Server acts as an intermediary that aggregates predictions in an encrypted domain, and the Student learns from the resulting labels. This separation of concerns ensures that no single party has access to the complete, un-noised data pipeline.
Methodology
Distributed Differential Privacy (DDP)
Instead of a central server adding noise to results, each Teacher adds a fraction of the required noise locally. The authors utilize the infinite divisibility property of the Laplace distribution. By having each teacher add noise drawn from a specific Gamma distribution, the sum of these noises at the server perfectly follows a Laplace distribution, satisfying the requirements for the "Report Noisy Max" mechanism. This protects teachers even if the aggregation server and the student collude.
Homomorphic Aggregation and Argmax
Teachers encrypt their noisy, one-hot encoded predictions using the Student's public key. The Server then performs homomorphic addition to get the total counts for each class. The "secret sauce" of SPEED is a novel, fully non-interactive argmax operator based on TFHE (Fully Homomorphic Encryption over the Torus). This allows the server to identify the winning class label without ever decrypting the individual vote counts, maintaining end-to-end privacy.
Semi-Supervised Student Training
The Student model learns by querying the Teachers with an unlabeled public dataset. It uses a GAN-based technique to improve accuracy even when the number of private queries is limited, maximizing the utility of the privacy budget.
Experimental Evaluation
The authors evaluated SPEED on two standard computer vision benchmarks: MNIST (handwritten digits) and SVHN (Street View House Numbers), with training data split among 250 Teachers.
- High Accuracy: On MNIST, SPEED achieved 95.91% accuracy with a privacy budget of $\epsilon = 1.41$ (at $\delta = 10^{-5}$). This is nearly identical to the non-private baseline of 96.22%.
- Practical Speed: The homomorphic argmax is remarkably efficient. A single query takes under 4 seconds on a standard laptop CPU. Processing 100 queries for MNIST took about 6.5 minutes, and 500 queries for SVHN took 32.5 minutes.
- Robustness: Even in a "worst-case" scenario where teachers provide random answers, the HE argmax maintained 90% accuracy in retrieving the correct cleartext result.
Discussion and Limitations
While SPEED offers a robust privacy-preserving solution, some limitations remain. The current homomorphic argmax complexity is quadratic ($O(K^2)$) relative to the number of classes ($K$), which may limit scalability for datasets with many categories. Additionally, the HE argmax is inherently probabilistic; while it has a 99.4% success rate on MNIST, there is a non-zero chance of returning the wrong label due to the noise required for FHE security. Future work could incorporate verifiable computing to protect against malicious servers that might try to intentionally sabotage the learning process.
Conclusion
SPEED demonstrates that secure, private, and efficient deep learning is achievable by strategically combining DDP and HE. By moving noise generation to the data holders and optimizing the encrypted aggregation process, it provides a practical path forward for sensitive collaborative machine learning tasks.
Summary updated