Secure Evaluation of Quantized Neural Networks

By Assi Barak, Daniel E. Escudero, Anders Dalskov, Marcel Keller. 2019

159 citations recorded by the source corpus.

Abstract We investigate two questions in this paper: First, we ask to what extent “MPC friendly” models are already supported by major Machine Learning frameworks such as TensorFlow or PyTorch. Prior works provide protocols that only work on fixed-point integers and specialized activation functions, two aspects that are not supported by popular Machine Learning frameworks, and the need for these specialized model representations means that it is hard, and often impossible, to use e.g., TensorFlow to design, train and test models that later have to be evaluated securely. Second, we ask to what extent the functionality for evaluating Neural Networks already exists in general-purpose MPC frameworks. These frameworks have received more scrutiny, are better documented and supported on more platforms. Furthermore, they are typically flexible in terms of the threat model they support. In contrast, most secure evaluation protocols in the literature are targeted to a specific threat model and their implementations are only a “proof-of-concept”, making it very hard for their adoption in practice. We answer both of the above questions in a positive way:We observe that the quantization techniques supported by both TensorFlow, PyTorch and MXNet can provide models in a representation that can be evaluated securely; and moreover, that this evaluation can be performed by a general purpose MPC framework. We perform extensive benchmarks to understand the exact trade-offs between different corruption models, network sizes and efficiency. These experiments provide an interesting insight into cost between active and passive security, as well as honest and dishonest majority. Our work shows then that the separating line between existing ML frameworks and existing MPC protocols may be narrower than implicitly suggested by previous works.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression, Privacy & Security

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Martin Jaggi
  2. Qiang Yang
  3. Jakub Konecný
  4. Peter Kairouz
  5. Peter Richtárik
  6. Ananda Theertha Suresh
  7. Jianyu Wang
  8. Sebastian U. Stich

In Computer Vision and Pattern Recognition

  1. Sebastian U. Stich
  2. Marcel Keller
  3. Jianyu Wang
  4. Gauri Joshi
  5. Jakub Konecný
  6. Martin Jaggi
  7. Oluwasanmi Koyejo
  8. Ananda Theertha Suresh

In Efficiency & Compression

  1. Medhi Bennis
  2. Jakub Konecný
  3. Oluwasanmi Koyejo
  4. Martin Jaggi
  5. Ananda Theertha Suresh
  6. Qiang Yang
  7. Sebastian U. Stich
  8. Mehryar Mohri

In Privacy & Security

  1. Peter Kairouz
  2. Badih Ghazi
  3. Rasmus Pagh
  4. Qiang Yang
  5. Ziteng Sun
  6. Adrià Gascón
  7. H. Brendan McMahan
  8. Aurélien Bellet

Citations in the corpus