Contextual Linear Types for Differential Privacy

10/21/2020
by   Matías Toro, et al.
0

Language support for differentially-private programming is both crucial and delicate. While elaborate program logics can be very expressive, type-system based approaches using linear types tend to be more lightweight and amenable to automatic checking and inference, and in particular in the presence of higher-order programming. Since the seminal design of Fuzz, which is restricted to ϵ-differential privacy, a lot of effort has been made to support more advanced variants of differential privacy, like (ϵ,δ)-differential privacy. However, no existing type system supports these advanced privacy variants while also supporting higher-order programming in full generality. We present Jazz, a language and type system which uses linear types and latent contextual effects to support both advanced variants of differential privacy and higher order programming . Even when avoiding advanced variants and higher order programming, our system achieves higher precision than prior work for a large class of programming patterns. We formalize the core of the Jazz language, prove it sound for privacy via a logical relation for metric preservation, and illustrate its expressive power through a number of case studies drawn from the recent differential privacy literature.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/05/2019

Duet: An Expressive Higher-order Language and Linear Type System for Statically Enforcing Differential Privacy

During the past decade, differential privacy has become the gold standar...
research
05/04/2021

Solo: Enforcing Differential Privacy Without Fancy Types

All current approaches for statically enforcing differential privacy in ...
research
08/03/2023

Gradual Sensitivity Typing

Reasoning about the sensitivity of functions with respect to their input...
research
03/16/2021

DDUO: General-Purpose Dynamic Analysis for Differential Privacy

Differential privacy enables general statistical analysis of data with f...
research
10/08/2020

Testing Differential Privacy with Dual Interpreters

Applying differential privacy at scale requires convenient ways to check...
research
03/28/2019

Proving Differential Privacy with Shadow Execution

Recent work on formal verification of differential privacy shows a trend...
research
11/23/2022

Data-Codata Symmetry and its Interaction with Evaluation Order

Data types and codata types are, as the names suggest, often seen as dua...

Please sign up or login with your details

Forgot password? Click here to reset