A statistical framework for differential privacy

Larry Wasserman, Shuheng Zhou

Introduction

One goal of data privacy research is to derive a mechanism that takes an input database XX and releases a transformed database ZZ such that individual privacy is protected yet information content is preserved. This is known as disclosure limitation. In this paper we will consider various methods for producing a transformed database ZZ and we will study the accuracy of inferences from ZZ under various loss functions.

There are numerous approaches to this problem. The literature is vast and includes papers from computer science, statistics and other fields. The terminology also varies considerably. We will use the terms “disclosure limitation” and “privacy guarantee” interchangeably.

One approach to defining a privacy guarantee that has received much attention in the computer science literature is known as differential privacy (Dwork et al., 2006, Dwork, 2006). There is a large body of work on this topic including, for example, Dinur and Nissim (2003), Dwork and Nissim (2004), Blum et al. (2005), Dwork et al. (2007), Nissim et al. (2007), Barak et al. (2007), McSherry and Talwar (2007), Blum et al. (2008), Kasiviswanathan et al. (2008). Blum et al. (2008) gives a machine learning approach to inference under differential privacy constraints and to some extent our results are inspired by that paper. Smith (2008) shows how to provide efficient point estimators while preserving differential privacy. He constructs estimators for parametric models with mean squared error (1+o(1))/(nI(θ))(1+o(1))/(nI(\theta)) where I(θ)I(\theta) is the Fisher information. Machanavajjhala et al. (2008) consider privacy for histograms by sampling from the posterior distribution of the cell probabilities. We discuss Machanavajjhala et al. (2008) further in Section 4. After submitting the first draft of this paper, new work has appeared on differential privacy that is also statistical in nature, namely, Ghosh et al. (2009), Dwork and Lei (2009), Dwork et al. (2009), Feldman et al. (2009).

The goals of this paper are to explain differential privacy in statistical language, to show how to compare different privacy mechanisms by computing the rate of convergence of distributions and densities based on the released data ZZ, and to study a general privacy method, called the exponential mechanism, due to McSherry and Talwar (2007). We show that the accuracy of this method is intimately linked to the rate at which the probability that the empirical distribution concentrates in a small ball around the true distribution. These so called “small ball probabilities” are well-studied in probability theory. To the best of our knowledge, this is the first time a connection has been made between differential privacy and small ball probabilities. We need to make two disclaimers. First, the goal of our paper is to investigate differential privacy. We will not attempt to review all approaches to privacy or to compare differential privacy with other approaches. Such an undertaking is beyond the scope of this paper. Second, we focus only on statistical properties here. We shall not concern ourselves in this paper with computational efficiency.

In Section 2 we define differential privacy and provide motivation for the definition. In Section 3 we discuss conditions that ensure that a privacy mechanism preserves information. In Section 4 we consider two histogram based methods. In Section 5 and 6, we examine another method known as the exponential mechanism. Section 7 contains a small simulation study and Section 8 contains concluding remarks. All technical proofs appear in Section 9.

We consider several different data release mechanisms that satisfy differential privacy. We evaluate the utility of these mechanisms by evaluating the rate at which d(P,PZ)d(P,P_{Z}) goes to 0, where PP is the distribution of the data X∈XX\in{\cal X}, PZP_{Z} is the empirical distribution of the released data ZZ, and dd is some distance between distributions. This gives an informative way to compare data release mechanisms. In more detail, we consider the Kolmogorov-Smirnov (KS) distance: sup⁡x∈X∣F(x)−F^Z(x)∣\sup_{x\in{\mathcal{X}}}|F(x)-\widehat{F}_{Z}(x)|, where FF, F^Z\widehat{F}_{Z} denote the cumulative distribution function (cdf) corresponding to PP and the empirical distribution function corresponding to PZP_{Z}, respectively. We also consider the squared L2L_{2} distance: ∫(p(x)−p^Z)2\int(p(x)-\widehat{p}_{Z})^{2}, where p^Z\widehat{p}_{Z} is a density estimator based on ZZ. Our results are summarized in the following tables, where nn denotes the sample size.

The next table summarizes the results for the case where the dimension of XX is r=1r=1 and the density pp is assumed to be in a Sobolev space of order γ\gamma. We only consider the squared L2L_{2} distance between the true density pp and the estimated density p^Z\widehat{p}_{Z} in this case. The results are from Section 6 of the paper.

Our results show that, in general, privacy schemes seem not to yield minimax rates. Two exceptions are perturbation methods evaluated under L2L_{2} loss which do yield minimax rates. An open question is whether the slower than minimax rates are intrinsic to the privacy methods. It is possible, for example, that our rates are not tight. This question could be answered by establishing lower bounds on these rates. We consider this an important topic for future research.

Differential Privacy

Let X1,…,XnX_{1},\ldots,X_{n} be a random sample (independent and identically distributed) of size nn from a distribution PP where Xi∈XX_{i}\in{\cal X}. To be concrete, we shall assume that X≡r=××⋯×{\cal X}\equiv^{r}=\times\times\cdots\times for some integer r≥1r\geq 1. Extensions to more general sample spaces are certainly possible but we focus on this sample space to avoid unnecessary technicalities. (In particular, it is difficult to extend differential privacy to unbounded domains.) Let μ\mu denote Lebesgue measure and let p=dP/dμp=dP/d\mu if the density exists. We call X=(X1,…,Xn)X=(X_{1},\ldots,X_{n}) a database. Note that X∈Xn=r×⋯×rX\in{\cal X}^{n}=^{r}\times\cdots\times^{r}. We focus on mechanisms that take a database XX as input and output a sanitized database Z=(Z1,…,Zk)∈XkZ=(Z_{1},\ldots,Z_{k})\in{\cal X}^{k} for public release. In general, ZZ need not be the same size as XX. For some schemes, we shall see that large kk can lead to low privacy and high accuracy while while small kk can lead to high privacy and low accuracy. We will let k≡k(n)k\equiv k(n) change with nn. Hence, any asymptotic statements involving nn increasing will also allow kk to change as well.

A data release mechanism Qn(⋅∣X)Q_{n}(\cdot|X) is a conditional distribution for Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) given XX. Thus, Qn(B∣X=x)Q_{n}(B|X=x) is the probability that the output database ZZ is in a set B∈BB\in{\cal B} given that the input database is xx, where B{\cal B} are the measurable subsets of Xk{\cal X}^{k}. We call Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) a sanitized database. Schematically:

The marginal distribution of the output database ZZ induced by PP and QnQ_{n} is Mn(B)=∫Qn(B∣X=x)dPn(x)M_{n}(B)=\int Q_{n}(B|X=x)dP^{n}(x) where PnP^{n} is the nn-fold product measure of PP.

