The -error Capacity of Symmetric PIR
with Byzantine Adversaries
Abstract
The capacity of symmetric private information retrieval with messages, servers (out of which any may collude), and an omniscient Byzantine adversary (who can corrupt any answers) is shown to be [1], under the requirement of zero probability of error. In this work, we show that by weakening the adversary slightly (either providing secret low rate channels between the servers and the user, or limiting the observation of the adversary), and allowing vanishing probability of error, the capacity increases to .
I Introduction
We are interested in the problem of symmetric private information retrieval (PIR) with Byzantine adversaries. In symmetric PIR (SPIR), there are messages, stored over replicated servers, and a user that wishes to retrieve 1 out of the messages without revealing the desired message index to any servers. The user fulfills this PIR task by first sending queries to the servers and then receiving 1 answer from each server. From the answers, the user decodes the desired message either with exactly zero probability of error or with vanishing probability of error (when the message size approaches infinity). The servers do not allow the user to learn any information beyond the desired message (so that the privacy of the dataset is symmetrically protected). The efficiency of an SPIR protocol is measured by the capacity, , defined as the maximum amount of information retrieved over the total download from the servers (the answer sizes). We consider the presence of Byzantine adversaries in this work. Byzantine adversaries might observe a certain number of communication links (answers) between the servers and the user and modify any answers. We focus on the interplay between the capability of the adversary (omniscient or limited knowledge) and the error criterion (zero-error or -error). Among all possible models, the strongest (most restricted) requirement is that the adversary is omniscient (i.e., the adversary has full knowledge and observes all communication between the servers and the user) and the decoding at the user’s side must have exactly zero error11 1 Note that if we insist on zero error, then it does not matter whether the adversary has full or limited knowledge. The reason is that the adversary may assume an arbitrary realization of the knowledge that he is missing and the probability of guessing the missing knowledge correctly is non-zero. The zero-error decoding constraint requires that decoding error can never occur (including the case when the adversary guesses the full knowledge correctly so that full knowledge case is covered).. We call this problem TSPIR, where the letter represents full knowledge. The weakest requirement is that the adversary has limited knowledge and the decoding at the user’s side is allowed to have vanishingly small probability of error. We call this problem TSPIR, where the letter represents limited knowledge. This work is motivated by the following question - when we relax the problem from TSPIR to TSPIR, is it possible to increase the capacity of PIR, because of the presence of a less omnipotent adversary and the requirement of a less stringent decoding criterion?
Before stating our result, we first briefly summarize prior works on capacity results of SPIR and its related variants. The capacity of SPIR with no colluding servers () is characterized in [2],
The intuition is that out of the answers, 1 answer is useless because it provides no useful information of the desired message. Then we only have effective answers and the ratio (rate) is thus . To see why 1 answer is independent of the desired message, note that the user can not learn anything about undesired messages (data-privacy constraint) so that any 1 answer can not contain any information about undesired messages. Further, because any 1 server does not learn anything about the desired message index (user-privacy constraint), any server can not distinguish desired and undesired messages so that the server’s answer can not contain any information about any message (including the desired one). The generalization of user-privacy from any individual server to any colluding servers is considered in [3] and the capacity is characterized as
This result could be interpreted intuitively in a similar manner, where any answers are of no use due to the combination of the -private user-privacy constraint and the data-privacy constraint. The above two capacity results hold under both zero-error and -error criteria. The presence of a full knowledge Byzantine adversary with zero-error decoding constraint (the TSPIR problem) is considered in [1], and its capacity is characterized as
Compared with the capacity of TSPIR, the capacity expression has an additional term of (another wasted answers), which could be interpreted as follows. As the Byzantine adversary may modify any answers, the corrupted answers might have zero information of the desired message so that these answers can not contribute anything to the decoding (akin to erasures). It turns out that we have to pay a price of another answers to identify and correct the erroneous answers (in total, answers). The focus of this work is on the TSPIR problem where the adversary is partially blind and the decoding is allowed to be erroneous occasionally, and we ask if any saving on the wasted answers for the Byzantine adversary is possible.
Our main contribution is summarized next. The main result of this work is the capacity characterization of the TSPIR problem. We show that
under two models of Byzantine adversaries with limited knowledge.22 2 The two adversary models have been studied in the network coding literature [4, 5].
- 1.
There exist secret channels (with vanishing rate) between the servers and the user that are not observed by the adversary.
- 2.
There exists at least 1 answer that the adversary is not able to observe or corrupt (i.e., the total number of answers observed or corrupted is smaller than ).
The interpretation of this capacity result is that as long as we may hide some information to the adversary (we have shown two examples, one with secret channels and one with limited observations) and -error is allowed, then we can avoid the loss of the answers that are used to correct the erroneous answers and the problem with errors reduces to the problem with erasures. This is made possible through the hidden information and the allowance of small probability of decoding error. To answer the question that motivates our work, it is not only possible to increase the capacity by weakening the adversary and decoding requirement, but also the price to pay is minimal, i.e., reducing a small amount of knowledge to the omniscient adversary and relaxing zero-error to -error.
Notation: For variables , and denote a row vector and a column vector respectively. For integers , denotes the set . For a vector , represents the column vector . Denote the Vandermonde matrix generated from distinct symbols from a finite field by , where the -th element is .
II Problem Setup
A dataset comprised of messages is stored over replicated servers. The messages are independent and each message consists of i.i.d. symbols from , i.e., and . Here and throughout the paper we measure entropy to base .
A user wants to retrieve a message from the servers, where the desired message index is drawn from some prior distribution over . Denote the realization of by . Based on , the user generates random queries to send to the servers. The query received by Server is denoted by . Let denote the complete query scheme, i.e., the collection of all queries under all choices of the desired message index. The queries are independent of the messages.
The servers share a common random variable , the realization of which is unavailable to the user. The common randomness is independent of the messages and queries, i.e., Let denote the ratio of the amount of common randomness relative to the message size, i.e.,
| (1) |
The servers follow the protocol agreed with the user a priori, and generate answers based on the received query , the stored messages , and the common random variable . The answer sent to the user from Server is denoted by . We have
Any servers may collude. To guarantee user-privacy, from the queries and answers of any servers, together with the message contents and the common random variable, the servers should not be able to infer any information about the desired message index. Thus, the following user-privacy constraint must be satisfied,
| (2) |
A Byzantine adversary hidden in the system can observe and jam the communications. We assume that the adversary has unlimited computational power, and knows the encoding and decoding scheme of the user and servers. An omniscient adversary can observe all the communications in the system; a limited knowledge adversary only observes part of the communications. In this work, we assume the adversary has limited knowledge, and can overwrite the answers of any set of servers of size to . Assume that the adversary holds some private randomness (independent of the messages, queries, answers and the common randomness) that he can use for jamming. Two ways of reducing the observation of the adversary are considered in this work:
Secret channel model: In this model, we assume that there exists 1 secure low rate (vanishing with message length) channel between each server and the user. The adversary can neither observe nor jam the communication on these channels, but can observe all other communication. Denote the information that Server sends to the user through the secret channel by , where . is the only information that the adversary cannot observe. The corrupted answers are a function of all information available at the adversary’s side.
| (3) |
Untouched server model: In this model, there is no secret channel between the servers and the user. However, the adversary can only observe the communication between servers (denoted by ) and the user. The adversary can pick any servers to observe, and any servers to jam (the two sets can be overlapping or disjoint, but we require ),
| (4) |
Note that the requirement is equivalent to that there exists at least 1 server that is neither observed nor jammed (untouched) by the adversary.
Note that the user does not know which answers are corrupted (), and we denote all the answers received by . From all the answers (and the information through secret channels) downloaded and other information available to the user, the user should be able to decode the desired message with diminishing probability of error as tends to infinity. By Fano’s inequality, this corresponds to the following correctness constraint,
| (5) |
where for the untouched server model, .
The user should learn no information about the other messages besides the desired one, named the database-privacy constraint. Denote by ,
| (6) |
The rate, of a scheme characterizes the number of desired information symbols retrieved per downloaded symbol33 3 We use the uncorrupted answers to define the rate , because there is no motivation for the adversary to change the answer sizes (if so, the user can easily identify the corrupted answers and treat them as erasures)., A rate is said to be -error achievable44 4 In this work, we interpret as a term that vanishes (a typical assumption in Shannon theory). Note that this is different from the assumption in strong converse where is a fixed positive constant. if there exists a sequence of PIR schemes with rate at least , and probability of error as . The supremum of all -error achievable rates is called the -error capacity . The problem defined in this section is called TSPIR.
III Main Result
Theorem 1
The capacity of the TSPIR problem is
The achievability proof (the main contribution of this work) is presented in the next section. The (weak) converse proof is presented in Section V.
IV Achievability
IV-A Example:
To illustrate the main idea, consider the setting with 2 messages, each consists of 2 symbols from . Denote , , and suppose is desired.
The user privately chooses 2 i.i.d. random variables from . The queries to the 3 servers are generated as follows,
| (8) | |||||
| (9) | |||||
| (10) |
The servers share a common random symbol from . Denote . Server generates a scalar answer by . Let , then the answers are
| (11) | |||||
| (12) | |||||
| (13) |
It is evident that from any 2 answers, the user can decode the symbol from .
The user repeats the scheme for (the same and queries are used, so the upload cost is not increased). Suppose the servers share another common random symbol , and let . The answers are then . The final answers sent are the collection of , i.e., .
IV-A1 Secret channel model
The adversary can modify the answer from 1 server. To identify the corrupted answer, the servers use a uniform nonzero random variable from the common randomness (secure from the adversary). Server calculates a hash (check sum) of its answers,
| (14) |
Choose an arbitrary server to transmit , and 2 arbitrary servers to transmit their to the user through the secret channels. The user plugs in the received to check whether (14) holds.
Because the adversary does not know the values of and , the probability that the modified satisfies (14), i.e., is at most (for a proof, refer to Lemma 1), which can be made arbitrarily small as the alphabet size increases.
The intuition for generalizing the scheme is that as the message size and number of repetitions of the scheme increase, the sizes of and the hashes (transmitted through the secret channel) vanish when normalized by the message size. Therefore, with vanishing rate secure channels, the user decodes desired symbols from 6 downloaded symbols, achieving the rate of .
IV-A2 Untouched server model
There is no secret channel now and the adversary can observe any server and corrupt any answer. As , there is one server that is neither observed nor jammed by the adversary. Treating this problem as a point-to-point network coding problem with parallel links (where 1 link is untouched), from Theorem 1 in [5], the servers can send some common information to the user secretly (to the adversary), with vanishing error (bounded by ) and constant rate.
Because the secure transmission scheme in [5] can only send common information that is shared by all servers, we cannot use it to transmit the hashes of (distinct for each server). Instead, we will let the servers transmit hashes of the messages. The challenge here is that by the database-privacy constraint, the hashes of the messages should not contain any information about the messages. To fulfill this constraint, the servers draw independent uniform common random symbols from , to be added in the hash generation. The servers choose a nonzero element uniformly at random from . The hashes of and are generated by
| (15) |
The servers use the secure transmission scheme in [5] to transmit secretly to the user (not known to the adversary).
To check the hash on the message symbols , the user should also obtain the value of (but he should not learn for database-privacy). To do this, can be treated as extended symbols from , and can be retrieved by applying the scheme in (11)-(13). The probability of error in the hash checking part is bounded by . Therefore, the overall probability of error vanishes as increases. The rate achieved is , as desired.
Similarly, to amortize the cost of sending , and retrieving , we will drive the message length to infinity (details to be presented in the next section).
IV-B General parameters
Without loss of generality, suppose each message consists of symbols from , where , and is desired. The idea is to concatenate a scheme for instances, and generate hashes of the answers of the instances for the secure channel model; or hashes of the messages for the untouched server model.
Divide each message to blocks, and collect the -th blocks of all messages into a column vector, where denotes the index of the block/instance. Collect the column vectors to form the matrix , which represents the whole dataset.
The user privately chooses uniformly i.i.d. row vectors from . Let be row unit vectors, where in , all entries are equal to zero except the -th entry. Let . Similarly, denote . Choose distinct nonzero elements from . Let , i.e., an Vandermonde matrix, and , Then . The queries to all servers are generated by
| (16) |
The query is sent to Server . The same query is used to generate the answers for all instances.
To protect database-privacy from the user, the servers share uniformly i.i.d. symbols . For instance , Server takes the inner product of and , and adds to generate the answer. Denote
| (17) |
then the answers generated by the servers are
| (18) | |||||
| (19) |
The answers from servers (denoted by the set ) might be overwritten by the adversary. Denote the noise added by the adversary by . The answers received by the user are
| (20) |
where is an matrix with a distinct 1 in each column corresponding to the set of answers corrupted by the adversary. It is easy to check that is invertible.
The user can exhaust all different (i.e., different set of corrupted answers), and obtain a list of solutions of the linear system (20). For the two models of limited knowledge adversary, we design different schemes to send hashes to the user, such that the user can find the correct solution from the list with high probability.
IV-B1 Secret channel model
Let be distinct nonzero elements from chosen uniformly at random by the servers.55 5 Here is an arbitrary fixed positive integer which determines the number of hashes for each answer and the speed of vanishing of the error probability. Let be an matrix where . Let be any set of servers with size , which are chosen to send the hashes to the user. Denote as the square matrix corresponding to the choice of set , then it is obvious that is invertible. The hashes are generated by
| (21) |
These servers send and to the user through a secure channel (this transmission includes symbols). Because is invertible, the user obtains hash functions for each row of (refer to (17)). In fact, we only need the hash functions of . Lemma 1 below is inspired by Claim 5 in [4].
Lemma 1
Let be uniformly chosen from , and be symbols from such that . An adversary can observe and modify , but can neither observe nor modify . The probability (over the randomness of ) that the modified satisfies is at most .
Proof: Since the adversary cannot observe , and remains uniformly at random to the adversary. Therefore, the adversary can only modify arbitrarily. For any modified ,
| (22) | ||||
| (23) | ||||
| (24) | ||||
| (25) |
By Lemma 1, the probability that an incorrect solution satisfies all hashes is at most . There are solutions in the list such that by the union bound, the probability that a unique correct solution cannot be found, i.e., the probability of error, is at most (note that ). Therefore, the probability of error vanishes with the message length. Note that the amount of transmission through the secret channel does not grow with the message size (the normalized rate approaches 0). Finally, the rate achieved is , and the randomness size is .
IV-B2 Untouched Server Model
The query and answer generation includes two phases. The first phase does not depend on the queries and includes the transmission of random hashes of all the messages to the user. When the servers send some shared information to the user, an imaginary source node can be added and the system can be translated into a network with min-cut . Because , we can use the secure transmission scheme of Theorem 1 in [5] to send common information shared by all servers (simpler schemes might exist and are an interesting future direction).66 6 Note that in this model, the servers cannot send the hashes of the answers as in the secret channel model, because the servers cannot share the queries and answers due to the user-privacy constraint.
By database-privacy, the hashes of messages should be protected by some randomness. Therefore, we append uniformly random symbols to each message, denoted by , where denotes the index of instances (i.e., the user downloads more instances to retrieve the associated with the desired .).
During the first phase, the servers generate and transmit uniform i.i.d. symbols , and hashes of each message to the user by the scheme in [5]. Let be an matrix where , and let denote the row vector comprised of all the symbols from and , the hashes are generated by
| (26) |
The servers send and to the user secretly in a bit-by-bit manner using the scheme in [5]. We need to send bits in this phase. For each bit, the servers send symbols over [5]. Therefore, the total amount of download for the first phase is . By Lemma 4 in [5], the probability of error for this phase is bounded above by .
The second phase is similar to that in Section IV-B, with extended message length (because the user needs also to retrieve to check the hashes, and they should be retrieved privately). The second phase involves a total download of symbols.
Therefore, the total retrieval rate is
| (27) |
as (note that and ).
Similarly, the relative amount of shared common randomness for the first phase vanishes as . For the second phase, random shared symbols are needed. Therefore, as .
An error happens in the second phase when any incorrect solution satisfies the hashes, which by Lemma 1 occurs with probability at most . The error probability of the first phase is upper bounded by [5]. By the union bound, the overall probability of error is at most , which tends to as .
Note that for both the secret channel model and the untouched server model, user-privacy is guaranteed because every servers observe linearly and statistically independent queries (16). Database-privacy is guaranteed because from in (17), the symbols are uniform i.i.d. symbols, such that the user obtains no information about .
V Converse
Note that the answers corrupted by the adversary may be useless to the user for decoding . Denote the set of uncorrupted nodes by , from (5),
| (28) |
Further, . Then
| (29) | ||||
| (30) | ||||
| (31) | ||||
| (32) | ||||
| (33) | ||||
| (34) | ||||
| (35) |
for any with . Note that from (33), the superscript in can be dropped because of user-privacy (2). By Han’s inequality [6],
| (36) |
Averaging (35) over all subsets of and combining with (36), we have
| (37) |
By symmetry, we assume the answer sizes are the same. Therefore, . By letting ,
| (38) |
By database-privacy (6),
| (39) | ||||
| (40) | ||||
| (41) | ||||
| (42) | ||||
| (43) | ||||
| (44) | ||||
| (45) | ||||
| (46) |
where (42) holds because the uncorrupted answers are deterministic functions of the queries, the dataset , and the randomness . (44) holds because the randomness , the messages , and the queries are independent. Combining (46) with (37), and by letting ,
| (47) |
VI Conclusion
For symmetric PIR with Byzantine adversaries, we show that if the adversary has limited knowledge and a vanishingly small probability of error is allowed, the capacity increases when compared to the setting with omniscient adversaries and zero probability of error. It is interesting to see if similar results hold for the PIR problem with Byzantine adversaries [7, 8].77 7 [8] considers PIR with Byzantine adversaries, where -error is allowed. List decoding is used therein to achieve communication cost (upload plus download) whenever (note that we raise the question for information theoretic capacity) and the focus is mainly on computational efficiency and programming implementation.
References
- [1] Q. Wang and M. Skoglund, “Secure symmetric private information retrieval from colluding databases with adversaries,” arXiv preprint arXiv:1707.02152, 2017.
- [2] H. Sun and S. A. Jafar, “The capacity of symmetric private information retrieval,” in Globecom Workshops (GC Wkshps), 2016 IEEE. IEEE, 2016, pp. 1–5.
- [3] Q. Wang and M. Skoglund, “Linear symmetric private information retrieval for MDS coded distributed storage with colluding servers,” arXiv preprint arXiv:1708.05673, 2017.
- [4] S. Jaggi, M. Langberg, S. Katti, T. Ho, D. Katabi, and M. Médard, “Resilient network coding in the presence of byzantine adversaries,” in 26th IEEE International Conference on Computer Communications. IEEE, 2007, pp. 616–624.
- [5] H. Yao, D. Silva, S. Jaggi, and M. Langberg, “Network codes resilient to jamming and eavesdropping,” IEEE/ACM Transactions on Networking, vol. 22, no. 6, pp. 1978–1987, 2014.
- [6] T. M. Cover and J. A. Thomas, Elements of information theory. John Wiley & Sons, 2012.
- [7] K. Banawan and S. Ulukus, “The capacity of private information retrieval from byzantine and colluding databases,” arXiv preprint arXiv:1706.01442, 2017.
- [8] C. Devet, I. Goldberg, and N. Heninger, “Optimally robust private information retrieval.” in USENIX Security Symposium, 2012, pp. 269–283.