Interactive Fingerprinting Codes and the Hardness of Preventing False Discovery
Thomas Steinke, Jonathan Ullman
Introduction
Empirical research commonly involves asking multiple “queries” on a finite sample drawn from some population(e.g., summary statistics, hypothesis tests, or learning algorithms). The outcome of a query is deemed significant if it is unlikely to have occurred by chance alone, and a “false discovery” occurs if the analyst incorrectly declares an observation significant. For decades statisticians have been devising methods for preventing false discovery, such as the “Bonferroni correction” [Bon36, Dun61] and the widely used and highly influential method of Benjamini and Hochberg [BH95] for controlling the “false discovery rate.”
Nevertheless, false discovery persists across all empirical sciences, and both popular and scientific articles report on an increasing number of invalid research findings. Typically false discovery is attributed to misuse of statistics. However, another possible explanation is that methods for preventing false discovery do not address the fact that data analysis is inherently adaptive—the choice of queries depends on previous interactions with the data. The issue of adaptivity was recently investigated in a striking paper by Dwork, Feldman, Hardt, Pitassi, Reingold, and Roth [DFH+15] and also by [HU14].
These two papers formalized the problem of adaptive data analysis in Kearns’ statistical-query (SQ) model [Kea93]. In the SQ model, there is an algorithm called the oracle that is given samples from an unknown distribution over some finite universe , where the parameter is the dimensionality of the distribution. The oracle must answer statistical queries about . A statistical query is specified by a predicate and the answer to a statistical query is
The oracle’s answer to a query is accurate if with high probability (for suitably small ). Importantly, the goal of the oracle is to provide answers that “generalize” to the underlying distribution, rather than answers that are specific to the sample. The latter is easy to achieve by outputting the empirical average of the query predicate on the sample.
The analyst makes a sequence of queries to the oracle, which responds with answers . In the adaptive setting, the query may depend on the previous queries and answers arbitrarily. We say the oracle is accurate given samples for adaptively chosen queries if, when given samples from an arbitrary distribution , the oracle accurately responds to any adaptive analyst that makes at most queries with high probability. A computationally efficient oracle answers each query in time polynomial in and .We assume that the analyst only asks queries that can be evaluated on the sample in polynomial time.
Unfortunately, we show that this is not the case, and prove the following nearly optimal hardness result for preventing false discovery.
Assuming the existence of one-way functions, there is no computationally efficient oracle that given samples is accurate on adaptively chosen queries.
As in [HU14], our hardness result applies whenever the dimensionality of the data grows with the sample size such that is not polynomial in This is under the stronger, but still standard, assumption that exponentially-hard one-way functions exist. This requirement is both mild and necessary. If then the empirical distribution of the samples will be close to the underlying distribution in statistical distance, so every statistical query can be answered accurately given the sample. Thus, the dimensionality of the data has a major effect on the hardness of the problem. In fact, we can prove a nearly optimal information theoretic lower bound when the dimensionality of the data is much larger than .
There is no oracle (even a computationally unbounded one) that given samples in dimension is accurate on adaptively chosen queries.
Our result builds on the techniques of [HU14], who use fingerprinting code [BS98, Tar08] to prove their hardness result. In this work, we identify a variant called an interactive fingerprinting code [FT01], which abstracts the technique in [HU14] and gives a more direct way of proving hardness results for adaptive data analysis. A slightly weaker version of our results can be obtained using the nice recent construction of interactive fingerprinting codes due to Laarhoven et al. [LDR+13] as a black box. However, we give a new analysis of (a close variant of) their code, which is simpler and achieves stronger parameters.
Thus, we can summarize the contributions of this work as follows.
We identify interactive fingerprinting codes as the key combinatorial object underlying the hardness of preventing false discovery in adaptive environments, analogous to the way in which (non interactive) fingerprinting codes are the key combinatorial object underlying the hardness of differential privacy.
We use this connection to prove nearly optimal hardness results for preventing false discovery in interactive data analysis.
We give a new Fourier-analytic method for analyzing both interactive and non-interactive fingerprinting codes that we believe is more intuitive, more flexible, and also leads to even stronger hardness results. In particular, using our analysis we are able to prove that these codes are optimally robustIn this context, optimal robustness means that all of our hardness results apply even when the oracle answers only a fraction of the queries accurately. [BUV14], which can be used to strengthen the hardness results in [Ull13, BUV14, SU15]. Given the importance of fingerprinting codes to adaptive data analysis and privacy, we believe this new analysis will find further applications.
The structure of our proof is rather simple, and closely follows the framework in [HU14]. We will design a challenge distribution and a computationally efficient adaptive analyst who knows . If any computationally efficient oracle is given samples drawn from , then our analyst can use the answers of to reconstruct the set . Using this information, the adversary can construct a query on which is not representative of .
Our adversary and the distribution , like that of [HU14], is built from a combinatorial object with a computational “wrapper.” The computational wrapper uses queries that cryptographically “hide” information from the oracle . In our work he combinatorial object will be an interactive fingerprinting code (IFPC). An IFPC is a generalization of a (standard) fingerprinting code, which was originally introduced by Boneh and Shaw [BS98] as a way to watermark digital content.
This result suffices for the informal statements made above, but our construction is somewhat more general and has additional parameters and security properties, which we detail in Section 2.
2 Applications to Data Privacy
The adversary used to show hardness of preventing false discovery is effectively carrying out a reconstruction attack against the database of samples. Roughly, if there is an adversary who can reconstruct the set of samples from the oracle’s answers, then the oracle is said to be “blatantly non-private”—it reveals essentially all of the data it holds, and so cannot guarantee any reasonable notion of privacy to the owners of the data. Since the seminal work of Dinur and Nissim [DN03], such reconstruction attacks have been used to establish strong limitations on the accuracy of privacy-preserving oracles.
Assuming the existence of one-way functions, every computationally efficient oracle that, given samples, is accurate on adaptively chosen queries is blatantly non private.
Every (possibly computationally unbounded) oracle that, given samples in dimension , is accurate on adaptively chosen queries is blatantly non private.
3 Additional Related Work
Our work and [HU14] is part of a line of work connecting technology for secure watermarking to lower bounds for private and interactive data analysis tasks. This connection first appeared in the work of Dwork, Naor, Reingold, Rothblum, and Vadhan [DNR+09], who showed that the existence of traitor-tracing schemes implies hardness of differential privacy. Traitor-tracing schemes were introduced by Chor, Fiat, and Naor [CFN94], also for the problem of watermarking digital content. The connection between traitor-tracing and differential privacy was strengthened in [Ull13], which introduced the use of fingerprinting codes in the context of differential privacy, and used them to show optimal hardness results for certain settings. [BUV14] showed that fingerprinting codes can be used to prove nearly-optimal information-theoretic lower bounds for differential privacy, which established fingerprinting codes as the key information-theoretic object underlying lower bounds in differential privacy.
Since there introduction by Boneh and Shaw [BS98] there has been extensive work on fingerprinting codes, most of which is beyond the scope of this discussion. For the standard, non-interactive definition of fingerprinting codes, [Tar08] gave an essentially optimal construction, which has been very influential in most of the subsequent work on the topic. The interactive model of fingerprinting codes was first studied by [FT01] under the name “dynamic traitor-tracing schemes.” Formally their results are in a significantly different model and cannot be used to prove hardness of preventing false discovery. [Tas05] gave the first construction in the model we use, but achieved suboptimal code length. Recently Laarhoven, Doumen, Roelse, Škorić, and de Wegner [LDR+13], gave a construction with nearly optimal length by generalizing Tardos’ code to the interactive setting. Their construction is quite similar to ours, but our analysis is substantively different and leads to sharper and more general guarantees (and we feel is more intuitive).
In an exciting recent paper, [DFH+15] gave the first algorithms for answering arbitrary adaptively chosen statistical queries. Their algorithms rely on known algorithms for answering statistical queries under differential privacy in a black box manner. Recently, [Ull14] showed how to design differentially private mechanisms for answering exponentially many adaptively chosen queries from the richer class of convex empirical risk minimization queries. By the results of [DFH+15], this algorithm is also a (computationally inefficient) oracle that is accurate for exponentially many adaptively chosen convex empirical risk minimization queries.
4 Organization
In Section 2 we define and construct interactive fingerprinting codes, the main technical ingredient we use to establish our results. In Sections 3 and 4 we show how interactive fingerprinting codes can be used to obtain hardness results for preventing false discovery and blatant non privacy, respectively. The definition of interactive fingerprinting codes is contained in Section 2.1 and is necessary for Sections 3 and 4, but the remainder of Section 2 and Sections 3 and 4 can be read in either order.
Interactive Fingerprinting Codes
In order to motivate the definition of interactive fingerprinting codes, it will be helpful to review the motivation for standard, non interactive fingerprinting codes.
Fingerprinting codes were introduced by Boneh and Shaw [BS98] for the problem of watermarking digital content (such as a movie or a piece of software). Consider a company that distributes some content to users. Some of the users may illegally distribute copies of the content. To combat this, the company gives each user a unique version of the content by adding distinctive “watermarks” to it. Thus, if the company finds an illegal copy, it can be traced back to the user who originally purchased it. Unfortunately, users may be able to remove the watermarks. In particular, a coalition of users may combine their copies in a way that mixes or obfuscates the watermarks. A fingerprinting code ensures that, even if up to users collude to combine their codewords, an illegal copy can be still be traced to at least one of the users.
A key drawback of fingerprinting codes is that we can only guarantee that a single user is traced. This is inherent, as setting the pirate codeword to be the codeword of a single user prevents any other user from being identified. We will see that this can be circumvented by moving to an interactive setting.
We are now ready to formally define interactive fingerprinting codes. To do so we make use of the following game between an adversary and the fingerprinting code . Both and may be stateful.
In the remainder of this section, we give a construction of interactive fingerprinting codes, and establish the following theorem.
and false accusation probability for
We remark on the parameters of our construction and how they relate to the literature.
The expression for the failure probability is a bit mysterious. To interpret it, we fix and consider two parameter regimes: and .
In the traditional parameter regime for fingerprinting codes , and so no users are falsely accused. Then our fingerprinting code has length and a failure probability of . This matches the result of [LDR+13].
However, if we are willing to tolerate falsely accusing a small constant fraction of users, then we can set, for example, , and our fingerprinting code will have length and failure probability . To our knowledge, such large values of have not been considered before. It saves a logarithmic factor in our final result.
Our construction works for any robustness parameter . Previously [BUV14] gave a construction for in the non-interactive setting. Previous constructions in the interactive setting do not achieve any robustness , even for the weaker model of robustness to erasures [BN08].
Our completeness condition differs subtly from previous work. We require that, with high probability,
While our version is less natural in the watermarking setting, it is important to our application to false dicsovery. Our interactive fingerprinting code ensures that the adversary cannot be consistent with respect to the population, rather than that it cannot be consistent with respect to the sample.
2 The Construction
Our construction and analysis is based on the optimal (non interactive) fingerprinting codes of Tardos [Tar08], and the robust variant by Bun et al. [BUV14]. The code is essentially the same, but columns are generated and shown to the adversary one at a time, and tracing is modified to identify users interactively.
We begin with some definitions and notation. For , let be the distribution with support and probability density function , where is a normalising constant.To sample from , first sample uniformly, then output as the sample. For , let be the distribution on $D_{\alpha,1-\alpha}1-2\zeta1\zeta$.
3 Analysis Overview
Intuitively, the quantity , which we call the score of user , measures the “correlation” between the answers of and the -th codeword , using a particular measure of correlation that takes into account the choices . If ever exceeds the threshold , meaning that the answers are significantly correlated with the -th codeword, then we accuse user . Thus, our goal is to show two things: Soundness, that the score of an innocent user (i.e. ) never exceeds the threshold, as the answers cannot be correlated with the unknown -th codeword. And completeness, that the score of every guilty user (i.e. ) will at some point exceed the threshold, meaning that the answers must correlate with the -th codeword for every .
3.2 Completeness
The hidden constants are set to ensure that Equation (2) conflicts with Equation (1). Thus, we can conclude that cannot give consistent answers for a fraction of rounds. That is to say, is forced to be inconsistent because all of is accused and eventually sees none of the codewords and is reduced to guessing an answer .
3.3 Establishing Correlation
Proving Equation (1) is key to the analysis. Our proof thereof combines and simplifies the analyses of [Tar08] and [BUV14]. For this high level overview, we ignore the issue of robustness and fix .
where the expectations are taken over the randomness of , , and . Equation (3), combined with a concentration result, implies Equation (1).
The intuition behind Equation (3) and the choice of is as follows. Consistency guarantees that, if for all , then . This is a weak correlation guarantee, but it suffices to ensure correlation between and . The affine scaling ensures that has mean zero (i.e. is uncorrelated with a constant) and and unit variance (i.e. has unit correlation with itself). The expectation of can be interpreted as the -th first-order Fourier coefficient of as a function of . To understand first-order Fourier coefficients, consider the “dictator” function: Suppose for some - that is, always outputs the -th bit. Then
This example can be generalised to being an arbitrary function of using Fourier analysis. This calculation also indicates why we choose the probability density function of to be proportional to .
To handle robustness () we use the ideas of [BUV14]. With probability each round is a “special” constant round—i.e. or . Otherwise it is a “normal” round where is sampled as before. Intuitively, the adversary cannot distinguish the special rounds from the normal rounds in which happens to be constant. If the adversary gives inconsistent answers on normal rounds, then it must also give inconsistent answers on special rounds. Since there are many more special rounds than normal rounds, this means that a small number of inconsistencies in normal rounds implies a large number of inconsistencies on special rounds. Conversely, inconsistencies are absorbed by the special rounds, so we can assume there are very few inconsistencies in normal rounds. Thus is forced to behave consistently on the normal rounds and the analysis on these rounds proceeds as before.
4 Proof of Soundness
We first show that no user is falsely accused except with probability . This boils down to proving a concentration bound. Then another concentration bound shows that with high probability at most a fraction of users are falsely accused.
These concentrations bounds are essentially standard. However, we are showing concentration of sums of variables of the form , which may be quite large if or . This technical problem prevents us from directly applying standard concentration bounds. Instead we open up the standard proofs and verify the desired concentration. We take the usual approach of bounding the moment generating function and using that to give a tail bound.
For and , we have
Let and drawn independently with . Let be fixed. For all , we have
By Lemma 2.4, for all ,
Set . If , then
On the other hand, if , then
The result is obtained by adding these expressions. ∎
The following theorem shows how we can beat the union bound for tail bounds on partial sums.
This is a useful if we are in a setting where is unknown: if , then the interactive fingerprinting code will still not make too many false accusations, even if it fails to identify all of .
If , then this is a very poor bound. Instead we use the fact that the s are discrete and Markov’s inequality, which amounts to a union bound. For , we have
The following lemma will be useful later.
5 Proof of Completeness
For this section, assume that the adversary is always consistent - that is, we have no robustness and . Robustness will be added in Section 2.5.2. Here we establish that the scores have good expectation, namely
In this section we deviate from the proof in [Tar08]. We use biased Fourier analysis to give a more intuitive proof of the correlation bound.
We have the following lemma and proposition, which relate the correlation to the properties of as a function of . To interpret these imagine that represents the adversary with one round viewed in isolation – the fingerprinting code gives the adversary and the adversary responds with .
Firstly, the following lemma gives an interpretation of the correlation value for a fixed .
Thus, for any , we can write in terms of these basis functions:
This decomposition is a generalisation of Fourier analysis to biased distributions [O’D14, §8.4]. For , the expansion of gives the following expressions for , and .
Now we can interpret the correlation for a random .
This effectively follows by integrating Lemma 2.11.
Let be the probability density function for the distribution on the interval . By Lemma 2.11 and the fundamental theorem of calculus, we have
It remains to show that . This follows from observing that
Now we have a lemma to bring consistency into the picture. If is consistent, , and , then
This gives a lower bound on the correlation for consistent .
5.2 Robustness
We require the fingerprinting code to be robust to inconsistent answers. We show that the correlation is still good in the presence of inconsistencies.
For , define a random variable by
The following bounds the expected increase in scores from one round of interaction.
Let and . Then
5.3 Concentration
So far we have shown that the fingerprinting code achieves good correlation or the adversary is not consistent in expectation. However, we need this to hold with high probability. Thus we now show that sums of variables concentrate around their expectation.
Again, the proofs in this section are standard. However, the variables can be quite unwieldy and we are thus unable to apply standard results directly. So instead we must open the proofs and verify that the concentration bounds hold. We proceed by bounding the moment generating function of and then proving an Azuma-like concentration inequality. These calculations are not novel or insightful.
Let , , , and . Then
where .
Let . By Lemma 2.4 and independence,
for . Pick such that
Then by dropping positive terms, for all ,
Thus we have bounded the even moments of . By Cauchy-Schwartz, for ,
For , we have
is determined by ,
is determined by , and
is determined by .
Suppose that, for all , , and ,
First we show by induction on that, for all and ,
This clearly holds for , as this is our supposition for . Now suppose this holds for some . For and , we have
for all and . Set to obtain the result. ∎
5.4 Bounding the Score
Now we can finally show that the scores are large with high probability.
Since the adversary is computationally unbounded and arbitrary, we may assume it is deterministic. We may also assume and that the adversary is able to see at each round. (This only gives the adversary more power.)
where denotes having the same distribution. We have
Now we can apply the above lemmas to bound the expectation and tail of this random variable.
for all . Moreover, by Proposition 2.15,
for all , where , as .
However, we can also prove that the scores are small with high probability. This follows from the fact that users with large scores are accused and therefore no user’s score can be too large:
Now we show that the conflicting bounds of Theorem 2.17 and Lemma 2.18 imply completeness - that is, the adversary cannot be consistent.
We claim this is a contradiction, which then holds with high probability, thus proving the theorem.
Substituting these into Equation (7) gives
Now we use and to derive a contradiction from Equation (8):
Since , we have
This gives a contradiction. The total failure probability is bounded by
assuming . ∎
6 Non-Interactive Fingerprinting Codes
Our construction and analysis also gives a construction of traditional non-interactive fingerprinting codes. First we give a formal definition of a fingerprinting code.
Our construction and analysis is readily adapted to the non-interactive setting. We obtain the following theorem.
and false accusation probability for
Hardness of False Discovery
In this section we prove our main result - that answering adaptive queries given samples is hard. But first we must formally define the model in which we are working.
Given a distribution over , we would like to answer statistical queries about . A statistical query on is specified by a function and (abusing notation) is defined to be
Our goal is to design an oracle that answers statistical queries on using only iid samples . Our focus is the case where the queries are chosen adaptively and adversarially.
2 Encryption Schemes
Our attack relies on the existence of a semantically secure private-key encryption scheme. An encryption scheme is a triple of efficient algorithms with the following syntax:
is a randomized algorithm that takes as input a security parameter and outputs a -bit secret key. Formally, .
is a deterministic algorithm that takes as input a secret key and a ciphertext and outputs a decrypted message . If the ciphertext was an encryption of under the key , then . Formally, if , then with probability .
Roughly, security of the encryption scheme asserts that no polynomial time adversary who does not know the secret key can distinguish encryptions of from encryptions of , even if the adversary has access to an oracle that returns the encryption of an arbitrary message under the unknown key. For convenience, we will require that this security property holds simultaneously for an arbitrary polynomial number of secret keys. The existence of an encryption scheme with this property follows immediately from the existence an ordinary semantically secure encryption scheme. We start with the stronger definition only to simplify our proofs. A secure encryption scheme exists under the minimal cryptographic assumption that one-way functions exist. The formal definition of security is not needed until Section A.
3 The Attack
4 Informal Analysis of the Attack
Before formally analysing the attack, we comment on the overall structure thereof.
In order to do this, the oracle could decrypt to obtain for every . However, the oracle does not have all the necessary secret keys; it only has the secret keys corresponding to its sample . Thus, by the security of the encryption scheme, any efficient oracle effectively can only see . That is to say, if the oracle is computationally efficient, then it has the same restriction as a fingerprinting adversary . Thus, any computationally efficient oracle must lose the fingerprinting game, meaning it cannot answer every query (or even just a fraction of the queries) accurately.
One subtly arises since “accuracy” for the oracle is defined with respect to the true answer whereas “accuracy” in the fingerprinting game is defined with respect to the average over all of , that is . We deal with these subtleties by arguing that , which is the number of users accused by the interactive fingerprinting code prior to the -th query, is small. Here we use the fact that the fingerprinting code only allows a relatively small number of false accusations . Therefore . As a result, the definition of accuracy guaranteed by the oracle will be close enough to the definition of accuracy required for the interactive fingerprinting code to succeed in identifying the sample.
5 Analysis of the Attack
In this section we prove our main result:
This follows straightforwardly from a reduction to the security of the fingerprinting code. Notice that the query does not depend on any entry for . Thus, an adversary for the fingerprinting code who has access to can simulate the view of the oracle. Since we have for any adversary
The proof is straightforward from the definition of security, and is deferred to Section A. Combining Claims 3.3 and 3.4 we easily obtain the following.
where the second equality is because by construction and the inequality is because we have .
Noting that and combining with (10), we have
Applying the triangle inequality to (9) and (11), we obtain
As before, we can argue that the real attack and the ideal attack are computationally indistinguishable, and thus the oracle must also give consistent answers in the ideal attack.
The proof is straightforward from the definition of security, and is deferred to Section A. Combining Claims 3.6 and 3.7 we easily obtain the following.
Putting the above claims together, we obtain the main theorem:
Assume for the sake of contradiction that there were such an oracle. Theorem 2.2 implies that an interactive fingerprinting code of length exists, so the attack can be carried out. By Claim 3.8 we would have
Note that the constants in the -accuracy assumption are arbitrary and have only been fixed for simplicity.
6 An Information-Theoretic Lower Bound
As in [HU14], we observe that the techniques underlying our computational hardness result can also be used to prove an information-theoretic lower bound when the dimension of the data is large. At a high level, the argument uses the fact that the encryption scheme we rely on only needs to satisfy relatively weak security properties, specifically security for at most messages. This security property can actually be achieved against computationally unbounded adversaries provided that the length of the secret keys is . As a result, our lower bound can be made to hold against computationally unbounded oracles, but since the secret keys have length , we will require . We refer the reader to [HU14] for a slightly more detailed discussion, and simply state the following result.
Hardness of Avoiding Blatant Non Privacy
In this section we show how our arguments also imply that computationally efficient oracles that guarantee accuracy for adaptively chosen statistical queries must be blatantly non-private.
Before we can define blatant non-privacy, we need to define a notion of accuracy that is more appropriate for the application to privacy. In contrast to Definition 3.1 where accuracy is defined with respect to the distribution, here we define accurate with respect to the sample itself. With this change in mind, we model blatant non-privacy via the following game.
where is the average over the sample.
2 Lower Bounds
In this section we show the following theorem
Assuming one-way functions exist, any computationally efficient oracle that gives accurate answers to adaptively chosen queries is blatantly non-private.
We will start by establishing that the number of falsely accused users is small. That is, we have with high probability. As in Section 3, this condition will follow from the security of the interactive fingerprinting code combined with the security of the encryption scheme, via the introduction of an “ideal attack” (Figure 8).
This follows straightforwardly from a reduction to the security of the fingerprinting code. Notice that since the query does not depend on any entry for . Thus, an adversary for the fingerprinting code who has access to can simulate the view of the oracle. Since we have for any adversary
Now we can argue that an efficient oracle cannot distinguish between the real attack and the ideal attack. Thus the conclusion that with high probability must also hold in the real game.
The proof is straightforward from the definition of security, and is deferred to Section A. Combining Claims 4.4 and 4.5 we easily obtain the following.
By Claim 4.6 we have . Now, in order to show , it suffices to show that . In order to do so we begin with the following claim, which establishes that if the oracle is sufficiently accurate, and , then the oracle returns a consistent answer to the query . Recalling that we use to denote the number of rounded answers for that are inconsistent with , we can state the following claim.
After renormalizing by we have
Since (by Claim 4.6), and since the algorithm terminates unless , we obtain
By the assumption that is -sample-accurate, we have that, with probability at least , for choices of ,
Finally, observe that if for every , then we have
and by (15) we have . Thus, the rounded answer . Similarly, if for every , then we have . This completes the proof of the claim. ∎
As before, we can argue that the real attack and the ideal attack are computationally indistinguishable, and thus the oracle must also give consistent answers in the ideal attack.
The proof is straightforward from the definition of security, and is deferred to Section A. Combining Claims 4.7 and 4.8 we easily obtain the following.
Putting it together, we obtain the following theorem.
which is a contradiction. This completes the proof of the theorem. ∎
3 An Information-Theoretic Lower Bound
As we did in Section 3.6, we can prove an information-theoretic analogue of our hardness result for avoiding blatant non-privacy.
The proof is essentially identical to what is sketched in Section 3.6.
Acknowledgements
We thank Moritz Hardt and Salil Vadhan for insightful discussions during the early stages of this work. We also thank Thijs Laarhoven for bringing his work on interactive fingerprinting codes to our attention.
References
Appendix A Security Reductions from Sections 3 and 4
In Section 3 we made several claims comparing the probability of events in to the probability of events in . Each of these claims follow from the assumed security of the encryption scheme. In this section we restate and prove these claims. Since the claims are all of a similar nature, the proof will be somewhat modular. The claims in Section 4 relating to can be proven in an essentially identical fashion, and we omit these proofs for brevity.
Before we begin recall the formal definition of security of an encryption scheme. Security is defined via a pair of oracles and . takes as input the index of a key and a message and returns , whereas takes the same input but returns . The security of the encryption scheme asserts that for randomly chosen secret keys, no computationally efficient adversary can tell whether or not it is interacting with or .
We now restate the relevant claims from Section 3.
To prove both of these claims, for we construct an adversary that will attempt to use to break the security of the encryption. We construct in such a way that its advantage in breaking the security of encryption is precisely the difference in the probability of the event between and , which implies that the difference in probabilities is negligible. The simulator is given in Figure 9
First, observe that for , is computationally efficient as long as and are both computationally efficient. It is not hard to see that our construction is efficient and efficiency of is an assumption of the claim. Also notice can determine whether has occurred efficiently.
Now we observe that when the oracle is (the oracle that takes as input and and returns ), and are chosen randomly from , then the view of the oracle is identical to . Specifically, the oracle holds a random sample of pairs and is shown queries that are encryptions either under keys it knows or random unknown keys. Moreover, the messages being encrypted are chosen from the same distribution. On the other hand, when the oracle is (the oracle that takes as input and and returns ), then the view of the oracle is identical to . Thus we have that for ,