Introduction
Local Differential Privacy (LDP) has become the gold standard for privacy-preserving data collection in decentralized environments. By perturbing data on the user's device before it reaches a central server, LDP ensures that even a malicious collector cannot reconstruct individual raw values. The strength of this protection is governed by the privacy parameter $\epsilon$ (epsilon), where smaller values denote stronger privacy. However, the $\epsilon$ values typically cited in research are theoretical upper bounds—worst-case guarantees that may not reflect actual information leakage. This paper introduces LDP-Auditor, a framework designed to empirically estimate the "true" privacy loss ($\epsilon_{emp}$), revealing significant discrepancies between theory and practice.
The LDP-Auditor Framework
The authors propose a "black-box" auditing methodology that treats LDP mechanisms as opaque processes. The core of the framework is a distinguishability attack: an adversary is given an obfuscated output and must guess which of two potential inputs ($v_1$ or $v_2$) generated it.
By executing this attack millions of times via Monte Carlo simulations, the framework determines the True Positive Rate (TPR) and False Positive Rate (FPR). These metrics are then converted into a statistical lower bound for privacy loss using the Clopper-Pearson method. If the resulting $\epsilon_{emp}$ is significantly lower than the theoretical $\epsilon$, the protocol is "over-protected," potentially sacrificing data utility for unnecessary privacy. Conversely, if $\epsilon_{emp}$ exceeds the theoretical bound, it indicates a flaw in the protocol's implementation.
Empirical Results and Protocol Tightness
The study evaluated a wide range of LDP frequency estimation protocols, including Generalized Randomized Response (GRR), Unary Encoding (SUE/OUE), and Local Hashing (BLH/OLH). The results highlight a stark contrast in how "tightly" these protocols adhere to their theoretical bounds.
As illustrated in Figure 3, for a fixed theoretical budget of $\epsilon = 2$, GRR is the only protocol where empirical leakage closely matches the guarantee. In contrast, protocols like Binary Local Hashing (BLH) exhibit an empirical leakage of less than 0.5. This "hashing tax" suggests that the complex encoding used in hashing-based protocols inherently hides more information than the theoretical analysis accounts for, leading to excessive noise and reduced utility.
Scaling and the Plateau Effect
The auditing framework also explored how empirical leakage scales with the theoretical privacy budget and the domain size ($k$) of the data.
Figure 4 demonstrates that as the theoretical $\epsilon$ increases (weakening the privacy guarantee), many protocols reach an empirical "plateau." Beyond a certain threshold, increasing the privacy budget does not lead to a proportional increase in actual information leakage. This effect is particularly pronounced in protocols with large domain sizes, where the inherent information loss of the encoding function becomes the dominant factor in privacy protection.
Practical Impact: Identifying Implementation Flaws
Beyond theoretical analysis, LDP-Auditor serves as a vital tool for software verification. The authors used the framework to audit the pure-LDP Python library, uncovering a critical bug in its Unary Encoding implementation. A missing "reset" step in the bit-flipping logic caused the protocol to violate its privacy guarantees. Following the authors' disclosure, the library was updated (version 1.2.0) to resolve the vulnerability, demonstrating the real-world necessity of empirical auditing.
Conclusion
The LDP-Auditor framework provides a necessary bridge between the theoretical foundations of differential privacy and its practical application. By revealing that many protocols are significantly more private—and thus potentially less useful—than their theoretical bounds suggest, this work paves the way for more efficient privacy-preserving systems. While auditing currently provides a lower bound on leakage, it remains an essential safeguard for verifying the integrity of privacy-preserving software deployments.
Summary updated