tf_privacy.compute_rdp_tree_restart
Stay organized with collections
Save and categorize content based on your preferences.
Computes RDP of the Tree Aggregation Protocol for Gaussian Mechanism.
tf_privacy.compute_rdp_tree_restart(
noise_multiplier: float,
steps_list: Union[int, Collection[int]],
orders: Union[float, Collection[float]]
) -> Union[float, Collection[float]]
This function implements the accounting when the tree is restarted at every
epoch. See appendix D of
"Practical and Private (Deep) Learning without Sampling or Shuffling"
https://arxiv.org/abs/2103.00039
Args |
noise_multiplier
|
A non-negative float representing the ratio of the
standard deviation of the Gaussian noise to the l2-sensitivity of a single
contribution (a leaf node), which is usually set in
TreeCumulativeSumQuery and TreeResidualSumQuery from
dp_query.tree_aggregation_query .
|
steps_list
|
A scalar or a list of non-negative intergers representing the
number of steps per epoch (between two restarts).
|
orders
|
An array (or a scalar) of RDP orders.
|
Returns |
The RDPs at all orders. Can be np.inf .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-16 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-02-16 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-16 UTC."],[],[]]