tensorflow / tensorflow/privacy

compute_dp_sgd_privacy_lib.py relies on deprecated rdp_accountant.py

Open
#229 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
477
Avg merge
22h 12m
Merged PRs (30d)
1

Description

Estimating the privacy budget currently doesn't work. The library1 relies on a deprecated rdp_accountant2. Specifically, 3 is missing from the new API.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tensorflow_privacy/privacy/analysis/compute_dp_sgd_privacy_lib.py and compare its rdp_accountant import and usage with tensorflow_privacy/privacy/analysis/rdp_accountant.py, especially the API around line 205. Confirm what replaced the missing API in the new accountant, then verify that privacy-budget estimation works again.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.