[Paper Review] QUOTIENT: Two-Party Secure Neural Network Training and Prediction
QUOTIENT introduces a novel two-party secure protocol for training and predicting deep neural networks using ternarized weights and optimized secure computation primitives. By co-designing quantized training with a tailored MPC protocol based on correlated oblivious transfer, it achieves 50x faster WAN training and 6% higher accuracy than prior work like SecureML.
Recently, there has been a wealth of effort devoted to the design of secure protocols for machine learning tasks. Much of this is aimed at enabling secure prediction from highly-accurate Deep Neural Networks (DNNs). However, as DNNs are trained on data, a key question is how such models can be also trained securely. The few prior works on secure DNN training have focused either on designing custom protocols for existing training algorithms, or on developing tailored training algorithms and then applying generic secure protocols. In this work, we investigate the advantages of designing training algorithms alongside a novel secure protocol, incorporating optimizations on both fronts. We present QUOTIENT, a new method for discretized training of DNNs, along with a customized secure two-party protocol for it. QUOTIENT incorporates key components of state-of-the-art DNN training such as layer normalization and adaptive gradient methods, and improves upon the state-of-the-art in DNN training in two-party computation. Compared to prior work, we obtain an improvement of 50X in WAN time and 6% in absolute accuracy.
Motivation & Objective
- Address the lack of practical, scalable secure training protocols for deep neural networks in two-party computation (2PC) settings.
- Overcome the limitations of prior works—such as long offline phases, impractical WAN performance, and low model accuracy—by co-designing ML algorithms and MPC protocols.
- Enable secure training of modern DNN components like batch normalization and adaptive gradient methods within a 2PC framework.
- Achieve practical end-to-end training and prediction times over both LAN and WAN, making secure DNN training viable for real-world applications.
- Close the gap between secure and standard DNN performance by minimizing accuracy loss while maintaining strong privacy guarantees.
Proposed method
- Ternarize network weights to {-1, 0, 1} during forward and backward passes to simplify secure computation and reduce communication overhead.
- Design a specialized secure protocol for ternary matrix-vector multiplication using correlated oblivious transfer, combining Boolean and additive sharing for efficiency.
- Optimize the backward pass by replacing standard operations like quantization and normalization with MPC-efficient alternatives that preserve model behavior.
- Leverage fixed-point quantization techniques from embedded DNN training (e.g., Wu et al., 2018) to stabilize optimization under low-precision arithmetic.
- Implement a two-party computation (2PC) protocol with semi-honest security, minimizing round trips and communication load to enable WAN deployment.
- Integrate the protocol into a full training pipeline supporting fully connected, convolutional, and residual networks, enabling secure training and prediction.
Experimental results
Research questions
- RQ1Can secure two-party computation be made practical for training modern deep neural networks with complex components like batch normalization and adaptive optimizers?
- RQ2How can the co-design of machine learning algorithms and secure computation protocols reduce communication and latency overhead in 2PC settings?
- RQ3To what extent can weight quantization to ternary values improve efficiency in secure DNN training without sacrificing model accuracy?
- RQ4Can secure DNN training be made scalable over wide area networks (WAN), where communication delays dominate performance?
- RQ5What performance and accuracy improvements can be achieved by jointly optimizing the training algorithm and the underlying MPC protocol?
Key findings
- 2PC-QUOTIENT achieves 50x faster training over WAN compared to SecureML, reducing training time from over 4,000 hours to under 90 hours for a 3-layer MNIST network.
- The method reduces LAN training time by 5x compared to SecureML, completing 10-epoch training in under 12 days for most models.
- QUOTIENT attains 99.38% test accuracy on MNIST, representing a 6% absolute improvement over SecureML’s error rate upon convergence.
- Single prediction using 2PC-QUOTIENT is 13x faster over LAN and 3x faster over WAN than SecureML, with batched predictions 7x and 50x faster, respectively.
- The protocol supports secure training of convolutional and residual networks—key advances not previously feasible in 2PC—demonstrating the first practical 2PC solution for such architectures.
- Communication and round-trip overhead are minimized, enabling a 5x slowdown over WAN compared to LAN, which is significantly better than prior works that were impractical over WAN.
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.