A simple example to help the reader have a concrete example in mind is adding noise. In this case, Z=(Z1,…,Zn)Z=(Z_{1},\ldots,Z_{n}) where Zi=Xi+ϵiZ_{i}=X_{i}+\epsilon_{i} and ϵ1,…,ϵn\epsilon_{1},\ldots,\epsilon_{n} are mean 0 independent observations drawn from some known distribution HH with density hh. Hence QnQ_{n} has density qn(z1,…,zn∣x1,…,xn)=∏i=1nh(zi−xi)q_{n}(z_{1},\ldots,z_{n}|x_{1},\ldots,x_{n})=\prod_{i=1}^{n}h(z_{i}-x_{i}).

Given two databases X=(X1,…,Xn)X=(X_{1},\ldots,X_{n}) and Y=(Y1,…,Yn)Y=(Y_{1},\ldots,Y_{n}), let δ(X,Y)\delta(X,Y) denote the Hamming distance between XX and YY: \delta(X,Y)=\#\Bigl{\{}i:\ X_{i}\neq Y_{i}\Bigr{\}}.

A general data release mechanism is the exponential mechanism (McSherry and Talwar, 2007) which is defined as follows. Let ξ:Xn×Xk:→[0,∞)\xi:{\cal X}^{n}\times{\cal X}^{k}:\to[0,\infty) be any function. Each such ξ\xi defines a different exponential mechanism. Let

that is, Δn,k\Delta_{n,k} is the maximum change to ξ\xi caused by altering a single entry in xx. Finally, let (Z1,…,Zk)(Z_{1},\ldots,Z_{k}) be a random vector drawn from the density

where α≥0\alpha\geq 0, z=(z1,…,zk)z=(z_{1},\ldots,z_{k}) and x=(x1,…,xn)x=(x_{1},\ldots,x_{n}). In this case, QnQ_{n} has density h(z∣x)h(z|x). We’ll discuss the exponential mechanism in more detail later.

There are many definitions of privacy but in this paper we focus on the following definition due to Dwork et al. (2006) and Dwork (2006).

Let α≥0\alpha\geq 0. We say that QnQ_{n} satisfies α\alpha-differential privacy if

where B{\cal B} are the measurable sets on Xk{\cal X}^{k}. The ratio is interpreted to be 1 whenever the numerator and denominator are both 0.

The definition of differential privacy is based on ratios of probabilities. It is crucial to measure closeness by ratios of probabilities since that protects rare cases which have small probability under QnQ_{n}. In particular, if changing one entry in the database XX cannot change the probability distribution Qn(⋅∣X=x)Q_{n}(\cdot|X=x) very much, then we can claim that a single individual cannot guess whether he is in the original database or not. The closer eαe^{\alpha} is to 1, the stronger privacy guarantee is. Thus, one typically chooses α\alpha close to 0. See Dwork et al. (2006) for more discussion on these points. Indeed, suppose that two subjects each believe that one of them is in the original database. Given ZZ and full knowledge of PP and QnQ_{n} can they test who is in XX? The answer is given in the following result. (In this result, we drop the assumption that the user does not know QnQ_{n}.)

Suppose that ZZ is obtained from a data release mechanism that satisfies α\alpha-differential privacy. Any level γ\gamma test which is a function of ZZ, PP and QnQ_{n} of H0:Xi=sH_{0}:X_{i}=s versus H1:Xi=tH_{1}:X_{i}=t has power bounded above by γeα\gamma e^{\alpha}.

Thus, if QnQ_{n} satisfies differential privacy then it is virtually impossible to test the hypothesis that either of the two subjects is in the database since the power of such a test is nearly equal to its level. A similar calculation shows that if one does a Bayes test between H0H_{0} and H1H_{1} then the Bayes factor is always between e−2αe^{-2\alpha} and e2αe^{2\alpha}. For more detail on the motivation for the definition as well as consequences, see Dwork et al. (2006), Dwork (2006), Ganta et al. (2008), Rastogi et al. (2009).

The following result, which is proved in McSherry and Talwar (2007) (Theorem 6), shows that the exponential mechanism always preserves differential privacy.

(McSherry and Talwar, 2007) The exponential mechanism satisfies the α\alpha-differential privacy.

If T(X,R)T(X,R) satisfies differential privacy then U=h(T(X,R))U=h(T(X,R)) also satisfies differential privacy for any measurable function hh.

(Proposition 1 from Dwork et al. (2006).) Let f(x)f(x) be a function of x=(x1,…,xn)x=(x_{1},\ldots,x_{n}) and define S(f)=sup⁡x,x′:δ(x,x′)=1∥f(x)−f(x′)∥1S(f)=\sup_{x,x^{\prime}:\delta(x,x^{\prime})=1}\left\lVert f(x)-f(x^{\prime})\right\rVert_{1} where ∥a∥1=∑j∣aj∣\left\lVert a\right\rVert_{1}=\sum_{j}|a_{j}|. Let RR have density g(r)∝e−α∣r∣/S(f)g(r)\propto e^{-\alpha|r|/S(f)}. Then T(X,R)=f(X)+RT(X,R)=f(X)+R satisfies differential privacy.

Informative Mechanisms

A challenge in privacy theory is to find QnQ_{n} that satisfies differential privacy and yet yields datasets ZZ that preserve information. Informally, a mechanism is informative if it is possible to make precise inferences from the released data Z1,…,ZkZ_{1},\ldots,Z_{k}. Whether or not a mechanism is informative will depend on the goals of the inference. From a statistical perspective, we would like to infer PP or functionals of PP from ZZ. Blum et al. (2008) show that the probability content of some classes of intervals can be estimated accurately while preserving privacy. Their results motivated the current paper. We will assume throughout that the user has access to the sanitized data ZZ but not the mechanism QnQ_{n}. The question of how a data analyst can use knowledge of QnQ_{n} to improve inferences is left to future work.

There are many ways to measure the information in ZZ. One way is through distribution functions. Let FF denote the cumulative distribution function (cdf) on X{\cal X} corresponding to PP. Thus F(x)=P(X∈(−∞,x1]×⋯×(−∞,xr])F(x)=P(X\in(-\infty,x_{1}]\times\cdots\times(-\infty,x_{r}]) where x=(x1,…,xr)x=(x_{1},\ldots,x_{r}). Let F^≡F^X\widehat{F}\equiv\widehat{F}_{X} denote the empirical distribution function corresponding to XX and similarly let F^Z\widehat{F}_{Z} denote the empirical distribution function corresponding to ZZ. Let ρ\rho denote any distance measure on distribution functions.

QnQ_{n} is consistent with respect to ρ\rho if ρ(F,F^Z)→P0\rho(F,\widehat{F}_{Z})\stackrel{{\scriptstyle P}}{{\to}}0. QnQ_{n} is ϵn\epsilon_{n}-informative if ρ(F,F^Z)=OP(ϵn)\rho(F,\widehat{F}_{Z})=O_{P}(\epsilon_{n}).

