Skip to content
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

train a neural network on encrypted values using MPC #313

Open
adityapribadi3 opened this issue Oct 8, 2021 · 6 comments
Open

train a neural network on encrypted values using MPC #313

adityapribadi3 opened this issue Oct 8, 2021 · 6 comments

Comments

@adityapribadi3
Copy link

Question

is it possible to train a neural network on encrypted values using Secure Multi-Party Computation and Autograd?

Further Information

I found a blog from pysyft that can perform encrypted train in MNIST Model using MPC, I'm a bit confuse how to use SyMPC in pysyft 0.5 to perform the similar task. The blog can be found here https://blog.openmined.org/encrypted-deep-learning-classification-with-pysyft/

if there any example or any tutorial how to run similarly using SyMPC?

Screenshots

If applicable, add screenshots to help explain your question.

System Information

  • OS: MAC OS

Additional Context

Add any other context about the problem here.

@letv3
Copy link

letv3 commented Oct 12, 2021

Hi all, SMPC topic seems very exiting topic to me, I would be glad to get some update on this old tutorial SyMPC on MNIST as well. Cheers :). But actually I can work on updating this tutorial using up-to-date examples in main SyMPC repo https://github.com/OpenMined/SyMPC/tree/main/examples

@yeungbo
Copy link

yeungbo commented Jan 14, 2022

As the example code shows, I think it is Plaintext Training and encrypted prediction, NOT train a neural network on encrypted values, right?

@adityapribadi3
Copy link
Author

yes that's right

@yeungbo
Copy link

yeungbo commented Jan 17, 2022

So, does this issue have any solution idea?

@rasswanth-s
Copy link
Contributor

rasswanth-s commented Jan 17, 2022

The secure training notebook example is being worked, @kamathhrishi ping.
We have notebook examples for secure inference https://github.com/OpenMined/SyMPC/tree/main/examples as of now

@yeungbo
Copy link

yeungbo commented Jan 20, 2022

The secure training notebook example is being worked, @kamathhrishi ping. We have notebook examples for secure inference https://github.com/OpenMined/SyMPC/tree/main/examples as of now

Thank you Rasswanth, the secure inference does work, but why not secure train? I think the issue here is for the later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants