Showcase privacy-preserving weighted aggregation
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!)
This issue is a reopned version of https://github.com/OpenMined/PySyft/issues/3469 checked with @LaRiffle before opening it. :)
Another subtask of this epic to wrap this SMPC in a class @LaRiffle @gmuraru
Working on this issue
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.
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.
working
@theAkhileshRai is this issue still open?
closed