An alternative to requiring ρ(F,F^Z)\rho(F,\widehat{F}_{Z}) to be small is to require ρ(F^,F^Z)\rho(\widehat{F},\widehat{F}_{Z}) to be small. Or one could require Qn(ρ(F^,F^Z)>ϵ∣X=x)Q_{n}(\rho(\widehat{F},\widehat{F}_{Z})>\epsilon|X=x) be small for all xx as in Blum et al. (2008). These requirements are similar. Indeed, suppose ρ\rho satisfies the triangle inequality and that F^\widehat{F} is consistent in the ρ\rho distance, that is, ρ(F^,F)→P0\rho(\widehat{F},F)\stackrel{{\scriptstyle P}}{{\to}}0. Assume further that ρ(F^,F)=OP(ϵn)\rho(\widehat{F},F)=O_{P}(\epsilon_{n}). Then ρ(F,F^Z)=OP(ϵn)\rho(F,\widehat{F}_{Z})=O_{P}(\epsilon_{n}) implies that

Similarly, ρ(F^,F^Z)=OP(ϵn)\rho(\widehat{F},\widehat{F}_{Z})=O_{P}(\epsilon_{n}) implies that ρ(F,F^Z)=OP(ϵn)\rho(F,\widehat{F}_{Z})=O_{P}(\epsilon_{n}).

There are many possible choices for ρ\rho. We shall mainly focus on the Kolmogorov-Smirnov (KS) distance ρ(F,G)=sup⁡x∣F(x)−G(x)∣\rho(F,G)=\sup_{x}|F(x)-G(x)| and the squared L2L_{2} distance ρ(F,G)=∫(f(x)−g(x))2dx\rho(F,G)=\int(f(x)-g(x))^{2}dx where f=dF/dμf=dF/d\mu and g=dG/dμg=dG/d\mu. However, our results can be carried over to other distances as well.

Before proceeding let us note that we will need some assumptions on FF otherwise we cannot have a consistent scheme as shown in the following theorem. The following result — essentially a re-expression of a result in Blum et al. (2008) in our framework — makes this clear.

Suppose that QnQ_{n} satisfies differential privacy and that ρ(F,G)=sup⁡x∣F(x)−G(x)∣\rho(F,G)=\sup_{x}|F(x)-G(x)|. Let FF be a point mass distribution. Thus F(y)=I(y≥x)F(y)=I(y\geq x) for some point x∈x\in. Then F^Z\widehat{F}_{Z} is inconsistent, that is, there is a δ>0\delta>0 such that lim inf⁡n→∞Pn(ρ(F,F^Z)>δ)>0\liminf_{n\to\infty}P^{n}(\rho(F,\widehat{F}_{Z})>\delta)>0.

Sampling From a Histogram

The goal of this section is to give two concrete, simple data release methods that achieve differential privacy. The idea is to draw a random sample from histogram. The first scheme draws observations from a smoothed histogram. The second scheme draws observations from a randomly perturbed histogram. We use the histogram for its familiarity and simplicity and because it is used in applications of differential privacy. We will see that the histogram has to be carefully constructed to ensure differential privacy. We then compare the two schemes by studying the accuracy of the inferences from the released data. We will see that the accuracy depends both on how the histogram is constructed and on what measure of accuracy we use.

Let L>0L>0 be a constant and suppose that p=dP/dμ∈Pp=dP/d\mu\in{\cal P} where

is the class of Lipschitz functions. We assume throughout this section that p∈Pp\in{\cal P}. The minimax rate of convergence for density estimators in squared L2L_{2} distance for P{\cal P} is n−2/(2+r)n^{-2/(2+r)} (Scott, 1992).

Let h=hnh=h_{n} be a binwidth such that 0<h<10<h<1 and such that m=1/hrm=1/h^{r} is an integer. Partition X{\cal X} into mm bins {B1,…,Bm}\{B_{1},\ldots,B_{m}\} where each bin BjB_{j} is a cube with sides of length hh. Let I(⋅)I(\cdot) denote the indicator function. Let f^m\widehat{f}_{m} denote the corresponding histogram estimator on X{\cal X}, namely,

where p^j=Cj/n\widehat{p}_{j}=C_{j}/n and Cj=∑i=1nI(Xi∈Bj)C_{j}=\sum_{i=1}^{n}I(X_{i}\in B_{j}) is the number of observations in BjB_{j}. Recall that f^m\widehat{f}_{m} is a consistent estimator of pp if h=hn→0h=h_{n}\to 0 and nhnr→∞nh_{n}^{r}\to\infty. Also, the optimal choice of m=mnm=m_{n} for L2L_{2} error under P{\cal P} is mn≍nr/(2+r)m_{n}\asymp n^{r/(2+r)}, in which case ∫(p−f^m)2=OP(n−2/(2+r))\int(p-\widehat{f}_{m})^{2}=O_{P}(n^{-2/(2+r)}) (Scott, 1992). Here, an≍bna_{n}\asymp b_{n} means that both an/bna_{n}/b_{n} and bn/anb_{n}/a_{n} are bounded for large nn.

The first method for generating released data ZZ from a histogram while achieving differential privacy proceeds as follows. Recall that the sample space is r^{r}. Fix a constant 0<δ<10<\delta<1 and define the smoothed histogram

Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) where Z1,…,ZkZ_{1},\ldots,Z_{k} are kk iid draws from f^m,δ(x)\widehat{f}_{m,\delta}(x). If

then α\alpha-differential privacy holds.

Note that for δ→0\delta\to 0 and mnδ→0\frac{m}{n\delta}\to 0, log⁡((1−δ)mnδ+1)=mnδ(1+o(1))≈mnδ\log\left(\frac{(1-\delta)m}{n\delta}+1\right)=\frac{m}{n\delta}(1+o(1))\approx\frac{m}{n\delta}. Thus (6) is approximately the same as requiring

Equation (7) shows an interesting tradeoff between mm, kk and δ\delta. We note that sampling from the usual histogram corresponding to δ=0\delta=0 does not preserve differential privacy.

Now we give a result that shows how accurate the inferences are in the KS distance using the smoothed histogram sampling scheme.

In this case we see that we have consistency since ρ(F,F^Z)=oP(1)\rho(F,\widehat{F}_{Z})=o_{P}(1) but the rate is slower than the minimax rate of convergence for density estimators in KS distance, which is n−1/2n^{-1/2}. Now let q^j=#{Zi∈Bj}/k\widehat{q}_{j}=\#\{Z_{i}\in B_{j}\}/k and

Assume the conditions of the previous theorem. Let ρ\rho be the squared L2L_{2} distance as defined in (8). Then choosing

Again, we have consistency but the rate is slower than the minimax rate which is n−2/(2+r)n^{-2/(2+r)}. (Scott, 1992)

2 Sampling From a Perturbed Histogram

The second method, which we call the sampling from a perturbed histogram, is due to Dwork et. al. (2006). Recall that CjC_{j} is the number of observations in bin BjB_{j}. Let Dj=Cj+νjD_{j}=C_{j}+\nu_{j} where ν1,…,νm\nu_{1},\ldots,\nu_{m} are independent, identically distributed draws from a Laplace density with mean 0 and variance 8/α28/\alpha^{2}. Thus the density of νj\nu_{j} is g(ν)=(α/4)e−∣ν∣α/2g(\nu)=(\alpha/4)e^{-|\nu|\alpha/2}. Dwork et. al. (2006) show that releasing D=(D1,…,Dm)D=(D_{1},\ldots,D_{m}) preserves differential privacy. However, our goal is to release a database Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) rather than just a set of counts. Now define

