Git Product home page Git Product logo

zen's People

Contributors

brucechin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zen's Issues

Can ZEN support batch verification or encrypted neural network?

Hi, I have successfully run your tutorial codes. And I have two questions about ZEN.

  1. Can ZEN support batch verification?
    For example, a user wants to do several predictions on many test sets. In your tutorial code, it takes a test set one time and verify the proof. I am wondering whether your ZEN can verify many predictions in a batch, which is more efficient.

  2. Can ZEN support encrypted neural network?
    I find that the prover knows the model weights when generates proof. If a user (verifier) wants to protect the privacy of its model, it sends encrypted model and encrypted test data to a server (prover). The server computes and sends back the encrypted prediction result. The server also need to prove that it computes correctly.
    In this situation, the model weights, the input and output are all encrypted. I am confused whether zkSNARK or your ZEN still works in this situation.

Looking forward to your reply. Thanks!

tutorial_shallownet_prover.rs has an error

Hi,
I'm a student who wants to use zksnark to verify the correctness of neural network's computation. And I'm trying to run your tutorial code on windows 10 64-bit.
I have installed rust 1.47.0 and python 3.8.5, and the python files Mnist_end_to_end.py and Mnist_end_to_end_quant.py work well. But I got the following error when running tutorial_shallownet_prover.rs.
I guess it's an overflow error in the following line but have no idea how to fix it.
image

image

image

Besides, I find that you have updated the code, but the document files are not updates. In your latest version, I cannot find tutorial_shallownet_prover.rs.
Looking forward to your reply! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.