SyMPC icon indicating copy to clipboard operation
SyMPC copied to clipboard

train a neural network on encrypted values using MPC

Open adityapribadi3 opened this issue 4 years ago • 6 comments

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.

adityapribadi3 avatar Oct 08 '21 09:10 adityapribadi3

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

letv3 avatar Oct 12 '21 18:10 letv3

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

yeungbo avatar Jan 14 '22 06:01 yeungbo

yes that's right

adityapribadi3 avatar Jan 14 '22 08:01 adityapribadi3

So, does this issue have any solution idea?

yeungbo avatar Jan 17 '22 06:01 yeungbo

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

rasswanth-s avatar Jan 17 '22 06:01 rasswanth-s

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 :)

yeungbo avatar Jan 20 '22 06:01 yeungbo