Verifying -Differential Privacy Bit by Bit
arXiv:2611.41787 · doi:10.1007/978-3-032-40374-2_11
Abstract
We propose a symbolic execution method for verifying -differential privacy of randomized programs that use IEEE 754 floating-point arithmetic. In contrast to existing approaches, which reason over the real numbers, our method computes the exact floating-point support of the output distribution and the rational probability mass of each output. Our technique augments the probabilistic symbolic execution framework of arXiv:2209.08046 with bit-precise reasoning about floating-point arithmetic, and encodes the resulting differential privacy obligation as a logical query that can be discharged either by an off-the-shelf SMT solver or by an embarrassingly parallel exhaustive enumeration procedure. We implement our method in a prototype tool, FPlinko, on top of the KLEE symbolic execution engine and the Z3 SMT solver. We evaluate FPlinko on half-precision implementations of the Laplace and snapping mechanisms written in C++. Our tool not only reproduces Mironov's reconstruction attack against the Laplace mechanism but also verifies that the snapping mechanism satisfies -differential privacy. To the best of our knowledge, these are the first formal analyses of -differential privacy for floating-point implementations of the Laplace and snapping mechanisms.
arXiv commentThis preprint has not undergone peer review or any post-submission improvements or corrections. The Version of Record of this contribution is published in the 33rd Static Analysis Symposium, and is available online at https://doi.org/10.1007/978-3-032-40374-2_11
References in corpus (5)
- Diffprivlib: The IBM Differential Privacy Library
- Higher-Order Approximate Relational Refinement Types for Mechanism Design and Differential Privacy
- CheckDP: An Automated and Integrated Approach for Proving Differential Privacy or Finding Precise Counterexamples
- Symbolic Execution for Randomized Programs
- The Hidden Power of Pure 16-bit Floating-Point Neural Networks