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

Solo:一种轻量级的差分隐私静态分析方法

Solo: A Lightweight Static Analysis for Differential Privacy

Chike Abuah, David Darais, Joseph P. Near

摘要:

所有当前用于在高阶语言中静态地实施差分隐私的方法利用线性或关系细化类型。采用这些方法的一个障碍是在主流程序设计语言中缺乏对表达这些“奇特类型”的支持。例如,没有主流语言支持关系细化类型,尽管Rust和Haskell的现代版本都采用了一些线性类型技术,但它们不足以嵌入差分隐私的实施,这需要像Girard那样的“完整”线性类型。我们提出了一个新的类型系统,强制执行差分隐私,避免使用线性和关系细化类型,并可以很容易地嵌入到主流的丰富类型的程序设计语言,如Scala,OCaml和Haskell。我们在Haskell中演示了这样的嵌入,在案例研究中演示了它的表达能力,并证明我们基于类型的差分隐私实施是合理的。

英文摘要:

All current approaches for statically enforcing differential privacy in higher order languages make use of either linear or relational refinement types. A barrier to adoption for these approaches is the lack of support for expressing these "fancy types" in mainstream programming languages. For example, no mainstream language supports relational refinement types, and although Rust and modern versions of Haskell both employ some linear typing techniques, they are inadequate for embedding enforcement of differential privacy, which requires "full" linear types a la Girard. We propose a new type system that enforces differential privacy, avoids the use of linear and relational refinement types, and can be easily embedded in mainstream richly typed programming languages such as Scala, OCaml and Haskell. We demonstrate such an embedding in Haskell, demonstrate its expressiveness on case studies, and prove that our type-based enforcement of differential privacy is sound.

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

↑