NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Revealing the True Cost of Locally Differentially Private Protocols: An Auditing Perspective

Héber Hwang Arcolezi, Sébastien Gambs · DOI

Abstract

Local Differential Privacy (LDP) is widely deployed by major technology companies to protect user data while enabling aggregate analysis. However, a significant gap often exists between the theoretical privacy guarantees ($\epsilon$) and the actual privacy leakage in real-world implementations. This paper introduces LDP-Auditor, a framework designed to empirically measure privacy loss through adversarial distinguishability attacks. Our findings reveal that most popular LDP protocols are substantially more private in practice than their theoretical bounds suggest. Furthermore, we demonstrate the utility of LDP-Auditor as a debugging tool by identifying a critical implementation flaw in a prominent open-source privacy library.

Introduction

Differential Privacy (DP) serves as the mathematical foundation for modern data privacy. In the Local DP (LDP) model, users perturb their own data locally before transmission to a central server, ensuring that the server never sees raw individual records. While mathematicians provide theoretical upper bounds on privacy loss—denoted by the parameter $\epsilon$—these bounds are frequently "loose" or overly pessimistic. Moreover, theoretical proofs do not account for potential bugs in code implementations.

The lack of empirical auditing tools for LDP leaves practitioners with an incomplete understanding of actual privacy risks. This work addresses this gap by providing a method to estimate the "true cost" of privacy in LDP protocols, moving beyond worst-case theoretical scenarios to empirical reality.

Methodology

The LDP-Auditor framework utilizes Monte Carlo simulations to estimate the empirical privacy loss ($\epsilon_{emp}$). The core mechanism involves simulating "distinguishability attacks" where an adversary attempts to determine which of two possible inputs ($v_1$ or $v_2$) resulted in a specific noisy output.

Attack Strategies

The framework incorporates several novel attack vectors:

  • Standard Distinguishability: Basic assessment of input-output mapping.
  • Longitudinal Attacks: "Averaging attacks" that track a user's reports over multiple time steps to filter out local noise.
  • Multidimensional Attacks: Tailored for protocols handling multiple data attributes simultaneously.

Statistical Rigor and Datasets

To ensure reliability, LDP-Auditor employs Clopper-Pearson confidence intervals, providing a statistically sound lower bound on privacy leakage. The evaluation primarily uses synthetic datasets, allowing for precise control over domain size ($k$), privacy regimes ($\epsilon$ from 0.25 to 10), and data dimensions ($d \le 10$). This approach enables auditing the mechanism's behavior across edge cases that might be absent in real-world data.

Empirical Results

Our audit of nine state-of-the-art LDP mechanisms yielded several critical insights into the relationship between theoretical guarantees and empirical leakage.

Protocol Comparisons and the "Loose Bound" Phenomenon

A primary finding is that most protocols are significantly more private than their theoretical $\epsilon$ suggests. For instance, protocols like Binary Local Hashing (BLH) often exhibit an empirical leakage $\epsilon_{emp}$ that is a fraction of the theoretical bound.

Empirical privacy loss ($\epsilon_{emp}$) across different LDP protocols for a theoretical $\epsilon=2$.

As shown in Figure 3, while Generalized Randomized Response (GRR) provides a "tight" bound where empirical leakage closely matches theory, other protocols like BLH and OLH show much lower empirical loss. This discrepancy is largely attributed to the information loss inherent in hashing mechanisms, which provides a natural "privacy shield" even before DP noise is added.

Impact of Domain Size

The gap between theory and practice is further influenced by the domain size ($k$). As the number of possible values increases, the theoretical bounds tend to become even more conservative.

Comparison of empirical vs. theoretical privacy loss across varying domain sizes ($k$).

Figure 4 illustrates that for many protocols, increasing $k$ widens the gap between the theoretical dashed line and the empirical results, highlighting the necessity of auditing for large-scale deployments.

Auditing as a Debugging Tool

LDP-Auditor proved its practical value by uncovering a bug in the pure-LDP Python package. The tool detected empirical leakage that exceeded the theoretical bound—a mathematical impossibility that led to the discovery of a flaw in the library's bit-flipping logic.

Discussion and Future Work

While LDP-Auditor provides a powerful lower bound on privacy leakage, it is important to note that $\epsilon_{emp}$ is dependent on the strength of the attacks employed. Future research could explore more sophisticated adversarial strategies to further tighten these empirical estimates.

Additionally, this work focuses on frequency estimation. Extending these auditing techniques to other LDP tasks, such as mean estimation or heavy hitter identification, is a vital next step. Finally, the observed stability in longitudinal studies suggests a need for more advanced composition theorems that better reflect the empirical reality of repeated data reporting.

Summary updated

BibTeX
@article{arcolezi2024revealing,
  author = {Héber Hwang Arcolezi and Sébastien Gambs},
  title = {{Revealing the True Cost of Locally Differentially Private Protocols: An Auditing Perspective}},
  journal = {Proc. Priv. Enhancing Technol.},
  year = {2024},
  doi = {10.56553/popets-2024-0110},
}
Figure