Causal decision theory

From formulasearchengine
Jump to navigation Jump to search

The exponential mechanism is a technique for designing differentially private algorithms developed by Frank McSherry and Kunal Talwar. Differential privacy is a technique for releasing statistical information about a database without revealing information about its individual entries.
Most of the initial research in the field of differential privacy revolved around real valued functions which have relatively low sensitivity to change in the data of a single individual and whose usefulness is not hampered by small additive perturbations. A natural question is what happens in the situation when one wants to preserve more general sets of properties. The Exponential Mechanism helps to extend the notion of differential privacy to address these issues. Moreover, it describes a class of mechanisms that includes all possible differentially private mechanisms.

The exponential mechanism [1]

Algorithm

In very generic terms a privacy mechanism maps a set of n inputs from domain 𝒟, to a range . The map may be randomized, in which case each element of the domain D corresponds to the probability distribution over the range R. The privacy mechanism we are going to design makes no assumption about the nature of 𝒟 and apart from a base measure μ on . Let us define a function q:𝒟n×. Intuitively this function assigns score to the pair (d,r), where d𝒟n and r. The score reflects how appealing is the pair (d,r), i.e. the higher the score, the more appealing the pair is. Once we are given the input d𝒟n, the mechanism's objective is to return an r such that the function q(d,r) is approximately maximized. To achieve this, we set up the mechanism qϵ(d) as follows:
Definition: For any function q:(𝒟n×), and a base measure μ over , we define:

qϵ(d):= Choose r with probability proportional to eϵq(d,r)×μ(r), where d𝒟n,rR.

This definition implies the fact that the probability of returning an r increases exponentially with the increase in the value of q(d,r). For now if we ignore the base measure μ then the value r which maximizes q(d,r) has the highest probability. Moreover we claim that this mechanism is differentially private. We will prove this claim shortly. One technicality that should be kept in mind is that in order to properly define qϵ(d) the reϵq(d,r)×μ(r) should be finite.

Theorem (Differential Privacy): qϵ(d) gives (2ϵΔq)-differential privacy.

Proof: The probability density of qϵ(d) at r equals

eϵq(d,r)μ(r)eϵq(d,r)μ(r)dr.

Now, if a single change in d changes q by at most Δq then the numerator can change at most by a factor of eϵΔq and the denominator minimum by a factor of eϵΔq. Thus, the ratio of the new probability density (i.e. with new d) and the earlier one is at most exp(2ϵΔq).

Accuracy

We would ideally want the random draws of r from the mechanism qϵ(d) to nearly maximize q(d,r). If we consider maxrq(d,r) to be OPT then we can show that the probability of the mechanism deviating from OPTis low, as long as there is a sufficient mass (in terms of μ) of values r with value q close to the optimum.

Lemma: Let St={r:q(d,r)>OPTt} and S¯2t={r:q(d,r)OPT2t}, we have p(S¯2t) is at most exp(ϵt)/μ(St). The probability is taken over R.

Proof: The probability p(S¯2t) is at most p(S¯2t)/p(St), as the denominator can be at most one. Since both the probabilities have the same normalizing term so,

p(S¯2t)p(St)=S¯2texp(ϵq(d,r))μ(r)drStexp(ϵq(d,r))μ(r)drexp(ϵt)μ(S¯2t)μ(St).

The value of μ(S¯2t) is at most one, and so this bound implies the lemma statement.

Theorem (Accuracy): For those values of tln(OPTtμ(St))/ϵ, we have E[q(d,qϵ(d))]OPT3t.

Proof: It follows from the previous lemma that the probability of the score being at least OPT2t is 1exp(ϵt)/μ(St). By Hypothesis, tln(OPTtμ(St))/ϵ. Substituting the value of t we get this probability to be at least 1t/OPT. Multiplying with OPT2t yields the desired bound.

We can assume μ(A) for A to be less than or equal to one in all the computations, because we can always normalize with μ() .

Example application of the exponential mechanism [2]

Before we get into the details of the example let us define some terms which we will be using extensively throughout our discussion.

Definition (global sensitivity): The global sensitivity of a query Q is its maximum difference when evaluated on two neighbouring datasets D1,D2𝒟n:

GSQ=maxD1,D2:d(D1,D2)=1|(Q(D1)Q(D2))|.

Definition: A predicate query Qφ for any predicate φ is defined to be

Qφ=|{xD:φ(x)}||D|.

Note that GSQφ1/n for any predicate φ.

Release mechanism

The following is due to Avrim Blum, Katrina Ligett and Aaron Roth.

