arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:1809.03474v3 [cs.LG] 10 Nov 2021

Universal Multi-Party Poisoning Attacks This is a full version of a paper that was previously published in the Proceedings of the 36th International Conference on Machine Learning, Long Beach, California, PMLR 97, 2019.

Saeed Mahloujifar Thanks: sfar@princeton.edu    Mohammad Mahmoody Thanks: mohammad@virginia.edu    Ameer Mohammed Thanks: ameer.mohammed@ku.edu.kw
Abstract

In this work, we demonstrate universal multi-party poisoning attacks that adapt and apply to any multi-party learning process with arbitrary interaction pattern between the parties. More generally, we introduce and study (k,p)(k,p)-poisoning attacks in which an adversary controls k[m]k\in[m] of the parties, and for each corrupted party PiP_{i}, the adversary submits some poisoned data 𝒯i{\mathcal{T}}^{\prime}_{i} on behalf of PiP_{i} that is still “(1p)(1-p)-close” to the correct data 𝒯i{\mathcal{T}}_{i} (e.g., 1p1-p fraction of 𝒯i{\mathcal{T}}^{\prime}_{i} is still honestly generated). We prove that for any “bad” property BB of the final trained hypothesis hh (e.g., hh failing on a particular test example or having “large” risk) that has an arbitrarily small constant probability of happening without the attack, there always is a (k,p)(k,p)-poisoning attack that increases the probability of BB from μ\mu to by μ1pk/m=μ+Ω(pk/m)\mu^{1-p\cdot k/m}=\mu+\Omega(p\cdot k/m). Our attack only uses clean labels, and it is online.

More generally, we prove that for any bounded function f(x1,,xn)[0,1]f(x_{1},\dots,x_{n})\in[0,1] defined over an nn-step random process 𝐱=(x1,,xn)\mathbf{x}=(x_{1},\dots,x_{n}), an adversary who can override each of the nn blocks with even dependent probability pp can increase the expected output by at least Ω(pVar[f(𝐱¯)])\Omega(p\cdot\mathrm{Var}[f(\overline{\mathbf{x}})]).

1 Introduction

Learning from a set 𝒯={d1=(a1,b1),,dn=(an,bn)}{\mathcal{T}}=\{d_{1}=(a_{1},b_{1}),\dots,d_{n}=(a_{n},b_{n})\} of training examples in a way that the predictions generalize to instances beyond 𝒯{\mathcal{T}} is a fundamental problem in learning theory. The goal here is to produce a hypothesis hh in such a way that h(a)h(a), with high probability, predicts the “correct” label bb, where the pair (a,b)=d(a,b)=d is sampled from the target (test) distribution 𝐝\mathbf{d}. In the most natural setting, the examples in the training data set 𝒯{\mathcal{T}} are also generated from the same distribution 𝐝\mathbf{d}, however this is not always the case (e.g., due to noise in the data).

Poisoning attacks.

Many previous works studying noise in the data allow it to be adversarial and maliciously chosen against the learner [43, 28, 6]. A tightly related and more recent approach to the problem of learning under adversarial noise is the framework of so-called poisoning (aka causative) attacks [10, 9, 38], in which the adversary’s goal is not necessarily to completely prevent the learning, but perhaps it simply wants to increase the risk of the hypothesis produced by the learning process or make it more likely to fail on a particular test instance (i.e., getting a targeted poisoning attack [10, 41]).

Multi-party poisoning.

In the distributed setting [37, 36, 8, 29], the training data 𝒯{\mathcal{T}} might be coming from various sources; e.g., it can be generated by mm data providers P1,,PmP_{1},\dots,P_{m} in an online way, while at the end a fixed algorithm, called the aggregator GG, generates the hypothesis hh based on 𝒯{\mathcal{T}}. The goal of P1,,PmP_{1},\dots,P_{m} is to eventually help GG construct a hypothesis hh that does well (e.g. in the case of classification) in predicting the label bb of a given instance aa, where (a,b)𝐝(a,b)\leftarrow\mathbf{d} is sampled from the final test distribution. The data provided by each party PiP_{i} might even be of “different type”, so we cannot simply assume that the data provided by PiP_{i} is necessarily sampled from the same distribution 𝐝\mathbf{d}. To model this more general setting, we let 𝐝i\mathbf{d}_{i} model the distribution from which the training data 𝒯i{\mathcal{T}}_{i} (of PiP_{i}) is sampled. Poisoning attacks can naturally be defined in the distributed setting as well [23, 12, 7, 26] to model adversaries who partially control the training data 𝒯{\mathcal{T}}. These works, however, focus on attacking and defending specific learning tasks. This leads us to the central question of this work.

What is the inherent provable power of poisoning attacks in the multi-party setting?

Answering the above question is critical for understanding the limits of provable security against multi-party poisoning.

1.1 Our Contribution

We first formalize a new general model multi-party poisoning. We then prove the existence of universal data poisoning attacks in the multi-party setting that apply to any task.

New attack model: (k,p)(k,p)-poisoning attacks.

our first contribution of this work is to formalize a general notion that covers multi-party poisoning attackers that corrupt kk out of mm data provider parties and furthermore, for each message sent by a corrupted party, the adversary still generates data that is “close” to the honestly generated data. More formally, a (k,p)(k,p)-poisoning attacker Adv\mathrm{Adv} can first choose to corrupt kk of the parties. Then, if a corrupted P~i\widetilde{P}_{i} is supposed to send the next message, then the adversary will sample d𝐝~d\leftarrow\widetilde{\mathbf{d}} for a maliciously chosen distribution 𝐝~\widetilde{\mathbf{d}} that is guaranteed to be pp to the original distribution 𝐝i\mathbf{d}_{i} in total variation distance. Our (k,p)(k,p)-poisoning attacks include the so called “pp-tampering” attacks of [34] as special case by letting k=mk=m (mm is the number of parties). Moreover, (k,p)(k,p)-attacks also include the standard model of kk static corruption in secure multi-party computation (in cryptography) letting p=1p=1. Our main result in this works is to prove the universal power of (k,p)(k,p)-poisoning as follow. We show that in any mm-party learning protocol, there exist a (k,p)(k,p)-poisoning adversary that increases probability of the produced hypothesis hh having a bad property BB (e.g., failing on a particular target instance known to the adversary). For the formal version of Theorem 1.1, see Theorem 2.5.

Theorem 1.1 (Power of (k,p)(k,p)-poisoning attacks–informal).

Let Π=(P1,,Pm)\Pi=(P_{1},\dots,P_{m}) be an mm-party learning protocol for an mm-party learning problem. Also let BB be a bad property defined over the output of the protocol. There is a polynomial time (k,p)(k,p)-poisoning attack such that, given oracle access to the data distribution of the parties, it can increase the probability of BB from μ\mu to μ1kp/m\mu^{1-{kp}/{m}}.

Example.

By corrupting half of the parties (i.e., p=1,k=m/2p=1,k=m/2) the adversary can increase the probability of any bad event BB from 1/1001/100 to 1/101/10.

Universal nature of our attack.

Our attacks are universal in the sense that they could be applied to any learning algorithm for any learning task, and they are dimension-independent as they applied to any data distribution. On the other hand, our universal attacks rely on an initial vulnerability of arbitrary small constant probability that is then amplified through the poisoning attack. As a result, although recent poisoning attacks (e.g., see [30]) obtain stronger bounds in their attack against specific defenses, our attacks apply to any algorithm with any built in defenses.

Deriving attacks on federated learning as special case.

Since we allow the distribution of each party in the multi-party case to be completely dependent on that party, our attacks cover the case of model poisoning in federated learning [12, 4], in which each party sends something other than their plain share of data, as special case. In fact, multiple works have already demonstrated the power of poisoning attacks and defences in the federated learning setting (e.g., see [23, 4, 17, 15, 24, 44, 42, 16, 27]). Some of these attacks obtain stronger quantitative bounds in their attacks, however this is anticipated as these works investigate attacks on specific learners, while a crucial property of our attack is that our attacks come with provable bounds and are universal in that they apply to any learning task and any hypothesis class (including neural nets as special case), if there is an initial Ω(1)\Omega(1) vulnerability (for some bad property) over the generated hypothesis.

Note that, our attacks actually do not need the exact history of examples that are used by parties, and only need to know the updates sent by the parties during the course of protocol. Suppose an uncorrected party randomizes its local model (e.g., for differential privacy purposes) and shares an update uiu_{i} with the server. Knowledge of uiu_{i} is enough for our attacker. One might go even further and ask what if the updates are sent in a secure/private way? Interestingly, our attack work in that model too as it only needs to know the effect of the updates on the central model at the end of round i1i-1 (because all the attack wants is a random continuation of the intermediate model).

It also worth mentioning that our attack requires sampling oracles from distributions of all the parties. This might seem that we are giving the adversary too much power. However, we think the right way to define security of federated learning is by giving the adversary everything that hat might be leaked to them. This way of defining security is inspired by cryptography. For instance, when modeling the “chosen plaintext” security of encryption schemes, adversary is given access to an encryption oracle, while one might question how realistic it is. Analogously, In federated learning, the adversary can potentially gather some statistics about the distribution of other parties and learn them over time. However, as mentioned above, we do not need to give adversary access to the actual data of honest parties. Only the public effect of them on the shared model is needed.

Further Related Work.

Recent breakthroughs of Diakonikolas et al. [18] and Lai et al. [32] demonstrated the surprising power of algorithmic robust learning over poisoned training data with limited risk that does not depend on the dimension of the distribution (but still depends on the fraction of poisoned data). These works led to an active line of work (e.g., see [14, 20, 21, 19, 39, 22, 40] and references therein) exploring the possibility of robust statistics over poisoned data with algorithmic guarantees. The works of [14, 21], followed by [3], performed list-decodable learning, and [5, 19, 39] studied supervised learning.

On the negative side, Mahloujifar, Mahmoody and Diochnos [35, 33] studied (universal) poisoning attacks that apply to any learning task and any hypothesis class and showed that such attacks can indeed increase the error of any classifiers for any learning problem by a constant probability, so long as there is an initial constant error probability. The attack model used in [35, 33], called pp-tampering, was a generalization of a similar model introduced in Austrin et al. [1] in the bitwise setting in a cryptographic context. These attacks (like the ones in our work) were universal in the sense that they could be applied to any learning algorithm for any learning task, and dimension-independent as they applied to any data distribution. On the other hand, these universal attacks rely on an initial vulnerability of arbitrary small constant probability that is then amplified through the poisoning attack. That is why such universal attacks (including those in the multi-party setting) are not in contradiction with the above results.

1.2 Technical Overview

Previous universal poisoning attacks of [35, 33] for the single party case are designed in a setting in which each training example is chosen by the adversary with independent probability pp. We first describe where exactly the ideas of these works come short of extending to the multiparty case, and then we explain how to borrow ideas from attacks on coin-tossing protocols in cryptography [11, 25] and obtain the desired attacks of this work.

pp-tampering attacks and their shortcoming.

For starters, let us assume that the adversary gets to corrupt and control kk randomly selected parties. In this case, it is easy to see that, at the end every single message in the protocol Π\Pi between the parties P1,,PmP_{1},\dots,P_{m} is controlled with exactly probability p=k/mp=k/m by the adversary Adv\mathrm{Adv} (even though these probabilities are correlated). Thus, at a high level it seems that we should be able to use the pp-tampering attacks of [35, 33] to degrade the quality of the produced hypothesis. However, the catch is that the proof of pp-tampering attacks of [35, 33] (and the bitwise version of [2]) crucially rely on the assumption that each message (which in our context corresponds to a training example) is tamperable with independent probability pp, while corrupting kk random parties, leads to tamperable messages in a correlated way.

We prove our main results by first proving a general result about the power of “biasing” adversaries whose goal is to increase the expected value of a random process by controlling each incoming “segment” (aka block) of the random process with probability qq (think of qq as pk/m\approx p\cdot k/m). These segments/blocks correspond to single or multiple training examples shared during the learning. As these biasing attacks generalize pp-tampering attacks, we simply call them generalized pp-tampering attacks. We now describe this attack model and clarify how it can be used to obtain Theorem 1.1.

