Paper 2021/730

Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning

Chenkai Weng, Kang Yang, Xiang Xie, Jonathan Katz, and Xiao Wang

Abstract

Recent progress in interactive zero-knowledge (ZK) proofs has improved the efficiency of proving large-scale computations significantly. Nevertheless, real-life applications (e.g., in the context of private inference using deep neural networks) often involve highly complex computations, and existing ZK protocols lack the expressiveness and scalability to prove results about such computations efficiently. In this paper, we design, develop, and evaluate a ZK system (Mystique) that allows for efficient conversions between arithmetic and Boolean values, between publicly committed and privately authenticated values, and between fixed-point and floating-point numbers. Targeting large-scale neural-network inference, we also present an improved ZK protocol for matrix multiplication that yields a 7× improvement compared to the state-of-the-art. Finally, we incorporate Mystique in Rosetta, a TensorFlow-based privacy-preserving framework. Mystique is able to prove correctness of an inference on a private image using a committed (private) ResNet-101 model in 28 minutes, and can do the same task when the model is public in 5 minutes, with only a 0.02% decrease in accuracy compared to a non-ZK execution when testing on the CIFAR-10 dataset. Our system is the first to support ZK proofs about neural-network models with over 100 layers with virtually no loss of accuracy.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Minor revision. USENIX Security 2021
Keywords
zero-knowledge proofs
Contact author(s)
ckweng @ u northwestern edu
yangk @ sklc org
xiexiang @ matrixelements com
jkatz2 @ gmail com
wangxiao @ cs northwestern edu
History
2021-06-02: received
Short URL
https://ia.cr/2021/730
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2021/730,
      author = {Chenkai Weng and Kang Yang and Xiang Xie and Jonathan Katz and Xiao Wang},
      title = {Mystique: Efficient Conversions for Zero-Knowledge Proofs with Applications to Machine Learning},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/730},
      year = {2021},
      url = {https://eprint.iacr.org/2021/730}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.