Since DD preserves differential privacy, it follows from Lemma 2.6 that (q^1,…,q^m)(\widehat{q}_{1},\ldots,\widehat{q}_{m}) also preserve differential privacy; Moreover, any sample Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) from f~(x)=h−r∑j=1mq^jI(x∈Bj)\widetilde{f}(x)=h^{-r}\sum_{j=1}^{m}\widehat{q}_{j}I(x\in B_{j}) preserve differential privacy for any kk.

Hence, this method achieves the minimax rate of convergence in L2L_{2} while the first data release method does not. This suggests that the perturbation method is preferable for the L2L_{2} distance. The perturbation method does not achieve the minimax rate of convergence in KS distance; in fact, the exponential mechanism based method achieves a better rate as we shown in Section 5 (Theorem 5.4). We examine this method numerically in Section 7.

They show that differential privacy requires aj+Cj≥k/(eα−1)a_{j}+C_{j}\geq k/(e^{\alpha}-1) for all jj. If we take a1=a2=⋯=ama_{1}=a_{2}=\cdots=a_{m} then this is similar to the first histogram-based data release method we discussed in this section. They also suggest a weakened version of differential privacy.

Exponential Mechanism

In this section we will consider the exponential mechanism in some detail. We’ll derive some general results about accuracy and apply the method to the mean, and to density estimation. Specifically, we will show the following for exponential mechanisms:

Choosing the size kk of the released database is delicate. Taking kk too large compromises privacy. Taking kk too small compromises accuracy.

The accuracy of the exponential scheme can be bounded by a simple formula. This formula has a term that measures how likely it is for a distribution based on sample size kk, to be in a small ball around the true distribution. In probability theory, this is known as a small ball probability.

The formula can be applied to several examples such as the KS distance, the mean, and nonparametric density estimation using orthogonal series. In each case we can use our results to choose kk and to find the rate of convergence of an estimator based on the sanitized data.

In light of Theorem 3.2, we know that some assumptions are needed on PP. We shall assume throughout this section that PP has a bounded density pp; note that this is a weaker condition than (4).

Recall the exponential mechanism. We draw the vector Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) from h(z∣x)h(z|x) where

For KS distance Δn,k≤1n\Delta_{n,k}\leq\frac{1}{n}.

This framework is used in Blum et al. (2008). For the rest of this section, assume that Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) are drawn from an exponential mechanism QnQ_{n}.

Let FF denote the cumulative distribution function on X\mathcal{X} corresponding to PP. Let G^\widehat{G} denote the empirical cdf from a sample of size kk from PP, and let

R(k,ϵ)R(k,\epsilon) is called the small ball probability associated with ρ\rho.

The following theorem bounds the accuracy of the estimator from the sanitized data by a simple formula involving the small ball probability.

Assume that PP has a bounded density pp, and that there exists ϵn→0\epsilon_{n}\to 0 such that

for some c>1c>1. Further suppose that ρ\rho satisfies the triangle inequality. Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) be drawn from gx(z)g_{x}(z) given in (9). Then,

Thus, if we can choose k=knk=k_{n} in such a way that the right hand side of (11) goes to 0, then the mechanism is consistent. We now show some examples that satisfy these conditions and we show how to choose knk_{n}.

Suppose that PP has a bounded density pp and let B:=log⁡sup⁡xp(x)>0B:=\log\sup_{x}p(x)>0. Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) be drawn from gx(z)g_{x}(z) given in (9) with ρ\rho being the KS distance. By requiring that kn≍(3αB)2/3n2/3k_{n}\asymp\left(\frac{3\alpha}{B}\right)^{2/3}n^{2/3}, we have for ϵn=2(B3α)1/3n−1/3\epsilon_{n}=2\left(\frac{B}{3\alpha}\right)^{1/3}n^{-1/3}, and for ρ\rho being the KS distance,

Note that ρ(F,F^Z)\rho(F,\widehat{F}_{Z}) converges to 0 at a slower rate than ρ(F,F^X)\rho(F,\widehat{F}_{X}). We thus see that the rate after sanitization is n−1/3n^{-1/3} which is slower than the optimal rate of n−1/2n^{-1/2}. It is an open question whether this rate can be improved.

2 The Mean

It is interesting to consider what happens when ρ(F,F^Z)=∣∣μ−Z‾∣∣2\rho(F,\widehat{F}_{Z})=||\mu-\overline{Z}||^{2} where μ=∫xdP(x)\mu=\int xdP(x) and Z‾\overline{Z} is the sample mean of ZZ. In this case Δ≤r/n\Delta\leq r/n. Thus, h(u∣x)≈e−n∣∣X‾−Z‾∣∣2/(2α)h(u|x)\approx e^{-n||\overline{X}-\overline{Z}||^{2}/(2\alpha)} so, approximately, Z1,…,Zk∼N(X‾,kα/n)Z_{1},\ldots,Z_{k}\sim N(\overline{X},k\alpha/n). Indeed, it suffices to take k=1k=1 in this case since then Z‾=X‾+OP(1/n)\overline{Z}=\overline{X}+O_{P}(1/\sqrt{n}). Thus Z‾\overline{Z} converges at the same rate as X‾\overline{X}. This is not surprising: preserving a single piece of information requires a database of size k=1k=1.

Orthogonal Series Density Estimation

In this section, we develop an exponential scheme based on density estimation and we compare it to the perturbation approach. For simplicity we take r=1r=1. Let {1,ψ1,ψ2,…,}\{1,\psi_{1},\psi_{2},\ldots,\} be an orthonormal basis for L2(0,1)={f: ∫01f2(x)dx<∞}L_{2}(0,1)=\{f:\ \int_{0}^{1}f^{2}(x)dx<\infty\} and assume that p∈L2(0,1)p\in L_{2}(0,1). Hence

We assume that the basis functions are uniformly bounded so that

Let B(γ,C){\cal B}(\gamma,C) denote the Sobolev ellipsoid

The minimax rate of convergence in L2L_{2} norm for P(γ,C){\cal P}(\gamma,C) is n−2γ/(2γ+1)n^{-2\gamma/(2\gamma+1)} (Efromovich, 1999). Thus

for some c1>0c_{1}>0. This rate is achieved by the estimator

where mn=n1/(2γ+1)m_{n}=n^{1/(2\gamma+1)} and β^j=n−1∑i=1nψj(Xi).\widehat{\beta}_{j}=n^{-1}\sum_{i=1}^{n}\psi_{j}(X_{i}). See Efromovich (1999).

Under the above scheme we have Δ≤2c02mnn\Delta\leq\frac{2c_{0}^{2}m_{n}}{n} for c0c_{0} as defined in (13). Hence,

Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) be drawn from gx(z)g_{x}(z) given in (17). Assume that γ>1\gamma>1. If we choose k≍nk\asymp\sqrt{n} then

