[Paper Review] MPC-enabled Privacy-Preserving Neural Network Training against Malicious Attack
This paper presents an efficient, actively secure n-party protocol for privacy-preserving neural network training using MPC based on the SPDZ framework, enabling security against malicious adversaries even when a majority of parties are corrupted. It achieves active security with only 2X–2.7X overhead over semi-honest protocols in LAN and WAN settings, and introduces a novel conversion scheme from integer ring shares to finite field shares for secure Beaver triple usage.
The application of secure multiparty computation (MPC) in machine learning, especially privacy-preserving neural network training, has attracted tremendous attention from the research community in recent years. MPC enables several data owners to jointly train a neural network while preserving the data privacy of each participant. However, most of the previous works focus on semi-honest threat model that cannot withstand fraudulent messages sent by malicious participants. In this paper, we propose an approach for constructing efficient $n$-party protocols for secure neural network training that can provide security for all honest participants even when a majority of the parties are malicious. Compared to the other designs that provide semi-honest security in a dishonest majority setting, our actively secure neural network training incurs affordable efficiency overheads of around 2X and 2.7X in LAN and WAN settings, respectively. Besides, we propose a scheme to allow additive shares defined over an integer ring $\mathbb{Z}_N$ to be securely converted to additive shares over a finite field $\mathbb{Z}_Q$, which may be of independent interest. Such conversion scheme is essential in securely and correctly converting shared Beaver triples defined over an integer ring generated in the preprocessing phase to triples defined over a field to be used in the calculation in the online phase.
Motivation & Objective
- To address the lack of active security in existing privacy-preserving neural network training protocols that assume only semi-honest adversaries.
- To enable secure neural network training among n parties where up to n−1 parties may be malicious, ensuring honest parties remain protected.
- To reduce the efficiency overhead of active security in MPC-based neural network training compared to prior semi-honest designs.
- To develop a secure and efficient conversion mechanism from additive shares over integer rings ℤₙ to shares over finite fields ℤ_q for use in MAC-protected arithmetic.
Proposed method
- Leverages the SPDZ framework with precomputed Beaver triples and Message Authentication Codes (MACs) to enable active security in the dishonest majority setting.
- Introduces a novel share conversion protocol transforming additive shares from ℤₙ to ℤ_q using two instances of the Paillier cryptosystem to support secure MAC checking.
- Employs a preprocessing model where Beaver triples are generated in advance over ℤₙ and converted to ℤ_q for use in the online computation phase.
- Uses secret sharing with additive homomorphic properties and cryptographic techniques to ensure correctness and privacy during training.
- Implements the protocol using Gmpy2 for high-precision arithmetic and sets the finite field size Q > 2¹⁴⁵ for security.
- Evaluates performance on MNIST using fully connected and convolutional neural networks with batch sizes of 64 and 128, under LAN and WAN network conditions.
Experimental results
Research questions
- RQ1Can we design an MPC-based neural network training protocol that provides active security in a dishonest majority setting with acceptable performance overhead?
- RQ2How can we securely convert additive shares from integer rings ℤₙ to finite fields ℤ_q to support MAC-based verification in SPDZ-style protocols?
- RQ3What is the practical performance cost of achieving active security in neural network training compared to semi-honest counterparts?
- RQ4How does the communication and computation cost scale with network latency and bandwidth in real-world settings like WAN?
- RQ5Can the proposed protocol maintain high model accuracy while ensuring strong security guarantees in the presence of malicious participants?
Key findings
- The proposed protocol achieves active security against malicious adversaries in a dishonest majority setting with only 2.0x to 2.7x performance overhead compared to semi-honest protocols in LAN and WAN settings, respectively.
- For a DNN with 10 epochs and batch size 64, training takes 2.92 hours in LAN and 40.25 hours in WAN, achieving 97.75% accuracy.
- For a CNN with 10 epochs and batch size 64, training takes 16.50 hours in LAN and 85.28 hours in WAN, achieving 98.08% accuracy.
- The communication cost increases significantly with model complexity, reaching 2.42 GB for CNN training in WAN, but remains within practical bounds.
- The proposed share conversion from ℤₙ to ℤ_q enables secure and correct use of Beaver triples in MAC-protected SPDZ protocols, which is essential for active security.
- The protocol maintains high model accuracy—97.00% for CNN and 95.03% for DNN—comparable to plaintext training, demonstrating correctness and practicality.
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.