TL;DR
This paper investigates the computational complexity of verifying differential privacy for loop-free programs. The authors demonstrate that deciding if a program is differentially private is surprisingly hard, ranging from coNP^#P-complete for pure differential privacy to coNP^{#P^#P} for approximate differential privacy. These findings highlight significant theoretical limitations for automatically verifying privacy guarantees in complex programs.
What Problem Does This Paper Address?
Differential privacy is a crucial concept for protecting sensitive data in computations. While its definition is well-established, proving that a given program actually adheres to these privacy guarantees can be incredibly challenging. Existing methods often rely on manual analysis, which is prone to errors and difficult to scale. This paper tackles the fundamental question: how computationally difficult is it to automatically verify that a program is differentially private? They focus on loop-free programs with probabilistic choices, which are a common building block in many programming languages. The authors aim to provide a precise understanding of the complexity landscape for this verification problem, bridging the gap between theoretical privacy definitions and practical program analysis.
Methods
The core of the paper's methodology involves translating programs into a formal model: randomized Boolean circuits. These circuits are essentially Boolean circuits augmented with random bits (coin flips), allowing them to model probabilistic behavior. The authors then analyze the computational complexity of two main problems related to these circuits:
- Deciding Differential Privacy: Determining if a given circuit satisfies a specific privacy level (ε-differential privacy or (ε, δ)-differential privacy).
- Approximating Privacy Parameters: Finding the actual privacy parameters (ε or δ) that a circuit achieves, within a certain error tolerance.
To establish complexity bounds, they leverage established complexity classes like NP, coNP, #P, and the polynomial hierarchy (PH), using reductions from known complete problems (e.g., E-MAJ-SAT, ALL-MIN-SAT) to their verification problems. They also employ techniques like randomized response to construct specific circuits for their reductions.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- Verification is Harder Than Composition: The paper highlights a crucial distinction: verifying the privacy of a single, complex program is significantly harder than composing already verified private components. While composing private components has its own complexities (e.g., #P-complete for optimal composition), verifying a whole program from scratch is a much steeper climb.
- Probabilistic Choice is Key: The inclusion of probabilistic choice in programs dramatically increases the complexity of verification. This is because it introduces randomness that needs to be accounted for in the privacy analysis.
- Complexity Jumps with Approximation: The complexity of deciding privacy increases when moving from pure differential privacy (δ=0) to approximate differential privacy (δ>0). Furthermore, approximating the privacy parameters themselves is shown to be NP-hard and coNP-hard, suggesting that finding exact privacy levels efficiently is unlikely.
- The "White-Box" Problem: The paper emphasizes that their results apply to "white-box" analysis, where the program's code is fully available. This is often necessary for achieving strong privacy guarantees (e.g., in techniques like sparse vector), but it comes at a high computational cost for verification.
Key Results
- Deciding ε-Differential Privacy: This problem is proven to be coNP^#P-complete. This means it's as hard as problems that involve counting solutions to NP problems, and can be solved by a coNP machine with a #P oracle. This holds even for large input or output domains.
- Deciding (ε, δ)-Differential Privacy: This problem is shown to be coNP^#P-hard and in coNP^{#P^#P}. For small output domains, it's in coNP^#P. This indicates a higher complexity than pure differential privacy, especially in the general case.
- Approximating Privacy Parameters: Both approximating ε and approximating δ are shown to be NP-hard and coNP-hard. This implies that efficient (polynomial-time) algorithms for these tasks are unlikely to exist unless P=NP.
Limitations and Future Work
- Loop-Free Programs: The current analysis is restricted to loop-free programs. The authors suggest that extending this to programs with loops is an important future direction, and they hypothesize that these problems might be decidable within PSPACE.
- Approximation Complexity: While the paper shows that approximating privacy parameters is hard, it leaves the precise classification of the problem of distinguishing between two different privacy levels (e.g., (ε, δ) vs. (ε', δ')) as an open problem, though it's shown to be NP-hard and coNP-hard.
- Practical Tools: The authors note that their complexity results highlight a gap in current model-checking tools, which often lack specialized support for mixing polynomial hierarchy and counting problems (#P). Developing such tools would be a significant practical advancement.
- Integers: The results hold even when programs support bounded integers, as such languages are equally expressive. However, the complexity for programs with unbounded integers is not discussed.
Summary updated