You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I keep track of the privacy spent by each client in every round and the total privacy spend by each client at the end of training? I would appreciate a code example.
The text was updated successfully, but these errors were encountered:
@galenmandrew might you be able to provide some guidance here?
IIRC, the state object is keeping a ledger throughout training. Passing is to an API tensorflow_privacy (https://github.com/tensorflow/privacy) may allow computing the final accounting?
Performing privacy accounting in sync with training is not yet implemented, but since you have a constant noise_multiplier and clients_per_round you can easily compute the privacy spent at each round using the methods in tensorflow_privacy/privacy/accounting. For a code example, see the tensorflow_privacy tutorial here.
Note that while you asked for "privacy spent by each client", what the tensorflow_privacy code computes is the total privacy, or the worst case privacy over clients. It is not possible to compute the actual privacy spent by each client because the set of clients that participate in each round is private!
Hi, I am running the mnist example using the following code ?
How do I keep track of the privacy spent by each client in every round and the total privacy spend by each client at the end of training? I would appreciate a code example.
The text was updated successfully, but these errors were encountered: