Summary
This paper presents a methodology for calculating lower bounds for the parameter $\\varepsilon$ of an $(\\varepsilon,\\delta)$-differentially private (DP) mechanism. When applied to machine learning algorithms, the methodology can be used to audit the privacy guarantees of popular training algorithms such as DP-SGD.
The paper builds on existing methods that audit DP guarantees by testing the presence of a canary in the input of the mechanism. Given an $(\\varepsilon,\\delta)$-DP mechanism $\\mathcal{A}$, two neighboring datasets $D_0$ and $D_1 = D_0 \\cup \\{c\\}$ and a measurable set $R$, a lower bound for $\\varepsilon$ is given by
$$
\\varepsilon \\geq
\\log (\\mathbb{P}(\\mathcal{A}(D_1) \\in R) - \\delta) -
\\log \\mathbb{P}(\\mathcal{A}(D_0) \\in R) .
$$
A lower bound for $\\varepsilon$ can be derived from a lower bound $\\underline{\\boldsymbol{p}}_1 \\leq \\mathbb{P}(\\mathcal{A}(D_1) \\in R)$ and an upper bound $\\overline{\\boldsymbol{p}}_0 \\geq \\mathbb{P}(\\mathcal{A}(D_0) \\in R)$ estimated from samples. This lower bound can be made tighter by choosing a canary $c$ whose presence in the training dataset can be easily tested with a rejection set $R$. However, using Bernoulli confidence intervals computed from $n$ samples, the bounds $\\underline{\\boldsymbol{p}}_1, \\overline{\\boldsymbol{p}}_0$ are loose by a factor of $1/\\sqrt{n}$. Since each sample requires evaluating $\\mathcal{A}$ on a different dataset $D_0$, decreasing this factor is expensive.
The key idea of the paper is to instead audit a probabilistic lifting of DP (LiDP) using counterexamples sampled from a joint distribution $( \\boldsymbol{D_0}, \\boldsymbol{D_1}, \\boldsymbol{R})$. While entirely equivalent to DP, thanks to the exchangeability of random i.i.d canaries LiDP allows reusing samples $\\mathcal{A}(D \\cup \\{c_1,\\ldots,c_K\\})$ and $\\mathcal{A}(D \\cup \\{c_1,\\ldots,c_{K-1}\\})$ to gather multiple correlated test statistics $\\boldsymbol{x}_k$, one for each canary $c_k$. A lower bound for $\\varepsilon$ can be then calculated similarly as for DP from bounds of the mean of these statistics. The paper analyzes the correlation between the statistics to derive higher-order exact (Bernstein) and asymptotic (Wilson) confidence intervals. Importantly, the authors prove that $\\ell$-th order bounds are loose by a factor of $n^{(1-2\\ell)/(2\\ell)}$ when choosing $K = \\lceil n^{(\\ell-1)/\\ell} \\rceil$ and so e.g. second-order bounds reduce the number of samples required to attain a given confidence because their looseness decreases as $1/n^{3/2}$ rather than $1/n^{1/2}$ for first-order bounds (and previous methods auditing DP).
The authors evaluate the methodology on a Gaussian mechanism showing a 4x gain in sample efficiency when using second-order confidence intervals with $n=1000$ compared to a baseline using Bernoulli confidence intervals. They also evaluate the method on linear and 2-layer MLP classifiers trained with DP-SGD on FMNIST and Purchase-100 using either random or clipping-aware poisoned canaries [31]. This evaluation shows an average improvement in sample efficiency of up to 3x also with $n=1000$.
The supplemental material includes proofs of the results in the paper, algorithmic descriptions of the methodology, a derivation of asymptotic Wilson intervals, and comprehensive ablation studies varying the privacy budget $\\varepsilon$, the number of canaries $K$, samples $n$, and dimension (for the Gaussian mechanism).
Strengths
1. A novel method for auditing differential privacy that can be combined with existing canary design strategies and improve sample efficiency.
2. First formal analysis of previously used heuristics reusing trained models to obtain multiple samples.
3. Technically solid theoretical foundations. Detailed proofs. Derivation of exact and asymptotic confidence intervals.
4. Great high-level intuition for why the method improves sample efficiency and the reasons for the bias/variance trade-off in selecting the number of canaries to use.
5. Extensive algorithmic descriptions of the method in the supplemental material that make the paper fairly self-contained and enable reproducibility. Authors promise to open-source their code to replicate results.
Weaknesses
1. The evaluation on ML scenarios uses very simple models: a linear model and MLPs with 2 hidden layers with 256 units (269k and 245k parameters for FMNIST and Purchase-100, respectively).
2. Evaluation baselines are limited to approaches using Bernoulli confidence intervals and not to more recent approaches using credible regions [66] which also claim improved sample efficiency.
Questions
1. Using the form of Bernstein's bound I am familiar with (Dudley, Richard M. Uniform central limit theorems. Vol. 142. CUP, 2014) would give a slightly tighter bound than in Equation (6). The bound in the paper seems to use $\\sqrt{a+b} \\leq \\sqrt{a} + \\sqrt{b}$ to simplify it, making it looser. Can you clarify whether you use this simplification, or else provide a detailed derivation?
2. In your evaluation, do you set $m = K$ in Algorithm 1?
3. There seems to be a qualitative difference between $\\underline{\\boldsymbol{p}}_1$ and $\\overline{\\boldsymbol{p}}_0$ in Algorithm 1 that is not discussed in the paper. The former is calculated from statistics $\\boldsymbol{x}^{(i)}$ using canaries $c_1,\\ldots,c_K$ inserted into the training set while the latter is calculated from statistics $\\boldsymbol{y}^{(i)}$ depending on canaries $c'_1,\\ldots,c'_m$ not in the training set that are independent of the output of the mechanism (the statistics themselves are correlated because they all use the same model). The bias-variance tradeoffs that you discuss in §4 seem to apply only to $c_k$. Are there tradeoffs that make increasing the number of out-canaries $m$ not always beneficial?
### Details
- The paper presents exact Bernstein confidence intervals but then uses asymptotic Wilson intervals exclusively in the evaluation. The two are only compared in Figure 2. I would have liked to see an additional comparison in at least some selected empirical results for bounds on $\varepsilon$.
- In Eq.1 $D,D'$ should be $D_0,D_1$. This has been fixed in the PDF in the supplemental material.
- l.119: "the canary has the freedom" => "the **adversary** has the freedom"?
- l.197: "applying probabilistic method" => "applying **a heuristic** method"?
- Figure 1 is not referenced. I think it is supposed to support the analysis in the paragraph starting at line 271.
- In Figure 3 caption: "require number" => "required number"
- l.243: "find §4 that" => "find **in** §4 that"
- l.346: "it worth" => "it **is** worth"
- l.710: $k$ => $K$
- In Algorithm 3 in steps 4 and 5, and in Algorithm 4 in steps 5 and 6, I believe that there is a missing $\frac{K-1}{K}$ multiplying $\overline{\boldsymbol{\mu}}_2$ as in Equation (17).
Rating
7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.
Confidence
5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.
Limitations
The authors discuss some limitations of the auditing methodology throughout the paper and discuss the need to balance the tightness/computation trade-off in practice.
It could be a good idea to complement this with a discussion of how the lower bounds for $\\varepsilon$ depend on the canary design and detection strategy, how to interpret the gap between lower bounds and the theoretical guarantee of a mechanism, and the impact of deciding whether a mechanism provides enough privacy based on a lower bound alone.
I also believe that given the size and variety of the ML models used in the evaluation, the paper should discuss how the results may extrapolate to other architectures and larger number of parameters. Figure 4 (right) shows the method may benefit as the dimension increases; it would be great if this effect could be backed with experimental results on ML models.