HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jasonmorton

no profile record

Submissions

Show HN: Turn ML/AI models into zero-knowledge proofs

github.com
4 points·by jasonmorton·3년 전·1 comments

comments

jasonmorton
·작년·discuss
This lets you verify the signature on the model. It won’t help you tell that a decision came from that model. If you want to verify the inference that a model makes, check out https://github.com/zkonduit/ezkl (our project).
jasonmorton
·2년 전·discuss
You can ZK an XGBoost or neural net with https://github.com/zkonduit/ezkl
jasonmorton
·3년 전·discuss
Here is the twitter thread providing an introduction and some background: https://twitter.com/ezklxyz/status/1712940546182774936
jasonmorton
·3년 전·discuss
> Checking the work takes the same resources as doing the work. > As much as this would be wonderful in a universe where it's possible, it's simply not possible.

We do live in that universe, under some currently believed assumptions. An NP-complete problem is an example of something where checking a solution is (thought to be) easier than finding one.

Zero-knowledge proofs make it such that checking that a computation (such as inference) has been done correctly is easier than doing the computation (even keeping some parts private). A great reference is here: https://people.cs.georgetown.edu/jthaler/ProofsArgsAndZK.pdf
jasonmorton
·3년 전·discuss
One can cryptographically prove the correct inference of a small AI model now with https://github.com/zkonduit/ezkl (our open-source package).
jasonmorton
·3년 전·discuss
Our project proves AI model execution with cryptography, but without any trusted hardware (using zero-knowledge proofs): https://github.com/zkonduit/ezkl
jasonmorton
·4년 전·discuss
There are definitely certain scenarios, especially around verifiable compute, in which you can think of ZK as a software alternative to a secure enclave.

Interestingly, if you ask people which they would trust for a rollup, most say ZK is the more trustworthy technology. In part just because it doesn't depend on one vendor (the enclave manufacturer).
jasonmorton
·4년 전·discuss
Here are two good places to start:

http://learn.0xparc.org/

https://www.youtube.com/playlist?list=PLj80z0cJm8QErn3akRcqv...
jasonmorton
·4년 전·discuss
Examples include the various zkEVM projects, risc0, and slightly more limited stuff like our effort to compile PyTorch/ONNX to a zk circuit (https://github.com/zkonduit/ezkl).

Speed and memory usage is improving quickly.