arXiv:2611.41787 · v1
Verifying $\varepsilon$-Differential Privacy Bit by Bit
摘要
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.
作者备注:This 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