Definition (Usefulness): A mechanism 𝒜 is (α,δ)-useful for queries in class H with probability 1δ, if hH and every dataset D, for D^=𝒜(D), |Qh(D^)Qh(D)|α.

Informally, it means that with high probability the query Qh will behave in a similar way on the original dataset D and on the synthetic dataset D^.
Let us consider a common problem in Data Mining. Assume there is a database D with n entries. Each entry consist of k-tuples of the form (x1,x2,,xk) where xi{0,1}. Now, a user wants to learn a linear halfspace of the form π1x1+π2x2++πk1xk1xk. In essence the user wants to figure out the values of π1,π2,,πk1 such that maximum number of tuples in the database satisfy the inequality. The algorithm we describe below can generate a synthetic database D^ which will allow the user to learn (approximately) the same linear half-space while querying on this synthetic database. The motivation for such an algorithm being that the new database will be generated in a differentially private manner and thus asssure privacy to the individual records in the database D.

In this section we show that it is possible to release a dataset which is useful for concepts from a polynomial VC-Dimension class and at the same time adhere to ϵ-differential privacy as long as the size of the original dataset is at least polynomial on the VC-Dimension of the concept class. To state formally:

Theorem: For any class of functions H and any dataset D{0,1}k such that

|D|O(kVCDIM(H)log(1/α)α3ϵ+log(1/δ)αϵ)

we can output an (α,δ)-useful dataset D^ that preserves ϵ-differential privacy. As we had mentioned earlier the algorithm need not be efficient.

One interesting fact is that the algorithm which we are going to develop generates a synthetic dataset whose size is independent of the original dataset; in fact, it only depends on the VC-dimension of the concept class and the parameter α. The algorithm outputs a dataset of size O~(VCDIM(H)/α2)

We borrow the Uniform Convergence Theorem from combinatorics and state a corollary of it which aligns to our need.

Lemma: Given any dataset D there exists a dataset D^ of size =O(VCDIM(H)log(1/α))/α2 such that maxhH|Qh(D)Qh(D^)|α/2.

Proof:

We know from the uniform convergence theorem that,

Pr[|Qh(D)Qh(D^)|α/2 for some hH]2(emVCDIM(H))VCDIM(H)eα2m8,

where probability is over the distribution of the dataset. Thus, if the RHS is less than one then we know for sure that the data set D^ exists. To bound the RHS to less than one we need mλ(VCDIM(H)log(m/VCDIM(H))/α2), where λ is some positive constant. Since we stated earlier that we will output a dataset of size O~(VCDIM(H)/α2), so using this bound on m we get mλ(VCDIM(H)log(1/α)/α2). Hence the lemma.

Now we invoke the Exponential Mechanism.

Definition: For any function q:(({0,1}k)n×({0,1}k)m) and input dataset D, the Exponential mechanism outputs each dataset D^ with probability proportional to eq(D,D^)ϵn/2.

From the Exponential Mechanism we know this preserves (ϵnGSq)-differential privacy. Lets get back to the proof of the Theorem.

We define (q(D),q(D^))=maxhH|Qh(D)Qh(D^)|.
To show that the mechanism satisfies the (α,δ)-usefulness, we should show that it outputs some dataset D^ with q(D,D^)α with probability 1δ. There are at most 2km output datasets and the probability that q(D,D^)α is at most proportional to eϵαn/2. Thus by union bound, the probability of outputting any such dataset D^ is at most proportional to 2kmeϵαn/2. Again, we know that there exists some dataset D^({0,1}k)m for which q(D,D^)α/2. Therefore, such a dataset is output with probability at least proportional to eαϵn/4.
Let, A:= the event that the Exponential mechanism outputs some dataset D^ such that q(D,D^)α/2.
B:= the event that the Exponential mechanism outputs some dataset D^ such that q(D,D^)α.

Pr[A]Pr[B]eαϵn/42kmeαϵn/2=eαϵn/42km.

Now setting this quantity to be at least 1/δ(1δ)/δ, we find that it suffices to have

n4ϵα(km+ln1δ)O(dVCDIM(H)log(1/α)α3ϵ+log(1/δ)αϵ).

And hence we prove the theorem.

The Exponential Mechanism in other domains

We just showed an example of the usage of Exponential Mechanism where one can output a synthetic dataset in a differentially private manner and can use the dataset to answer queries with good accuracy. Apart from these kinds of setting, the Exponential Mechanism has also been studied in the context of auction theory and classification algorithms.[3] In the case of auctions the Exponential Mechanism helps to achieve a truthful auction setting.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.