Generalized pp-tampering: new model for biasing attacks.

In this work we introduce generalized pp-tampering (biasing) attacks that are defined for any random process 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) and a function f(𝐱¯)[0,1]f(\overline{\mathbf{x}})\in[0,1] defined over this process. In order to explain the attack model, first consider the setting where there is no attacker. Now, given a prefix x1,,xi1x_{1},\dots,x_{i-1} of the blocks, the next block xix_{i} is simply sampled from its conditional probability distribution (𝐱ix1,,xi1)(\mathbf{x}_{i}\mid x_{1},\dots,x_{i-1}). (Looking ahead, think of xix_{i} as the ii’th training example provided by one of the parties in the interactive learning protocol.) Now, imagine an adversary who enters the game and whose goal is to increase the expected value of a function f(𝐱1,,𝐱n)f(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) defined over the random process 𝐱¯\overline{\mathbf{x}} by tampering with the block-by-block sampling process of 𝐱¯\overline{\mathbf{x}} described above. Before the attack starts, there will be a a list S[n]S\subseteq[n] of “tamperable” blocks that is not necessarily known to the Adv\mathrm{Adv} in advance, but will become clear to him as the game goes on. Indeed, this set SS itself will be first sampled according to some fixed distribution 𝐒\mathbf{S}, and the crucial condition we require is that Pr[i𝐒]=p\Pr[i\in\mathbf{S}]=p holds for all i[n]i\in[n]. After S𝐒S\leftarrow\mathbf{S} is sampled, the sequence of blocks (x1,,xn)(x_{1},\dots,x_{n}) will be sampled block-by-block as follows. Assuming (inductively) that x1,,xi1x_{1},\dots,x_{i-1} are already sampled so far, if iSi\in S, then Adv\mathrm{Adv} gets to fully control xix_{i} and determine its value, but if iSi\not\in S, then xix_{i} is simply sampled from its original conditional distribution (𝐱ix1,,xi1)(\mathbf{x}_{i}\mid x_{1},\dots,x_{i-1}). At the end, the function ff is computed over the (adversarially) sampled sequence.

We now explain the intuitive connection between generalized pp-tampering attacks and (k,p)(k,p)-poisoning attacks. The main idea is that we will use a generalized qq-tampering attack for q=pk/mq=p\cdot k/m over the random process that lists the sequence of training data provided by the parties during the protocol. Let 𝐒\mathbf{S} be the distribution over [n][n] that picks its members through the following algorithm. First choose a set of random parties {Q1,,Qk}{P1,,Pm}\{Q_{1},\dots,Q_{k}\}\subseteq\{P_{1},\dots,P_{m}\}, and then for each message xjx_{j} that belongs to QiQ_{i}, include the corresponding index jj in the final sampled S𝐒S\leftarrow\mathbf{S} with independent probability pp. It is easy to see that 𝐒\mathbf{S} eventually picks every message with (marginal) probability q=pk/mq=p\cdot k/m, but it is also the case that these inclusions are not independent events. Finally, to use the power of generalized pp-tampering attacks over the described 𝐒\mathbf{S} and the random process of messages coming from the parties to get the results of Theorem 1.1, roughly speaking, we let a function ff model the loss function applied over the produced hypothesis. Therefore, to prove Theorem 1.1 it is sufficient to prove Theorem 1.2 below which focuses on the power of generalized pp-tampering biasing attacks.

Theorem 1.2 (Power of generalized pp-tampering-informal).

Suppose 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) is a joint distribution such that, given any prefix, the remaining blocks could be efficiently sampled in polynomial time. Also let f:Supp(𝐱¯)[0,1]f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto[0,1]. Then, for any set distribution 𝐒\mathbf{S} for which Pr[i𝐒]=p\Pr[i\in\mathbf{S}]=p for all ii, there is a polynomial-time generalized pp-tampering attack (over tampered blocks in 𝐒\mathbf{S}) that increases the average of ff over its input from μ\mu to (arbitrarily close to) μ=μp𝔼[f(x¯)1+p]\mu^{\prime}=\mu^{-p}\cdot\operatorname*{\mathbb{E}}[f(\overline{x})^{1+p}]. In particular, if ff is boolean function, then it hold that μ=μ1p\mu^{\prime}=\mu^{1-p}.

The formal statement of Theorem 1.2 above follows from Theorem 3.5.

Bitwise vs. blockwise attacks.

It is easy to see that in the definition of generalized pp-tampering attacks, it does not matter whether we define the attack bit-by-bit or block-by-block. The reason is that, even if we break down each block into smaller bits, then still each bit shall eventually fall into the set of tamperable bits, and the model allows correlation between the inclusion and exclusion of each block/bit into the final tamperable set. This is in contrast to the pp-tampering model for which this equivalence is not true. In fact, optimal bounds achievable by bitwise pp-tampering as proved in [2] are impossible to achieve in the blockwise pp-tampering setting [35]. Despite this simplification, we still prefer to use a blockwise presentation of the random process, as this way of modeling the problem allows better tracking measures for the attacker’s sample complexity.

Ideas behind the tampering attack of Theorem 1.2.

To prove Theorem 1.2 we use ideas from [25, 11] in the context of coin-tossing attacks and generalize them using new techniques to obtain our generalized pp-tampering attacks.

Rejection sampling attack. The simplified version of our attack can be described as follows. Based on the nature of this attack, we call it the “rejection sampling” (RS) attack. For any prefix of already sampled blocks (x1,,xi1)(x_{1},\dots,x_{i-1}), suppose the adversary is given the chance of controlling the next ii’th block. The RS tampering then works as follows:

  1. 1.

    Let xi,,xnx^{\prime}_{i},\dots,x^{\prime}_{n} be a random continuation of the random process, conditioned on (x1,,xi1)(x_{1},\dots,x_{i-1}).

  2. 2.

    If s=f(x1,,xi1,xi,,xn)s=f(x_{1},\dots,x_{i-1},x^{\prime}_{i},\dots,x^{\prime}_{n}), then if s=1s=1 output yiy_{i}, and otherwise (i.e., if s=0s=0) go to Step 1 and repeat the sampling process.

The above attack is inspired by the two-party attack of [25]. Our main contribution is to do the following steps. (1) First, analyze this attack in the generalized tampering setting and show its power, which implies the multiparty case as special case. This already gives an alternative, and in our eyes simpler, proof of the classic result of [11] (2) We then extend this attack and its analysis to the real-output setting. (3) Finally, we show how to approximate this attack in polynomial time.

2 Multi-Party Poisoning: Definitions and Main Results

Notation.

We use bold font (e.g., 𝐱,𝐒,𝛂\mathbf{x},\mathbf{S},{\bm{\upalpha}}) to represent random variables, and usually use same non-bold letters for denoting samples from these distributions. We use d𝐝d\leftarrow\mathbf{d} to denote the process of sampling dd from the random variable 𝐝\mathbf{d}. By 𝔼[𝛂]\operatorname*{\mathbb{E}}[{\bm{\upalpha}}] we mean the expected value of 𝛂{\bm{\upalpha}} over the randomness of 𝛂{\bm{\upalpha}}, and by 𝕍[𝛂]\operatorname*{\mathbb{V}}[{\bm{\upalpha}}] we denote the variance of random variable 𝛂{\bm{\upalpha}}. We might use a “processed” version of 𝛂{\bm{\upalpha}}, and use 𝔼[f(𝛂)]\operatorname*{\mathbb{E}}[f({\bm{\upalpha}})] and 𝕍[f(𝛂)]\operatorname*{\mathbb{V}}[f({\bm{\upalpha}})] to denote the expected value and variance, respectively, of f(𝛂)f({\bm{\upalpha}}) over the randomness of 𝛂{\bm{\upalpha}}. A learning problem (𝒜,,𝐝,)({\mathcal{A}},{\mathcal{B}},\mathbf{d},{\mathcal{H}}) is specified by the following components. The set 𝒜{\mathcal{A}} is the set of possible instances, {\mathcal{B}} is the set of possible labels, 𝐝\mathbf{d} is distribution over 𝒜×{\mathcal{A}}\times{\mathcal{B}}.00 0 By using joint distributions over 𝒜×{\mathcal{A}}\times{\mathcal{B}}, we jointly model a set of distributions over 𝒜{\mathcal{A}} and a concept class mapping 𝒜{\mathcal{A}} to {\mathcal{B}} (perhaps with noise and uncertainty). The set 𝒜{\mathcal{H}}\subseteq{\mathcal{B}}^{\mathcal{A}} is called the hypothesis space or hypothesis class. An example ss is a pair s=(a,b)s=(a,b) where x𝒜x\in{\mathcal{A}} and yy\in{\mathcal{B}}. We consider loss functions 𝖫𝗈𝗌𝗌:×+\mathsf{Loss}\colon{\mathcal{B}}\times{\mathcal{B}}\mapsto{\mathbb{R}}_{+} where 𝖫𝗈𝗌𝗌(b,b)\mathsf{Loss}(b^{\prime},b) measures how different the ‘prediction’ yy^{\prime} (of some possible hypothesis h(a)=yh(a)=y^{\prime}) is from the true outcome yy. We call a loss function bounded if it always takes values in [0,1][0,1]. A natural loss function for classification tasks is to use 𝖫𝗈𝗌𝗌(b,b)=0\mathsf{Loss}(b^{\prime},b)=0 if y=yy=y^{\prime} and 𝖫𝗈𝗌𝗌(b,b)=1\mathsf{Loss}(b^{\prime},b)=1 otherwise. The risk of a hypothesis h𝒞h\in{\mathcal{C}} is the expected loss of hh with respect to 𝐝\mathbf{d}, namely 𝖱𝗂𝗌𝗄(h)=𝔼(a,b)𝐝[𝖫𝗈𝗌𝗌(h(a),b)]\mathsf{Risk}(h)=\operatorname*{\mathbb{E}}_{(a,b)\leftarrow\mathbf{d}}[\mathsf{Loss}(h(a),b)]. The average error which quantifies the total error of the protocol is defined as 𝖤𝗋𝗋(𝐝)=PrhΠ,(a,b)𝐝[𝖫𝗈𝗌𝗌(h(a),b)].\mathsf{Err}(\mathbf{d})=\Pr_{h\leftarrow\Pi,(a,b)\leftarrow\mathbf{d}}[\mathsf{Loss}(h(a),b)].

Definition 2.1 (Multi-party learning protocols).

An mm-party learning protocol Π\Pi for the mm-party learning problem (𝒟,)({\mathcal{D}},{\mathcal{H}}) consists of an aggregator function GG and mm (interactive) data providers 𝒫={P1,,Pm}{\mathcal{P}}=\{P_{1},\dots,P_{m}\}. For each data provider PiP_{i}, there is a distribution 𝐝i𝒟\mathbf{d}_{i}\in{\mathcal{D}} that models the (honest) distribution of labeled samples generated by PiP_{i}, and there is a final (test) distribution 𝐝\mathbf{d} that 𝒫,G{\mathcal{P}},G want to learn jointly. The protocol runs in rr rounds and at each round, based on the protocol Π\Pi, one particular data owner PiP_{i} broadcasts a single labeled example (a,b)𝐝i(a,b)\leftarrow\mathbf{d}_{i}.11 1 We can directly model settings where more data is exchanged in one round, however, we stick to the simpler definition w.l.o.g. In the last round, the aggregator function GG maps the the messages to an output hypothesis hh\in{\mathcal{H}}.

Now, we define poisoning attackers that target multi-party protocols. We formalize a more general notion that includes pp-tampering attacks and kk-party corruption as special case.

Definition 2.2 (Multi-party (k,p)(k,p)-poisoning attacks).

