arXiv:2610.27021cs.CROct 2026

Manuscript Offprint

arXiv:2610.27021

Reliable Estimation of Differential Privacy under Selection Bias

Valentin Dorseuil, Meenatchi Sundaram Muthu Selva Annamalai, Jamal Atif, Olivier Cappé, Nicolas Papernot

Abstract

Statistical privacy audits are essential for verifying the theoretical privacy guarantees of differentially private (DP) mechanisms. Auditors typically use Membership Inference Attacks (MIAs) to estimate a lower bound on the true privacy leakage of DP mechanisms at a specified confidence level, which should not exceed the theoretical privacy upper bound guaranteed by DP. However, we found that many auditing implementations in prior work introduce a selection bias when running MIAs, which leads to statistically invalid and overestimated lower bounds. Because most audits are not tight, this bias has thus far gone unnoticed: the estimated lower bounds remained well below the theoretical upper bounds. Nevertheless, accurately evaluating this lower bound is critical, as a flawed statistical assessment could lead to false alarms on correct mechanisms or an incorrect evaluation of the guarantee's tightness.

This work employs tools from the statistical literature to correct this bias. We present an overview of the different correction methods and assess their respective advantages. Furthermore, we perform a comprehensive re-analysis of results returned by prior audit implementations and show that without statistical correction, these audits violate the theoretical upper bounds up to four times more often than their claimed confidence level implies. With correction applied, the resulting lower bounds are statistically valid, and violations occur at no more than the nominal rate.

Keywords: Privacy Auditing, Differential Privacy, Membership Inference Attacks, Selection Bias.

1 Introduction

Machine learning models, and particularly deep neural networks, are known to leak private information, e.g., by memorizing their training dataset [1–3]. When models are trained on sensitive data, this memorization can pose severe privacy concerns, as an adversary with access to the model may be able to recover information about individual training points [4, 5], infer sensitive attributes [6], or even reconstruct training examples themselves [4, 7].

To address this issue, Differential Privacy (DP) [8] has become the standard framework for training models with formal privacy guarantees. It guarantees, up to a certain level, that a third-party attacker cannot distinguish whether any single data point was used in the training dataset or

*Corresponding author: valentin.dorseuil@ens.psl.eu

†^{\dagger}Work done while visiting the Vector Institute.

not. To train deep learning models under this guarantee, practitioners commonly use Differentially Private Stochastic Gradient Descent (DP-SGD) [9]. It modifies the standard SGD algorithm by clipping per-sample gradients, to bound the influence of any single training point, and injecting Gaussian noise at each iteration. It comes with a privacy accountant [9–13] that computes the level of noise that needs to be added to these gradients to obtain a target privacy guarantee.

However, a privacy accountant’s guarantee only holds if the implementation matches its mathematical assumptions. In practice, this is not always the case: incorrect noise calibration, faulty subsampling, or unbounded sensitivity in the accountant design, can all lead to violations of the claimed privacy parameters [14–16]. Privacy auditing addresses this gap: rather than trusting the claimed upper bound, an auditor empirically estimates a lower bound on the true privacy parameter, and checks that it does not exceed the claimed one. In a regulatory context, it also serves an additional purpose. It can verify that a practitioner has not, whether deliberately or mistakenly, deployed a weaker privacy guarantee than the one mandated by a regulator or a data protection agreement. In this scenario, providing a statistically reliable audit is important. A flawed statistical procedure could either miss a genuine violation or falsely flag a compliant implementation.

The standard tool for estimating this lower bound is the Membership Inference Attack (MIA) [5], which attempts to determine whether a specific record was part of the training set or not. An MIA assigns each record a score, and predicts its membership by thresholding this score. As the DP framework bounds the error rates of any possible MIA, the auditor uses the empirical error rates to estimate a lower bound on the privacy parameter. Framed this way, privacy auditing is essentially a parametric statistical estimation problem: the auditor observes a finite sample of attack outcomes, drawn from an unknown underlying parametric distribution, and uses it to estimate a lower bound on the distribution's parameter, with a specified confidence level.

However, our analysis found that confidence intervals were improperly used in multiple prior audits. A common practice in existing auditing implementations is to evaluate an MIA at several candidate thresholds and report the lower bound obtained from whichever threshold performs best. While it might seem intuitive, as a stronger attack should give a tighter bound, it is statistically invalid without appropriate correction on the confidence level. Choosing the threshold after observing which attack performs the best introduces a data-dependent selection bias, which incorrectly inflates the claimed lower bound, a problem that post-selection inference is designed to address [17].

To correct this, we adapt tools from the multiple-comparisons literature, ensuring that reported lower bounds hold at the claimed confidence level. We emphasize that our contribution is orthogonal to works on tightening empirical audits: we do not propose a stronger attack, and our correction applies on top of any existing MIA-to-lower-bound pipeline. Our focus is instead the statistical validity of the derived bound. This matters because an inflated lower bound is not only imprecise, it can mistakenly claim that a DP guarantee has been violated. We also stress that we do not derive new statistical results. We apply established multiple-comparisons tools to a setting where they had not previously been used.

The primary contributions of this paper are summarized as follows:

i) We formalize the auditing framework for differential privacy as a statistical estimation problem, and provide multiple valid methods to compute lower bounds on privacy parameters at a given confidence level;

ii) We empirically evaluate both our proposed methods and the invalid ones commonly used in practice, under known theoretical distributions, to quantify the bias induced by selecting the maximizing threshold;

iii) We recompute the bounds of previous auditing papers with the newly proposed valid methods and compare them with the previously reported invalid bounds. We find that without correction, these audits violate the theoretical upper bounds up to four times more often than their claimed confidence level implies. Valid methods yield lower bounds that are 5% to 93% smaller than the previously reported ones.

References (62)