arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17454cs.CR
收藏

理论中的隐私,实践中的漏洞:差分隐私库的灰盒审计

Privacy in Theory, Bugs in Practice: Grey-Box Auditing of Differential Privacy Libraries

PreMeDICaL team, Inria, Idesp, Inserm, Université de Montpellier(普雷梅迪卡尔团队,法国国家信息与自动化研究所,德帕斯研究中心,法国健康与医学研究院,蒙彼利埃大学);Technical University of Munich(慕尼黑工业大学);Oblivious(奥比维厄斯)

Tudor Cebere, David Erb, Damien Desfontaines, Aurélien Bellet, Jack Fitzsimons

AI总结:

本文提出Re:cord-play方法,通过检查差分隐私算法的内部状态,发现12个开源库中的13个隐私违规问题,提供有效的隐私测试框架。

摘要:

差分隐私(DP)的实现往往容易出错,细微的bug经常破坏理论保证。现有的验证方法往往不切实际:形式化工具过于严格,而黑盒统计审计在复杂管道中不可行,并且无法定位bug的根源。本文介绍了Re:cord-play,一种灰盒审计范式,用于检查DP算法的内部状态。通过在具有相同随机性的邻近数据集上运行一个带仪器的算法,Re:cord-play直接检查数据依赖的控制流,并通过将声明的敏感性与经验测量的内部输入之间的距离进行比较,提供具体的违反敏感性的否定。我们将其推广为Re:cord-play-sample,一种全面的统计审计,用于隔离和测试每个组件,包括不可信的组件。我们证明我们的新测试方法既有效又必要,通过审计12个开源库,包括SmartNoise SDK、Opacus和Diffprivlib,并发现13个影响其理论保证的隐私违规。我们发布我们的框架作为开源Python包,从而使DP开发者能够轻松地将有效、计算成本低且无缝的隐私测试整合到他们的软件开发生命周期中。

英文摘要:

Differential privacy (DP) implementations are notoriously prone to errors, with subtle bugs frequently invalidating theoretical guarantees. Existing verification methods are often impractical: formal tools are too restrictive, while black-box statistical auditing is intractable for complex pipelines and fails to pinpoint the source of the bug. This paper introduces Re:cord-play, a gray-box auditing paradigm that inspects the internal state of DP algorithms. By running an instrumented algorithm on neighboring datasets with identical randomness, Re:cord-play directly checks for data-dependent control flow and provides concrete falsification of sensitivity violations by comparing declared sensitivity against the empirically measured distance between internal inputs. We generalize this to Re:cord-play-sample, a full statistical audit that isolates and tests each component, including untrusted ones. We show that our novel testing approach is both effective and necessary by auditing 12 open-source libraries, including SmartNoise SDK, Opacus, and Diffprivlib, and uncovering 13 privacy violations that impact their theoretical guarantees. We release our framework as an open-source Python package, thereby making it easy for DP developers to integrate effective, computationally inexpensive, and seamless privacy testing as part of their software development lifecycle.

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

↑