-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: ZK-friendly ML model explorations #16
Comments
@socathie Would you kindly review this proposal |
@saeyoon17 Thank you for your proposal. Your previous work on torch2circom shows that you are a good fit for this project. However, I'm worried that the Iris dataset is too low-dimensional (only 4 features) for the comparison/benchmarking to be meaningful. Hence, may I suggest some possible modifications:
On the other hand, the deliverables will need to be more well-defined and details. Here is an example I had from when I did the grant on circomlib-ml and ZKaggle:
Of course, given the scope of your proposal, your deliverables will be very different. This is just to give an idea of the level of detail we want. Let me know if you have any questions! |
@socathie Thanks! I will make sure to revise the proposal soon. :) |
@socathie Hi Cathie! I edited the proposal. Could you kindly take a look at it? |
Looks good content wise, I'll follow up with FTE/Cost internally. Will keep you update |
@saeyoon17 |
This looks good to me! |
General Grant Proposal
Project Overview 📄
Overview
This task explores different zk-applicable machine learning techniques and compare them.
Project Details
Throughout the project, we explore different zk-applicable machine learning algorithms that can perform the Heart Failure Prediction Dataset.
Specifically, we target to explore
I plan to compare the folloings:
Team 👥
Team members
Team Website
Team's experience
Team Code Repos
Development Roadmap 🔩
Overview
Milestone 1️⃣: Training/Proof generation using Neural Network
Deliverables and Specifications
0a. Source code / Documentation - We plan to provide the source code and the documentations of how one can train a neural network, using the heart failure dataset and make heart failure prediction with it. The code should also contain evaluation pipeline where one can check the model accuracy. Also, it would allow one to prove that the prediction was made using the correct circuit.
Milestone 2️⃣: Training/Proof generation using Linear Regression
Deliverables and Specifications
0a. Source code / Documentation - We plan to provide the source code and the documentations of how one can make classification using linear regression using given dataset, and make heart failure prediction with it. The code should also contain evaluation pipeline where one can check the model accuracy. Also, it would allow one to prove that the prediction was made using the correct circuit.
Milestone 3️⃣: Training/Proof generation using Decision Tree
Deliverables and Specifications
0a. Source code / Documentation - We plan to provide the source code and the documentations of how one can make classification using decision tree using given dataset, and make heart failure prediction with it. The code should also contain evaluation pipeline where one can check the model accuracy. Also, it would allow one to prove that the prediction was made using the correct circuit.
Milestone 4️⃣: Training/Proof generation using kNN / Final report
Deliverables and Specifications
0a. Source code / Documentation - We plan to provide the source code and the documentations of how one can make classification using kNN using given dataset, and make heart failure prediction with it. The code should also contain evaluation pipeline where one can check the model accuracy. Also, it would allow one to prove that the prediction was made using the correct circuit.
0b. Final report - We plan to write down the final reports on observed models, where we compare the followings:
Additional Information ➕
Plans on converting models to ZK circuits
I am planning to first construct each model using pytorch and try EZKL. Yet if the operations are unimplemented, I am planning to look for other conversion methods, or construct circom circuit on my own.
Relevant works
The text was updated successfully, but these errors were encountered: