Researchers from IMFD Publish Article in TOPLAS, Leading Journal on Programming Languages

May, 2023.- A new language and type system called Jazz was presented by researchers from the Department of Computer Science of the Universidad de Chile (DCC U. Chile) and the Millennium Institute for Foundational Research on Data (IMFD) in “Contextual Linear Types for Differential Privacy”, work developed by Matías Toro, Federico Olmedo and Éric Tanter, and PhD student Damián Árquez, which was published in the journal ACM Transactions on Programming Languages and System (TOPLAS), the most relevant journal in the field of programming languages. This research was carried out in conjunction with David Darais (Galois, Inc.), Chike Abuah (Amazon) and Joseph P. Near (University of Vermont).

The researchers note that today, the amount of individuals’ sensitive information stored in databases around the world has been growing exponentially and, along with it, concepts such as data privacy have gained considerable notoriety over time. “Unfortunately –they point out– methods such as anonymization or data aggregation do not offer satisfactory solutions. Differential privacy is a technique that offers strong formal privacy guarantees. Intuitively, it consists of adding random noise to the result of computations in order to protect individuals, and it has emerged as one of the most effective approaches to ensure privacy, gaining much attention in various fields. This includes programming languages in general and, in particular, type systems aimed at achieving automatic verification of this property”.

From left to right: Éric Tanter, Federico Olmedo, Matías Toro and Damián Árquez

In this context, they note that existing work related to type systems “has shown that supporting advanced variants of differential privacy together with high-order programming has proven very challenging. Moreover, in order to obtain precise results, this often requires arduous and heavy work on the part of programmers. In this work we seek to address these problems by presenting Jazz, a language and type system that supports both advanced variants of differential privacy and high-order programming. Jazz also provides advantages in terms of analysis precision, annotation burden, and modularity, thanks to its ability to delay or postpone the analysis of certain parts of the program”.

Jazz is composed of two mutually embedded sublanguages: one for reasoning about the sensitivity of programs (SAX), and another for reasoning about privacy (λJ). On this, Matías Toro, Éric Tanter and Federico Olmedo explain: “SAX allows for modularly calculating the maximum variation in the computation of a function or expression when the input is modified. This sensitivity information is used by λJ to analyze whether the noise added by probabilistic computations is sufficient to preserve the required level of differential privacy. This work is accompanied by a strong metatheory, in which important language properties are formally proven, including metric preservation (which captures the maximum variation of an open expression when closed by two related environments) and, of course, the advanced variant of differential privacy”.

Although the initial goal of this work was to derive a gradual language that would allow reasoning about differential privacy, the researchers noticed that existing static languages to date required certain modifications in order to be gradualized, thus seeing an opportunity to improve precision and modularity. “This is why we designed Jazz –they state–, which is currently the starting point of ongoing work seeking to design a gradual language to ensure differential privacy. More technically, unlike other differential privacy languages, Jazz’s type system is algorithmic, which makes it ideal for use by methodologies that derive gradual languages. Furthermore, Jazz presents important improvements regarding the precision of sensitivity and differential privacy typing, without the need to resort to complex techniques. This is thanks to its ability to leave the analysis of certain expressions latent, allowing them to manifest only when those expressions are actually used”.

—
Source: DCC U. Chile Communications