Pysyft: Benchmark Normal Training vs SMPC Training

Created on 13 Aug 2020  路  7Comments  路  Source: OpenMined/PySyft

What?

Benchmark on how long it takes to train a model using SMPC vs Normal training setup.

As the model we can use a simple convolutional network and as the dataset, we can use MNIST.
A good starting point can be the tutorials.

The final output should be a graph or graphs (png images) where:

  • X-axis - the used precision for the FPT
  • Y-axis - the time to compute the operation

We can have multiple lines, each one representing an approximation method.

Normal training time vs SMPC training time + difference in accuracy

See the Epic to check for more details.

0.2.x Type

Most helpful comment

@gmuraru I'll take this up. I assume @kamathhrishi is not working on it anymore...

All 7 comments

I would like to take this up. So the results should be in a notebook right ?

I was thinking that we can have the training in the notebook and an image (or more) directly into the benchmark folder such that we might access it in an easy way.

@kamathhrishi how is the progress with this?

Going to take a while before I complete it. I will like to complete it, but if someone else is interested to do it before me please go ahead.

@gmuraru I'll take this up. I assume @kamathhrishi is not working on it anymore...

@arturomf94 Go ahead :)

Hello! Just letting you know that we are no longer planning on supporting anything on the 0.2.x product line and that all work should be ported over to 0.3.x, which is considered a complete rebuild of PySyft. Because of that, I'll be closing this issue. If you feel this is a mistake, or if the issue actually applies to 0.3.x as well, please feel free to ping me on Slack and I'll reopen the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gmuraru picture gmuraru  路  4Comments

LaRiffle picture LaRiffle  路  3Comments

mgale694 picture mgale694  路  3Comments

MetaT1an picture MetaT1an  路  3Comments

swaroopch picture swaroopch  路  4Comments