A (k,p)(k,p)-poisoning attack against an mm-party learning protocol Π\Pi is defined by an adversary Adv\mathrm{Adv} who can control a subset 𝒞[m]{\mathcal{C}}\subseteq[m] of the parties where |𝒞|=k|{\mathcal{C}}|=k. The attacker Adv\mathrm{Adv} shall pick the set 𝒞{\mathcal{C}} at the beginning. At each round jj of the protocol, if a data provider Pi𝒞P_{i}\in{\mathcal{C}} is supposed to broadcast the next example from its distribution 𝐝i\mathbf{d}_{i}, the adversary can partially control this sample using the tampered distribution 𝐝~\widetilde{\mathbf{d}} such that |𝐝~𝐝i|p|\widetilde{\mathbf{d}}-\mathbf{d}_{i}|\leq p in total variation distance. Note that the distribution 𝐝~\widetilde{\mathbf{d}} can depend on the history of examples broadcast so far, but the requirement is that, conditioned on this history, the malicious message of adversary modeled by distribution 𝐝~\widetilde{\mathbf{d}}, is at most pp-statistically far from 𝐝i\mathbf{d}_{i}. We use ΠAdv\Pi_{\mathrm{Adv}} to denote the protocol in presence of Adv\mathrm{Adv}. We also define the following notions. Adv\mathrm{Adv} is a plausible adversary, if it always holds that Supp(𝐝~)Supp(𝐝i)\operatorname{Supp}(\widetilde{\mathbf{d}})\subseteq\operatorname{Supp}(\mathbf{d}_{i}). Adv\mathrm{Adv} is efficient if it runs in polynomial time in the total length of the messages exchanged during the protocol (from the beginning till end).

Remark 2.3 (Static vs. adaptive corruption).

Definition 2.2 focuses on corrupting kk parties statically. A natural extension of this definition in which the set 𝒞{\mathcal{C}} is chosen adaptively [13] while the protocol is being executed can also be defined naturally. However, here we focus on static corruption and leave the possibility of improving our results in the adaptive case for future work.

Remark 2.4 (Plausible vs. clean-label attacks).

In recent years, the term clean-label is used for data-poisoning attacks that must use the correct label for the poison data. This definition is special case of plausibility as one can define the support set to be the all images with their correct label. However, our definition is more general and can be used for model poisoning attacks against federated learning as well. For example, the distribution 𝐝\mathbf{d} could be the distribution of gradients at a certain round. Being plausible in this setting means that the gradient must be calculated based on a real input and cannot be arbitrary.

We now formally state our result about the power of (k,p)(k,p)-poisoning attacks.

Theorem 2.5 (Power of efficient multi-party poisoning).

In any mm-party protocol Π\Pi for parties 𝒫={P1,,Pm}{\mathcal{P}}=\{P_{1},\dots,P_{m}\}, for any p[0,1]p\in[0,1] and k[m]k\in[m], the following hold where MM is the total length of the messages exchanged.

  1. 1.

    For any bad property B:{0,1}B:{\mathcal{H}}\to\{0,1\}, there is a plausible (k,p)(k,p)-poisoning attack Adv\mathrm{Adv} that runs in time poly(M/ε)\operatorname{poly}(M/\varepsilon) and increases the probability of BB from μ\mu (in the no-attack setting) to

    μμ1pε.\mu^{\prime}\geq\mu^{1-p}-\varepsilon.
  2. 2.

    If the (normalized) loss function is bounded (i.e., it outputs in [0,1][0,1]), then there is a plausible, (k,p)(k,p)-poisoning Adv\mathrm{Adv} that runs in time poly(M/ε)\operatorname{poly}(M/\varepsilon) and increases the average error of the protocol as

    𝖤𝗋𝗋Adv(𝐝)\displaystyle\mathsf{Err}_{\mathrm{Adv}}(\mathbf{d}) 𝖤𝗋𝗋(𝐝)p𝔼hΠ[𝖱𝗂𝗌𝗄(h,𝐝)1+p]\displaystyle\geq\mathsf{Err}(\mathbf{d})^{-p}\cdot\operatorname*{\mathbb{E}}_{h\leftarrow\Pi}[\mathsf{Risk}(h,\mathbf{d})^{1+p}]
    𝖤𝗋𝗋(𝐝)+pk2mνε\displaystyle\geq\mathsf{Err}(\mathbf{d})+\frac{p\cdot k}{2m}\cdot\nu-\varepsilon

    where ν=𝕍hΠ[𝖱𝗂𝗌𝗄(h,𝐝)]\nu=\operatorname*{\mathbb{V}}_{h\leftarrow\Pi}[\mathsf{Risk}(h,\mathbf{d})] and 𝕍[]\operatorname*{\mathbb{V}}[\cdot] is the variance.

Allowing different distributions in different rounds.

In Definition 2.2, we restrict the adversary to remain “close” to 𝐝i\mathbf{d}_{i} for each message sent out by one of the corrupted parties. A natural question is: what happens if we allow the parties distributions to be different in different rounds. For example, in a round jj, a party PiP_{i} might send multiple training examples D(j)=(d1(j),d2(j),,dk(j))D^{(j)}=\big(d^{(j)}_{1},d^{(j)}_{2},\dots,d^{(j)}_{k}\big), and we want to limit the total statistical distance between the distribution of the larger message D(j)D^{(j)} from 𝐝ik\mathbf{d}_{i}^{k} (i.e., kk iid samples from 𝐝i\mathbf{d}_{i}).22 2 Note that, even if each block in (d1(j),d2(j),,dk(j))\big(d^{(j)}_{1},d^{(j)}_{2},\dots,d^{(j)}_{k}\big) remains pp-close to 𝐝i\mathbf{d}_{i}, their joint distribution could be quite far from 𝐝ik\mathbf{d}_{i}^{k}. We emphasize that, our results extend to this more general setting as well. In particular, the proof of Theorem 2.5 directly extends to a more general setting where we can allow the honest distribution 𝐝i\mathbf{d}_{i} of each party ii to also depend on the round jj in which these messages are sent. Thus, we can use a round-specific distribution 𝐝i(j)\mathbf{d}_{i}^{(j)} to model the joint distribution of multiple samples D(j)=(d1(j),d2(j),,dk(j))D^{(j)}=\big(d^{(j)}_{1},d^{(j)}_{2},\dots,d^{(j)}_{k}\big) that are sent out in the jj’th round by the party PiP_{i}. This way, we can obtain the stronger form of attacks that remain statistically close to the joint (correct) distribution of the (multi-sample) messages sent in a round. In fact, as we will discuss shortly D(j)D^{(j)} might be of completely different type.

Allowing randomized aggregation.

The aggregator GG is a simple function that maps the transcript of the exchanged messages to a hypothesis hh. A natural question is: what happens if we generalize this to the setting where GG is allowed to be randomized. We note that in Theorem 2.5, Part 2 can allow GG to be randomized, but Parts 1 and 3 need deterministic aggregation. The reason is that for those parts, we need the transcript to determine the confidence and average error functions. One general way to make up for randomized aggregation is to allow the parties to inject randomness into the transcript as they run the protocol by sending messages that are not necessarily learning samples from their distribution 𝐝i\mathbf{d}_{i}. As described above, our attacks extend to this more general setting as well. Otherwise, we will need the adversary to be able to also depend on the randomness of GG, but that is also a reasonable assumption if the aggregation is used using public beacon that could be obtained by the adversary as well.

Before proving Theorem 2.5, we need to develop our main result about the power of generalized pp-tampering attacks. In Section 3, we prove such result, and then in Section 3.2 we prove Theorem 2.5.

3 Multi-Party Poisoning via Generalized pp-Tampering

To prove our Theorem 2.5 we interpret the multi-party learning protocol as a coin tossing protocol in which the final bit is 11 if hh has the (bad) property BB. We define a corresponding attack model in coin tossing protocols that can be directly used to obtain the desired goal; this model is called generalized pp-tampering. Below, we formally state our main result about the power of generalized pp-tampering attacks. We start by formalizing some notation and definitions.

Notation.

By 𝐱𝐲\mathbf{x}\equiv\mathbf{y} we denote that the random variables 𝐱\mathbf{x} and 𝐲\mathbf{y} have the same distributions. Unless stated otherwise, by using a bar over a variable, we emphasize that it is a vector. By 𝐱¯(𝐱1,𝐱2,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\mathbf{x}_{2},\dots,\mathbf{x}_{n}) we refer to a joint distribution over vectors with nn components. For a joint distribution 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}), we use 𝐱i\mathbf{x}_{\leq i} to denote the joint distribution of the first ii variables 𝐱¯(𝐱1,,𝐱i)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{i}). Also, for a vector x¯=(x1xn)\overline{x}=(x_{1}\dots x_{n}) we use xix_{\leq i} to denote the prefix (x1,,xi)(x_{1},\dots,x_{i}). For a randomized algorithm L()L(\cdot), by yL(x)y\leftarrow L(x) we denote the randomized execution of LL on input xx outputting yy. For a distribution (𝐱,𝐲)(\mathbf{x},\mathbf{y}), by (𝐱𝐲)(\mathbf{x}\mid\mathbf{y}) we denote the conditional distribution (𝐱𝐲=y)(\mathbf{x}\mid\mathbf{y}=y). By Supp(𝐝)={dPr[𝐝=d]>0}\operatorname{Supp}(\mathbf{d})=\{d\mid\Pr[\mathbf{d}=d]>0\} we denote the support set of 𝐝\mathbf{d}. By T𝐝()T^{\mathbf{d}}(\cdot) we denote an algorithm T()T(\cdot) with oracle access to a sampler for 𝐝\mathbf{d} that upon every query returns fresh samples from 𝐝\mathbf{d}. By 𝐝n\mathbf{d}^{n} we denote the distribution that returns nn iid samples from 𝐝\mathbf{d}.

Definition 3.1 (Valid prefixes).

Let 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be an arbitrary joint distribution. We call xi=(x1,,xi)x_{\leq i}=(x_{1},\dots,x_{i}) a valid prefix for 𝐱¯\overline{\mathbf{x}} if there exist xi+1,,xnx_{i+1},\dots,x_{n} such that (x1,,xn)Supp(𝐱¯)(x_{1},\dots,x_{n})\in\operatorname{Supp}(\overline{\mathbf{x}}). ValPref(𝐱¯)\mathrm{ValPref}(\overline{\mathbf{x}}) denotes the set of all valid prefixes of 𝐱¯\overline{\mathbf{x}}.

Definition 3.2 (Tampering with random processes).

Let 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be an arbitrary joint distribution. We call a (potentially randomized and possibly computationally unbounded) algorithm 𝖳\mathsf{T} an (online) tampering algorithm for 𝐱¯\overline{\mathbf{x}} if given any prefix xi1ValPref(𝐱¯)x_{\leq i-1}\in\mathrm{ValPref}(\overline{\mathbf{x}}), we have

Prxi𝖳(xi1)[xiValPref(𝐱¯)]=1.\Pr_{x_{i}\leftarrow\mathsf{T}(x_{\leq i-1})}[x_{\leq i}\in\mathrm{ValPref}(\overline{\mathbf{x}})]=1~.

Namely, 𝖳(xi1)\mathsf{T}(x_{\leq i-1}) outputs xix_{i} such that xix_{\leq i} is again a valid prefix. We call 𝖳\mathsf{T} an efficient tampering algorithm for 𝐱¯\overline{\mathbf{x}} if it runs in time poly(N)\operatorname{poly}(N) where NN is the bit length of x¯Supp(𝐱¯)\overline{x}\in\operatorname{Supp}(\overline{\mathbf{x}}).

Definition 3.3 (Online samplers).

We call 𝖮𝗇𝖲𝖺𝗆\mathsf{OnSam} an online sampler for 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) if for all xi1ValPref(𝐱¯)x_{\leq i-1}\in\mathrm{ValPref}(\overline{\mathbf{x}}), 𝖮𝗇𝖲𝖺𝗆(n,xi1)𝐱i\mathsf{OnSam}(n,x_{\leq i-1})\equiv\mathbf{x}_{i}. Moreover, we call 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) online samplable if it has an online sampler that runs in time poly(N)\operatorname{poly}(N) where NN is the bit length of x¯Supp(𝐱¯)\overline{x}\in\operatorname{Supp}(\overline{\mathbf{x}}).

