Data-Security-Research-Lab / CNN-prediction-ZKP-scheme

The code corresponds to the paper “Validating the integrity of Convolutional Neural Network predictions based on Zero-Knowledge Proof“

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CNN-prediction-ZKP-scheme

The code corresponds to the paper “Validating the integrity of Convolutional Neural Network predictions based on Zero-Knowledge Proof“

Overview

  • This library implements a zero-knowledge scheme for proving/verifying the integrity of CNN predictions.

Build instructions

  1. Please follow libsnark's instructions to build a zero-knowledge proof runtime environment and install the required core libraries. https://github.com/scipr-lab/libsnark
  2. The src folder contains the example CNN model prediction integrity circuit we designed.
  3. The sample code for extracting the computational information of the CNN model prediction process is shown in File Model_Extract.py .

About

The code corresponds to the paper “Validating the integrity of Convolutional Neural Network predictions based on Zero-Knowledge Proof“


Languages

Language:C++ 73.0%Language:Makefile 11.6%Language:Assembly 5.2%Language:Python 4.8%Language:CMake 2.9%Language:C 1.3%Language:Shell 0.5%Language:M4 0.3%Language:Starlark 0.2%Language:Batchfile 0.1%Language:SWIG 0.1%Language:Java 0.1%Language:Brainfuck 0.0%Language:Gnuplot 0.0%Language:Tcl 0.0%Language:Dockerfile 0.0%