pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testing

Jiasi Weng, Jian Weng, Gui Tang, Anjia Yang, Ming Li +1 more
1/23/2022
cs.CRcs.LG

Official code: muclover/pvCNN (17 stars, C++, last commit 2023-10-23).

Abstract

This paper proposes a new approach for privacy-preserving and verifiable convolutional neural network (CNN) testing, enabling a CNN model developer to convince a user of the truthful CNN performance over non-public data from multiple testers, while respecting model privacy. To balance the security and efficiency issues, three new efforts are done by appropriately integrating homomorphic encryption (HE) and zero-knowledge succinct non-interactive argument of knowledge (zk-SNARK) primitives with the CNN testing.

Show full abstract

First, a CNN model to be tested is strategically partitioned into a private part kept locally by the model developer, and a public part outsourced to an outside server. Then, the private part runs over HE-protected test data sent by a tester and transmits its outputs to the public part for accomplishing subsequent computations of the CNN testing. Second, the correctness of the above CNN testing is enforced by generating zk-SNARK based proofs, with an emphasis on optimizing proving overhead for two-dimensional (2-D) convolution operations, since the operations dominate the performance bottleneck during generating proofs. We specifically present a new quadratic matrix programs (QMPs)-based arithmetic circuit with a single multiplication gate for expressing 2-D convolution operations between multiple filters and inputs in a batch manner. Third, we aggregate multiple proofs with respect to a same CNN model but different testers' test data (i.e., different statements) into one proof, and ensure that the validity of the aggregated proof implies the validity of the original multiple proofs. Lastly, our experimental results demonstrate that our QMPs-based zk-SNARK performs nearly 13.9$\times$faster than the existing QAPs-based zk-SNARK in proving time, and 17.6$\times$faster in Setup time, for high-dimension matrix multiplication.

View on arXivView PDF

Code Implementations(1)

muclover/pvCNNOfficial100%

该项目实现了隐私保护和可验证的卷积神经网络(CNN)测试,旨在使模型开发者能够在多个测试者提供的非公开数据上向用户证明CNN性能的真实性,同时保护模型和数据的隐私。

175C++, AssemblyOct 7, 20223 years ago

Similar Papers

Cite this paper

@article{weng2022pvcnn,
  title  = {pvCNN: Privacy-Preserving and Verifiable Convolutional Neural Network Testing},
  author = {Jiasi Weng and Jian Weng and Gui Tang and Anjia Yang and Ming Li and Jia-Nan Liu},
  year   = {2022},
  eprint = {2201.09186},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.09186}
}

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/2201.09186.svg)](https://codeofpaper.com/paper/2201.09186)

Discussion