\(\epsilon' = \log(1 + q(e^\epsilon - 1))\), which for small epsilon is close to \(q\epsilon\) – running a mechanism on a q-fraction of the data buys roughly a factor q of privacy.
Details
The amplification is real only for a SECRET, freshly drawn subsample. If the sample is fixed, published, or inferable, there is no amplification at all and the claimed epsilon is simply wrong.
References
Balle, B., Barthe, G. and Gaboardi, M. (2018). Privacy amplification by subsampling. NeurIPS, 6277-6287.
Examples
round(morie_privacy_amplification(1, 0.01)$epsilon_amplified, 5)
#> [1] 0.01704
