Are We There Yet? Timing and Floating-Point Attacks on Differential Privacy Systems
Not on the map. Why?
Abstract (arXiv)
Differential privacy is a de facto privacy framework that has seen adoption in practice via a number of mature software platforms. Implementation of differentially private (DP) mechanisms has to be done carefully to ensure end-to-end security guarantees. In this paper we study two implementation flaws in the noise generation commonly used in DP systems. First we examine the Gaussian mechanism's susceptibility to a floating-point representation attack. The premise of this first vulnerability is similar to the one carried out by Mironov in 2011 against the Laplace mechanism. Our experiments show attack's success against DP algorithms, including deep learning models trained using differentially-private stochastic gradient descent. In the second part of the paper we study discrete counterparts of the Laplace and Gaussian mechanisms that were previously proposed to alleviate the shortcomings of floating-point representation of real numbers. We show that such implementations unfortunately suffer from another side channel: a novel timing attack. An observer that can measure the time to draw (discrete) Laplace or Gaussian noise can predict the noise magnitude, which can then be used to recover sensitive attributes. This attack invalidates differential privacy guarantees of systems implementing such mechanisms. We demonstrate that several commonly used, state-of-the-art implementations of differential privacy are susceptible to these attacks. We report success rates up to 92.56% for floating-point attacks on DP-SGD, and up to 99.65% for end-to-end timing attacks on private sum protected with discrete Laplace. Finally, we evaluate and suggest partial mitigations.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Dec 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 2; 2023: 1; 2024: 0; 2025: 2; 2026: 3.
8 papers.
- 2022Conflicting Interactions Among Protection Mechanisms for Machine Learning Modelscited by 12
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attackscited by 6
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Securitycited by 4
- 2022Sound Randomized Smoothing in Floating-Point Arithmeticscited by 2
- 2025Deceptive Sequential Decision-Making via Regularized Policy Optimizationcited by 1
- 2026Device-Native Autonomous Agents for Privacy-Preserving Negotiationscited by 1
- 2026SoK: Enhancing Cryptographic Collaborative Learning with Differential Privacycited by 0
- 2026Dithered Gaussian Mechanism for Randomness-Efficient Differential Privacycited by 0
- 2026Dithered Gaussian Mechanism for Randomness-Efficient Differential Privacy7 Jul 2026
- 2026SoK: Enhancing Cryptographic Collaborative Learning with Differential Privacy14 Jan 2026
- 2026Device-Native Autonomous Agents for Privacy-Preserving Negotiations1 Jan 2026
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Security16 Jun 2025
- 2025Deceptive Sequential Decision-Making via Regularized Policy Optimization30 Jan 2025
- 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attacks24 Jun 2023
- 2022Sound Randomized Smoothing in Floating-Point Arithmetics14 Jul 2022
- 2022Conflicting Interactions Among Protection Mechanisms for Machine Learning Models5 Jul 2022