We conclude that the sanitized estimator converges at a slower rate than the minimax rate. Now we compare this to the perturbation approach. Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) be an iid sample from

where ν1,…,νm\nu_{1},\ldots,\nu_{m} are iid draws from a Laplace distribution with density g(ν)=(nα/(2c0m))e−nα∣ν∣/(c0m)g(\nu)=(n\alpha/(2c_{0}m))e^{-n\alpha|\nu|/(c_{0}m)}. Thus, i the notation of 2.6, R=(ν1,…,νm)R=(\nu_{1},\ldots,\nu_{m}). It follows from Lemma 2.6 that, for any kk, this preserves differential privacy. If q^(x)<0\widehat{q}(x)<0 for any xx then we replace q^\widehat{q} by q^(x)I(q^(x)>0)/∫q^(s)I(q^(s)>0)ds\widehat{q}(x)I(\widehat{q}(x)>0)/\int\widehat{q}(s)I(\widehat{q}(s)>0)ds as in Hall and Murison (1993).

Let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) be drawn from q^\widehat{q}. Assume that γ>1\gamma>1. If we choose k≥nk\geq n, then

where p^Z\widehat{p}_{Z} is the orthogonal series density estimator based on ZZ.

Hence, again, the perturbation technique achieves the minimax rate of convergence and so appears to be superior to the exponential mechanism. We do not know if this is because the exponential mechanism is inherently less accurate, or if our bounds for the exponential mechanism are not tight enough.

Example

Here we consider a small simulation study to see the effect of perturbation on accuracy. We focus on the histogram perturbation method with r=1r=1. We take the true density of XX to be a Beta(10,10) density. We considered sample sizes n=100n=100 and n=1,000n=1,000 and privacy levels α=0.1\alpha=0.1, and α=0.01\alpha=0.01. We take ρ\rho to be squared error distance. Figure 1 shows the results of 1,000 simulations for various numbers of bins mm.

As expected, smaller values of α\alpha induce a larger information loss which manifests itself as a larger mean squared error. Despite the fact that the perturbed histogram achieves the minimax rate, the error is substantially inflated by the perturbation. This means that the constants in the risk are important, not just the rate. Also, the risk of the sanitized histograms is much more sensitive to the choice of the number of cells than the original histogram is.

We repeated the simulations with a bimodal density, namely, p(x)p(x) being an equal mixture of a Beta(10,3) density and Beta(3,10) density. The results turned out to be nearly identical to those above.

Conclusion

Differential privacy is an important type of privacy guarantee when releasing data. Our goal has been to present the idea in statistical language and then to show that loss functions based on distributions and densities can be useful for comparing privacy mechanisms.

We have seen that sampling from a histogram leads to differential privacy as long as either the histogram is shifted away from 0 by a factor δ\delta or if the cells are perturbed appropriately. The latter method achieves a faster rate of convergence in L2L_{2} distance. But, the simulation showed that the risk can nonetheless be quite large. This suggests that more work is needed to get precise finite sample risk bounds. Also, the choice of the smoothing parameter (number of cells in the histogram) has a larger effect on the sanitized histogram than on the original histogram.

We also studied the exponential mechanism. Here we derived a formula for assessing the accuracy of the method. The formula involves small ball probabilities. As far as we know, the connection between differential privacy and small ball probabilities has not been observed before.

Minimaxity is desirable for any statistical procedure. We have seen that in some cases the minimax rate is achieved and in some cases it is not. We do not yet have a complete minimax theory for differential privacy and this is the focus of our current work. We close with some open questions.

When is it possible for ρ(F,F^Z)\rho(F,\widehat{F}_{Z}) to have the same rate as ρ(F,F^X)\rho(F,\widehat{F}_{X})?

When adaptive minimax methods are used, such as adapting to γ\gamma in Section 6 or when using wavelet estimation methods, is some form of adaptivity preserved after sanitization?

Many statistical methods involve some sort of risk minimization. A example is choosing a bandwidth by cross-validation. What is the effect of sanitization on these procedures?

Are there other, better methods of sanitization that preserve differential privacy?

Proofs

Without loss of generality take i=1i=1. Let M0(B)M_{0}(B) == ∫Q(B∣s,x2,…,xn)\int Q(B|s,x_{2},\ldots,x_{n}) dP(x2,…,xn)dP(x_{2},\ldots,x_{n}) and M1(B)=∫Q(B∣t,x2,…,xn)dP(x2,…,xn)M_{1}(B)=\int Q(B|t,x_{2},\ldots,x_{n})dP(x_{2},\ldots,x_{n}). By the Neyman-Pearson lemma, the highest power test is to reject H0H_{0} when U>uU>u where U(z)=(dM1/dM0)(z)U(z)=(dM_{1}/dM_{0})(z) and uu is chosen so that ∫I(U(z)>u)dM0(z)≤γ\int I(U(z)>u)dM_{0}(z)\leq\gamma. Since (s,x2,…,xn)(s,x_{2},\ldots,x_{n}) and (t,x2,…,xn)(t,x_{2},\ldots,x_{n}) differ in only one coordinate, M1(B)≤eαM0(B)M_{1}(B)\leq e^{\alpha}M_{0}(B) and so the power is M1(U>u)≤eαM0(U>u)≤γeαM_{1}(U>u)\leq e^{\alpha}M_{0}(U>u)\leq\gamma e^{\alpha}.     □\;\;\scriptstyle\Box

2 Proof of Lemma 2.6

For the second part, let Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) and note that ZZ is independent of XX given T(X,R)T(X,R). Let HH be the distribution of T(X,R)T(X,R). Hence,

3 Proof of Theorem 3.2

Let v>0v>0 be any point in $suchthatsuch thatQ_{n}(Z=v|X=X_{(0)})=0.Let. LetX_{(1)}=\{v,0,\ldots,0\},,X_{(2)}=\{v,v,0,\ldots,0\},…,, …,X_{(n)}=\{v,v,\ldots,v\}.Byassumption,. By assumption,Q_{n}(Z=X_{(j)}|X=X_{(0)})=0forallfor allj\geq 1.Differentialprivacyimpliesthat. Differential privacy implies thatQ_{n}(Z=X_{(j)}|X=X_{(1)})=0forallfor allj\geq 1.Applyingdifferentialprivacyagainimpliesthat. Applying differential privacy again implies thatQ_{n}(Z=X_{(j)}|X=X_{(2)})=0forallfor allj\geq 1.Continuingthisway,weconcludethat. Continuing this way, we conclude thatQ_{n}(Z=X_{(j)}|X=X_{(n)})=0forallfor allj\geq 1$.

Next let P=δvP=\delta_{v}. Arguing as before, we know that Qn(F^Z(v)<1−δ∣X=X(n))→0Q_{n}(\widehat{F}_{Z}(v)<1-\delta|X=X_{(n)})\to 0. And since F(v−)=0F(v-)=0 we also have that Qn(F^Z(v−)>δ∣X=X(n))→0Q_{n}(\widehat{F}_{Z}(v-)>\delta|X=X_{(n)})\to 0. Here, F(v−)=lim⁡i→∞F(vi)F(v-)=\lim_{i\to\infty}F(v_{i}) where v1<v2<…v_{1}<v_{2}<\ldots and vi→vv_{i}\to v. Hence, for j/n>1−δj/n>1-\delta, Qn(Z=X(j)∣X=X(n))>0Q_{n}(Z=X_{(j)}|X=X_{(n)})>0 which is a contradiction.     □\;\;\scriptstyle\Box

4 Proof of Theorem 4.1

Suppose that XX differs from YY in at most one observation. Let f^\widehat{f} denote the perturbed histogram f^m,δ\widehat{f}_{m,\delta} based on XX and let g^m,δ\widehat{g}_{m,\delta} denote the histogram based on YY, such that XX and YY differ in one entry. We also use p^j(X)\widehat{p}_{j}(X) and p^j(Y)\widehat{p}_{j}(Y) for cell proportions. Note that ∣p^j(X)−p^j(Y)∣<1/n|\widehat{p}_{j}(X)-\widehat{p}_{j}(Y)|<1/n by definition. It is clear that the maximum density ratio for a single draw xix_{i}, or all ii, occurs in one bin BjB_{j}. Now consider x=(x1,…,xi){\bf x}=(x_{1},\ldots,x_{i}) such that for all i=1,…,ki=1,\ldots,k, we have xi∈Bj⊂rx_{i}\in B_{j}\subset^{r} and the following bounds.

Let p^j(Y)=0\widehat{p}_{j}(Y)=0; then in order to maximize f^(x)/g^(x)\widehat{f}({\bf x})/\widehat{g}({\bf x}), we let p^j(X)=1/n\widehat{p}_{j}(X)=1/n and obtain

Otherwise, we let p^j(Y)≥1/n\widehat{p}_{j}(Y)\geq 1/n, (as by definition of p^j\widehat{p}_{j}, it takes z/nz/n for non-negative integers zz) and let p^j(X)=p^j(Y)±1/n\widehat{p}_{j}(X)=\widehat{p}_{j}(Y)\pm 1/n. Now it is clear that in order to maximize the density ratio at xx, we may need to reverse the role of XX and YY,

where the maximum is achieved when p^j(Y)=1/n\widehat{p}_{j}(Y)=1/n and p^j(X)=0\widehat{p}_{j}(X)=0, given a fixed set of parameters m,n,δm,n,\delta.

and the theorem holds.     □\;\;\scriptstyle\Box

5 Proof of Theorem 4.2

The Vapnik-Chervonenkis dimension of the class of sets of the form {(−∞,x1]×⋯×(−∞,xr]\{(-\infty,x_{1}]\times\cdots\times(-\infty,x_{r}] is rr and so by the standard Vapnik-Chervonenkis bound, we have for ϵ>0\epsilon>0 that

By the triangle inequality, we have for all x∈rx\in^{r},

where the last step follows from the VC bound as in (18) for Fm(x)F_{m}(x).

Next we bound sup⁡x∈r∣Fm(x)−F(x)∣\sup_{x\in^{r}}\left\lvert F_{m}(x)-F(x)\right\rvert. Now F(x)=P(A)F(x)=P(A) where A={(s1,…,sr): si≤xi,i=1,…,r}A=\{(s_{1},\ldots,s_{r}):\ s_{i}\leq x_{i},i=1,\ldots,r\}. If x=(j1h,…,jrh)x=(j_{1}h,\ldots,j_{r}h) for some integers j1,…,jrj_{1},\ldots,j_{r} then F(x)−Fm(x)=0F(x)-F_{m}(x)=0. For xx not of this form, let x~=(j1h,…,jrh)\widetilde{x}=(j_{1}h,\ldots,j_{r}h) where ji=⌊xi/h⌋j_{i}=\lfloor x_{i}/h\rfloor. Let R={(s1,…,sr): si≤x~i,i=1,…,r}R=\{(s_{1},\ldots,s_{r}):\ s_{i}\leq\widetilde{x}_{i},i=1,\ldots,r\}. So

where Pm(B)=∫BdFm(u)P_{m}(B)=\int_{B}dF_{m}(u) and the set A∖RA\setminus R intersects at most rh/hrrh/h^{r} number of cubes in {B1,…,Bm}\{B_{1},\ldots,B_{m}\}, given that Vol(A∖R)≤1−(1−h)r≤rh{\rm Vol}(A\setminus R)\leq 1-(1-h)^{r}\leq rh. Now by the Lipschitz condition (4), we have sup⁡x∈r∣p(x)−fˉm(x)∣≤Lhr\sup_{x\in^{r}}|p(x)-\bar{f}_{m}(x)|\leq Lh\sqrt{r} and

6 Proof of Theorem 4.3

Let f^Z\widehat{f}_{Z} be the histogram based on ZZ as in (8). Then

where ⪯\preceq means less than, up to constants. Hence,

where RmR_{m} is the usual L2L_{2} risk of a histogram under the Lipschitz condition (4), namely, m−2/r+m/nm^{-2/r}+m/n. Conditional on XX, f^Z\widehat{f}_{Z} is an unbiased estimate of f^m\widehat{f}_{m} with integrated variance m/km/k. So,

7 Proof of Theorem 4.4

(1) Note that p−f^Z=p−f~+f~−f^Z=p−f~+OP(mk).p-\widehat{f}_{Z}=p-\widetilde{f}+\widetilde{f}-\widehat{f}_{Z}=p-\widetilde{f}+O_{P}\left(\frac{m}{k}\right). When k≥nk\geq n, the latter error is lower order than the other terms and may be ignored. Now,

The expected value of the first term is the usual risk, namely, O(m−2/r+m/n)O(m^{-2/r}+m/n).

For the second term, we proceed as follows. Let p^j=Cj/n\widehat{p}_{j}=C_{j}/n and

almost surely, for all large nn. We have

where Rn=(∑s=1m(Cs+νs)+)/nR_{n}=(\sum_{s=1}^{m}(C_{s}+\nu_{s})_{+})/n. Now

where M=max⁡{∣ν1∣,…,∣νm∣}M=\max\{|\nu_{1}|,\ldots,|\nu_{m}|\}. Let A>0A>0. The density for νj\nu_{j} has the form f(ν)=(β/2)e−β∣ν∣f(\nu)=(\beta/2)e^{-\beta|\nu|}. So,

By choosing AA large enough we have that M<Alog⁡mM<A\log m a.s. for large nn, by the Borel-Cantelli lemma. Therefore,

Therefore, 1/Rn=(1+O(mlog⁡m/n))1/R_{n}=(1+O(m\log m/n)) and thus

Next we claim that p^j=O(1/m)\widehat{p}_{j}=O(1/m) a.s. To see this, note that pj≤C/mp_{j}\leq C/m, by definition of CC: 1≤C=sup⁡xp(x)<∞1\leq C=\sup_{x}p(x)<\infty. Hence, by Bernstein’s inequality,

for all n≥16mlog⁡n/3Cn\geq 16m\log n/3C; Thus p^j=O(1/m)\widehat{p}_{j}=O(1/m) a.s. for all large nn. Thus, q^j−p^j=O(log⁡m/n)\widehat{q}_{j}-\widehat{p}_{j}=O(\log m/n) almost surely for all large nn. Hence,

for n≥mlog⁡2mn\geq m\log^{2}m. This is the usual risk. Hence, we can choose m≍nr/(2+r)m\asymp n^{r/(2+r)} to achieve risk n−2/(2+r)n^{-2/(2+r)} for all nn large enough.

(2) Let F^m\widehat{F}_{m} be the cdf based on the original histogram and let F~m\widetilde{F}_{m} be the cdf based on the perturbed histogram. We have

Since we may take kk as large as we like, we can make the last term arbitrarily small. From (22),

Let f^(x)=h−r∑j=1mp^jI(x∈Bj)\widehat{f}(x)=h^{-r}\sum_{j=1}^{m}\widehat{p}_{j}I(x\in B_{j}) and Let f~(x)=h−r∑j=1mq^jI(x∈Bj)\widetilde{f}(x)=h^{-r}\sum_{j=1}^{m}\widehat{q}_{j}I(x\in B_{j}). Let x′=(u1h,…,urh)x^{\prime}=(u_{1}h,\ldots,u_{r}h) where ui=⌈xi/h⌉,∀i=1,…,ru_{i}=\lceil x_{i}/h\rceil,\forall i=1,\ldots,r. Recall that B1,…,BmB_{1},\ldots,B_{m} are the mm bins of X\mathcal{X} with sides of length of hh. Let BxB_{x} denote the cube with the left-most corner being and the right-most corner being xx. Then for all xx, we have

where we use the fact that there are at most mm cubes. Hence,

where we use the fact that max⁡j∣p^j−q^j∣=O(log⁡m/n)\max_{j}|\widehat{p}_{j}-\widehat{q}_{j}|=O(\log m/n) a.s. So,

Hence for r=1r=1, the rate is O(log⁡nn)O\left(\sqrt{\frac{\log n}{n}}\right). For r≥2r\geq 2, the rate is dominated by the first term inside O()O(), and hence the rate is O(log⁡n×n−2/(2+r))O\left(\log n\times n^{-2/(2+r)}\right).     □\;\;\scriptstyle\Box

8 Proof of Theorem 5.3

Let B_{\epsilon}=\Bigl{\{}u=(u_{1},\ldots,u_{k}):\ \rho(F,\widehat{F}_{u})\leq\epsilon\Bigr{\}} where F^u\widehat{F}_{u} is the empirical distribution based on u=(u1,…,uk)∈Xku=(u_{1},\ldots,u_{k})\in{\cal X}^{k}. Also, let An={ρ(F^X,F)≤ϵn/16}A_{n}=\{\rho(\widehat{F}_{X},F)\leq\epsilon_{n}/16\}. For notational simplicity set Δ=Δn,k\Delta=\Delta_{n,k}. Then

By the triangle inequality ρ(F^u,F^X)≥ρ(F^u,F)−ρ(F^X,F)\rho(\widehat{F}_{u},\widehat{F}_{X})\geq\rho(\widehat{F}_{u},F)-\rho(\widehat{F}_{X},F). Then,

By the triangle inequality, we also have ρ(F^u,F^X)≤ρ(F^u,F)+ρ(F^X,F)\rho(\widehat{F}_{u},\widehat{F}_{X})\leq\rho(\widehat{F}_{u},F)+\rho(\widehat{F}_{X},F) and

where G^\widehat{G} is the empirical cdf from a sample of size kk drawn from PP. Thus we have

Thus the theorem holds.     □\;\;\scriptstyle\Box

9 Proof of Lemma 5.1

Proof of Lemma 5.1. We start with KS, By the triangle inequality, we have for all z∈Xkz\in{\mathcal{X}}^{k} and for all x,y∈Xnx,y\in{\mathcal{X}}^{n},

Notice that changing one entry in xx will change F^x(t)\widehat{F}_{x}(t) by at most 1n\frac{1}{n} at any tt by definition, that is,

Thus the conclusion holds for the KS-distance.     □\;\;\scriptstyle\Box

10 Proof of Theorem 5.4

We need the following small ball result; see Li and Shao (2001).

Let r≥3r\geq 3, and {Xt,t∈r}\{X_{t},t\in^{r}\} be the Brownian sheet. Then there exists 0<Cr<∞0<C_{r}<\infty such that for all 0<ϵ≤10<\epsilon\leq 1,

where CrC_{r} depends only on rr. The same bound holds for a Brownian bridge.

Proof of theorem 5.4. The Vapnik-Chervonenkis dimension of the class of sets of the form {(−∞,x1]×⋯×(−∞,xr]\{(-\infty,x_{1}]\times\cdots\times(-\infty,x_{r}] is rr and so by the standard Vapnik-Chervonenkis bound, we have for ϵn,kn\epsilon_{n},k_{n} as specified in the theorem statement,

for some constants c5,c6,c7,C2>0c_{5},c_{6},c_{7},C_{2}>0 for nn large enough. Thus (10) holds. Now we compute the small ball probability. Note that k(F^k−F)\sqrt{k}(\widehat{F}_{k}-F) converges to a Brownian bridge BkB_{k} on r^{r}. More precisely, from Csörgő and Révész (1975) there exist a sequence of Brownian bridges BkB_{k} such that

where γ=1/(2(r+1))\gamma=1/(2(r+1)). It is clear that the RHS of (25) is o(1)o(1) a.s. given a fixed rr. Hence we have for k=knk=k_{n} and ϵn\epsilon_{n} as chosen in the theorem statement, and for all ϵ≥ϵn\epsilon\geq\epsilon_{n}, it holds that

for all large nn, where (26) follows from (25) and (27) holds given that kϵ≥knϵn≥c\sqrt{k}\epsilon\geq\sqrt{k_{n}}\epsilon_{n}\geq c for some constant c>1/2c>1/2 due to our choice of knk_{n} and ϵn\epsilon_{n}. Also, Δ≤1/n\Delta\leq 1/n for KS distance. Hence, by Theorem 5.3 and (24), we have for B=log⁡sup⁡xp(x)>0B=\log\sup_{x}p(x)>0,

for some constants C0,C1,C2C_{0},C_{1},C_{2} and C3C_{3}, where (28) holds when we take w.l.o.g. kn=116(3αB)2/3n2/3k_{n}=\frac{1}{16}\left(\frac{3\alpha}{B}\right)^{2/3}n^{2/3} and ϵn≥2(B3α)1/3n−1/3\epsilon_{n}\geq 2\left(\frac{B}{3\alpha}\right)^{1/3}n^{-1/3}, given that ϵn≥2(B3α)1/3n−1/3=32knB3nα\epsilon_{n}\geq 2\left(\frac{B}{3\alpha}\right)^{1/3}n^{-1/3}=\frac{32k_{n}B}{3n\alpha} and hence 3αϵn16≥2Bknn\frac{3\alpha\epsilon_{n}}{16}\geq\frac{2Bk_{n}}{n}. Thus the result follows.     □\;\;\scriptstyle\Box

The constants taken in the proof are arbitrary; indeed, when we take kn=C4(3αB)2/3n2/3k_{n}=C_{4}\left(\frac{3\alpha}{B}\right)^{2/3}n^{2/3} and ϵn=32C4(B3α)1/3n−1/3\epsilon_{n}=32C_{4}\left(\frac{B}{3\alpha}\right)^{1/3}n^{-1/3} with some constant C4≥1/16C_{4}\geq 1/16, (28) will hold with slightly different constants C2,C3C_{2},C_{3}. For knk_{n} and ϵn\epsilon_{n} as chosen above, it holds that knϵn≍1\sqrt{k_{n}}\epsilon_{n}\asymp 1.

11 Proofs for Lemma 6.1 and Theorem 6.2

Throughout this section, we let p^X\widehat{p}_{X} denote the estimator as defined in (14), which is based on a sample of size nn drawn independently from FF; Similarly, we let p^k\widehat{p}_{k} denote the same estimator based on an i.i.d. sample (Y1,…,Yk)(Y_{1},\ldots,Y_{k}) of size kk drawn from FF, with mk=k1/(2γ+1)m_{k}=k^{1/(2\gamma+1)} replacing mnm_{n} and β^j=k−1∑i=1kψj(Yi)\widehat{\beta}_{j}=k^{-1}\sum_{i=1}^{k}\psi_{j}(Y_{i}) in (14). We let p^Z\widehat{p}_{Z} denote the estimator as in (16), based on an i.i.d. sample Z=(Z1,…,Zk)Z=(Z_{1},\ldots,Z_{k}) of size kk drawn from gx(z)g_{x}(z) as in (17).

Proof of Lemma 6.1. Without loss of generality, let X=(x,X2,…,Xn)X=(x,X_{2},\ldots,X_{n}) and Y=(y,X2,…,Xn)Y=(y,X_{2},\ldots,X_{n}) so that δ(X,Y)=1\delta(X,Y)=1 and let Z∈XkZ\in{\mathcal{X}}^{k}. Recall that

In particular, let us define u=p^X−p^Zu=\widehat{p}_{X}-\widehat{p}_{Z} and v=p^Y−p^Zv=\widehat{p}_{Y}-\widehat{p}_{Z} and thus

Hence Δ≤2c02mnn\Delta\leq\frac{2c_{0}^{2}m_{n}}{n}.     □\;\;\scriptstyle\Box

Proof of Theorem 6.2. For u=(u1,…,uk)∈Xku=(u_{1},\ldots,u_{k})\in{\cal X}^{k}, we let

where mk=k12γ+1m_{k}=k^{\frac{1}{2\gamma+1}} and β^j=k−1∑i=1kψj(ui)\widehat{\beta}_{j}=k^{-1}\sum_{i=1}^{k}\psi_{j}(u_{i}).

Let F^u\widehat{F}_{u} be the empirical distribution based on uu. Our proof follows that of Theorem 5.3, with

as defined in (15) for X=(X1,…,Xn)X=(X_{1},\ldots,X_{n}). Now

Thus the corresponding triangle inequalities that we use to replace that in Theorem 5.3 are:

We need to compute the small ball probability. Recall that p^k\widehat{p}_{k} denote the estimator based on a sample of size kk. By Parseval’s relation,

Let Ui=(ψ1(Xi)−β1,…,ψmk(Xi)−βmk)TU_{i}=(\psi_{1}(X_{i})-\beta_{1},\ldots,\psi_{m_{k}}(X_{i})-\beta_{m_{k}})^{T} and Yi=Σk−1/2UiY_{i}=\Sigma_{k}^{-1/2}U_{i} where Σk\Sigma_{k} is the covariance matrix of UiU_{i}. Hence, YiY_{i} has mean 0 and identity covariance matrix. Let λk\lambda_{k} denote the largest eigenvalue of Σk\Sigma_{k}. From Lemma 9.3 below, λ=lim sup⁡k→∞λk<∞\lambda=\limsup_{k\to\infty}\lambda_{k}<\infty. Let Q=∑j=1mk(β^j−βj)2Q=\sum_{j=1}^{m_{k}}(\widehat{\beta}_{j}-\beta_{j})^{2} and let S=k−1/2∑i=1kYiS=k^{-1/2}\sum_{i=1}^{k}Y_{i}. Then, for all large kk, and any δ>0\delta>0,

From Theorem 1.1 of Bentkus (2003) we have that

since mk=k12γ+1=n1/2(2γ+1)m_{k}=k^{\frac{1}{2\gamma+1}}=n^{1/2(2\gamma+1)}. We see that for all large kk

as n→∞n\rightarrow\infty since 3γ2(2γ+1)>1/2\frac{3\gamma}{2(2\gamma+1)}>1/2, where c2,c3,c4c_{2},c_{3},c_{4} are some constants. Hence the theorem holds.     □\;\;\scriptstyle\Box

Let λ=lim sup⁡k→∞λk\lambda=\limsup_{k\to\infty}\lambda_{k}. Then λ<∞\lambda<\infty.

where we used the fact that ψ−j(x)=ψj(x)\psi_{-j}(x)=\psi_{j}(x) for all j=1,2,…j=1,2,\ldots and ∫ψj(x)dx=0\int\psi_{j}(x)dx=0 for all j>0j>0. So, we have for all j∈{1,…,p}j\in\{1,\ldots,p\},

Hence, limsupk→∞λmax⁡(Σk)≤∥Σk∥∞=O(1){\rm limsup}_{k\to\infty}\lambda_{\max}(\Sigma_{k})\leq\left\lVert\Sigma_{k}\right\rVert_{\infty}=O(1) and the lemma holds.     □\;\;\scriptstyle\Box

12 Proof of Theorem 6.3

The proof is similar to the proof of Theorem 4.4, so we provide a short outline. In particular, the effect of truncation can be shown to be negligible as in the proof of Theorem 4.4. We have p−p^Z=p−q^+q^−p^Z=p−q^+OP(m/k)p-\widehat{p}_{Z}=p-\widehat{q}+\widehat{q}-\widehat{p}_{Z}=p-\widehat{q}+O_{P}(m/k) and the latter term is negligible for k≥nk\geq n. Now p−q^=p−p^+p^−q^p-\widehat{q}=p-\widehat{p}+\widehat{p}-\widehat{q}. The term p−p^p-\widehat{p} is the usual error term and contributes O(n−2γ/(2γ+1))O(n^{-2\gamma/(2\gamma+1)}) to the risk. For the second term, ∫(p^−q^)2=∑j=1mνj2=OP(m/n)=OP(n−2γ/(2γ+1))\int(\widehat{p}-\widehat{q})^{2}=\sum_{j=1}^{m}\nu_{j}^{2}=O_{P}(m/n)=O_{P}(n^{-2\gamma/(2\gamma+1)}).     □\;\;\scriptstyle\Box

References