In this paper, we develop compositional methods for formally verifying differential privacy for algorithms whose analysis goes beyond the composition theorem. Our methods are based on the observation that differential privacy has deep connections with a generalization of probabilistic couplings, an established mathematical tool for reasoning about stochastic processes. Even when the composition theorem is not helpful, we can often prove privacy by a coupling argument. We demonstrate our methods on two algorithms: the Exponential mechanism and the Above Threshold algorithm, the critical component of the famous Sparse Vector algorithm. We verify these examples in a relational program logic apRHL+, which can construct approximate couplings. This logic extends the existing apRHL logic with more general rules for the Laplace mechanism and the one-sided Laplace mechanism, and new structural rules enabling pointwise reasoning about privacy; all the rules are inspired by the connection with coupling. While our paper is presented from a formal verification perspective, we believe that its main insight is of independent interest for the differential privacy community.
翻译:在本文中,我们为分析超出构成理论的算法开发了正式核实差异隐私的构成方法。我们的方法基于以下观察,即差异隐私与概率结合的概括性有着深厚的联系,这是用于推理随机过程的既定数学工具。即使组成理论没有帮助,我们往往可以通过混合论证来证明隐私。我们在两种算法上展示了我们的方法:公开机制和超临界值算法,这是著名的微粒矢量算法的关键组成部分。我们在一个关联程序逻辑 APRHL+ 中验证了这些例子,这可以构建近似组合。这一逻辑将现有的APRHL 逻辑延伸为拉普尔机制的更一般性的规则和单方拉普尔机制,以及新的结构规则,有利于隐私的引力推理;所有规则都是从与组合的关联中得到启发的。我们的文件是从正式的核查角度提出来,但我们认为它的主要洞察力对于差异隐私群体是独立的。