Proving Differential Privacy with Shadow Execution

Yuxin Wang, Zeyu Ding, Guanhong Wang, Daniel Kifer, Danfeng Zhang
3/28/2019
cs.PL

Official code: cmla-psu/shadowdp (8 stars, Python, MIT, last commit 2023-02-20).

Abstract

Recent work on formal verification of differential privacy shows a trend toward usability and expressiveness -- generating a correctness proof of sophisticated algorithm while minimizing the annotation burden on programmers. Sometimes, combining those two requires substantial changes to program logics: one recent paper is able to verify Report Noisy Max automatically, but it involves a complex verification system using customized program logics and verifiers.

Show full abstract

In this paper, we propose a new proof technique, called shadow execution, and embed it into a language called ShadowDP. ShadowDP uses shadow execution to generate proofs of differential privacy with very few programmer annotations and without relying on customized logics and verifiers. In addition to verifying Report Noisy Max, we show that it can verify a new variant of Sparse Vector that reports the gap between some noisy query answers and the noisy threshold. Moreover, ShadowDP reduces the complexity of verification: for all of the algorithms we have evaluated, type checking and verification in total takes at most 3 seconds, while prior work takes minutes on the same algorithms.

View on arXivView PDF

Code Implementations(1)

cmla-psu/shadowdpOfficial100%
MIT

Proof-of-Concept Verification Tool for Differential Privacy. Code for [PLDI'19] "Proving Differential Privacy with Shadow Execution".

80Python, ShellNov 16, 20183 years agoMIT

Similar Papers

Cite this paper

@article{wang2019proving,
  title  = {Proving Differential Privacy with Shadow Execution},
  author = {Yuxin Wang and Zeyu Ding and Guanhong Wang and Daniel Kifer and Danfeng Zhang},
  year   = {2019},
  eprint = {1903.12254},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12254}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.12254.svg)](https://codeofpaper.com/paper/1903.12254)

Discussion