Notation for tampering distributions.

Let 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be an arbitrary joint distribution and 𝖳\mathsf{T} a tampering algorithm for 𝐱¯\overline{\mathbf{x}}. For any subset S[n]S\subseteq[n], we define 𝐲¯𝐱¯𝖳,S\overline{\mathbf{y}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{S}\rangle to be the joint distribution that is the result of online tampering of 𝖳\mathsf{T} over set SS, where 𝐲¯(𝐲1,,𝐲n)\overline{\mathbf{y}}\equiv(\mathbf{y}_{1},\dots,\mathbf{y}_{n}) is sampled inductively as follows. For every i[n]i\in[n], suppose yi1y_{\leq i-1} is the previously sampled block. If iSi\in S, then the ithi^{\mathrm{th}} block 𝐲i\mathbf{y}_{i} is generated by the tampering algorithm 𝖳(yi1)\mathsf{T}(y_{\leq i-1}), and otherwise, 𝐲i\mathbf{y}_{i} is sampled from (𝐱i𝐱i1=yi1)(\mathbf{x}_{i}\mid\mathbf{x}_{i-1}=y_{\leq i-1}). For any distribution 𝐒\mathbf{S} over subsets of [n][n], by 𝐱¯𝖳,𝐒\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{\mathbf{S}}\rangle we denote the random variable that can be sampled by first sampling S𝐒S\leftarrow\mathbf{S} and then y¯𝐱¯𝖳,S\overline{y}\leftarrow\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{S}\rangle.

Definition 3.4 (pp-covering).

Let 𝐒\mathbf{S} be a distribution over the subsets of [n][n]. We call 𝐒\mathbf{S} a pp-covering distribution on [n][n] (or simply pp-covering, when nn is clear from the context), if for all i[n],PrS𝐒[iS]=pi\in[n],\Pr_{S\leftarrow\mathbf{S}}[i\in S]=p.

The following theorem states the power of generalized pp-tampering attacks.

Theorem 3.5 (Biasing of bounded functions through generalizing pp-tampering).

Let 𝐒\mathbf{S} be a pp-covering distribution on [n][n], 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be a joint distribution, f:Supp(𝐱¯)[0,1]f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto[0,1], and μ=𝔼[f(𝐱¯)]\mu=\operatorname*{\mathbb{E}}[f(\overline{\mathbf{x}})]. Then, for any ε[0,1]\varepsilon\in[0,1], there exists a tampering algorithm 𝖳ε\mathsf{T}_{\varepsilon} that, given oracle access to ff and any online sampler 𝖮𝗇𝖲𝖺𝗆\mathsf{OnSam} for 𝐱¯\overline{\mathbf{x}}, it runs in time poly(N/ε)\operatorname{poly}({N}/{\varepsilon}), where NN is the bit length of any x¯𝐱¯\overline{x}\leftarrow\overline{\mathbf{x}}, and for 𝐲¯ε𝐱¯𝖳εf,𝖮𝗇𝖲𝖺𝗆,𝐒\overline{\mathbf{y}}_{\varepsilon}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}_{\varepsilon}^{f,\mathsf{OnSam}}},{\mathbf{S}}\rangle, it holds that

𝔼[f(𝐲¯ε)]μp𝔼[f(𝐱¯)1+p]ε.\operatorname*{\mathbb{E}}\left[f(\overline{\mathbf{y}}_{\varepsilon})\right]\geq\mu^{-p}\cdot\operatorname*{\mathbb{E}}\left[f(\overline{\mathbf{x}})^{1+p}\right]-\varepsilon~.
Special case of Boolean functions.

When the function ff is Boolean, we get μp𝔼[f(𝐱¯)1+p]=μ1pμ(1+Ωμ(p))\mu^{-p}\cdot\operatorname*{\mathbb{E}}[f(\overline{\mathbf{x}})^{1+p}]=\mu^{1-p}\geq\mu(1+\Omega_{\mu}(p)), which matches the bound proved in [11] for the special case of p=k/np=k/n for integer k[n]k\in[n] and for 𝐒\mathbf{S} that is uniformly random subset of [n][n] of size kk. (The same bound for the case of 2 parties was proved in [25] with extra properties). Even for this case, compared to [11, 25] our result is more general, as we can allow 𝐒\mathbf{S} with arbitrary p[0,1]p\in[0,1] and achieve a polynomial time attack given oracle access to an online sampler for 𝐱¯\overline{\mathbf{x}}. The work of [25] also deals with polynomial time attackers for the special case of 2 parties, but their efficient attackers use a different oracle (i.e., OWF inverter), and it is not clear whether or not their attack extend to the case of more then 2 parties. Finally, both [11, 25] prove their bound for the geometric mean of the averages for different S𝐒S\leftarrow\mathbf{S}, while we do so for their arithmetic mean, but we emphasize that this is enough for all of our applications.

The bounds of Theorem 3.5 relies on the quantity μ=μp𝔼[f(𝐱¯)1+p]\mu^{\prime}=\mu^{-p}\cdot\operatorname*{\mathbb{E}}[f(\overline{\mathbf{x}})^{1+p}]. A natural question is: how large is μ\mu^{\prime} compared to μ\mu? As discussed above, for the case of Boolean ff, we already know that μμ\mu^{\prime}\geq\mu, but that argument does not apply to the real-output ff. A simple application of Jensen’s inequality shows that μμ\mu\leq\mu^{\prime} in general, but that still does not mean that μμ\mu^{\prime}\gg\mu.

General case of real-output functions: relating the bias to the variance.

If 𝕍[f(𝐱¯)]=0\operatorname*{\mathbb{V}}[f(\overline{\mathbf{x}})]=0, then no tampering attack can achieve any bias, so any the minimum bias of all attacks should somehow depend on the variance of f(𝐱¯)f(\overline{\mathbf{x}}). In the following, we show that this gap does exist and that μμΩ(p𝕍[f(𝐱¯)])\mu^{\prime}-\mu\geq\Omega(p\cdot\operatorname*{\mathbb{V}}[f(\overline{\mathbf{x}})]). Similar results relating the bias the the variance of the original distribution were previously proved [33, 35, 1] for the special case of pp-tampering attacks (i.e., 𝐒\mathbf{S} chooses every i[n]i\in[n] independently with probability pp). Here, we obtain a more general result for any pp-covering set structure 𝐒\mathbf{S}.

Corollary 3.6.

If ν=𝕍[f(𝐱¯)]\nu=\operatorname*{\mathbb{V}}[f(\overline{\mathbf{x}})], then the computationally bounded attack of Theorem 3.5 achieves

𝔼[f(𝐲¯ε)]𝔼[f(𝐱¯)]p(p+1)2μpνεp2νε.\operatorname*{\mathbb{E}}\left[f(\overline{\mathbf{y}}_{\varepsilon})\right]-\operatorname*{\mathbb{E}}\left[f(\overline{\mathbf{x}})\right]\geq\frac{p\cdot(p+1)}{2\cdot\mu^{p}}\cdot\nu-\varepsilon\geq\frac{p}{2}\cdot\nu-\varepsilon~.

We prove this corollary in Appendix A.1 by proving a connection between the bound of Theorem 3.5 and the variance ν\nu.

3.1 Proving Theorem 3.5

Here, we first prove the power of computationally unbounded adversaries. Then, we show how we can “approximate” this attack with a polynomial-time adversary and get almost the same bias.

3.1.1 Warm up: Computationally Unbounded Adversaries

The construction below describes a computationally unbounded biasing algorithm that achieves the bounds of Theorem 3.5.

Construction 3.7 (Rejection-sampling tampering).

Let 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) and f:Supp(𝐱¯)[0,1]f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto[0,1]. The rejection sampling tampering algorithm 𝖱𝖾𝗃𝖲𝖺𝗆f\mathsf{RejSam}^{f} works as follows. Given the valid prefix yi1ValPref(𝐱¯)y_{\leq i-1}\in\mathrm{ValPref}(\overline{\mathbf{x}}), the tampering algorithm would do the following:

  1. 1.

    Sample yi(𝐱iyi1)y_{\geq i}\leftarrow(\mathbf{x}_{\geq i}\mid y_{\leq i-1}) by using the online sampler for ff.

  2. 2.

    If s=f(y1,,yn)s=f(y_{1},\dots,y_{n}), then with probability ss output yiy_{i}, otherwise go to Step 1 and repeat.

We will first prove a property of the rejection sampling algorithm when applied on every block.

Definition 3.8 (Notation for partial expectations of functions).

Suppose f:Supp(𝐱¯)f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto{\mathbb{R}} is defined over a joint distribution 𝐱¯(𝐱1,,𝐱n)\overline{\mathbf{x}}\equiv(\mathbf{x}_{1},\dots,\mathbf{x}_{n}), i[n]i\in[n], and xiValPref(𝐱¯)x_{\leq i}\in\mathrm{ValPref}(\overline{\mathbf{x}}). Then, using a small hat, we define the notation f^(xi)=𝔼x¯(𝐱¯xi)[f(x¯)]\hat{f}(x_{\leq{i}})=\operatorname*{\mathbb{E}}_{\overline{x}\leftarrow({\overline{\mathbf{x}}}\mid x_{\leq i})}[f(\overline{x})]. E.g., for x¯=x[n]\overline{x}=x_{[n]}, we have f^(x¯)=f(x¯)\hat{f}(\overline{x})=f(\overline{x}).

Claim 3.9.

If 𝐱¯𝖱𝖾𝗃𝖲𝖺𝗆f,[n]𝐲¯[n](𝐲1,,𝐲n)\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{RejSam}^{f}},{[n]}\rangle\equiv\overline{\mathbf{y}}^{[n]}\equiv(\mathbf{y}_{1},\dots,\mathbf{y}_{n}). Then, for every valid yiValPref[𝐱¯]y_{\leq i}\in\mathrm{ValPref}[\overline{\mathbf{x}}],

Pr[𝐲i=yi]Pr[𝐱i=yi]=f^(yi)μ.\frac{\Pr[\mathbf{y}_{\leq i}=y_{\leq i}]}{\Pr[\mathbf{x}_{\leq i}=y_{\leq i}]}=\frac{\hat{f}(y_{\leq i})}{\mu}~.
Proof.

Based on the description of 𝖱𝖾𝗃𝖲𝖺𝗆f\mathsf{RejSam}^{f}, for any yiValPref(𝐱¯)y_{\leq i}\in\mathrm{ValPref}(\overline{\mathbf{x}}) the following equation holds for the probability of sampling yiy_{i} conditioned on prefix yi1y_{\leq i-1}.

Pr[𝐲i\displaystyle\Pr[\mathbf{y}_{i} =yiyi1]=Pr[𝐱i=yiyi1]f^(yi)\displaystyle=y_{i}\mid y_{\leq i-1}]=\Pr[\mathbf{x}_{i}=y_{i}\mid y_{\leq i-1}]\cdot\hat{f}(y_{\leq i})
+(1f^(yi1))Pr[𝐲i=yiyi1].\displaystyle~~~~+(1-\hat{f}(y_{\leq i-1}))\cdot\Pr[\mathbf{y}_{i}=y_{i}\mid y_{\leq i-1}].

The first term in this equation corresponds to the probability of selecting and accepting in the first round of sampling and the second term corresponds to the probability of selecting and accepting in any round except the first round. Therefore we have

Pr[𝐲i=yiyi1]=f^(yi)f^(yi1)Pr[𝐱i=yiyi1],\Pr[\mathbf{y}_{i}=y_{i}\mid y_{\leq i-1}]=\frac{\hat{f}(y_{\leq i})}{\hat{f}(y_{\leq i-1})}\cdot\Pr[\mathbf{x}_{i}=y_{i}\mid y_{\leq i-1}]~,

which implies that

Pr[𝐲i=yi]\displaystyle\Pr[\mathbf{y}_{\leq i}=y_{\leq i}] =j[i](f^(yj)f^(yj1))Pr[𝐱i=yi]\displaystyle=\prod_{j\in[i]}\left(\frac{\hat{f}(y_{\leq j})}{\hat{f}(y_{\leq j-1})}\right)\cdot\Pr[\mathbf{x}_{\leq i}=y_{\leq i}]
=f^(yi)μPr[𝐱i=yi].\displaystyle=\frac{\hat{f}(y_{\leq i})}{\mu}\cdot\Pr[\mathbf{x}_{\leq i}=y_{\leq i}]~.

Now, we prove two properties for any tampering algorithm (not just rejection sampling) over a pp-covering distribution.

Lemma 3.10.

Let 𝐒\mathbf{S} be pp-covering for [n][n] and y¯Supp(𝐱¯)\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}}). For any SSupp(𝐒)S\in\operatorname{Supp}(\mathbf{S}) and an arbitrary tampering algorithm 𝖳\mathsf{T} for 𝐱¯\overline{\mathbf{x}}, let 𝐲¯S𝐱¯𝖳,S\overline{\mathbf{y}}^{S}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{S}\rangle. Then,

S2[n](Pr[𝐲¯S=y¯]Pr[𝐱¯=y¯])Pr[𝐒=S]=(Pr[𝐲¯[n]=y¯]Pr[𝐱¯=y¯])p.\prod_{S\in 2^{[n]}}\left(\frac{\Pr[\overline{\mathbf{y}}^{S}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{\Pr[\mathbf{S}=S]}=\left(\frac{\Pr[\overline{\mathbf{y}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}~.
Proof.

For every yiValPref(𝐲¯[n])ValPref(𝐱¯)y_{\leq i}\in\mathrm{ValPref}(\overline{\mathbf{y}}^{[n]})\subseteq\mathrm{ValPref}(\overline{\mathbf{x}}) define ρ[yi]\rho[y_{\leq i}] as

ρ[yi]=Pr[𝐲i[n]=xi𝐲i1[n]=yi1]Pr[𝐱i=xi𝐱i1=yi1].\rho[y_{\leq i}]=\frac{\Pr[\mathbf{y}^{[n]}_{i}=x_{i}\mid\mathbf{y}^{[n]}_{\leq i-1}=y_{\leq i-1}]}{\Pr[\mathbf{x}_{i}=x_{i}\mid\mathbf{x}_{\leq i-1}=y_{\leq i-1}]}~.

Then, for all y¯ValPref(𝐲¯S)ValPref(𝐱¯)\overline{y}\in\mathrm{ValPref}(\overline{\mathbf{y}}^{S})\subseteq\mathrm{ValPref}(\overline{\mathbf{x}}) we have

Pr[𝐲¯S=y]=Pr[𝐱¯=y]iSρ[yi].\Pr[\overline{\mathbf{y}}^{S}=y]=\Pr[\overline{\mathbf{x}}=y]\cdot\prod_{i\in S}\rho[y_{\leq i}]~.

Therefore we have

S2[n](Pr[𝐲¯S=y¯]Pr[𝐱¯=y¯])Pr[𝐒=S]=(i[n]ρ[yi])p.\displaystyle\prod_{S\in 2^{[n]}}\left(\frac{\Pr[\overline{\mathbf{y}}^{S}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{\Pr[\mathbf{S}=S]}=\left(\prod_{i\in[n]}\rho[y_{\leq i}]\right)^{p}.

Claim 3.11.

Suppose 𝐒\mathbf{S} is pp-covering on [n][n], 𝐲¯S𝐱¯𝖳,S\overline{\mathbf{y}}^{S}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{S}\rangle for any S𝐒S\leftarrow\mathbf{S}, and 𝐲¯𝐱¯𝖳,𝐒\overline{\mathbf{y}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}},{\mathbf{S}}\rangle for an arbitrary tampering algorithm 𝖳\mathsf{T} for 𝐱¯\overline{\mathbf{x}}. Then, it holds that

𝔼[f(𝐲¯)]y¯Supp(𝐱¯)Pr[𝐱¯=y¯]f(y¯)(Pr[𝐲¯[n]=y¯]Pr[𝐱¯=y¯])p.\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})]\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})\cdot\left(\frac{\Pr[\overline{\mathbf{y}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}~.
Proof.

Let hS,y¯=Pr[𝐲¯S=y¯]Pr[𝐱¯=y¯]h_{S,\overline{y}}=\frac{\Pr[\overline{\mathbf{y}}^{S}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}. Also let 𝒵Supp(𝐱¯){\mathcal{Z}}\subseteq\operatorname{Supp}(\overline{\mathbf{x}}). Note that Supp(𝐲¯S)𝒵\operatorname{Supp}(\overline{\mathbf{y}}^{S})\subseteq{\mathcal{Z}} for any S[n]S\subseteq[n]. Therefore, we have 𝔼[f(𝐲¯)]=𝔼S𝐒𝔼y¯𝐲¯S[f(y)]\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})]=\operatorname*{\mathbb{E}}_{\begin{subarray}{c}S\leftarrow\mathbf{S}\end{subarray}}\operatorname*{\mathbb{E}}_{\overline{y}\leftarrow\overline{\mathbf{y}}^{S}}\left[f(y)\right] is equal to

S2[n]Pr[𝐒=S]y¯𝒵Pr[𝐲¯S=y¯]f(y¯)\displaystyle\sum_{S\in 2^{[n]}}\Pr[\mathbf{S}=S]\cdot\sum_{\overline{y}\in{\mathcal{Z}}}\Pr[\overline{\mathbf{y}}^{S}=\overline{y}]\cdot f(\overline{y})
=\displaystyle= S2[n]Pr[𝐒=S]y¯𝒵hS,y¯Pr[𝐱¯=y¯]f(y¯)\displaystyle\sum_{S\in 2^{[n]}}\Pr[\mathbf{S}=S]\cdot\sum_{\overline{y}\in{\mathcal{Z}}}h_{S,\overline{y}}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
=\displaystyle= y¯𝒵Pr[𝐱¯=y¯]f(y¯)S2[n]Pr[𝐒=S]hS,y¯\displaystyle\sum_{\overline{y}\in{\mathcal{Z}}}\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})\cdot\sum_{S\in 2^{[n]}}\Pr[\mathbf{S}=S]\cdot h_{S,\overline{y}}
   (by AM-GM inequality)  
\displaystyle\geq y¯𝒵Pr[𝐱¯=y¯]f(y¯)S2[n]hS,y¯Pr[𝐒=S]\displaystyle\sum_{\overline{y}\in{\mathcal{Z}}}\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})\cdot\prod_{S\in 2^{[n]}}h_{S,\overline{y}}^{\Pr[\mathbf{S}=S]}
   (by pp-covering of 𝐒\mathbf{S} and Lemma 3.10)  
=\displaystyle= y¯𝒵Pr[𝐱¯=y¯]f(y¯)(Pr[𝐲¯[n]=y¯]Pr[𝐱¯=y¯])p.\displaystyle\sum_{\overline{y}\in{\mathcal{Z}}}\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})\cdot\left(\frac{\Pr[\overline{\mathbf{y}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}.\

We now prove the main result using the one-rejection sampling tampering algorithm and also relying on the pp-covering property of 𝐒\mathbf{S}. In particular, if 𝐲¯𝐱¯𝖱𝖾𝗃𝖲𝖺𝗆f,𝐒\overline{\mathbf{y}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{RejSam}^{f}},{\mathbf{S}}\rangle, then by Claims 3.11 and 3.9 we have

𝔼[f(𝐲¯)]\displaystyle\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})] y¯Supp(𝐱¯)(Pr[𝐲¯[n]=y¯]Pr[𝐱¯=y¯])pPr[𝐱¯=y¯]f(y¯)\displaystyle\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{\Pr[\overline{\mathbf{y}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
   (by Claim 3.9)  
=y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)\displaystyle=\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
=μpy¯Supp(𝐱¯)Pr[𝐱¯=y¯]f(y¯)1+p\displaystyle=\mu^{-p}\cdot\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})^{1+p}
=μp𝔼[f(𝐱¯)1+p].\displaystyle=\mu^{-p}\cdot\operatorname*{\mathbb{E}}[f(\overline{\mathbf{x}})^{1+p}]~.

3.1.2 Proving Theorem 3.5 for Polynomially Bounded Attacks

In this section, we prove the second item of Theorem 3.5. Namely, we show an efficient tampering algorithm whose average is ε\varepsilon-close to the average of 𝖱𝖾𝗃𝖲𝖺𝗆\mathsf{RejSam}. We define this attack as follows:

Construction 3.12 (kk-rejection-sampling tampering).

Let 𝐱¯=(𝐱1,,𝐱n)\overline{\mathbf{x}}=(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be a joint distribution and f:Supp(𝐱¯)[0,1]f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto[0,1]. The kk-rejection sampling tampering algorithm 𝖱𝖾𝗃𝖲𝖺𝗆kf\mathsf{RejSam}_{k}^{f} works as follows. Given the valid prefix yi1ValPref(𝐱¯)y_{\leq i-1}\in\mathrm{ValPref}(\overline{\mathbf{x}}), the tampering algorithm would do the following for kk times:

  1. 1.

    Sample yi(𝐱iyi1)y_{\geq i}\leftarrow(\mathbf{x}_{\geq i}\mid y_{\leq i-1}) by using the online sampler for ff.

  2. 2.

    Let s=f(y1,,yn)s=f(y_{1},\dots,y_{n}); with probability ss output yiy_{i}, otherwise go to Step 1.

If no yiy_{i} was output during any of the above kk iterations then output a fresh sample yi(𝐱iyi1)y_{i}\leftarrow(\mathbf{x}_{i}\mid y_{\leq i-1}).

The output distribution of 𝖱𝖾𝗃𝖲𝖺𝗆k\mathsf{RejSam}_{k} on any input, converges to the rejections sampling tampering algorithm 𝖱𝖾𝗃𝖲𝖺𝗆\mathsf{RejSam} for sufficiently large kk\to\infty.

Notation. Below, use the notation 𝐳¯=𝐱¯𝖱𝖾𝗃𝖲𝖺𝗆kf,S\overline{\mathbf{z}}=\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{RejSam}_{k}^{f}},{S}\rangle and μk=𝔼[f(𝐳¯)]\mu_{k}=\operatorname*{\mathbb{E}}[f(\overline{\mathbf{z}})].

We will prove the following claim which will directly completes the proof of second part of Theorem 3.5.

Claim 3.13.

Let 𝐱¯=(𝐱1,,𝐱n)\overline{\mathbf{x}}=(\mathbf{x}_{1},\dots,\mathbf{x}_{n}) be a joint distribution and f:Supp(𝐱¯)[0,1]f\colon\operatorname{Supp}(\overline{\mathbf{x}})\mapsto[0,1]. For any ε[0,1]\varepsilon\in[0,1], let k16ln(2n/ε)ε2μ2k\geq\frac{16\ln(2n/\varepsilon)}{\varepsilon^{2}\mu^{2}}. Then 𝖱𝖾𝗃𝖲𝖺𝗆k\mathsf{RejSam}_{k} runs in time O(k)=poly(N/(εμ))O(k)=\operatorname{poly}(N/(\varepsilon\cdot\mu)), where NnN\geq n is the total bit-length of representing 𝐱¯\overline{\mathbf{x}}, and for 𝐳¯𝐱¯𝖱𝖾𝗃𝖲𝖺𝗆kf,𝖮𝗇𝖲𝖺𝗆,𝐒\overline{\mathbf{z}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{RejSam}_{k}^{f,\mathsf{OnSam}}},{\mathbf{S}}\rangle it holds that

𝔼[f(𝐳¯)]μp𝔼[f(𝐱¯)1+p]ε.\operatorname*{\mathbb{E}}[f(\overline{\mathbf{z}})]\geq\mu^{-p}\cdot\operatorname*{\mathbb{E}}[f(\overline{\mathbf{x}})^{1+p}]-\varepsilon~.
Proof.

It is easy to see why 𝖱𝖾𝗃𝖲𝖺𝗆k\mathsf{RejSam}_{k} runs in time O(k)O(k) and thus we will focus on proving the expected value of the output of the kk-rejection sampling tampering algorithm. To that end, we start by providing some definitions relevant to our analysis.

Definition 3.14.

For δ0\delta\geq 0, let

High(δ)={x¯x¯Supp(𝐱¯)i[n],f^(xi1)δ},Low(δ)=Supp(𝐱¯)High(δ),\mathrm{High}(\delta)=\{\overline{x}\mid\overline{x}\in\operatorname{Supp}(\overline{\mathbf{x}})\land\forall i\in[n],\hat{f}(x_{\leq i-1})\geq\delta\},~\mathrm{Low}(\delta)=\operatorname{Supp}(\overline{\mathbf{x}})\setminus\mathrm{High}(\delta)~,
Big(δ)={x¯x¯Supp(𝐱¯)f(x¯)δ}, and Small(δ)=Supp(𝐱¯)Big(δ).\mathrm{Big}(\delta)=\{\overline{x}\mid\overline{x}\in\operatorname{Supp}(\overline{\mathbf{x}})\land f(\overline{x})\geq\delta\},\text{~and~~}\mathrm{Small}(\delta)=\operatorname{Supp}(\overline{\mathbf{x}})\setminus\mathrm{Big}(\delta)~.
Claim 3.15.

For δ1δ2=δ\delta_{1}\cdot\delta_{2}=\delta, it holds that

Prx¯𝐱¯[x¯Big(δ1)x¯Low(δ)]δ2.\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\mid\overline{x}\in\mathrm{Low}(\delta)]\leq\delta_{2}~.

As a result, it holds that Prx¯𝐱¯[x¯Big(δ1)x¯Low(δ)]δ2\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\land\overline{x}\in\mathrm{Low}(\delta)]\leq\delta_{2}, and so

x¯Big(δ1)Low(δ)Pr[x¯=𝐱¯]δ2.\sum_{\overline{x}\in\mathrm{Big}(\delta_{1})\cap\mathrm{Low}(\delta)}\Pr[\overline{x}=\overline{\mathbf{x}}]\leq\delta_{2}~.
Proof.

Let t:Low(δ)ValPref(𝐱¯)t\colon\mathrm{Low}(\delta)\to\mathrm{ValPref}({\overline{\mathbf{x}}}) be such that t(x¯)t(\overline{x}) is the smallest prefix xix_{\leq i} such that f^(xi)δ\hat{f}(x_{\leq i})\leq\delta. Now consider the set T={t(x¯)x¯Low(δ)}T=\{t(\overline{x})\mid\overline{x}\in\mathrm{Low}(\delta)\}. For any wTw\in T we have

δf^(w)Prx¯𝐱¯[x¯Big(δ1)t(x¯)=w]δ1,\delta\geq\hat{f}(w)\geq\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\mid t(\overline{x})=w]\cdot\delta_{1}~,

which implies

Prx¯𝐱¯[x¯Big(δ1)t(x¯)=w]δ2.\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\mid t(\overline{x})=w]\leq\delta_{2}~.

Thus, we have

Prx¯𝐱¯[x¯Big(δ1)x¯Low(δ)]\displaystyle\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\mid\overline{x}\in\mathrm{Low}(\delta)]
=wTPrx¯𝐱¯[x¯Big(δ1)t(x¯)=wx¯Low(δ)]\displaystyle=\sum_{w\in T}\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\wedge t(\overline{x})=w\mid\overline{x}\in\mathrm{Low}(\delta)]
=wTPrx¯𝐱¯[x¯Big(δ1)x¯Low(δ)t(x¯)=w]Prx¯𝐱¯[t(x¯)=wx¯Low(δ)]\displaystyle=\sum_{w\in T}\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[\overline{x}\in\mathrm{Big}(\delta_{1})\mid\overline{x}\in\mathrm{Low}(\delta)\wedge t(\overline{x})=w]\cdot\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[t(\overline{x})=w\mid\overline{x}\in\mathrm{Low}(\delta)]
wTδ2Prx¯𝐱¯[t(x¯)=wx¯Low(δ)]δ2.\displaystyle\leq\sum_{w\in T}\delta_{2}\cdot\Pr_{\overline{x}\leftarrow\overline{\mathbf{x}}}[t(\overline{x})=w\mid\overline{x}\in\mathrm{Low}(\delta)]\leq\delta_{2}~.

Claim 3.16.

Let xHigh(δ)x\in\mathrm{High}(\delta), then we have

Pr[𝐳¯=y¯](1(1δ)k)nf(y¯)μPr[𝐱¯=y¯].\Pr[\overline{\mathbf{z}}=\overline{y}]\geq(1-(1-\delta)^{k})^{n}\cdot\frac{f(\overline{y})}{\mu}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]~.
Proof.

Consider Ek,yi\mathrm{E}_{k,y_{\leq i}} to be the event that 𝖱𝖾𝗃𝖲𝖺𝗆k\mathsf{RejSam}_{k} outputs one of its first kk samples, when performed on yiy_{\leq i}. Then, it holds that

Pr[Ek,yi]=1(1f^(yi))k1(1δ)k.\Pr[\mathrm{E}_{k,y_{\leq i}}]=1-(1-\hat{f}(y_{\leq i}))^{k}\geq 1-(1-\delta)^{k}~.

On the other hand, we know that Pr[𝐳¯i+1=yi+1yiEk,yi]=Pr[𝐲¯i+1=yi+1yi]\Pr[\overline{\mathbf{z}}_{i+1}=y_{i+1}\mid y_{\leq i}\wedge\mathrm{E}_{k,y_{\leq i}}]=\Pr[\overline{\mathbf{y}}_{i+1}=y_{i+1}\mid y_{\leq i}]. Thus, we have

Pr[𝐳¯i+1=yi+1yi]\displaystyle\Pr[\overline{\mathbf{z}}_{i+1}=y_{i+1}\mid y_{\leq i}] Pr[𝐳¯i+1=yi+1yiEk,yi]Pr[Ek,yi]\displaystyle\geq\Pr[\overline{\mathbf{z}}_{i+1}=y_{i+1}\mid y_{\leq i}\wedge\mathrm{E}_{k,y_{\leq i}}]\cdot\Pr[\mathrm{E}_{k,y_{\leq i}}]
=Pr[𝐲¯i+1=yi+1yi]Pr[Ek,yi]\displaystyle=\Pr[\overline{\mathbf{y}}_{i+1}=y_{i+1}\mid y_{\leq i}]\cdot\Pr[\mathrm{E}_{k,y_{\leq i}}]
Pr[𝐲¯i+1=yi+1yi](1(1δ)k)n.\displaystyle\geq\Pr[\overline{\mathbf{y}}_{i+1}=y_{i+1}\mid y_{\leq i}]\cdot(1-(1-\delta)^{k})^{n}.

By multiplying these inequalities for i[n]i\in[n] we get Pr[𝐳¯=y¯](1(1δ)k)nPr[𝐲¯=x¯].\Pr[\overline{\mathbf{z}}=\overline{y}]\geq(1-(1-\delta)^{k})^{n}\cdot\Pr[\overline{\mathbf{y}}=\overline{x}]~.

Claim 3.17.

For δ1δ2=δ\delta_{1}\cdot\delta_{2}=\delta, it holds that

μky¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)δ1+δ2μn(1δ)k.\mu_{k}\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\frac{\delta_{1}+\delta_{2}}{\mu}-n\cdot(1-\delta)^{k}~.
Proof.

Let

μ=y¯Low(δ)Small(δ1)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯),\mu^{\prime}=\sum_{\overline{y}\in\mathrm{Low}(\delta)\cap\mathrm{Small}(\delta_{1})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})~,
and μ′′=y¯Low(δ)Big(δ1)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯).\text{and~~~}\mu^{\prime\prime}=\sum_{\overline{y}\in\mathrm{Low}(\delta)\cap\mathrm{Big}(\delta_{1})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})~.

By Claim, 3.11 we have

𝔼[f(𝐳¯)]\displaystyle\operatorname*{\mathbb{E}}[f(\overline{\mathbf{z}})] y¯Supp(𝐱¯)(Pr[𝐳¯[n]=y¯]Pr[𝐱¯=y¯])pPr[𝐱¯=y¯]f(y¯)\displaystyle\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{\Pr[\overline{\mathbf{z}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
y¯High(δ)(Pr[𝐳¯[n]=y¯]Pr[𝐱¯=y¯])pPr[𝐱¯=y¯]f(y¯)\displaystyle\geq\sum_{\overline{y}\in\mathrm{High}(\delta)}\left(\frac{\Pr[\overline{\mathbf{z}}^{[n]}=\overline{y}]}{\Pr[\overline{\mathbf{x}}=\overline{y}]}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
(by Claim 3.16) y¯High(δ)(1(1δ)k)np(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)\displaystyle\geq\sum_{\overline{y}\in\mathrm{High}(\delta)}(1-(1-\delta)^{k})^{n\cdot p}\cdot\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})
=(1(1δ)k)np(y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)μμ′′).\displaystyle=(1-(1-\delta)^{k})^{n\cdot p}\cdot\left(\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\mu^{\prime}-\mu^{\prime\prime}\right).

We have μδ11+p/μpδ1/μ\mu^{\prime}\leq{\delta_{1}^{1+p}}/{\mu^{p}}\leq{\delta_{1}}/{\mu}, because f(y¯)δ1f(\overline{y})\leq\delta_{1} for all y¯Small(δ1)\overline{y}\in\mathrm{Small}(\delta_{1}). Also, by Claim 3.15, we get

μ′′y¯Low(δ)Big(δ1)(1μ)pPr[𝐱¯=y¯]δ2μpδ2μ.\mu^{\prime\prime}\leq\sum_{\overline{y}\in\mathrm{Low}(\delta)\cap\mathrm{Big}(\delta_{1})}\left(\frac{1}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\leq\frac{\delta_{2}}{\mu^{p}}\leq\frac{\delta_{2}}{\mu}~.

Therefore, we have

𝔼[f(𝐳¯)]\displaystyle\operatorname*{\mathbb{E}}[f(\overline{\mathbf{z}})] (1(1δ)k)np(y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)δ1+δ2μ)\displaystyle\geq(1-(1-\delta)^{k})^{n\cdot p}\cdot\left(\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\frac{\delta_{1}+\delta_{2}}{\mu}\right)
(by Bernoulli inequality) (1n(1δ)k)(y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)δ1+δ2μ)\displaystyle\geq(1-{n\cdot}(1-\delta)^{k})\cdot\left(\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\frac{\delta_{1}+\delta_{2}}{\mu}\right)
y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)δ1+δ2μn(1δ)k.\displaystyle\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\frac{\delta_{1}+\delta_{2}}{\mu}-n\cdot(1-\delta)^{k}.

In order to conclude the proof of Claim 3.13, we can set δ1=δ2=δ\delta_{1}=\delta_{2}=\sqrt{\delta} and let δ(εμ/4)2\delta\leq(\varepsilon\mu/4)^{2}. Then, given that we have k16ln(2n/ε)ε2μ2k\geq\frac{16\ln(2n/\varepsilon)}{\varepsilon^{2}\mu^{2}}, we get

𝔼[f(𝐳¯)]y¯Supp(𝐱¯)(f(y¯)μ)pPr[𝐱¯=y¯]f(y¯)ε2ε2.\displaystyle\operatorname*{\mathbb{E}}[f(\overline{\mathbf{z}})]\geq\sum_{\overline{y}\in\operatorname{Supp}(\overline{\mathbf{x}})}\left(\frac{f(\overline{y})}{\mu}\right)^{p}\cdot\Pr[\overline{\mathbf{x}}=\overline{y}]\cdot f(\overline{y})-\frac{\varepsilon}{2}-\frac{\varepsilon}{2}~.

3.2 Obtaining (k,p)(k,p)-Poisoning: Proof of Theorem 2.5 using Theorem 3.5

In this section, we formally prove Theorem 2.5 using Theorems 3.5. We first prove the first part of theorem about the boolean property.

Proof of Theorem 2.5, Part 1.

