Search arXiv⌕ Search

arXiv subjects

Zachary Susag

Publications and source records attributed to Zachary Susag.

2 recordsLinked to original sources

Verifying $\varepsilon$-Differential Privacy Bit by Bit

We propose a symbolic execution method for verifying $\varepsilon$-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 $\varepsilon$-differential privacy. To the best of our knowledge, these are the first formal analyses of $\varepsilon$-differential privacy for floating-point implementations of the Laplace and snapping mechanisms.

cs.PL↗

Symbolic Execution for Randomized Programs

We propose a symbolic execution method for programs that can draw random samples. In contrast to existing work, our method can verify randomized programs with unknown inputs and can prove probabilistic properties that universally quantify over all possible inputs. Our technique augments standard symbolic execution with a new class of \emph{probabilistic symbolic variables}, which represent the results of random draws, and computes symbolic expressions representing the probability of taking individual paths. We implement our method on top of the \textsc{KLEE} symbolic execution engine alongside multiple optimizations and use it to prove properties about probabilities and expected values for a range of challenging case studies written in C++, including Freivalds' algorithm, randomized quicksort, and a randomized property-testing algorithm for monotonicity. We evaluate our method against \textsc{Psi}, an exact probabilistic symbolic inference engine, and \textsc{Storm}, a probabilistic model checker, and show that our method significantly outperforms both tools.

cs.PL↗