[Paper Review] Secure Sum Outperforms Homomorphic Encryption in (Current) Collaborative Deep Learning
This paper proposes a secure sum protocol based on secret sharing as a more efficient alternative to homomorphic encryption (HE) for collaborative deep learning on horizontally partitioned data. It demonstrates that the secure sum approach reduces training time from 2.5 hours (HE) to 6–35 minutes with 4 threads, while maintaining strong collusion resistance and privacy guarantees in industrial and healthcare settings.
Deep learning (DL) approaches are achieving extraordinary results in a wide range of domains, but often require a massive collection of private data. Hence, methods for training neural networks on the joint data of different data owners, that keep each party's input confidential, are called for. We address a specific setting in federated learning, namely that of deep learning from horizontally distributed data with a limited number of parties, where their vulnerable intermediate results have to be processed in a privacy-preserving manner. This setting can be found in medical and healthcare as well as industrial applications. The predominant scheme for this is based on homomorphic encryption (HE), and it is widely considered to be without alternative. In contrast to this, we demonstrate that a carefully chosen, less complex and computationally less expensive secure sum protocol in conjunction with default secure channels exhibits superior properties in terms of both collusion-resistance and runtime. Finally, we discuss several open research questions in the context of collaborative DL, especially regarding privacy risks caused by joint intermediate results.
Motivation & Objective
- Address privacy-preserving collaborative deep learning in settings with few, non-colluding parties, such as in healthcare and industrial B2B applications.
- Overcome the high computational cost and limited scalability of homomorphic encryption (HE) in federated learning with horizontally partitioned data.
- Evaluate the security and efficiency of secure sum protocols as a viable alternative to HE for gradient aggregation in deep learning.
- Investigate the risk of privacy leakage through repeated sharing of intermediate model parameters across training iterations.
- Explore the feasibility of extending secure aggregation to vertically or arbitrarily partitioned data across more than two parties.
Proposed method
- Employ a secret-sharing-based secure sum protocol for aggregating gradients across multiple parties without revealing individual contributions.
- Use pairwise secure channels (e.g., TLS) to establish communication between parties, eliminating reliance on a trusted third party.
- Implement a collusion-resistant protocol that does not require a central authority or re-encryption, unlike some HE-based schemes.
- Compare performance and security between HE-based aggregation and the proposed secure sum protocol under identical training workloads.
- Use a standard deep neural network (DNN) with stochastic gradient descent (SGD) for training, applying the secure sum protocol at each aggregation step.
- Measure runtime and communication overhead across varying numbers of parties (n ∈ {3,4,...,20}) to evaluate scalability and efficiency.
Experimental results
Research questions
- RQ1Can a secure sum protocol outperform homomorphic encryption in terms of runtime and computational efficiency for collaborative deep learning on horizontally partitioned data?
- RQ2To what extent is the proposed secure sum protocol resistant to collusion attacks compared to HE-based schemes?
- RQ3What is the risk of reconstructing individual data inputs from repeated sharing of intermediate model parameters during training?
- RQ4Is it computationally infeasible to solve the resulting non-linear system of equations required to reverse-engineer private data from aggregated gradients?
- RQ5How do the performance and security properties of secure sum compare to HE when applied to real-world collaborative deep learning workloads?
Key findings
- The secure sum protocol reduced training time from 2.5 hours (using HE with 20 threads) to 6–35 minutes (using 4 threads), demonstrating a significant performance improvement.
- The secure sum protocol achieved full collusion resistance without requiring a trusted third party or complex key management, unlike many HE-based approaches.
- Runtime was highly sensitive to latency, but even with moderate network delays (16ms RTT), the secure sum protocol remained significantly faster than HE.
- The system of equations required to reconstruct individual data from intermediate gradients was found to be highly non-linear and infeasible to solve with standard solvers like SciPy or SageMath.
- Due to the sensitivity of SGD to initial conditions and the non-linearity of the inverse problem, exact reconstruction of inputs from intermediate parameters is likely infeasible in practice.
- The study identifies a need for more efficient HE techniques that support end-to-end encrypted training, especially for vertically or arbitrarily partitioned data across multiple parties.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.