facebookresearch/FLSim

Example of user-level DP?

AlphaPav opened this issue · 1 comments

Dear FLSim team,

Thanks for the great library! I went through the available tutorials in the readme, but I didn't find how to implement the user-level differentially private federated learning (e.g., Learning Differentially Private Recurrent Language Models https://arxiv.org/abs/1710.06963)

I observed that the user-level DP feature had been included in the library https://github.com/facebookresearch/FLSim/blob/main/flsim/privacy/user_update_clip.py and I am wondering if you have the example/script for running it.

Thanks!

Thanks for this suggestion! The library allows code to achieve user-level DP by calibrating the clipping and noise to the maximum contribution of a single user. We can aim to make examples to show this in future.