Secure Quantized Training for Deep Learning

Marcel Keller, Ke Sun
7/1/2021
94 citations
cs.LG

Official code: csiro-mlai/deep-mpc (40 stars, Python, last commit 2024-11-08).

Abstract

We implement training of neural networks in secure multi-party computation (MPC) using quantization commonly used in said setting. We are the first to present an MNIST classifier purely trained in MPC that comes within 0.2 percent of the accuracy of the same convolutional neural network trained via plaintext computation.

Show full abstract

More concretely, we have trained a network with two convolutional and two dense layers to 99.2% accuracy in 3.5 hours (under one hour for 99% accuracy). We have also implemented AlexNet for CIFAR-10, which converges in a few hours. We develop novel protocols for exponentiation and inverse square root. Finally, we present experiments in a range of MPC security models for up to ten parties, both with honest and dishonest majority as well as semi-honest and malicious security.

View on arXivView PDF

Code Implementations(1)

4011Python, ShellNov 13, 20202 years ago

Similar Papers

Cite this paper

@article{keller2021secure,
  title  = {Secure Quantized Training for Deep Learning},
  author = {Marcel Keller and Ke Sun},
  year   = {2021},
  eprint = {2107.00501},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.00501}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.00501.svg)](https://codeofpaper.com/paper/2107.00501)

Discussion