Deciding Differential Privacy for Programs with Finite Inputs and Outputs
Gilles Barthe, Rohit Chadha, Vishal Jagannath, A. Prasad Sistla, Mahesh Viswanathan
Abstract
Differential privacy is a de facto standard for statistical computations over databases that contain private data. Its main and rather surprising strength is to guarantee individual privacy and yet allow for accurate statistical results. Thanks to its mathematical definition, differential privacy is also a natural target for formal analysis. A broad line of work develops and uses logical methods for proving privacy. A more recent and complementary line of work uses statistical methods for finding privacy violations. Although both lines of work are practically successful, they elide the fundamental question of decidability.
This paper studies the decidability of differential privacy. We first establish that checking differential privacy is undecidable even if one restricts to programs having a single Boolean input and a single Boolean output. Then, we define a non-trivial class of programs and provide a decision procedure for checking the differential privacy of a program in this class. Our procedure takes as input a program P parametrized by a privacy budget ǫ and either establishes the differential privacy for all possible values of ǫ or generates a counter-example. In addition, our procedure works for both to ǫ-differential privacy and (ǫ, δ)-differential privacy. Technically, the decision procedure is based on a novel and judicious encoding of the semantics of programs in our class into a decidable fragment of the first-order theory of the reals with exponentiation. We implement our procedure and use it for (dis)proving privacy bounds for many well-known examples, including randomized response, histogram, report noisy max and sparse vector.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a3575880-9086-4ff5-a2e8-020c4404ee01Cited by top-tier papers13
- CheckDP: An Automated and Integrated Approach for Proving Differential Privacy or Finding Precise CounterexamplesYuxin Wang, Zeyu Ding, Daniel Kifer, Danfeng ZhangCCS 2020 · 31 citations
- Statistical Quantification of Differential Privacy: A Local ApproachÖnder Askin, Tim Kutta, Holger DetteS&P 2022 · 19 citations
- Group and Attack: Auditing Differential PrivacyJohan Lokna, Anouk Paradis, Dimitar I. Dimitrov, Martin T. VechevCCS 2023 · 10 citations
- Deciding accuracy of differential privacy schemesGilles Barthe, Rohit Chadha, Paul Krogmeier, A. Prasad Sistla et al.POPL 2021 · 10 citations
- DPGen: Automated Program Synthesis for Differential PrivacyYuxin Wang, Zeyu Ding, Yingtai Xiao, Daniel Kifer et al.CCS 2021 · 10 citations
Builds on3
- Detecting Violations of Differential PrivacyZeyu Ding, Yuxin Wang, Guanhong Wang, Danfeng Zhang et al.CCS 2018 · 156 citations
- DP-Finder: Finding Differential Privacy Violations by Sampling and OptimizationBenjamin Bichsel, Timon Gehr, Dana Drachsler-Cohen, Petar Tsankov et al.CCS 2018 · 82 citations
- Advanced Probabilistic Couplings for Differential PrivacyGilles Barthe, Noémie Fong, Marco Gaboardi, Benjamin Grégoire et al.CCS 2016 · 67 citations
Related papers
- On Linear Time Decidability of Differential Privacy for Programs with Unbounded InputsRohit Chadha, A. Prasad Sistla, Mahesh ViswanathanLICS 2021 · 4 citations
- Approximate Algorithms for Verifying Differential Privacy with Gaussian DistributionsBishnu Bhusal, Rohit Chadha, A. Prasad Sistla, Mahesh ViswanathanCCS 2025
- Interactive Proofs For Differentially Private CountingAri Biswas, Graham CormodeCCS 2023 · 10 citations
- Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation LogicPhilipp G. Haselwarter, Alejandro Aguirre, Simon Oddershede Gregersen, Kwing Hei Li et al.PLDI 2026
- Learning Differentially Private MechanismsSubhajit Roy, Justin Hsu, Aws AlbarghouthiS&P 2021 · 20 citations
