PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Showcase privacy-preserving weighted aggregation

Open theAkhileshRai opened this issue 6 years ago • 8 comments

Idea

We propose an extension of secure aggregation which is blind weighted secure aggregation. n parties contributing their data might have unbalanced datasets, so we want to weight their contributions so data parties with datasets not appropriate for this model task will have a lower impact. So we should find the best weights for each party. However, we want these weights to be private as well, to avoid any party to become the scapegoat.

Proposition of roadmap

  • Build a classic FL with aggregation task on MNIST where dataset are unbalanced (some only have certain classes etc) (you can use existing tutorials, but use virtual workers it will be simpler)
  • Upgrade this with secure aggregation with the following SMPC technique: parties mask their contribution and the sum of all masks should sum up to 0. You do seed exchange between worker i and i - 1, worker i computes update + mask_i - mask_(i-1) and send this masked update to a central aggregator where all the masks for the n parties sum up to zero.
  • Upgrade to weighted secure aggregation with public weighed that you optimize at each aggregation using validation dataset owned by the aggregation (simple SGD should be fine)
  • make those weights private (I can say more about this when we're there!)

theAkhileshRai avatar Aug 17 '20 13:08 theAkhileshRai

This issue is a reopned version of https://github.com/OpenMined/PySyft/issues/3469 checked with @LaRiffle before opening it. :)

theAkhileshRai avatar Aug 17 '20 13:08 theAkhileshRai

Another subtask of this epic to wrap this SMPC in a class @LaRiffle @gmuraru

theAkhileshRai avatar Sep 05 '20 10:09 theAkhileshRai

Working on this issue

theAkhileshRai avatar Sep 27 '20 18:09 theAkhileshRai

This issue has been marked stale because it has been open 30 days with no activity. Leave a comment or remove the stale label to unmark it. Otherwise, this will be closed in 7 days.

github-actions[bot] avatar Nov 13 '20 00:11 github-actions[bot]

This issue has been marked stale because it has been open 30 days with no activity. Leave a comment or remove the stale label to unmark it. Otherwise, this will be closed in 7 days.

github-actions[bot] avatar Dec 14 '20 00:12 github-actions[bot]

working

theAkhileshRai avatar Dec 14 '20 12:12 theAkhileshRai

@theAkhileshRai is this issue still open?

madhavajay avatar Feb 18 '21 07:02 madhavajay

closed

theAkhileshRai avatar Mar 01 '21 10:03 theAkhileshRai