For a subset C[m]C\subseteq[m] let PC={Pi;iC}P_{C}=\{P_{i};i\in C\} and RCR_{C} be the subset of rounds where one of the parties in PCP_{C} sends an example. Also for a subset S[n]S\subseteq[n], we define 𝐁𝐢𝐨𝐧(S,p)\mathbf{Bion}(S,p) to be a distribution over all the subsets of SS, where each subset SSS^{\prime}\subseteq S hast the probability p|S|(1p)|S||S|p^{|S^{\prime}|}\cdot(1-p)^{|S|-|S^{\prime}|}. Now, consider the covering 𝐒\mathbf{S} of the set [n][n] which is distributed equivalent to the following process. First sample a uniform subset CC of [m][m] of size kk. Then sample and output a set SS sampled from 𝐁𝐢𝐨𝐧(RC,p)\mathbf{Bion}(R_{C},p). 𝐒\mathbf{S} is clearly a (pkm)(p\cdot\frac{k}{m})-covering. We use this covering to prove the theorem. For j[n]j\in[n] let w(j)w(j) be the index of the provider at round jj and let 𝐝w(j)\mathbf{d}_{w(j)} be the designated distribution of the jjth round and let 𝐱¯=𝐝w(1)××𝐝w(n)\overline{\mathbf{x}}=\mathbf{d}_{w(1)}\times\dots\times\mathbf{d}_{w(n)}.

We define a function f:Supp(𝐱¯){0,1}f:\operatorname{Supp}(\overline{\mathbf{x}})\to\{0,1\}, which is a Boolean function and is 11 if the output of the protocol has the property BB, and otherwise it is 00. Now we use Theorem 3.5. We know that 𝐒\mathbf{S} is a (pkm)(p\cdot\frac{k}{m})-covering for [n][n]. Therefore of Theorem 3.5, there exist an poly(m/ε)\operatorname{poly}(m/\varepsilon) time tampering algorithm 𝖳ε\mathsf{T}_{\varepsilon} that changes 𝐱¯\overline{\mathbf{x}} to 𝐲¯𝐱¯𝖳εf,𝖮𝗇𝖲𝖺𝗆,𝐒\overline{\mathbf{y}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}_{\varepsilon}^{f,\mathsf{OnSam}}},{\mathbf{S}}\rangle where 𝔼[f(𝐲¯)]𝔼[f(𝐲¯)]1pk/mε.\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})]\geq\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})]^{1-pk/m}-\varepsilon.

By an averaging argument, we can conclude that there exist a set C[m]C\in[m] of size kk for which the distribution 𝐁𝐢𝐨𝐧(RC,p)\mathbf{Bion}(R_{C},p) produces average output at least 𝔼[f(𝐲¯)]1pk/mε\operatorname*{\mathbb{E}}[f(\overline{\mathbf{y}})]^{1-pk/m}-\varepsilon. Note that the measure of empty set in 𝐁𝐢𝐨𝐧(RC,p)\mathbf{Bion}(R_{C},p) is exactly equal to 1p1-p which means with probability 1p1-p the adversary will not tamper with any of the blocks, therefore, the statistical distance |𝐱¯𝐱¯𝖳εf,𝖮𝗇𝖲𝖺𝗆,𝐁𝐢𝐨𝐧(RC,p)||\overline{\mathbf{x}}-\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}_{\varepsilon}^{f,\mathsf{OnSam}}},{\mathbf{Bion}(R_{C},p)}\rangle| is at most pp. This concludes the proof. ∎

Now we prove the second part using Theorem 3.5 and Lemma A.3.

Proof of Theorem 2.5 part 2.

Now we prove the second part. The second part is very similar to first part except that the function that we define here is a real valued function. Consider the function f2:Supp(𝐱¯)[0,1]f_{2}:\operatorname{Supp}(\overline{\mathbf{x}})\to[0,1] which is defined to be the risk of the output hypotheses. Now by Theorem 3.5 and Lemma A.3, we know that there is tampering algorithm 𝖳ε\mathsf{T}_{\varepsilon} that changes 𝐱¯\overline{\mathbf{x}} to 𝐲¯𝐱¯𝖳εf2,𝖮𝗇𝖲𝖺𝗆,𝐒\overline{\mathbf{y}}\equiv\langle\overline{\mathbf{x}}\,\,\|\,{\mathsf{T}_{\varepsilon}^{f_{2},\mathsf{OnSam}}},{\mathbf{S}}\rangle such that

𝔼[f2(𝐲¯)]μ2+pk2mνε.\operatorname*{\mathbb{E}}[f_{2}(\overline{\mathbf{y}})]\geq\mu_{2}+\frac{p\cdot k}{2m}\cdot\nu-\varepsilon.

By a similar averaging argument we can conclude the proof. ∎

References

  • ACM+ [14] Per Austrin, Kai-Min Chung, Mohammad Mahmoody, Rafael Pass, and Karn Seth. On the impossibility of cryptography with tamperable randomness. In International Cryptology Conference, pages 462–479. Springer, 2014.
  • ACM+ [17] Per Austrin, Kai-Min Chung, Mohammad Mahmoody, Rafael Pass, and Karn Seth. On the impossibility of cryptography with tamperable randomness. Algorithmica, 79(4):1052–1101, Dec 2017.
  • BBV [08] Maria-Florina Balcan, Avrim Blum, and Santosh Vempala. A discriminative framework for clustering via similarity functions. In Proceedings of the fortieth annual ACM symposium on Theory of computing, pages 671–680. ACM, 2008.
  • BCMC [18] Arjun Nitin Bhagoji, Supriyo Chakraborty, Prateek Mittal, and Seraphin Calo. Analyzing federated learning through an adversarial lens. arXiv preprint arXiv:1811.12470, 2018.
  • BDLS [17] Sivaraman Balakrishnan, Simon S Du, Jerry Li, and Aarti Singh. Computationally efficient robust sparse estimation in high dimensions. In Conference on Learning Theory, pages 169–212, 2017.
  • BEK [02] Nader H. Bshouty, Nadav Eiron, and Eyal Kushilevitz. PAC learning with nasty noise. Theoretical Computer Science, 288(2):255–275, 2002.
  • BGS+ [17] Peva Blanchard, Rachid Guerraoui, Julien Stainer, et al. Machine learning with adversaries: Byzantine tolerant gradient descent. In Advances in Neural Information Processing Systems, pages 119–129, 2017.
  • BIK+ [17] Keith Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H Brendan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. Practical secure aggregation for privacy-preserving machine learning. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pages 1175–1191. ACM, 2017.
  • BNL [12] Battista Biggio, Blaine Nelson, and Pavel Laskov. Poisoning attacks against support vector machines. In Proceedings of the 29th International Coference on International Conference on Machine Learning, pages 1467–1474. Omnipress, 2012.
  • BNS+ [06] Marco Barreno, Blaine Nelson, Russell Sears, Anthony D Joseph, and J Doug Tygar. Can machine learning be secure? In Proceedings of the 2006 ACM Symposium on Information, computer and communications security, pages 16–25. ACM, 2006.
  • BOL [89] M. Ben-Or and N. Linial. Collective coin flipping. Randomness and Computation, 5:91–115, 1989.
  • BVH+ [18] Eugene Bagdasaryan, Andreas Veit, Yiqing Hua, Deborah Estrin, and Vitaly Shmatikov. How to backdoor federated learning. arXiv preprint arXiv:1807.00459, 2018.
  • CFGN [96] Ran Canetti, Uri Feige, Oded Goldreich, and Moni Naor. Adaptively secure multi-party computation. In Proceedings of the twenty-eighth annual ACM symposium on Theory of computing, pages 639–648. ACM, 1996.
  • CSV [17] Moses Charikar, Jacob Steinhardt, and Gregory Valiant. Learning from untrusted data. In Proceedings of the 49th Annual ACM SIGACT Symposium on Theory of Computing, pages 47–60. ACM, 2017.
  • CSX [17] Yudong Chen, Lili Su, and Jiaming Xu. Distributed statistical machine learning in adversarial settings: Byzantine gradient descent. Proceedings of the ACM on Measurement and Analysis of Computing Systems, 1(2):44, 2017.
  • CV [19] Gregory Cirincione and Dinesh Verma. Federated machine learning for multi-domain operations at the tactical edge. In Artificial Intelligence and Machine Learning for Multi-Domain Operations Applications, volume 11006, page 1100606. International Society for Optics and Photonics, 2019.
  • CWCP [18] Lingjiao Chen, Hongyi Wang, Zachary Charles, and Dimitris Papailiopoulos. Draco: Byzantine-resilient distributed training via redundant gradients. In International Conference on Machine Learning, pages 902–911, 2018.
  • DKK+ [16] Ilias Diakonikolas, Gautam Kamath, Daniel M Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Robust estimators in high dimensions without the computational intractability. In Foundations of Computer Science (FOCS), 2016 IEEE 57th Annual Symposium on, pages 655–664. IEEE, 2016.
  • DKK+ [18] Ilias Diakonikolas, Gautam Kamath, Daniel M Kane, Jerry Li, Jacob Steinhardt, and Alistair Stewart. Sever: A robust meta-algorithm for stochastic optimization. arXiv preprint arXiv:1803.02815, 2018.
  • DKS [17] Ilias Diakonikolas, Daniel M Kane, and Alistair Stewart. Statistical query lower bounds for robust estimation of high-dimensional Gaussians and Gaussian mixtures. In Foundations of Computer Science (FOCS), 2017 IEEE 58th Annual Symposium on, pages 73–84. IEEE, 2017.
  • [21] Ilias Diakonikolas, Daniel M Kane, and Alistair Stewart. List-decodable robust mean estimation and learning mixtures of spherical Gaussians. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, pages 1047–1060. ACM, 2018.
  • [22] Ilias Diakonikolas, Weihao Kong, and Alistair Stewart. Efficient algorithms and lower bounds for robust linear regression. arXiv preprint arXiv:1806.00040, 2018.
  • FYB [18] Clement Fung, Chris JM Yoon, and Ivan Beschastnikh. Mitigating sybils in federated learning poisoning. arXiv preprint arXiv:1808.04866, 2018.
  • GR+ [18] Rachid Guerraoui, Sébastien Rouault, et al. The hidden vulnerability of distributed learning in byzantium. In International Conference on Machine Learning, pages 3518–3527, 2018.
  • HO [14] Iftach Haitner and Eran Omri. Coin flipping with constant bias implies one-way functions. SIAM Journal on Computing, 43(2):389–409, 2014.
  • HO [18] Jamie Hayes and Olga Ohrimenko. Contamination attacks and mitigation in multi-party machine learning. In Advances in Neural Information Processing Systems, pages 6604–6615, 2018.
  • HZ [19] Yufei Han and Xiangliang Zhang. Robust federated training via collaborative machine teaching using trusted instances. arXiv preprint arXiv:1905.02941, 2019.
  • KL [93] Michael J. Kearns and Ming Li. Learning in the Presence of Malicious Errors. SIAM J. on Computing, 22(4):807–837, 1993.
  • KMY+ [16] Jakub Konečnỳ, H Brendan McMahan, Felix X Yu, Peter Richtárik, Ananda Theertha Suresh, and Dave Bacon. Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492, 2016.
  • KSL [18] Pang Wei Koh, Jacob Steinhardt, and Percy Liang. Stronger data poisoning attacks break data sanitization defenses. arXiv preprint arXiv:1811.00741, 2018.
  • LB [17] JG Liao and Arthur Berg. Sharpening Jensen’s inequality. The American Statistician, 2017.
  • LRV [16] Kevin A Lai, Anup B Rao, and Santosh Vempala. Agnostic estimation of mean and covariance. In Foundations of Computer Science (FOCS), 2016 IEEE 57th Annual Symposium on, pages 665–674. IEEE, 2016.
  • [33] Saeed Mahloujifar, Dimitrios I Diochnos, and Mohammad Mahmoody. Learning under pp-tampering attacks. In Algorithmic Learning Theory, pages 572–596, 2018.
  • [34] Saeed Mahloujifar, Dimitrios I Diochnos, and Mohammad Mahmoody. Learning under pp-Tampering Attacks. In ALT, pages 572–596, 2018.
  • MM [17] Saeed Mahloujifar and Mohammad Mahmoody. Blockwise p-Tampering Attacks on Cryptographic Primitives, Extractors, and Learners. In Theory of Cryptography Conference, pages 245–279. Springer, 2017.
  • MMR+ [16] H Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, et al. Communication-efficient learning of deep networks from decentralized data. arXiv preprint arXiv:1602.05629, 2016.
  • MR [17] Brendan McMahan and Daniel Ramage. Federated learning: Collaborative machine learning without centralized training data. Google Research Blog, 2017.
  • PMSW [16] Nicolas Papernot, Patrick McDaniel, Arunesh Sinha, and Michael Wellman. Towards the science of security and privacy in machine learning. arXiv preprint arXiv:1611.03814, 2016.
  • PSBR [18] Adarsh Prasad, Arun Sai Suggala, Sivaraman Balakrishnan, and Pradeep Ravikumar. Robust estimation via robust gradient estimation. arXiv preprint arXiv:1802.06485, 2018.
  • SKL [17] Jacob Steinhardt, Pang Wei W Koh, and Percy S Liang. Certified defenses for data poisoning attacks. In Advances in neural information processing systems, pages 3517–3529, 2017.
  • STS [16] Shiqi Shen, Shruti Tople, and Prateek Saxena. A uror: defending against poisoning attacks in collaborative deep learning systems. In Proceedings of the 32nd Annual Conference on Computer Security Applications, pages 508–519. ACM, 2016.
  • TCC [19] Richard Tomsett, Kevin Chan, and Supriyo Chakraborty. Model poisoning attacks against distributed machine learning systems. In Artificial Intelligence and Machine Learning for Multi-Domain Operations Applications, volume 11006, page 110061D. International Society for Optics and Photonics, 2019.
  • Val [85] Leslie G. Valiant. Learning disjunctions of conjunctions. In IJCAI, pages 560–566, 1985.
  • YCRB [18] Dong Yin, Yudong Chen, Kannan Ramchandran, and Peter Bartlett. Byzantine-robust distributed learning: Towards optimal statistical rates. arXiv preprint arXiv:1803.01498, 2018.

Appendix A Some Useful Inequalities

The following well-known variant of the inequality for the arithmetic mean and the geometric mean could be derived from the Jensen’s inequality.

Lemma A.1 (Weighted AM-GM inequality).

For any nn\in{\mathbb{N}}, let z1,,znz_{1},...,z_{n} be a sequence of non-negative real numbers and let w1,,wnw_{1},...,w_{n} be such that wi0w_{i}\geq 0 for every i[n]i\in[n] and i=1nwi=1\sum_{i=1}^{n}w_{i}=1. Then, it holds that

i=1nwizii=1nziwi.\displaystyle\sum_{i=1}^{n}w_{i}z_{i}\geq\prod_{i=1}^{n}z_{i}^{w_{i}}~.

The following lemma provides a tool for lower bounding the gap between the two sides of Jensen’s inequality, also known as the Jensen gap.

Lemma A.2 (Lower bound for Jensen gap [31]).

Let 𝛂{\bm{\upalpha}} be a real-valued random variable, Supp(𝛂)[0,1]\operatorname{Supp}({\bm{\upalpha}})\subseteq[0,1], and 𝔼[𝛂]=μ\operatorname*{\mathbb{E}}[{\bm{\upalpha}}]=\mu. Let φ()\varphi(\cdot) be twice differentiable on [0,1][0,1], and let hb(a)=φ(a)φ(b)(ab)2φ(a)abh_{b}(a)=\frac{\varphi(a)-\varphi(b)}{(a-b)^{2}}-\frac{\varphi^{\prime}(a)}{a-b}. Then,

𝔼[φ(𝛂)]φ(μ)𝕍[𝛂]infa[0,1]{hμ(a)}.\operatorname*{\mathbb{E}}[\varphi({\bm{\upalpha}})]-\varphi(\mu)\geq\operatorname*{\mathbb{V}}[{\bm{\upalpha}}]\cdot\inf_{a\in[0,1]}\{h_{\mu}(a)\}~.

A.1 Relating the Bias to the Variance

We first prove a lemma that shows the connection of bias to variance. Then, using this lemma we immediately get a Ω(p𝕍[f(𝐱¯)])\Omega(p\cdot\operatorname*{\mathbb{V}}[f(\overline{\mathbf{x}})]) lower bounds for the bias achieved by the attacker of Theorem 3.5 for the general case of real-valued functions and arbitrary pp-covering set distribution 𝐒\mathbf{S}.

Lemma A.3.

Let 𝛂{\bm{\upalpha}} be any real-valued random variable over Supp(𝛂)[0,1]\operatorname{Supp}({\bm{\upalpha}})\subseteq[0,1], and p[0,1]p\in[0,1]. Let μ=𝔼[𝛂]\mu=\operatorname*{\mathbb{E}}[{\bm{\upalpha}}] be the expected value of 𝛂{\bm{\upalpha}}, ν=𝕍[𝛂]\nu=\operatorname*{\mathbb{V}}[{\bm{\upalpha}}] be the variance of 𝛂{\bm{\upalpha}}. Then, it holds that

μp𝔼[𝛂1+p]μp(p+1)2μpνp2ν.\mu^{-p}\cdot\operatorname*{\mathbb{E}}[{\bm{\upalpha}}^{1+p}]-\mu\geq\frac{p\cdot(p+1)}{2\cdot\mu^{p}}\cdot\nu\geq\frac{p}{2}\cdot\nu~.
Proof.

We use Lemma A.2 by letting φ(x)=x1+p\varphi(x)=x^{1+p}. Thus, we have to minimize the following function on x[0,1]x\in[0,1],

gμ(x)=(x1+pμ1+p(1+p)μp(xμ))/(xμ)2.g_{\mu}(x)=\left(x^{1+p}-\mu^{1+p}-(1+p)\cdot\mu^{p}\cdot(x-\mu)\right)/(x-\mu)^{2}~.

We now prove that the minimum happens on x=1x=1. Note that the function gμ(x)g_{\mu}(x) is continues on [0,μ)[0,\mu) and (μ,0](\mu,0] and the limit exists at x=μx=\mu and is equal to 1/2p(1+p)μ1+p1/2\cdot p\cdot(1+p)\cdot\mu^{-1+p}. Therefore if we show that gμg^{\prime}_{\mu} is negative for x[0,μ)(μ,1]x\in[0,\mu)\cup(\mu,1] it implies that, x[0,1]g(x)g(1)\forall x\in[0,1]g(x)\geq g(1). We have

gμ(x)\displaystyle g^{\prime}_{\mu}(x) =(p1)μp+1(p+1)xμp+(p+1)μxp(p1)xp+1(μx)3\displaystyle=\frac{(p-1)\cdot\mu^{p+1}-(p+1)\cdot x\cdot\mu^{p}+(p+1)\cdot\mu\cdot x^{p}-(p-1)\cdot x^{p+1}}{(\mu-x)^{3}}
(using c=x/μ)\displaystyle(\text{using }c=x/\mu)~~ =μp2(p1)(p+1)c+(p+1)cp(p1)cp+1(1c)3.\displaystyle=\mu^{p-2}\cdot\frac{(p-1)-(p+1)\cdot c+(p+1)\cdot c^{p}-(p-1)\cdot c^{p+1}}{(1-c)^{3}}~.

We prove that the numerator q(c)=(p1)(p+1)c+(p+1)cp(p1)cp+1q(c)=(p-1)-(p+1)\cdot c+(p+1)\cdot c^{p}-(p-1)\cdot c^{p+1} is positive for c>1c>1 and negative for 0<c<10<c<1. For c>0c>0, we have

q(c)\displaystyle q^{\prime}(c) =(1+p)+(p+1)pcp1+(1p)(p+1)cp\displaystyle=-(1+p)+(p+1)\cdot p\cdot c^{p-1}+(1-p)\cdot(p+1)\cdot c^{p}
=(1+p)(pcp1+(1p)cp1)\displaystyle=(1+p)\cdot(p\cdot c^{p-1}+(1-p)\cdot c^{p}-1)
(by AM-GM inequality of Lemma A.1)\displaystyle(\text{by AM-GM inequality of Lemma \ref{lem:AM-GM}}) (1+p)(cp(p1)c(1p)p1)\displaystyle\geq(1+p)\cdot(c^{p\cdot(p-1)}\cdot c^{(1-p)\cdot p}-1)
=0.\displaystyle=0~.

Therefore, qq is increasing for c>0c>0 which implies c[0,1],q(c)<q(1)=0\forall c\in[0,1],q(c)<q(1)=0 and c>1,q(c)>q(1)=0\forall c>1,q(c)>q(1)=0. We have x[0,μ)(μ,1],g(x)0\forall x\in[0,\mu)\cup(\mu,1],g^{\prime}(x)\leq 0. Therefore we have

x[0,1],gu(x)gu(1).\displaystyle\forall x\in[0,1],g_{u}(x)\geq g_{u}(1)~. (1)

Now we prove that gμ(1)p(1+p)2g_{\mu}(1)\geq\frac{p(1+p)}{2}. Consider the following function,

w(μ)=gμ(1)=(1μ1+p(1+p)μp(1μ))/(1μ)2.w(\mu)=g_{\mu}(1)=\left(1-\mu^{1+p}-(1+p)\cdot\mu^{p}\cdot(1-\mu)\right)/(1-\mu)^{2}~.

We will show that qq is a decreasing function for μ[0,1]\mu\in[0,1]. We have

w(μ)=OPENp(1μ2)μp1+p2(1μ)2μp1+2(μp1))(1+μ)3.w^{\prime}(\mu)=\frac{p\cdot(1-\mu^{2})\cdot\mu^{p-1}+p^{2}(1-\mu)^{2}\cdot\mu^{p-1}+2\cdot(\mu^{p}-1))}{(-1+\mu)^{3}}~.

We will show that the numerator s(μ)=p(1μ2)μp1+p2(1μ)2μp1+2(μp1)s(\mu)=p\cdot(1-\mu^{2})\cdot\mu^{p-1}+p^{2}(1-\mu)^{2}\cdot\mu^{p-1}+2\cdot(\mu^{p}-1) is negative for μ[0,1].\mu\in[0,1]~. We have s(μ)=p(p21)(1μ)2μp2s^{\prime}(\mu)=p(p^{2}-1)\cdot(1-\mu)^{2}\cdot\mu^{p-2} which is negative for μ[0,1]\mu\in[0,1]. This implies that μ[0,1],s(μ)s(1)=0\forall\mu\in[0,1],s(\mu)\geq s(1)=0. Therefore, ww is a decreasing function, and we obtain

μ[0,1],gμ(1)=w(μ)limu1w(u)=p(1+p)2.\displaystyle\forall\mu\in[0,1],g_{\mu}(1)=w(\mu)\geq\lim_{u\to 1}w(u)=\frac{p(1+p)}{2}~. (2)

Now, we conclude that

μp𝔼[𝛂1+p]μ\displaystyle\mu^{-p}\cdot\operatorname*{\mathbb{E}}[{\bm{\upalpha}}^{1+p}]-\mu =μp(𝔼[𝛂1+p]μ1+p)\displaystyle=\mu^{-p}\left(\operatorname*{\mathbb{E}}[{\bm{\upalpha}}^{1+p}]-\mu^{1+p}\right)
(by Lemma A.2)    μp(infx[0,1]{gμ(x)}ν)\displaystyle\geq\mu^{-p}\left(\inf_{x\in[0,1]}\{g_{\mu}(x)\}\cdot\nu\right)
(by Inequality 1)   μpgμ(1)ν\displaystyle\geq\mu^{-p}\cdot g_{\mu}(1)\cdot\nu
(by Inequality 2)   p(1+p)2μpν.\displaystyle\geq\frac{p\cdot(1+p)}{2\cdot\mu^{p}}\cdot\nu~.

Now, using Lemma A.3 and 3.5, we immidiately get Corollary 3.6