Abstract
As differential privacy (DP) becomes a standard for data protection in industry, the ability to verify privacy claims for "black-box" implementations is critical. This paper investigates the query complexity of testing whether a randomized algorithm satisfies various DP notions. We demonstrate a fundamental "no-free-lunch" theorem: privacy guarantees that are efficient to verify are inherently easier to break. Our results show that while approximate DP is sublinearly verifiable with side information, pure DP remains largely unverifiable in black-box settings, necessitating a shift toward white-box verification or restricted algorithm classes.
Introduction
Differential Privacy (DP) has transitioned from theoretical research to large-scale deployment by companies like Apple and Google. However, these implementations are often proprietary. Users and regulators are currently forced to trust that these systems are private. This work frames the verification of privacy as a property testing problem: can a verifier, through query access to a randomized algorithm $\mathcal{A}$, determine if it is $\Xi$-private or significantly far from it?
The Property Testing Framework
The authors define the testing task by considering a verifier who chooses input databases and observes randomized outputs. The distance between privacy notions is formalized to determine how "far" an algorithm is from being private. This distance metric is crucial for defining the query complexity of the tester.
The study covers four privacy flavors: Pure DP (pDP), Approximate DP (aDP), and their "Random" counterparts (RpDP, RaDP) which hold for typical rather than worst-case inputs. These are analyzed under two information regimes:
- No Information: The verifier only knows input/output domains.
- Full Information: The verifier has an untrusted specification of the algorithm.
Methodology
The authors utilize distribution testing techniques, specifically identity testing (comparing a sample to a known distribution) and closeness testing (comparing two unknown distributions). A key technical tool used is "Poissonisation," which simplifies the analysis of output frequencies by treating them as independent Poisson random variables. This allows the researchers to derive rigorous mathematical bounds related to the size of the output space ($n$) and the privacy parameters ($\epsilon, \delta$).
Key Results and Query Complexity
The central finding is a hierarchy of difficulty for privacy verification. The query complexity—the number of times the algorithm must be run—varies drastically based on the privacy notion and the available information.
A critical insight is the unverifiability of Pure DP in the "No Information" setting. Because pDP is sensitive to extremely rare events, a finite number of queries cannot guarantee its satisfaction. Even with "Full Information," the complexity depends heavily on $\beta$, the minimum probability of any output. For approximate DP, the only sublinear result ($O(\sqrt{n}/\alpha^2)$) occurs in the Full Information setting, where the verifier can leverage an untrusted description of the algorithm.
Discussion and Conclusion
The most sobering result is Theorem 6, which posits that verifiability is at odds with privacy. If a privacy guarantee can be verified with $r$ samples, those same samples can likely be used by an adversary to distinguish between neighboring databases, thereby leaking information.
For real-world parameters (where $\delta$ is very small, e.g., $10^{-8}$), the number of queries required to verify privacy is "infeasibly large." This suggests that black-box testing alone is insufficient for robust privacy auditing. Future work should focus on restricted algorithm classes (e.g., noise-addition mechanisms) or adaptive testing strategies to find more practical verification bounds. While this paper treats the algorithm as a black box, the authors note that formal verification of source code remains a vital, complementary field.
Summary updated