PLLOApr 14

Modular Verification of Differential Privacy in Probabilistic Higher-Order Separation Logic (Extended Version)

arXiv:2604.1271311.9h-index: 15
Predicted impact top 76% in PL · last 90 daysOriginality Highly original
AI Analysis

For developers of differential privacy libraries, this provides a modular verification approach for complex, interactive algorithms that previous domain-specific methods could not handle.

This work introduces a program logic for modular verification of differential privacy in general-purpose languages, enabling reasoning about privacy budgets as a separation logic resource. The logic handles complex patterns like privacy filters and caching, demonstrated by verifying an online Sparse Vector Technique and a filter inspired by OpenDP, with all results foundationally verified in Rocq Prover.

Differential privacy is the standard method for privacy-preserving data analysis. The importance of having strong guarantees on the reliability of implementations of differentially private algorithms is widely recognized and has sparked fruitful research on formal methods. However, the design patterns and language features used in modern DP libraries as well as the classes of guarantees that the library designers wish to establish often fall outside of the scope of previous verification approaches. We introduce a program logic suitable for verifying differentially private implementations written in complex, general-purpose programming languages. Our logic has first-class support for reasoning about privacy budgets as a separation logic resource. The expressiveness of the logic and the target language allow our approach to handle common programming patterns used in the implementation of libraries for differential privacy, such as privacy filters and caching. While previous work has focused on developing guarantees for programs written in domain-specific languages or for privacy mechanisms in isolation, our logic can reason modularly about primitives, higher-order combinators, and interactive algorithms. We demonstrate the applicability of our approach by implementing a verified library of differential privacy mechanisms, including an online version of the Sparse Vector Technique, as well as a privacy filter inspired by the popular Python library OpenDP, which crucially relies on our ability to handle the combination of randomization, local state, and higher-order functions. We demonstrate that our specifications are general and reusable by instantiating them to verify clients of our library. All of our results have been foundationally verified in the Rocq Prover.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes