Open AHabes opened 3 years ago
Thanks for trying it out!
transformer_zoo.Composition
uses RDP for composition by default.
At the moment, our partial support of fDP does not allow generic conversion of fDP to RDP yet. That is the reason you got that error. Similarly privacy amplification by sampling using fDP is not implemented yet either.
More fDP support will be added in the next version.
For your application, it seems that the best choice supported by autodp would be to use ExactGaussianMechanism
, AmplificationBySampling
and Composition
.
If you do not have amplification though, you could get away with using transformer_zoo.ComposeGaussian
Computing the
get_fDP(delta)
for a gaussian mechanism with pure Fdp works fine, but trying to compose the pure-fdp gaussian mechanism for several rounds, the functionget_approxDP(delta)
always returnsinf
as the result of composition.Fdp seems not to work under
Composition
orAmplificationBySampling