Verifying -Differential Privacy Bit by Bit
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.
Create a lesson
Metadata
- Categories
- cs.PL, cs.CR
- Comments
- 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
Related papers
SALTyRN: An End-to-End Tool for Verified and Optimized Neon-to-RVV Kernel Translation
Shared title terminologycs.PLKeagan Chern, Charles Hong, Yakun Sophia Shao et al.
ConstraintFlow: Specifying, Verifying, and Executing DNN Certifiers
Shared title terminologycs.PLAvaljot Singh, Yasmin Chandini Sarita, Qiuhan Gu et al.
Teal: Verifiable Kernel Compilation through Instruction-Centric Lifting
Shared title terminologycs.PLShriram Chandran, Alexandru Calotoiu, Marcin Copik et al.
From Sequential to Dataflow: Formally-verified Compilation for Concurrent and Distributed Architectures
Shared title terminologycs.PLSebastian Ertel, Mohamed Elsheikh, Carmine Abate
Verifying Type Soundness for Nontransitive Information Flow Security
Shared title terminologycs.PLChenyi Zhang
SafeJIT: A Speculating JIT Engine Verified Down to the Machine Code
Shared title terminologycs.PLGabriel Ebner