Arrow Research search
Back to FSCD

FSCD 2024

A Linear Type System for L^p-Metric Sensitivity Analysis

Conference Paper Accepted Paper Logic in Computer Science · Theoretical Computer Science

Abstract

When working in optimisation or privacy protection, one may need to estimate the sensitivity of computer programs, i. e. , the maximum multiplicative increase in the distance between two inputs and the corresponding two outputs. In particular, differential privacy is a rigorous and widely used notion of privacy that is closely related to sensitivity. Several type systems for sensitivity and differential privacy based on linear logic have been proposed in the literature, starting with the functional language Fuzz. However, they are either limited to certain metrics (L¹ and L^∞), and thus to the associated privacy mechanisms, or they rely on a complex notion of type contexts that does not interact well with operational semantics. We therefore propose a graded linear type system - inspired by Bunched Fuzz [{w}under et al. , 2023] - called Plurimetric Fuzz that handles L^p vector metrics (for 1 ≤ p ≤ +∞), uses standard type contexts, gives reasonable bounds on sensitivity, and has good metatheoretical properties. We also provide a denotational semantics in terms of metric complete partial orders, and translation mappings from and to Fuzz.

Authors

Keywords

  • type system
  • linear logic
  • sensitivity
  • vector metrics
  • differential privacy
  • lambda-calculus
  • functional programming
  • denotational semantics

Context

Venue
International Conference on Formal Structures for Computation and Deduction
Archive span
2020-2025
Indexed papers
208
Paper id
770246144620346272
v2026.09.13