Skip to main navigation Skip to search Skip to main content

ZkCNN: Zero Knowledge Proofs for Convolutional Neural Network Predictions and Accuracy

  • Texas A&M University
  • Shanghai Key Laboratory of Privacy-Preserving Computation

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Deep learning techniques with neural networks are developing prominently in recent years and have been deployed in numerous applications. Despite their great success, in many scenarios it is important for the users to validate that the inferences are truly computed by legitimate neural networks with high accuracy, which is referred to as the integrity of machine learning predictions. To address this issue, in this paper, we propose zkCNN, a zero knowledge proof scheme for convolutional neural networks (CNN). The scheme allows the owner of the CNN model to prove to others that the prediction of a data sample is indeed calculated by the model, without leaking any information about the model itself. Our scheme can also be generalized to prove the accuracy of a secret CNN model on a public dataset. Underlying zkCNN is a new sumcheck protocol for proving fast Fourier transforms and convolutions with a linear prover time, which is even faster than computing the result asymptotically. We also introduce several improvements and generalizations on the interactive proofs for CNN predictions, including verifying the convolutional layer, the activation function of ReLU and the max pooling. Our scheme is highly efficient in practice. It can support the large CNN of VGG16 with 15 million parameters and 16 layers. It only takes 88.3 seconds to generate the proof, which is 1264× faster than existing schemes. The proof size is 341 kilobytes, and the verifier time is only 59.3 milliseconds. Our scheme can further scale to prove the accuracy of the same CNN on 20 images.

Original languageEnglish
Title of host publicationCCS 2021 - Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security
PublisherAssociation for Computing Machinery
Pages2968-2985
Number of pages18
ISBN (Electronic)9781450384544
DOIs
StatePublished - 13 Nov 2021
Externally publishedYes
Event27th ACM Annual Conference on Computer and Communication Security, CCS 2021 - Virtual, Online, Korea, Republic of
Duration: 15 Nov 2021 → 19 Nov 2021

Publication series

NameProceedings of the ACM Conference on Computer and Communications Security
ISSN (Print)1543-7221

Conference

Conference27th ACM Annual Conference on Computer and Communication Security, CCS 2021
Country/TerritoryKorea, Republic of
CityVirtual, Online
Period15/11/21 → 19/11/21

Keywords

  • convolutional neural networks
  • machine learning
  • zero knowledge proofs

Fingerprint

Dive into the research topics of 'ZkCNN: Zero Knowledge Proofs for Convolutional Neural Network Predictions and Accuracy'. Together they form a unique fingerprint.

Cite this