This invention relates generally to secure computing by third parties, and more particularly to performing secure statistical analysis on a private distributed database.
Big Data
It is estimated that 2.5 quintillion (1018) bytes of data are created each day. This means that 90% of all the data in the world today has been created in the last two years. This “big” data come from everywhere, social media, pictures and videos, financial transactions, telephones, governments, medical, academic, and financial institutions, and private companies. Needless to say the data are highly distributed in what has become known as the “cloud,”
There is a need to statistically analyze this data. For many applications, the data are private and require the analysis to be secure. As used herein, secure means that privacy of the data is preserved, such as the identity of the sources for the data, and the detailed content of the raw data. Randomized response is one prior art way to do this. Random response does not unambiguously reveal the response of a particular respondent, but aggregate statistical measures, such as the mean or variance, can still be determined.
Differential privacy (DP) is another way to preserve privacy by using a randomizing function, such as Laplacian noise. Informally, differential privacy means that the result: of a function determined on a database of respondents is almost insensitive to the presence or absence of a particular respondent. Formally, if the function is evaluated on adjacent databases differing in only one respondent, then the probability of outputting the same result is almost unchanged.
Conventional mechanisms for privacy, such as k-anonymization are not differentially private, because an adversary can link an arbitrary amount of helper (side) information to the anonymized data to defeat the anonymization.
Other mechanisms used to provide differential privacy typically involve output perturbation, e.g., noise is added to a function of the data. Nevertheless, it can be shown that the randomized response mechanism, where noise is added to the data itself, provides DP.
Unfortunately, while DP provides a rigorous and worst-case characterization for the privacy of the respondents, it is not enough to formulate privacy of an empirical probability distribution or “type” of the data. In particular, if an adversary has accessed anonymized adjacent databases, then the DP mechanism ensures that the adversary cannot de-anonymize any respondent. However, by construction, possessing an anonymized database reveals the distribution of the data.
Therefore, there is a need to preserve privacy of the respondents, while also protecting an empirical probability distribution from adversaries.
In U.S. application Ser. No. 13/032,521, Applicants disclose a method for processing data by an untrusted third party server. The server can determine aggregate statistics on the data, and a client: can retrieve the outsourced data exactly. In the process, individual entries in the database are not revealed to the server because the data are encoded. The method uses a combination of error correcting codes, and a randomization response, which enables responses to be sensitive while maintaining confidentiality of the responses.
In U.S. application Ser. No. 13/032,552. Applicants disclose a method for processing data securely by an untrusted third party. The method uses a cryptographically secure pseudorandom number generator that enables client data to be outsourced to an untrusted server to produce results. The results can include exact aggregate statistics on the data, and an audit report on the data. In both cases, the server processes modified data to produce exact results, while the underlying data and results are not revealed to the server.
The embodiments of the invention provide a method for statistically analyzing data while preserving privacy of the data.
For example, Alice and Bob are mutually untrusting sources of separate databases containing information related to respondents. It is desired to sanitize and publish the data to enable accurate statistical analysis of the data by an authorized entity, while retaining the privacy of the respondents in the databases. Furthermore, an adversary must not be able to analyze the data.
The embodiments provide a theoretical formulation of privacy and utility for problems of this type. Privacy of the individual respondents is formulated using ε-differential privacy. Privacy of the statistics on the distributed databases is formulated using δ-distributional and ε differential privacy.
Specifically, aggregate statistics are determined by first randomizing independently data X and Y to obtain randomized data {circumflex over (X)} and Ŷ. The first randomizing preserves a privacy of the data X and Y.
Then, the randomized data {circumflex over (X)} and Ŷ is randomized secondsly to obtain randomized data {tilde over (X)} and {tilde over (Y)} for a server, and helper information on T{tilde over (X)}|{circumflex over (X)} and TŶ|Ŷ for a client, wherein T represents an empirical distribution, and wherein the randomizing secondly preserves the privacy of the aggregate statistics of the data X and Y.
The server then determines T{tilde over (X)},{tilde over (Y)}. Last, the client applies the side information T{tilde over (X)}|{circumflex over (X)} and TŶ|Ŷ to T{tilde over (X)},{tilde over (Y)} obtain an estimated {dot over (T)}X,Y, wherein “|” and “,” between X and Y represent a conditional and joint distribution, respectively.
Method Overview
As shown in
In security, privacy and randomization applications “weak” and strong” are terms of art that are well understood and documented. Weak means that underlying data (e.g., password, user identification, etc.) is could be recovered with know “cracking” methods. Strong means that the data is very difficult to recover in given a reasonable amount of time and reasonable computing resources.
In addition, the randomization means randomizing the data according to a particular distribution. The term encompasses the following concept. First, the data are anonymized to protect privacy. Second, data are sanitized to reinforce the notion that the operation serves the purpose of making the data safe for release.
Data X 101 and Y 102 are first randomized (RAM1) independently to obtain randomized data {circumflex over (X)} and Ŷ, respectively. The randomizations 110 and 115 can be the same or different. In the preferred embodiment, we use a Post RAndomisation Method (PRAM). The security provided by 110 and 115 is relatively “weak.” This means that the identities of data sources are hidden and individual data privacy is preserved, but aggregate statistics on the data could perhaps be determined with some effort.
The randomized data {circumflex over (X)} and Ŷ data are again (second) randomized (RAM2) to obtain randomized data {tilde over (X)} and {tilde over (Y)} for a server, and helper information T{tilde over (X)}|Ŷ and TŶ|Ŷ for a client, respectively. The second randomizations can be the same or different than the first randomizations. In the helper information, T represents a true empirical distribution.
In statistics, an empirical distribution is the normalized histogram of the data. Each of n data points contributes by 1/n to the empirical distribution. The empirical distribution is representative of the underlying data. The emperical distribution is sufficient to determine a large number of different types of statistics, including mean, median, mode, skewedness, quantiles, and the like.
The security provided by 120 and 125 is relatively “strong.” That is, the privacy of aggregate statistics on the data X and Y is preserved.
The server 130 determines T{tilde over (X)},{tilde over (Y)}{tilde over ( )} after {tilde over (X)} and {tilde over (Y)} are combined.
The client can now apply the side information T{tilde over (X)}|{circumflex over (X)} and TŶ|Ŷ to T{tilde over (X)},{tilde over (Y)} to “undo” the second randomization, and obtain an estimated {dot over (T)}X,Y. The estimated, indicated by above, distribution of the data X and Y is sufficient to obtain first, second, etc. order statistics. Although the client can determine statistics, the client cannot recover the exact data X and Y because of the weak security.
Method Details
For ease of this description as shown in
Alice and Bob independently sanitize 210 data 201-202 to protect the privacy of respondents 205. As used herein, it is not possible to recover exact private information from sanitized data. A number of techniques are know for sanitizing data, e.g., adding random noise.
The sanitized data 211-212 are combined 220 into a database 230 at a “cloud” server. The server can be connected to a public network (Internet). This is the data is available for statistical analysis by an authorized user of a client.
As shown in
The analysis is subject to the following requirements. The private data of the sources should not be revealed to the server or the client. The statistics of the data provided by sources and Bob should not be revealed to the server. The client should be able to determine joint, marginal and conditional distributions of the data provided by Alice and Bob. The distributions are sufficient to determine first, second, etc. order statistics of the data.
Problem Framework and Notation
The Alice data are a sequence of random variables X:=(X1, X2, . . . , Xn), with each variable Xi taking values from a finite-alphabet X. Likewise, Bob's data are modeled as a sequence of random variables Y:=(Y1, Y2, . . . , Yn), with each Yi taking values from the finite-alphabet Y. The length of the sequences, n, represents the total number of respondents in the database, and each (Xi,Yi) pair represents the data of the respondent i collectively held by Alice and Bob, with the alphabet X×Y representing the domain of each respondent's data.
Data pairs (Xi,Yi) are independently and identically distributed (i.i.d.) according to a joint distribution PX,Y over X×Y, such that for
A privacy mechanism randomly maps 310 input to output, M: I→O, according to a conditional distribution PO|I. A post RAndomisation method (PRAM) is a class of privacy mechanisms where the input and output are both sequences. i.e., I=O=Dn for an alphabet D, and each element of the input sequence is i.i.d. according to an element-wise conditional distribution.
Alice and bob each independently apply PRAM to their data as RA:Xn→Xn and RB:Yn→Yn. The respective outputs are
{tilde over (X)}:=({tilde over (X)}1, . . . ,{tilde over (X)}n):=RA(X)
and
{tilde over (Y)}:=({tilde over (Y)}1, . . . ,{tilde over (Y)}n):=RB(Y),
and the governing distributions are
P{tilde over (X)}|X and P{tilde over (Y)}|Y,
so we have that
We also use RAB: Xn×Yn→Xn×Yn, defined by
RAB(X,Y):=({tilde over (X)},{tilde over (Y)}):=(RA(X), RB(Y))
to denote a mechanism that arises from a concatenation of each individual mechanism. RAB is also a PRAM mechanism and is governed by the conditional distribution P{tilde over (X)}|XP{tilde over (Y)}|Y.
Type Notation
The type or empirical distribution of the sequence of the random variables X=(X1, . . . , Xn) is the mapping TX:X→[0,1] defined by
A joint type of two sequences X=(X1, . . . , Xn) and Y=(Y1, . . . , Yn) is the mapping TX,Y:X×Y→[0,1] defined by
A conditional type of a sequence Y=(Y1, . . . , Yn) given another X=(X1, . . . , Xn) is the mapping TY|X:Y×X→[0,1] defined by
The conditional distribution is the joint distribution divided by the marginal distribution.
Values of these type mappings are determined, given the underlying sequences, and are random when the sequences are random.
Matrix Notation for Distributions and Types
The various distributions, and types of finite-alphabet random variables can be represented as vectors or matrices. By fixing a consistent ordering on their finite domains, these mappings can be vectors or matrices indexed by their domains. The distribution PX:X→[0,1] can be written as an |X|×1 column-vector PX, whose xth element, for x∈X, is given by PX[x]:=PX(x).
A conditional distribution PY|X:Y×Y→[0,1] can be written as a |Y|×|X| matrix PY|X, defined by PY|X[y,x]:=PY|X(y|x). A joint distribution PX,Y:X×Y→[0,1] can be written as a |X|×|Y| matrix PX,Y, defined by PX,Y[x,y]:=PX,Y(x,y), or as a |X∥Y|×1 column-vector
We can similarly develop the matrix notation for types, with TX, TY|X, TX,Y and
Privacy and Utility Conditions
We now formulate the privacy and utility requirements for this problem of computing statistics on independently sanitized data. According to the privacy requirements described above, the formulation consider privacy of the respondents, privacy of the distribution, and finally the utility for the client.
Privacy of the Respondents
The data related to a respondent must be kept private from all other parties, including any authorized, and perhaps untrusted clients. We formalize this notion using ε-differential privacy for the respondents.
Definition: For ε≧0, a randomized mechanism M:Dn→O gives ε-differential privacy if for all data, sets d,d′∈Dn, within Hamming distance dH(d,d′)≦1, and all S∈O,
Pr[M(d)∈S]≦eεPr[M(d′)∈S].
Under the assumption, that the respondents are sampled i.i.d., a privacy mechanism that satisfies DP results in a strong privacy guarantee. Adversaries with knowledge of all respondents except one, cannot discover the data of the sole missing respondent. This notion of privacy is rigorous and widely accepted, and satisfies privacy axioms.
Privacy of the Distribution
Alice and Bob do not want to reveal the statistics of the data to adversaries, or to the server. Hence, the sources and server must ensure that the empirical distribution, i.e., the marginal and joint types cannot be recovered from {tilde over (X)} and {tilde over (Y)}. As described above, ε-DP cannot be used to characterize privacy in this case. To formulate a privacy notion for the empirical probability distribution, we extend ε-differential privacy as follows.
Definition: (δ-distributional ε-differential privacy) Let d(•,•) be a distance metric on the space of distributions. For ε,δ≧0, a randomized mechanism M:Dn→O gives δ-distributional ε-differential privacy if for all data sets d,d′∈Dn, with d(Td, Td′)≦δ, and all S⊂O,
Pr[M(d)∈S]≦eεPr[M(d′)∈S].
A larger δ and smaller ε provides better protection of the distribution. Our definition also satisfies privacy axioms.
Utility for Authorized Clients
The authorized client extracts statistics from the randomized database 230. We model this problem as the reconstruction of the joint and marginal type functions TX,Y(x,y), TX(x), and TY(y), or (equivalently) the matrices TX,Y, TX and TY. The server facilitates this reconstruction by providing computation based on the sanitized data ({tilde over (X)}, {tilde over (Y)}). Alice and Bob provide low-rate, independently generated helper-information 203. With the server's computation and the helper-information, the client produces the estimates {dot over (T)}X,Y, {dot over (T)}X, and {dot over (T)}Y.
For a distance metric d(•,•) over the space of distributions, we define the expected utility of the estimates as
μTX,Y:=E[−d({dot over (T)}X,Y,TX,Y)],
μTX:=E[−d({dot over (T)}X,TX)], and
μTY:=E[−d({dot over (T)}Y,TY)].
Analysis of Privacy Requirements
The privacy protection of the marginal types of the database implies privacy protection for the joint type because the distance function d satisfies a general property shared by common distribution distance measures.
Lemma 1: Let d(•,•) be a distance function such that
d(TX,Y,TX′,Y′)≧max(d(TX,TX′),d(TY,TY′)). (1)
Let MAB be the privacy mechanism defined by MAB(X,Y):=(MA(X), MB(Y)). If MA satisfies δ-distributional ε1-differential privacy and MB satisfies δ-distributional ε2-differential privacy, then MAB satisfies δ-distributional (ε1+ε2)-differential privacy.
If vertically partitioned data are sanitized independently and we want to recover joint distribution from the sanitized table, the choice of privacy mechanisms is restricted to the class of PRAM procedures. We analyze the constraints that should be placed on the PRAM algorithms so that they satisfy the privacy constraints. First, consider the privacy requirement of the respondents in Alice and Bob's databases.
Lemma 2: Let R: Xn→Xn be a PRAM mechanism governed by conditional distribution P{tilde over (X)}|X. R satisfies ε-DP if
Lemma 3: Define MAB(x,y)=(MA(x), MB(y)). If MA satisfies ε1-DP and MB satisfies ε2-DP, the MAB satisfies (ε1+ε2)-DP.
The lemma can be extended to k sources where if ith source's sanitized data, satisfies εi-DP, then the joint system provides (Σi=1kεi)-DP. Next, we consider the privacy requirement for the joint and marginal types.
Lemma 4: Let d(•,•) be the distance metric on the space of distributions. Let R: Xn→Xn be a PRAM mechanism governed by conditional distribution P{tilde over (X)}|X.
Necessary Condition: If R satisfies δ-distributional ε-DP, then R must satisfy
for the respondents.
Sufficient Condition: If R satisfies
for the respondents, then R satisfies δ-distributional ε-DP.
Example Implementation
We now describe an example realization of the system framework given above, where the privacy mechanisms are selected to satisfy our privacy and utility requirements. The key requirements of this system can be summarized as follows:
Because the santized data are generated by a δ-distributional ε-differentially private mechanism, helper information is necessary to accurately estimate the marginal and joint type. To generate outputs that preserve different levels of privacy, the sources use a multilevel privacy approach.
As shown in
By Lemma 3, constraint (ii) implies RAB,1 is ε-DP and hence implies requirement (II). Note that RA(X) can be viewed as RA,2(RA,1) (X)) and is governed by the conditional distribution (in matrix notation)
P{tilde over (X)}|X=P{tilde over (X)}|{circumflex over (X)}P{tilde over (X)}|X.
Hence, constraint (iii) implies that requirement (III) is satisfied. By Lemmas 1 and 4, constraint (i) implies that requirement (i) is satisfied. Now, all the privacy requirement are satisfied. In the following, we describe how the client can determine the estimated types.
Recall that without the helper information, the client cannot accurately estimate exact types due to requirement (I). In this example, the helper information includes the conditional types T{circumflex over (X)}|{circumflex over (X)} and TŶ|Ŷ determined during the second pass. An unbiased estimate of TX determined from {tilde over (X)} is given by P{tilde over (X)}|X−1T{tilde over (X)} and the exact types can be recovered by T{tilde over (X)}|X−1T{tilde over (X)}. Thus, we have the following identities and estimators:
T{circumflex over (X)}=T{tilde over (X)}|{circumflex over (X)}−1T{tilde over (X)},
{dot over (T)}X=P{tilde over (X)}|{circumflex over (X)}−1T{circumflex over (X)}=P{tilde over (X)}|{circumflex over (X)}−1T{tilde over (X)}|{circumflex over (X)}−1T{tilde over (x)}, (4)
TŶ=T{tilde over (Y)}|Ŷ−1T{tilde over (Y)},
{dot over (T)}Y=P{tilde over (Y)}|Ŷ−1TŶ=P{tilde over (Y)}|Ŷ−1T{tilde over (Y)}|Ŷ−1T{tilde over (Y)}, (5)
Extending the results to determine the joint type presents some challenges. The matrix form of the conditional distribution of the collective mechanism RAB is given by P{tilde over (X)},{tilde over (Y)}|X,Y=P{tilde over (X)}|XP{tilde over (Y)}|Y where is the Kronecker product. An unbiased estimate of the joint type is given by
The embodiments of the invention provide a method for statistically analyzing sanitized private data stored at a server by an authorized, but perhaps, untrusted client in a distributed environment.
The client can determine empirical joint statistics on distributed databases without compromising the privacy of the data sources. Additionally, a differential privacy guarantee is provided against unauthorized parties accessing the sanitized data.
Although the invention has been described by way of examples of preferred embodiments, it is to be understood that various other adaptations and modifications can be made within the spirit and scope of the invention. Therefore, it is the object of the appended claims to cover all such variations and modifications as come within the true spirit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
4997288 | Rosenow | Mar 1991 | A |
5699431 | Van Oorschot et al. | Dec 1997 | A |
6014445 | Kohda et al. | Jan 2000 | A |
6463538 | Elteto | Oct 2002 | B1 |
7526084 | Smaragdis et al. | Apr 2009 | B2 |
7725730 | Juels et al. | May 2010 | B2 |
8204994 | Amir et al. | Jun 2012 | B1 |
8329661 | Christa | Dec 2012 | B2 |
20060056695 | Wu et al. | Mar 2006 | A1 |
20080137868 | Sanders et al. | Jun 2008 | A1 |
20090292818 | Blount et al. | Nov 2009 | A1 |
20110040820 | Rane et al. | Feb 2011 | A1 |
20110119204 | De Prisco et al. | May 2011 | A1 |
20120222134 | Orsini et al. | Aug 2012 | A1 |
Entry |
---|
Ardo van den Hout et al, “Randomized Respoonse, Statistical Disclousre Control and Misclassification:a Review”. International Statistical Review (2002), 70,2, p. 269-288. |
Zhengli et al., “Deriving Private Information Randomized Data, SIGMOD”, Jun. 14-16, 2005, pp. 37-48. |
Stelvio Cimato et al.,, “Privacy Preserving Risk Assesment of Credit Securities”, 2009 Fifth International Conference on Signal Image Technology and Internet Based Systems, IEEE, Nov. 2009, pp. 506-513. |
Warner, Stanley L. “The linear randomized response model.” Journal of American Statistical Association, vol. 66, No. 336, pp. 884-888, Dec. 1971. |
X. Xiao, Y. Tao, and M. Chen, “Optimal random perturbation at multiple privacy levels,” in Proc. VLDB Endow., vol. 2, No. 1. VLDB Endowment, Aug. 2009, pp. 814-825. |
S. Agrawal and J. R. Haritsa, “A framework for high-accuracy privacy preserving mining,” in Proceedings of the 21st International Conference on Data Engineering, ser. ICDE '05. Washington, DC, USA: IEEE Computer Society, 2005, pp. 193-204. |
A. van den Hout and P. G. M. van der Heijden, “Randomized response, statistical disclosure control and misclassification: a review,” International Statistical Review, vol. 70, pp. 269-288, Aug. 2002. |
Number | Date | Country | |
---|---|---|---|
20140137260 A1 | May 2014 | US |