arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1912.04222cs.CR
收藏

基于Base-2差分隐私的指数机制实现

Implementing the Exponential Mechanism with Base-2 Differential Privacy

Christina Ilvento

摘要:

尽管差分隐私(DP)有很好的理论支持,但在实际应用中仍然是一个挑战。在某种程度上,这一挑战是由于将任意或无限精度的理论机制转化为浮点或固定精度的现实所带来的担忧。从Mironov证明使用浮点实现拉普拉斯机制的安全问题的令人不安的结果开始,已经提出了许多关于DP的实际实现的漏洞的合理问题。在这项工作中,我们研究的实用性,实施McSherry和Talwar的指数机制。我们证明,天真或恶意的实现可能会导致灾难性的隐私失败。为了解决这些问题,我们表明,该机制可以实现的隐私参数$\varepsilon$和实用程序功能,有限的实际开销在运行时间和最小的代码复杂性的一组丰富的值。我们如何实现这一结果?我们采用一个简单的技巧,从基$e$切换到基$2$,从而使我们能够执行精确的基$2$运算。对于$\varepsilon$,始终可以使用一个简短、精确的表达式,我们所遇到的唯一近似误差是将base-2隐私参数转换回base $e$以用于报告目的。该机制的核心基础$2$算法可以使用开源的高精度算法库简单高效地实现。此外,实现的确切性质使其适合于简单的正确性监控和隐私证明。

英文摘要:

Despite excellent theoretical support, Differential Privacy (DP) can still be a challenge to implement in practice. In part, this challenge is due to the concerns associated with translating arbitrary- or infinite-precision theoretical mechanisms to the reality of floating point or fixed-precision. Beginning with the troubling result of Mironov demonstrating the security issues of using floating point for implementing the Laplace mechanism, there have been many reasonable questions raised concerning the vulnerabilities of real-world implementations of DP. In this work, we examine the practicalities of implementing the exponential mechanism of McSherry and Talwar. We demonstrate that naive or malicious implementations can result in catastrophic privacy failures. To address these problems, we show that the mechanism can be implemented exactly for a rich set of values of the privacy parameter $\varepsilon$ and utility functions with limited practical overhead in running time and minimal code complexity. How do we achieve this result? We employ a simple trick of switching from base $e$ to base $2$, allowing us to perform precise base $2$ arithmetic. A short, precise expression is always available for $\varepsilon$, and the only approximation error we incur is the conversion of the base-2 privacy parameter back to base $e$ for reporting purposes. The core base $2$ arithmetic of the mechanism can be simply and efficiently implemented using open-source high precision arithmetic libraries. Furthermore, the exact nature of the implementation lends itself to simple monitoring of correctness and proofs of privacy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