Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local DP Modifier #2959

Merged
merged 182 commits into from
Mar 8, 2024
Merged

Local DP Modifier #2959

merged 182 commits into from
Mar 8, 2024

Conversation

mohammadnaseri
Copy link
Contributor

@mohammadnaseri mohammadnaseri commented Feb 15, 2024

Issue

Description

Local DP, where each client is responsible to perform DP on its model parameters before sending them to the server.

Related issues/PRs

Merge after #2909

Proposal

Explanation

A new modifier class LocalDpMod is implemented where the user can create an instance of the class and pass DP hyperparameters. It performs clipping on the client's model updates, and then adds noise to the model parameters.

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Update the changelog entry below
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Changelog entry

Any other comments?

panh99
panh99 previously approved these changes Mar 6, 2024
src/py/flwr/client/mod/localdp_mod.py Outdated Show resolved Hide resolved
src/py/flwr/client/mod/localdp_mod.py Outdated Show resolved Hide resolved
src/py/flwr/client/mod/localdp_mod.py Outdated Show resolved Hide resolved
doc/source/how-to-use-differential-privacy.rst Outdated Show resolved Hide resolved
doc/source/how-to-use-differential-privacy.rst Outdated Show resolved Hide resolved
doc/source/how-to-use-differential-privacy.rst Outdated Show resolved Hide resolved
doc/source/how-to-use-differential-privacy.rst Outdated Show resolved Hide resolved
doc/source/how-to-use-differential-privacy.rst Outdated Show resolved Hide resolved
src/py/flwr/client/mod/localdp_mod.py Outdated Show resolved Hide resolved
mohammadnaseri and others added 5 commits March 8, 2024 09:46
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
@danieljanes danieljanes enabled auto-merge (squash) March 8, 2024 10:48
@danieljanes danieljanes merged commit 98a5dc0 into main Mar 8, 2024
28 checks passed
@danieljanes danieljanes deleted the local-dp-mod branch March 8, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants