Bunched Fuzz: Sensitivity for Vector Metrics

02/03/2022
by   june wunder, et al.
0

"Program sensitivity" measures the distance between the outputs of a program when it is run on two related inputs. This notion, which plays an important role in areas such as data privacy and optimization, has been the focus of several program analysis techniques introduced in recent years. One approach that has proved particularly fruitful for this domain is the use of type systems inspired by linear logic, as pioneered by Reed and Pierce in the Fuzz programming language. In Fuzz, each type is equipped with its own notion of distance, and the typing rules explain how those distances can be treated soundly when analyzing the sensitivity of a program. In particular, Fuzz features two products types, corresponding to two different sensitivity analyses: the "tensor product" combines the distances of each component by adding them, while the "with product" takes their maximum. In this work, we show that products in Fuzz can be generalized to arbitrary L^p distances, metrics that are often used in privacy and optimization. The original Fuzz products, tensor and with, correspond to the special cases L^1 and L^∞. To simplify the handling of such products, we extend the Fuzz type system with bunches – as in the logic of bunched implications – where the distances of different groups of variables can be combined using different L^p distances. We show that our extension can be used to reason about important examples of metrics between probability distributions in a natural way.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/30/2019

Computing Abstract Distances in Logic Programs

Abstract interpretation is a well-established technique for performing s...
research
07/13/2018

Probabilistic Relational Reasoning via Metrics

The Fuzz programming language [Reed and Pierce, 2010] uses an elegant li...
research
10/11/2020

A Categorical Programming Language

A theory of data types based on category theory is presented. We organiz...
research
05/29/2019

Fuzzi: A Three-Level Logic for Differential Privacy

Curators of sensitive datasets sometimes need to know whether queries ag...
research
07/13/2018

Metric Semantics for Probabilistic Relational Reasoning

The Fuzz programming language [Reed and Pierce, 2010] uses an elegant li...
research
10/05/2016

A tentative model for dimensionless phoneme distance from binary distinctive features

This work proposes a tentative model for the calculation of dimensionles...
research
01/19/2019

On the distance and algorithms of strong product digraphs

Strong product is an efficient way to construct a larger digraph through...

Please sign up or login with your details

Forgot password? Click here to reset