Lune

OOPSLA2024顶会

Sensitivity by Parametricity

Elisabet Lobo Vesga, Alejandro Russo, Marco Gaboardi, Carlos Tomé Cortiñas

摘要

The work of Fuzz has pioneered the use of functional programming languages where types allow reasoning about the sensitivity of programs. Fuzz and subsequent work (e.g., DFuzz and Duet) use advanced technical devices like linear types, modal types, and partial evaluation. These features usually require the design of a new programming language from scratch—a significant task on its own! While these features are part of the classical toolbox of programming languages, they are often unfamiliar to non-experts in this field. Fortunately, recent studies (e.g., Solo ) have shown that linear and complex types in general, are not strictly needed for the task of determining programs’ sensitivity since this can be achieved by annotating base types with static sensitivity information. In this work, we take a different approach. We propose to enrich base types with information about the metric relation between values, and we present the novel idea of applying parametricity to derive direct proofs for the sensitivity of functions. A direct consequence of our result is that calculating and proving the sensitivity of functions is reduced to simply type-checking in a programming language with support for polymorphism and type-level naturals. We formalize our main result in a calculus, prove its soundness, and implement a software library in the programming language Haskell-where we reason about the sensitivity of canonical examples. We show that the simplicity of our approach allows us to exploit the type inference of the host language to support a limited form of sensitivity inference. Furthermore, we extend the language with a privacy monad to showcase how our library can be used in practical scenarios such as the implementation of differentially private programs, where the privacy guarantees depend on the sensitivity of user-defined functions. Our library, called Spar , is implemented in less than 500 lines of code.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Solo: a lightweight static analysis for differential privacy 引用了 CheckDP: An Automated and Integrated Approach for Proving Differential Privacy or Finding Precise Counterexamples
  • Solo: a lightweight static analysis for differential privacy 引用了 A Programming Framework for Differential Privacy with Accuracy Concentration Bounds
  • A Programming Framework for Differential Privacy with Accuracy Concentration Bounds 引用了 Differentially Private Bayesian Programming
  • Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation Logic 引用了 Solo: a lightweight static analysis for differential privacy
  • Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation Logic 引用了 A Programming Framework for Differential Privacy with Accuracy Concentration Bounds
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation LogicPhilipp G. Haselwarter, Alejandro Aguirre, Simon Oddershede Gregersen, Kwing Hei Li 等PLDI 2026

它引用的 Paper4

  1. A Programming Framework for Differential Privacy with Accuracy Concentration BoundsElisabet Lobo Vesga, Alejandro Russo, Marco GaboardiS&P 2020 · 32 次引用
  2. CheckDP: An Automated and Integrated Approach for Proving Differential Privacy or Finding Precise CounterexamplesYuxin Wang, Zeyu Ding, Daniel Kifer, Danfeng ZhangCCS 2020 · 31 次引用
  3. Differentially Private Bayesian ProgrammingGilles Barthe, Gian Pietro Farina, Marco Gaboardi, Emilio Jesús Gallego Arias 等CCS 2016 · 28 次引用
  4. Solo: a lightweight static analysis for differential privacyChike Abuah, David Darais, Joseph P. NearOOPSLA 2022 · 6 次引用

相关 Paper

  1. Dependent Coeffects for Local Sensitivity AnalysisVictor Sannier, Patrick BaillotPOPL 2026 · 1 次引用
  2. Giving semantics to program-counter labels via secure effectsAndrew K. Hirsch, Ethan CecchettiPOPL 2021 · 2 次引用
  3. Plausible sealing for gradual parametricityElizabeth Labrada, Matías Toro, Éric Tanter, Dominique DevrieseOOPSLA 2022 · 7 次引用
  4. Partial type constructors: or, making ad hoc datatypes less ad hocMark P. Jones, J. Garrett Morris, Richard A. EisenbergPOPL 2020 · 1 次引用
  5. Data flow refinement type inferenceZvonimir Pavlinovic, Yusen Su, Thomas WiesPOPL 2021 · 15 次引用
黄昏的海面,两侧是细线勾勒的悬崖