Distribution Learnability and Robustness5


Abstract

We examine the relationship between learnability and robust (or agnostic) learnability for the problem of distribution learning. We show that, contrary to other learning settings (e.g., PAC learning of function classes), realizable learnability of a class of probability distributions does not imply its agnostic learnability. We go on to examine what type of data corruption can disrupt the learnability of a distribution class and what is such learnability robust against. We show that realizable learnability of a class of distributions implies its robust learnability with respect to only additive corruption, but not against subtractive corruption.

We also explore related implications in the context of compression schemes and differentially private learnability.

1 Introduction↩︎

Distribution learning (sometimes called density estimation) refers to the following statistical task: given i.i.d.samples from some (unknown) distribution \(p\), produce an estimate of \(p\). This is one of the most fundamental and well-studied questions in both statistics [1] and computer science [2], sometimes equivalent to classic problems of parameter estimation in parametric settings (e.g., Gaussian mean estimation).

It is easy to see that no learner can meaningfully approximate any given \(p\) without having some prior knowledge. In the realizable setting, the problem then becomes: assuming the sample generating distribution \(p\) belongs to a given class of distributions \(\mathcal{C}\), and given parameters \(\varepsilon, \delta \in (0,1)\), output some distribution \(\hat{p}\) such that with probability at least \(1- \delta\), (over the generated input samples) the statistical distance between \(p\) and \(\hat{p}\) is at most \(\varepsilon\). Specifically, we employ total variation distance, the most studied metric in density estimation [1], [2], using \(d_{\mathrm {TV}}(p,q)\) to denote the total variation distance between distributions \(p\) and \(q\). This case, when \(p \in \mathcal{C}\), is often called the realizable setting. If, for some particular class \(\mathcal{C}\), this is doable with a finite number of samples \(n(\varepsilon,\delta)\) (independent of the choice of \(p\)), then we say the distribution class is \((\varepsilon, \delta)\)-learnable.6 A class is learnable if it is \((\varepsilon, \delta)\)-learnable for every \((\varepsilon, \delta) \in (0,1)^2\). A significant amount of work has focused on proving bounds on \(n(\varepsilon, \delta)\) for a number of classes \(\mathcal{C}\) of interest – for example, one can consider the class \(\mathcal{C}\) of all Gaussian distributions \(\mathcal{N}(\mu, \Sigma)\) in some Euclidean space \(\mathbb{R}^d\).

However, this framework is restrictive in the sense that it requires the unknown distribution to be exactly a member of the class \(\mathcal{C}\) of interest. This may not be the case for a variety of possible reasons, including some innocuous and some malicious. As one example, while it is a common modelling assumption to posit that data comes from a Gaussian distribution, Nature rarely samples exactly from Gaussians, we consider this only to be a convenient approximation. More generally, the class \(\mathcal{C}\) that is part of the learner’s input can be thought of as reflecting some prior knowledge about the task at hand. Such prior knowledge is almost always only an approximation of reality. Alternatively, we may be in an adversarial setting, where a malicious actor has the ability to modify an otherwise well-behaved distribution, say by injecting datapoints that are not i.i.d. samples from \(p\), (known in the machine learning literature as data poisoning attacks [3][8]).

More formally, the classic problem of agnostic learnability is generally described as follows: given a (known) class of distributions \(\mathcal{C}\), and a (finite) set of samples drawn i.i.d.from some (unknown) distribution \(p\), find a distribution \(\hat{p}\) whose statistical distance from \(p\) is not much more than that of the closest member of \(\mathcal{C}\). It is not hard to see that this is equivalent to a notion of robust learnability, where the distribution \(p\) is not viewed as arbitrary, but instead an adversarial corruption of some distribution within \(\mathcal{C}\).7 Given their equivalence, throughout this work, we will use agnostic and robust learnability interchangeably.

The difference between a robust setting and the previous realizable one is that now, instead of assuming \(p \in \mathcal{C}\) and asking for an arbitrarily good approximation of \(p\), we make no prior assumption about the data-generating distribution and only ask to approximate as well as (or close to) what the best member of some “benchmark” class \(\mathcal{C}\) can do.

We address the following question: Assuming a class of distributions is learnable, under which notions of robustness is it guaranteed to be robustly learnable? We focus entirely on information-theoretic learnability, and eschew concerns of computational efficiency. Indeed, our question of interest is so broad that computationally efficient algorithms may be too much to hope for.

We shall consider a few variants of robust learnability. Specifically, we will impose requirements on the nature of the difference between the data-generating distribution \(p\) and members of the class \(\mathcal{C}\). Obviously, such requirements can only make the task of robust learning easier.

One such model that we consider is additive robustness. The underlying sample-generating distribution is restricted to be a mixture of a distribution \(p\) from \(\mathcal{C}\), and some arbitrary ‘contaminating’ distribution \(q\). In the Statistics community, this model is known as Huber’s contamination model [9].8 Analogously, one also consider subtractive robustness. It includes the case where the starting point is a distribution in the class \(\mathcal{C}\), but a fraction of the probability mass is removed and samples are drawn from the resulting distribution (after rescaling). These two models are related to adversaries who can add or remove points from a sampled dataset, see discussion at the end of Section 1.2.

A significant line of work focuses on understanding the sample complexity of agnostic distribution learning (see examples and discussion in Section 1.3). Most study restricted classes of distributions, with analyses that are only applicable in certain classes. Some works have found quantitative separations between the different robustness models. For instance, for the specific class of Gaussian probability distributions [10][13] give strong evidence that efficient algorithms for mean estimations can achieve better error if they are only required to be additively robust, rather than robust in general. However, such findings are again restricted to specific cases, and say little about the overall relationship between learnability in general and these various notions of robust learnability.

Current results leave open a more comprehensive treatment of robustness in distribution learning. Specifically, what is the relative power of these different robustness models, and what is their impact on which types of distributions are learnable? Are there more generic ways to design robust learning algorithms?

Our two main contributions are the following:

  • We give a generic algorithm which converts a learner for a distribution class into a learner for that class which is robust to additive corruptions.

  • We show that there exist distribution classes which are learnable, but are no longer learnable after subtractive corruption.

Stated succinctly: we show that learnability implies robust learnability when an adversary can make additive corruptions, but not subtractive corruptions. This also implies that there are classes of distributions that can be learned in the realizable case, but cannot be learned agnostically. Other results explore implications related to compression schemes and differentially private learnability.

1.1 Definitions of Learnability↩︎

In order to more precisely describe our results, we define various notions of learnability. We start with the standard notion of PAC learnability for a distribution class. We get samples from a distribution \(p\) belonging to a distribution class \(\mathcal{C}\), and the goal is to output a distribution similar to \(p\).

Definition 1 (Learnability). We say that a class \(\mathcal{C}\) of probability distributions is learnable* (or, realizably learnable) if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every probability distribution \(p \in \mathcal{C}\), and every \((\varepsilon, \delta) \in (0,1)^2\), for \(n\geq n_{\mathcal{C}}(\varepsilon, \delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(p\) that \(d_{\mathrm {TV}}(A(S),p) \leq \varepsilon\) is at least \(1 - \delta\).*

We next introduce the more challenging setting of robust, or agnostic, learning. In this setting, the sampled distribution is within bounded distance to the distribution class \(\mathcal{C}\), rather than being in \(\mathcal{C}\) itself.

We will introduce a notion (more commonly considered in the agnostic learning literature) which does not assume the distance from the sampling distribution to be fixed, but which gives a bound that depends on that distance.

Definition 2 (Robust learnability). For \(\alpha > 0\), we say that a class \(\mathcal{C}\) of probability distributions is \(\alpha\)-robustly learnable* (also referred to as \(\alpha\)-agnostically learnable) if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every probability distribution \(p\), and \((\varepsilon, \delta) \in (0,1)^2\), for \(n\geq n_{\mathcal{C}}(\varepsilon, \delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(p\) that \(d_{\mathrm {TV}}(A(S),p) \leq \alpha\cdot\min\{d_{\mathrm {TV}}(p,): p' \in \mathcal{C}\}+ \varepsilon\) is at least \(1 - \delta\).*

We say a class \(\mathcal{C}\) is robustly (or agnostically) learnable if there is \(\alpha\in \mathbb{R}\) such that \(\alpha\)-robustly learnable.9

Finally, we introduce notions of robust learnability which correspond to only additive or subtractive deviations from the distribution class \(\mathcal{C}\). These more stringent requirements than standard (realizable) learnability, but more lenient than general robust learnability: the adversary in that setting can deviate from the distribution class \(\mathcal{C}\) with both additive and subtractive modifications simultaneously.

Definition 3 (Additively robust learnability). We say that a class \(\mathcal{C}\) of probability distributions is additive \(\alpha\)-robustly learnable* if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every \(\eta\in (0,1)\), every probability distribution \(q\), every \(p \in \mathcal{C}\), and \((\varepsilon, \delta) \in (0,1)^2\), for \(n\geq n_{\mathcal{C}}(\varepsilon, \delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(\eta q + (1-\eta) p\), that \(d_{\mathrm {TV}}(A(S), \eta q + (1-\eta)p) \leq \alpha\eta + \varepsilon\) is at least \(1 - \delta\).*

We say a class \(\mathcal{C}\) of probability distributions is additively robust* learnable, if there is \(\alpha\in \mathbb{R}\), such that \(\mathcal{C}\) is additively \(\alpha\)-robustly learnable.*

If the goal is to recover a distribution from the class \(\mathcal{C}\) that was additively corrupted, the goal of learning is \(d_{\mathrm {TV}}(A(S), p) \leq \alpha\eta + \varepsilon\), instead of \(d_{\mathrm {TV}}(A(S), \eta q + (1-\eta) p) \leq \alpha\eta + \varepsilon\). We refer to learning with respect to this learning alternative goal as Huber \(\alpha\)-robust learnability. It is clear that those notions only differ by \(\eta\), i.e., \(\alpha\)-robust learnability implies Huber \((\alpha+1)\)-robust learnability and Huber \(\alpha\)-robust learnability implies \((\alpha+1)\)-robust learnability.

Definition 4 (Subtractive robust learnability). We say that a class \(\mathcal{C}\) of probability distributions is subtractive \(\alpha\)-robustly learnable* if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every corruption level \(\eta\in (0,1)\) , every probability distribution \(p\) for which there exists a probability distribution \(q\) such that \(\eta q + (1-\eta)p \in \mathcal{C}\), and for every \((\varepsilon, \delta) \in (0,1)^2\), for \(n \geq n_{\mathcal{C}}(\varepsilon,\delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(p\), that \(d_{\mathrm {TV}}(A(S), p) \leq \alpha\eta + \varepsilon\) is at least \(1-\delta\).
We say a class of distributions \(\mathcal{C}\) is subtractive robustly learnable, if there exists \(\alpha\in \mathbb{R}\), such that \(\mathcal{C}\) is subtractive \(\alpha\)-robustly learnable.*

We note, that by definition, it directly follows that for every \(\alpha\):

  • If a class of probability distribution \(\mathcal{C}\) is \(\alpha\)-robustly learnable, then it is also additive \(\alpha\)-robustly learnable and subtractive \(\alpha\)-robustly learnable

  • If a class of probability distribution \(\mathcal{C}\) is additively \(\alpha\)-robustly learnable, then it is also learnable in the realizable case.

  • If a class of probability distribution \(\mathcal{C}\) is subtractive \(\alpha\)-robustly learnable, then it is learnable in the realizable case).

The remaining, non-trivially implications between these notions are the subject of the paper. We will show that realizable learnability does not imply subtractively robust learnability. Furthermore, we will establish an equivalence between realizable and additive robust learnability, as well as an equivalence between agnostic and subtractive learning.

1.2 Results and Techniques↩︎

We explore how different robustness models affect learnability of distributions, showing strong separations between them.

Our main result shows that a distribution class being learnable does not imply that it is robustly or agnostically learnable.

Theorem 1 (Informal). There exists a class that is realizably learnable, but not agnostically/robustly learnable.

This result is an immediate corollary of a slightly stronger result that shows that learnability does not imply subtractive robust learnability.

Theorem 2 (Informal). There exists a class that is realizably learnable, but not subtractive robustly learnable.

Our proof of this theorem proceeds by constructing a class of distributions that is learnable, but classes obtained by subtracting light-weight parts of these distributions are not \(\alpha\)-robustly learnable with respect to the original learnable class. More concretely, our construction works as follows. We start by considering a distribution class that, by itself, is not learnable with any finite number of samples. We map each distribution in that class to a new distribution, which additionally features a point with non-trivial mass that “encodes” the identity of the distribution, thus creating a new class of distributions which is learnable. Subtractive contamination is then able to “erase” this point mass, leaving a learner with sample access only to the original (unlearnable) class. Our construction is inspired by the recent construction of Lechner and Ben-David [14], showing that the learnability of classes of probability distributions cannot be characterized by any notion of combinatorial dimension. For more details, see Section 2.

Our other main result shows in contrast to the general and subtractive case, if we restrict the adversary to only additive corruptions, realizabile learnability is indeed sufficient to guarantee robustness. That is realizability learnability indeed implies additively robust learnability.

Theorem 3 (Informal). Any class of probability distributions \(\mathcal{Q}\) which is realizably learnable, is also additively robustly learnable.

Note that, since additively robust learnability trivially implies learnability, this shows an equivalence between learnability and additively robust learnability.

Our algorithm enumerates over all subsets of the dataset of an appropriate size, such that at least one subset contains no samples from the contaminating distribution. A realizable learner is applied to each subset, and techniques from hypothesis selection [1], [15][17] are used to pick the best of the learned distributions. Further details appear in Section 3.

We also note that since our robust learning algorithm enumerates all large subsets of the training dataset, it is not computationally efficient. Indeed, for such a broad characterization, this would be too much to ask. Efficient algorithms for robust learnability are an exciting and active field of study, but outside the scope of this work. For further discussion see Section 1.3.

Thus far, we have shown that additive and realizable learnability are equivalent and that both subtractive and general robust learnability are both not implied by realizable learnability. It remains to settle the question whether subtractive and general robust learnability are fundamentally different. General robustness, where probability mass can be both added and removed, is more powerful than either model individually. However, if a class is additive robustly learnable and subtractive robustly learnable, is it robustly learnable? Though this is intuitively true, we are not aware of an immediate proof. Using a similar argument as Theorem 3, we derive a stronger statement: that subtractively robust learnability implies robust learnability.

Theorem 4 (Informal). If a class \(\mathcal{C}\) is subtractively robustly learnable, then it is also robustly or agnostically learnable.

Adjacent to distribution learning is the notion of sample compression schemes. Recent work by Ashtiani, Ben-David, Harvey, Liaw, Mehrabian, and Plan [18] expanded notions of sample compression schemes to apply to the task of learning probability distributions. They showed that the existence of such sample compression schemes for a class of distributions imply the learnability of that class. While the existence of sample compression schemes for classification tasks imply the existence of such schemes for robust leaning, the question if similar implication hold for distribution learning schemes was not answered. We strongly refute this statement. We use a construction similar to that of Theorem 7, see Section 4 for more details.

Theorem 5 (Informal). The existence of compression schemes for a class of probability distributions does not imply the existence of robust compression schemes for that class.

Finally, a natural question is whether other forms of learnability imply robust learnability. We investigate when differentially private10 (DP) learnability does or does not imply robust learnability. We find that the same results and separations as before hold when the distribution class is learnable under approximate differential privacy (i.e., \((\varepsilon, \delta)\)-DP), but, perhaps surprisingly, under pure differential privacy (i.e., \((\varepsilon, 0)\)-DP), private learnability implies robust learnability for all considered adversaries.11

Theorem 6 (Informal). \((\varepsilon,0)\)-DP learnability implies robust \((\varepsilon,0)\)-DP learnability. For any \(\delta>0\), \((\varepsilon,\delta)\)-DP learnability implies additively robust learnability, but not subtractively robust learnability.

For pure DP learnability, we employ an equivalence between learnability under pure differential privacy and packing [19]. Existence of such a packing in turn implies learnability under both pure differential privacy and with both additive and subtractive contamination. For approximate DP learnability, we note that the corresponding version of Theorem [thm:additive] automatically holds, since private learnability implies learnability. We show that our construction for Theorem 7 is still learnable under approximate differential privacy, and thus the corresponding non-implication holds. See Section 5 for more details.

To summarize the qualitative versions of our findings:

  • Learnability does not imply robust or agnostic learnability (Theorem 1, formal version: Theorem 8)

  • Learnability and additively robust learnability are equivalent (Theorem 3, formal version: Theorem [thm:additive]);

  • Learnability does not imply subtractively robust learnability (Theorem 2, formal version: Theorem 7);

  • Subtractively robust learnability implies robust learnability (Theorem 4, formal version: Theorem [thm:general]);

  • Existence of sample compression schemes does not imply the existence of robust sample compression schemes (Theorem 5, formal version: Theorem 10).

  • Pure DP learnability is equivalent to robust pure DP learnability (Theorem 6);

  • Approximate DP learnability implies additively robust learnability,12 but not subtractively robust learnability (Theorem 6);

Quantitative versions of these statements can be found in their respective theorems.

1.2.0.1 Adaptive Adversaries.

Our definition of robustness allows an adversary to make changes to the underlying distribution. Equivalently, it corresponds to an adversary who can add or remove points from a dataset, but must commit to these modifications before the dataset is actually sampled. A stronger13 adversary would be able to choose which points to add or remove after seeing the sampled dataset. Such an adversary is referred to as adaptive. Since adaptive adversaries are stronger than the ones we consider, any impossibility result that we show also holds in this settings (e.g., learnability does not imply subtractive robust learnability when the adversary is adaptive). It is an interesting open question to understand whether our algorithms can be strengthened to work in this setting. Some positive evidence in this direction is due to Blanc, Lange, Malik, and Tan [20], who show that adaptive and non-adaptive adversaries have qualitatively similar power in many settings.

1.2.0.2 Known vs unknown level of corruption

So far, we only looked at learners that were unaware of the exact level of contamination, but had to give a guarantee with respect to the true but unknown contamination level. This is the standard formulation when considering agnostic learnability. An alternative version can then be defined dependent on a parameter \(\eta\), which describes a fixed level of contamination that is known by the learner. Our robust learning notions trivially imply those \(\eta\)-dependent notions. Furthermore, one can show that robust algorithms designed with the knowledge of \(\eta\) can be modified into versions that can do without that knowledge [21]. We give the details on the definition and the relation between these learning models Appendix 8. We further show in that section that for learning with known contamination models, the same picture emerges: realizable learning does not imply robustness with respect to subtractive contaminations (Theorem [thm:knowncorruptionsubtractive]), but realizable and additively robust learning are equivalent. Similarly, subtractively robust learnability implies general robust learnability.

1.3 Related Work↩︎

Robust estimation is a classic subfield of Statistics, see, for example, the classic works [9], [22]. Our work fits more into the Computer Science literature on distribution estimation, initiated by the work of [23], which was in turn inspired by Valiant’s PAC learning model [24]. Since then, several works have focused on algorithms for learning specific classes of distributions, see, e.g., [25][29]. A recent line of work, initiated by [10], [11], focuses on computationally-efficient robust estimation of multivariate distributions, see, e.g., [5], [13], [30][37] and [38] for a reference. In contrast to all of these works, we focus on broad and generic connections between learnability and robust learnability, rather than studying robust learnability of a particular class of distributions.

Some of our algorithmic results employ tools from hypothesis selection, a problem which focuses on agnostic learning with respect to a specified finite set of distributions. The most popular approaches are based on ideas introduced by Yatracos [15] and subsequently refined by Devroye and Lugosi [1], [16], [17]. Several others have studied hypothesis selection with an eye for several considerations, including running time, approximation factor, robustness, privacy, parallelization, and more [10], [18], [19], [39][47].

Distribution learning under the constraint of differential privacy [48] has been an active area of research, see, e.g., [49][55], and [56] for a survey. A number of these works have focused on connections between robustness and privacy [19], [57][69]. Again, these results either focus on specific classes of distributions, or give implications that require additional technical conditions, whereas we aim to give characterizations of robust learnability under minimal assumptions.

The question whether learnability under realizability assumptions extends to non-realizable setting has a long history. For binary classification tasks, both notions are characterized by the finiteness of the VC-dimension, and are therefore equivalent  [70][73]. [74] show a similar result for online learning. Namely, that agnostic (non-realizable) learnability is characterized by the finiteness of the Littlestone dimension, and is therefore equivalent to realizable learnability.

Going beyond binary classification, recent work [75] shows that the equivalence of realizable and agnostic learnability extends across a wide variety of settings. These include models with no known characterization of learnability such as learning with arbitrary distributional assumptions and more general loss functions, as well as a host of other popular settings such as robust learning, partial learning, fair learning, and the statistical query model. This stands in contrast to our results for the distribution learning setting. We show that realizable learnability of a class of probability distributions does not imply its agnostic learnability. It is interesting and natural to explore the relationship between various notions of distribution learnability, which we have scratched the surface of in this work.

2 Learnability Does Not Imply Robust (Agnostic) Learnablity↩︎

In this section we show that there are classes of distributions which are realizably learnable, but not robustly learnable. We start with stating the stronger statement that realizable learning does not imply robust learning, even of the corruptions are just limited to subtractive corruptions.

Theorem 7. [Formal version of Theorem 2] There are classes of distributions \(\mathcal{Q}\), such that \(\mathcal{Q}\) is realizably learnable, but for every \(\alpha \in \mathbb{R}\), \(\mathcal{Q}\) is not subtractively \(\alpha\)-robustly learnable. Moreover, the sample complexity of learning \(\mathcal{Q}\) can be arbitrarily close to (but larger than) linear. Namely, for any super-linear function \(g\), there is a class \(\mathcal{Q}_g\), with

  • \(\mathcal{Q}_g\) is realizable learnable with sample complexity \(n_{\mathcal{Q}_g}^{re}(\varepsilon,\delta) \leq \log(1/\delta)g(1/\varepsilon)\);

  • for every \(\alpha\in \mathbb{R}\), \(\mathcal{Q}_g\) is not subtractively \(\alpha\)-robustly learnable.

This statement directly implies the main result of our paper.

Theorem 8. There are classes of distributions \(\mathcal{Q}\), such that \(\mathcal{Q}\) is realizably learnable, but for every \(\alpha \in \mathbb{R}\), \(\mathcal{Q}\) is not robustly or agnostically learnable. Moreover, the sample complexity of learning \(\mathcal{Q}\) can be arbitrarily close to (but larger than) linear. Namely, for any super-linear function \(g\), there is a class \(\mathcal{Q}_g\), with

  • \(\mathcal{Q}_g\) is realizable learnable with sample complexity \(n_{\mathcal{Q}_g}^{re}(\varepsilon,\delta) \leq \log(1/\delta)g(1/\varepsilon)\);

  • for every \(\alpha\in \mathbb{R}\), \(\mathcal{Q}_g\) is not \(\alpha\)-robustly learnable.

Furthermore, for the weaker robustness criterion of robust learning with respect to known corruption levels, we get a similar negative result, i.e., we show that realizable learnability does not imply subtractive learnability with known corruption level. This statement is formalized as Theorem [thm:knowncorruptionsubtractive].

The key idea to the proof for all of these theorems is to construct a class which is easy to learn in the realizable case, by having each distribution of the class have a unique support element that is not shared by any other distributions in the class. Distributions on which this “indicator element” has sufficient mass will be easily identified, independent of how rich the class is on other domain elements. That richness makes the class hard to learn from samples that miss those indicators. Furthermore, we construct the class in a way that its members are close in total variation distance to distributions that place no weight on those indicator elements.

This is done by making the mass on these indicator elements small, so that the members of a class of distributions that results from deleting these indicator bits are close to the initially constructed class, \(\mathcal{Q}_g\). In order to make this work for every target accuracy and sample complexity, we need to have a union of such classes with decreasingly small mass on the indicator bits. In order for this to not interfere with the realizable learnability, we let the distributions with small mass on the indicator bits have most of their mass on one point \((0,0)\) that is the same for all distributions in the class. This ensures that distributions for which the indicator bit will likely not be observed because their mass is smaller than some \(\eta\) are still easily \(\varepsilon\)-approximated by a constant distribution (\(\delta_{(0,0)}\)). Lastly we ensure the impossibility of agnostic learnability, by controlling the rate at which \(\eta\) approaches zero to be faster than the rate at which \(\varepsilon\) approaches zero. With this intuition in mind, we will now describe the construction and proof of this theorem.

Proof. We first define the distributions in \(\mathcal{Q}_g\). Let \(\{A_i\subset \mathbb{N}: i\in \mathbb{N}\}\) be an enumeration of all finite subsets of \(\mathbb{N}\). Define distributions over \(\mathbb{N} \times \mathbb{N}\) as follows: \[\begin{align} q_{i,j,k} =\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j}-\frac{1}{k}\right)U_{A_i\times\{2j+1\}} + \frac{1}{k}\delta_{(i,2j+2)},\label{eq:q} \end{align}\tag{1}\] where, for every finite set \(W\), \(U_W\) denotes the uniform distribution over \(W\). For a monotone, super-linear function \(g: \mathbb{N} \to \mathbb{N}\), we now let \(\mathcal{Q}_{g} = \{q_{i,j,g(j)}: i,j\in \mathbb{N}\}\). The first bullet point of the theorem (the class is learnable) follows from Claim [claim:Q95grealizable] and the second bullet point (the class is not robustly learnable) follows from Claim [claim:Q95grobust]. ◻

claimQgrealizable For a monotone function \(g: \mathbb{N} \to \mathbb{N}\), let \(\mathcal{Q}_{g} = \{q_{i,j,g(j)}: i,j\in \mathbb{N}\}\). Then, the sample complexity of \(\mathcal{Q}_g\) in the realizable case is upper bounded by \[n_{\mathcal{Q}_g}^{re}(\varepsilon,\delta)\leq \log(1/\delta)g(1/\varepsilon).\]

This claim can be proved by showing that the following learner defined by

\[\begin{align} \mathcal{A}(S) =\begin{cases} q_{i,j,g(j)} &\text{ if } (i,2j+2)\in S\\ \delta_{(0,0)} & \text{otherwise} \end{cases} \end{align}\] is a successful learner in the realizable case. Intuitively, this learner is successful for distributions \(q_{i,j,g(j)}\) for which \(j\) is large (i.e., \(j > \frac{1}{\varepsilon})\), since this will mean that \(d_{\mathrm {TV}}(q_{i,j,g(j)},\delta_{(0,0)})\) is small. Furthermore, it is successful for distributions \(q_{i,j,g(j)}\) for which \(j\) is small (i.e., upper bounded by some constant dependent on \(\varepsilon\)), because this will lower bound the probability \(1/g(j)\) of observing the indicator bit on \((i, 2j+2)\). Once the indicator bit is observed the distribution will be uniquely identified.

claimQgrobust For every function \(g \in \omega(n)\) the class \(\mathcal{Q}_{g}\) is not subtractive \(\alpha\)-robustly learnable for any \(\alpha > 0\).

This claim can be proven by showing that for every \(\alpha\), there is \(\eta\), such that the class of distributions \(Q'\) for which the following holds:

  • \(Q'\) is not \(\alpha\eta\)-weakly learnable14

  • for every \(q'\in Q'\) there is \(q\in \mathcal{Q}_g\) and arbitrary \(r\) with \(q' = (1-\eta) q + \eta r\) which is not \(\alpha\eta\)-weakly learnable.

We construct this class and show that it is not learnable by using the construction and Lemma 3 from [14].

2.1 Proof of Main Result↩︎

We will now show the proofs of the main result of this section. We start with proving the upper bound of Claim [claim:Q95grealizable] and the lower bound of Claim [claim:Q95grobust] before proving Theorem 7.

2.1.1 Proof of Claim [claim:Q95grealizable]↩︎

Proof. Let the realizable learner \(\mathcal{A}\) be \[\begin{align} \mathcal{A}(S) =\begin{cases} q_{i,j,g(j)} &\text{ if } (i,2j+2)\in S\\ \delta_{(0,0)} & \text{otherwise} \end{cases} \end{align}\]

Note that for all \(\mathcal{Q}_g\)-realizable samples this learner is well-defined. Furthermore, we note that in the realizable case, whenever \(\mathcal{A}\) outputs a distribution different from \(\delta_{(0,0)}\), then \(\mathcal{A}(S)\) outputs the ground-truth distribution, i.e., the output has TV-distance \(0\) to the true distribution. Lastly, we note, that for an i.i.d.sample \(S\sim q_{i,j,g(j)}^n\), we have the following upper bound for the learner identifying the correct distribution: \[\mathbb{P}_{S\sim q_{i,j,g(j)}^n}[\mathcal{A}(S) = q_{(j)}] = \mathbb{P}_{S\sim q_{i,j,g(j)}^n}[ (i,2j+2) \in S] = 1- (1- 1/g(j))^n .\] We note, that since \(g\) is a monotone function, if \(\varepsilon\leq \frac{1}{j}\), then \(g(j) \leq g(\frac{1}{\varepsilon})\) and therefore, \[(1- 1/g(j))^n \leq (1- 1/g(1/\varepsilon))^n.\]

Furthermore for \(q_{i,j,g(j)}\), we have that \(d_{\mathrm {TV}}(\delta_{(0,0)}, q_{i,j,g(j)}) = \frac{1}{j}\).

Putting these two observations together, we get \[\mathbb{P}_{S\sim q_{i,j,g(j)}^n}[d_{\mathrm {TV}}(\mathbb{A}(S),q_{i,j,g(j)}) \geq \varepsilon] \leq \begin{cases} (1- 1/g(1/\varepsilon))^n & \text{ if } \frac{1}{j} \leq \varepsilon\\ 0 & \text{ if } \frac{1}{j} >\varepsilon \end{cases}.\] Thus, for every \(q\in \mathcal{Q}_g\),

\[\mathbb{P}_{S\sim q^n}[d_{\mathrm {TV}}(\mathbb{A}(S),q) \geq \varepsilon] \leq (1- 1/g(1/\varepsilon))^n \leq \exp\left(- \frac{n}{g(1/\varepsilon)} \right) .\] Letting the left-hand side equal the failure probability \(\delta\) and solving for \(n\), we get, \[\begin{align} \log \delta &\geq \frac{-n}{g(1/\varepsilon)}\\ \log(\delta)g(1/ \varepsilon) &\geq -n\\ n &\geq - \log(\delta)g(1/ \varepsilon) = \log(1/\delta)g(1/\varepsilon). \end{align}\] Thus, we have a sample complexity bound of

\[n_{Q_{g}}(\varepsilon,\delta) \leq \log(1/\delta)g(1/\varepsilon).\] ◻

2.1.2 Proof of Claim [claim:Q95grobust]↩︎

Now, we show a lower bound, that our class \(\mathcal{Q}_g\) is not robustly learnable. Before we do that, we require a few more preliminaries. For a distribution class \(\mathcal{Q}\) and a distribution \(p\), let their total variation distance be defined by \[d_{\mathrm {TV}}(p,\mathcal{Q}) = \inf_{q \in \mathcal{Q}} d_{\mathrm {TV}}(p,q).\]

We also use the following lemma from [14].

Lemma 1 (Lemma 3 from [14]). Let \(\mathcal{P}_{\gamma,4k,j} = \{(1-\gamma)\delta_{(0,0)} +\gamma U_{A \times \{2j+1\}}: A\subset[4k]\}\) For \(\mathcal{Q} = \mathcal{P}_{\gamma,4k,j}\), we have \(n_\mathcal{Q}^{re}(\frac{\gamma}{8},\frac{1}{7}) \geq k\).

Finally, we recall the definition of weak learnability, which says that a distribution class is learnable only for some particular value of the accuracy parameter.

Definition 5. A class \(\mathcal{Q}\) is \(\varepsilon\)-weakly learnable, if there is a learner \(\mathcal{A}\) and a sample complexity function \(n : (0,1) \to \mathbb{N}\), such that for ever \(\delta \in (0,1)\) and every \(p\in \mathcal{Q}\) and every \(n\geq n(\delta)\), \[\mathbb{P}_{S\sim p^n}[d_{\mathrm {TV}}(\mathcal{A}(S),p) \leq \varepsilon] < \delta.\]

Learnability clearly implies \(\varepsilon\)-weak learnability for every \(\varepsilon\in (0,1)\). While in some learning models (e.g., binary classification) learnability and weak learnability are equivalent, the same is not true for distribution learning [14].

We are now ready to prove that \(\mathcal{Q}_g\) is not robustly learnable.

Proof. Consider \[q_{i,j}' = \frac{1}{1-\frac{1}{g(j)}}\left(\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j} - \frac{1}{g(j)}\right) U_{A_i\times\{2j+1\}}\right)\] Let \(l =\) Note that for every \(q_{i,j}'\) and every \(q_{i,j,g(j)}\) there is some distribution \(r\), such that \(q_{i,j,g(j)} = (1-\frac{1}{g(j)})q_{i,j}' + \frac{1}{g(j)}r\). Therefore, in order to show that \(\mathcal{Q}_g\) is not subtractive \(\alpha\)-robustly learnable, it is sufficient to show that there are \(j\) and \(\varepsilon\), such that the class \(\mathcal{Q}'_j =\{q_{i,j}': i\in \mathbb{N}\}\) is not \((\frac{\alpha}{g(j)} + \varepsilon)\)-weakly learnable. Let us denote \(\gamma(j) = \frac{\frac{1}{j}- \frac{1}{g(j)}}{8(1 - \frac{1}{g(j)})}\). We will now show that the class \(\mathcal{Q}_j' =\{ q_{i,j}': i\in\mathbb{N}\}\) is not \(\gamma\)-weakly learnable. Recalling notation from Lemma 1, we note that that for every \(n\in \mathbb{N}\) the class \(P_{8\gamma(j),4k,j} \subset \mathcal{Q}_{j}'\). By monotonicity of the sample complexity and Lemma 1, we have \(n_{\mathcal{Q}_{j}'}(\gamma(j),\frac{1}{7}) \geq n_{P_{8\gamma(j),4n}}(\gamma(j),\frac{1}{7}) \geq n\), proving that this class is not subtractive \(\gamma(j)\)-weakly learnable.

Lastly, we need to show that for every \(\alpha\), there are \(\varepsilon\) and \(j\), such that \(\gamma(j) \geq (\frac{\alpha}{g(j)} + \varepsilon)\). Let \(\varepsilon= \frac{1}{g(j)}\). Then we have \[\begin{align} & \frac{\alpha}{g(j)} + \varepsilon&< \gamma(j)\\ \Leftrightarrow &\frac{(\alpha+1)}{g(j)} &< \frac{\frac{1}{j}- \frac{1}{g(j)}}{8(1-\frac{1}{g(j)})}\\ \Leftrightarrow & \frac{8(\alpha+1)}{g(j)}\left(1-\frac{1}{g(j)}\right)\;&< \frac{1}{j} - \frac{1}{g(j)}\\ \Leftrightarrow & \frac{8(\alpha+2)}{g(j)} - \frac{8(\alpha+1)}{g(j)^2} &< \frac{1}{j}.\\ \end{align}\]

Thus it is sufficient to show that there is \(j\), such that \(\frac{8(\alpha+2)}{j} < g(j)\). Note that \(g\) is a superlinear function, i.e., for every \(c\in \mathbb{R}\), there is \(t_c\in \mathbb{N}\), such that for every \(t \geq t_c\), \(g(t) \geq ct\). This implies that for every \(\alpha \in \mathbb{R}\) there are indeed \(\varepsilon\) and \(j\), such that \(\gamma(j) > \frac{\alpha}{g(j)} + \varepsilon\). Thus for any super-linear function \(g\) and any \(\alpha\in \mathbb{R}\), the class \(\mathcal{Q}_g\) is not \(\alpha\)-robustly learnable. ◻

2.1.3 Proof of Theorem 7↩︎

The result of Theorem 7 follows directly from the construction of class \(\mathcal{Q}_g\) for Theorem 7, the Claim [claim:Q95grealizable] that shows this class is realizable learnable, and an adapated version for Claim [claim:Q95grobust], which states the following:

Claim 9. For every \(\alpha\), there is \(g(t) \in O(t^2)\), such that for every \(0 \leq \eta \leq \frac{1}{16\alpha}\) the class \(\mathcal{Q}_{g}\) is not \(\eta\)-subtractive \(\alpha\)-robustly learnable.

Proof. Let \(\alpha >1\) be arbitrary. Let \(g: \mathbb{N} \to \mathbb{N}\) be defined by \(g(t) = 32 \alpha t^2\) for all \(t \in \mathbb{N}\). Now for every \(0 \leq \eta \leq \frac{1}{16\alpha}\), there exists some \(j\), such that \(\frac{j}{g(j)}. \leq \eta \leq \frac{1}{16\alpha j}\)

For such \(j\), we consider the distributions \[q_{i,j}' = \left(1 - \frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} U_{A_i\times \{2j+1\}}\] as in the proof of Claim [claim:Q95grealizable]. Recall that the element of \(\mathcal{Q}_g\) are of the form \[q_{i,j,g(j)} = \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j} - \frac{1}{g(j)}\right) U_{A_i \times\{2j+1\}} + \frac{1}{g(j)} \delta_{(i,2j+2)}\]

Then we have, \[\begin{align} q_{i,j,g(j)} &= \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j} - \frac{1}{g(j)}\right) U_{A_i \times\{2j+1\}} + \frac{1}{g(j)} \delta_{(i,2j+2)} = \\ &= \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{g(j) - j}{jg(j)}\right) U_{A_i \times\{2j+1\}} + \frac{j}{jg(j)} \delta_{(i,2j+2)} = \\ &= \left(\frac{g(j) -j}{g(j)}\right) \left( \left(1 - \frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} U_{A_i\times \{(2,j+1)\}} \right) + \frac{j}{g(j)} \left(\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} \delta_{(i,2j+2)} \right) \\ &= \left(1 - \frac{j}{g(j)}\right) q_{i,j}' + \frac{j}{g(j)} \left(\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} \delta_{(i,2j+2)} \right). \end{align}\] Thus for every element \(q_{i,j}'\) of the class \(\mathcal{Q}_j' =\{q_{i,j}': i\in \mathbb{N}\}\), there is a distribution \(p\), such that \((1-\eta)q_{i,j}'+ \eta p \in \mathcal{Q}_g\). That is, every element of \(\mathcal{Q}_j'\) results from the \(\eta\)-subtractive contamination of some element in \(\mathcal{Q}_g\). Thus, for showing that \(\mathcal{Q}_g\) is not \(\eta\)-subtractive \(\alpha\)-robustly learnable, it is sufficient to show, that \(\mathcal{Q}_j'\) is not \((\alpha\eta + \varepsilon)\)-weakly learnable for \(\varepsilon= \frac{1}{16j}\). As we have seen in the proof of Claim [claim:Q95grobust], we can use Lemma 1 to show that for every \(n\), we have \(n_{\mathcal{Q}_j'}(\frac{1}{8j},\frac{1}{7}) \geq n\). Lastly, we need that \(\frac{1}{8j} \geq \alpha \eta + \varepsilon\), or after replacing \(\varepsilon\), we need \(\frac{1}{16j} \geq \alpha \eta\). This follows directly from the choice of \(g\). ◻

3 Learnability Implies Additive Robust Learnability↩︎

We recall Theorem [thm:additive], which shows that any class that is realizably learnable is also additive robustly learnable.

theoremadditive [Formal version of Theorem 3] Any class of probability distributions \(\mathcal{C}\) which is realizably learnable is also additively \(3\)-robustly learnable. Furthermore any class \(\mathcal{C}\) which is learnable in the realizable case is Huber additively \(2\)-robustly learnable.

We prove this theorem by providing an algorithm based on classical tools for hypothesis selection [1], [15][17]. These methods take as input a set of samples from an unknown distribution and a collection of hypotheses distributions. If the unknown distribution is close to one of the hypotheses, then, given enough samples, the algorithm will output a close hypothesis. Roughly speaking, our algorithm looks at all large subsets of the dataset, such that at least one will correspond to an uncontaminated set of samples. A learner for the realizable setting (whose existence we assumed) is applied to each to generate a set of hypotheses, and we then use hypothesis selection to pick one with sufficient accuracy. The proof of Theorem [thm:general] (showing that subtractively robust learnability implies robust learnability) follows almost the exact same recipe, except the realizable learner is replaced with a learner robust to subtractive contaminations. We recall some preliminaries in Section 7. We then prove Theorem [thm:additive] in Section 3.2, and we formalize and prove a version of Theorem [thm:general] in Section 3.1.

We note that \(\alpha=2\) and \(\alpha=3\) are often the optimal factors to expect in distribution learning settings, even for the case of finite distribution classes. For example, for proper agnostic learning the factor \(\alpha=3\) is known to be optimal for finite collections of distributions, which holds for classes with only 2 distributions [44]. Similarly the factor of \(\alpha=2\) is optimal if the notion of learning is relaxed to improper learners [27], [44]. While we are not aware of lower bounds for the additive setting, a small constant factor such as \(2\) is within expectations for these problems.

For the proof of Theorem [thm:additive], we refer the reader to Section 3.2.

3.1 Subtractive Robust Learnability Implies Robust Learnability↩︎

Similarly, we can show that robustness with respect to a subtractive adversary implies robustness with respect to a general adversary. We note that this theorem requires a change in constants from \(\alpha\) to \((2\alpha+4)\).

theoremgeneral[Formal version of Theorem 4] If a class \(\mathcal{C}\) is subtractive \(\alpha\)-robustly learnable, then it is also \((2\alpha+4)\)-robustly learnable.

The proof follows a similar argument as the proof of Theorem [thm:additive] and can be found in Section [sec:sec:general] in the appendix. We also note that with the same proof we get a similar result for learning with fixed corruption levels.

3.2 Proof of Theorem [thm:additive]↩︎

Proof. Recall that \(\mathcal{Q}\) is a class of probability distributions which is realizably learnable. We let \(\mathcal{A}_\mathcal{Q}^{re}\) be a realizable learner for \(\mathcal{Q}\), with sample complexity \(n_{\mathcal{Q}}^{re}\). Let accuracy parameters \(\varepsilon, \delta > 0\) be arbitrary. We will define \(n_1 \geq \max\left\{ 2 n_{\mathcal{Q}}^{re}\left(\frac{\varepsilon}{9},\frac{\delta}{5}\right) , \frac{162(1 +\log(\frac{5}{\delta}))}{\varepsilon^2} \right\}\) and \(n_2 \geq \frac{162\left(2 n_1 +\log\left(\frac{5}{\delta}\right)\right)}{\varepsilon^2} \geq \frac{162(1 +\log(\frac{5}{\delta}))}{\varepsilon^2}\), and \(n= n_1 + n_2\) be their sum. Let \(\eta\) be the true corruption level.15 Our additive robust learner will receive a sample \(S \sim (\eta r + (1-\eta)p )^n\) of size \(n\) where \(r\) is some arbitrary distribution. We can view a subset \(S'\subset S\) as the “clean” part, being i.i.d.generated by \(p\). The size of this clean part \(|S'|=n'\) is distributed according to a binomial distribution \(\operatorname{Bin}(n,1- \eta)\). By a Chernoff bound (Proposition 17), we get

\[\mathbb{P}\left[n' \leq \left(1-\frac{\varepsilon}{9}-\eta\right)n\right] \leq \mathbb{P}\left[n' \leq \left(1-\frac{\varepsilon}{9}-\eta + \frac{\eta\varepsilon}{9} \right)n\right] = \mathbb{P}\left[n' \leq \left(1-\frac{\varepsilon}{9}\right)\left(1-\eta\right)n\right ]\]

\[\leq \exp\left(-\left(\frac{\varepsilon}{9}\right)^2n\left(1-\eta\right)/2\right)= \exp\left(-\frac{\varepsilon^2}{162}n\left(1-\eta\right)\right) \leq \exp\left(-\frac{\varepsilon^2}{162}n\left(1-\frac{3}{4}\right)\right)\]

Thus, given that \(n = n_1 + n_2 \geq 2 (\frac{162(1 +\log(\frac{5}{\delta}))}{\varepsilon^2} )\) with probability at least \(1-\frac{\delta}{5}\), we have \(n'\geq n\left(1-\eta-\frac{\varepsilon}{9}\right)\). For the rest of the argument we will now assume that we have indeed \(n'\geq n\left(1-\eta-\frac{\varepsilon}{9}\right)\). The learner now randomly partitions the sample \(S\) into \(S_1\) and \(S_2\) of sizes \(n_1\) and \(n_2\), respectively. Now let \(S_1' = S_1 \cap S'\) and \(S_2' = S_2 \cap S'\) be the intersections of these sets with the clean set \(S'\), and \(n_1'\) and \(n_2'\) be their respective sizes. We note that \(n_1' \sim \operatorname{Hypergeometric}(n,n', n_1)\) and \(n_2' \sim \operatorname{Hypergeometric}(n,n', n_2)\).16 Thus, assuming \(m'\geq m(1-\eta - \frac{\varepsilon}{9})\) using Proposition 17, we have that \[\Pr\left[\left|S_1'\right| \leq \left(1-\eta-\frac{2\varepsilon}{9}\right)n_1\right] \leq e^{-\frac{2}{81}\varepsilon^2n_1}\] and \[\Pr\left[\left|S_2'\right| \leq \left(1-\eta- \frac{2\varepsilon}{9}\right)n_2\right] \leq e^{-\frac{2}{81}\varepsilon^2n_2},\] where the probability is over the random partition of \(S\). We note that by our choices of \(n_1\) and \(n_2\), with probability \(1-\frac{2\delta}{5}\), the clean fractions of \(S_1\) and \(S_2\) (namely \(\frac{|S'_1|}{|S_1|}\) and \(\frac{|S'_2|}{|S_2|}\)) are each at least \(\left(1- \eta- \frac{2\varepsilon}{9}\right)\).

Let \[\hat{\mathcal{H}} = \left\{\mathcal{A}_{\mathcal{Q}}^{re}(S''): S'' \subset S_1 \right\}\] be the set of distributions output by the realizable learning algorithm \(\mathcal{A}_{\mathcal{Q}}^{re}\) when given as input all possible subsets of \(S_1\). We know that this set of distributions \(|\hat{\mathcal{H}}|\) is of size \(2^{n_1}\). By the guarantee of the realizable learning algorithm \(\mathcal{A}_{\mathcal{Q}}^{re}\), if there exists a “clean” subset \(S_1' \subset S_1\) where \(|S_1'| \geq n_1(1-\eta - \frac{2\varepsilon}{9})\) (i.e., \(S_1' \sim p^{n_1(1-\eta - \frac{2\varepsilon}{9})}\)), then with probability \(1-\frac{\delta}{5}\) there exists a candidate distribution \(q^*\in \hat{\mathcal{H}}\) with \(d_{\mathrm {TV}}(p,q^*)= \frac{\varepsilon}{9}\).

We now define and consider the Yatracos sets.17 For every \(q_i, q_j \in \hat{\mathcal{H}}\), define the Yatracos set between \(q_i\) and \(q_j\) to be \(A_{i,j} = \{x:~q_i(x) \geq q_j(x)\}\).18 We let \[\mathcal{Y}(\hat{\mathcal{H}}) =\{A_{i,j} \subset \mathcal{X}: q_i, q_j \in \hat{\mathcal{H}}\}\] denote the set of all pairwise Yatracos sets between distributions in the set \(\hat{\mathcal{H}}\).

We now consider the \(A\)-distance [76] between two distributions with respect to the Yatracos sets, i.e., we consider \[d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q') = \sup_{B\in \mathcal{Y}(\hat{\mathcal{H})}} |p'(B) - q'(B) | .\] This distance looks at the supremum of the discrepancy between the distributions across the Yatracos sets. Consequently, for any two distributions \(p',q'\) we have \(d_{\mathrm {TV}}(p',q') \geq d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q')\), since total variation distance is the supremum of the discrepancy across all possible sets. Furthermore, if \(q',p'\in \hat{\mathcal{H}}\), then \(d_{\mathrm {TV}}(p',q') = d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q')\), since either of the Yatracos sets between the two distributions serves as a set that realizes the total variation distance between them.

We will now show Huber additive \(2\)-robust learnabililty and then derive \(3\)-robust learnability. Thus we need to show that the learner approximates the “clean” part of the distribution \(p\).

Suppose there is some \(q^{*}\in \hat{\mathcal{H}}\) with \(d_{\mathrm {TV}}(p, q^{*}) \leq \frac{\varepsilon}{9}\). Then for every \(q\in \hat{\mathcal{H}}\): \[\begin{align} d_{\mathrm {TV}}(p,q) &\leq d_{\mathrm {TV}}(p, q^*) + d_{\mathrm {TV}}(q^{*}, q)\\ &\leq \frac{\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*}, q)\\ &\leq \frac{\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*}, p) + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\\ &\leq \frac{\varepsilon}{9} + d_{\mathrm {TV}}(q^{*}, p) + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\\ &\leq \frac{2\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q).\\ \end{align}\] Lastly, we will argue that we can empirically approximate \(d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\), which we can then use to select a hypothesis. We note that, since \(\mathcal{Y}(\hat{\mathcal{H}})\) is a finite set of size \(\leq \displaystyle \binom{n_1}{(1-\eta- \frac{2\varepsilon}{9})n_1}^2 = \binom{n_1}{(\eta+\frac{2\varepsilon}{9})n_1}^2\leq ((n_1^{(\eta+\frac{2\varepsilon}{9})}))^2= n_1^{2(\eta + \frac{2\eta}{9})n_1}\), we have uniform convergence19 with respect to \(\mathcal{Y}(\hat{\mathcal{H}})\). Recall that, we assumed that there is “clean” subsample \(S''_2\subset S_2\), which is i.i.d.distributed according to \(p\) and of size \((1-\frac{2\varepsilon}{9} -\eta)n_1\). We also note that the clean samples \(S_1\) and \(S_2\) are drawn independently from each other. Thus with probability \(1-\frac{\delta}{5}\), \(S_2''\) is \(\frac{\varepsilon}{9}\)-representative of \(p\) with respect to \(\mathcal{Y}(\hat{\mathcal{H}})\). For a sample \(S_0\) and a set \(B\subset \mathcal{X}\), let us denote \(S_0(B) = \frac{|S_0 \cap B|}{|S_0|}\). Because of the \(\frac{\varepsilon}{9}\)-representativeness of \(S_2''\), we have for every \(B\in \mathcal{Y}(\hat{\mathcal{H}})\): \[|p(B) - S_2''(B) | \leq \frac{\varepsilon}{9}.\] Thus,

\[\begin{align} &\left|p(B) - S_2(B) \right| \\ &= \left|p(B) - \frac{|S_2\cap B|}{|S_2|}\right| \\ &\leq \max\left\{ \left|p(B) - \frac{|S_2'' \cap B |}{|S_2|} \right|, \left|p(B) - \frac{|S_2'' \cap B | + (\eta +\frac{2\varepsilon}{9}) n_2}{|S_2|} \right| \right\} \\ &\leq \max\left\{ \left|p(B) - \frac{S_2''(B) |S_2''|}{n_2} \right|, \left|p(B) - \frac{S_2''(B)|S_2''| + (\eta+ \frac{2\varepsilon}{9}) n_2}{n_2} \right| \right\} \\ &\leq \max\left\{ \left|p(B) - \left(1-\eta - \frac{2\varepsilon}{9} \right) S_2''(B) \right|, \left|p(B) - \frac{S_2''(B)\left(1-\eta - \frac{2\varepsilon}{9}\right)n_2 + \left(\eta + \frac{2\varepsilon}{9}\right) n_2}{n_2} \right| \right\} \\ &\leq \max\left\{ \left|p(B) - S_2''(B)\right| + \left|S_2''(B) - \left(1-\eta - \frac{2\varepsilon}{9} \right) S_2''(B) \right|, \left|p(B) - \left( S_2''(B)\left(1-\eta - \frac{2\varepsilon}{9}\right) + \left(\eta + \frac{2\varepsilon}{9}\right) \right)\right| \right\} \\ &\leq \max\left\{ \frac{3\varepsilon}{9} + \eta, \left|p(B) - S_2''(B)\left(1-\eta- \frac{2\varepsilon}{9}\right) - \left(\eta + \frac{2\varepsilon}{9} \right)\right| \right\} \\ &\leq \max\left\{ \frac{3\varepsilon}{9} + \eta, \left|p(B) - S_2''(B) + S_2''(B)\left(\eta+\frac{2\varepsilon}{9}\right) - \left(\eta + \frac{2\varepsilon}{9}\right) \right| \right\} \\ &\leq \max\left\{ \frac{3\varepsilon}{9} + \eta, \left|p(B) - S_2''(B)\right| + \left|S_2''(B)\left(\eta+\frac{2\varepsilon}{9}\right) - \left(\eta + \frac{2\varepsilon}{9}\right) \right| \right\} \\ &\leq \max\left\{ \frac{3\varepsilon}{9} + \eta, \frac{\varepsilon}{9} + \left|S_2''(B) -1\right|\left(\eta+\frac{2\varepsilon}{9}\right) \right\} \\ &\leq \max\left\{ \frac{3\varepsilon}{9} + \eta, \frac{\varepsilon}{9} + \left(\eta+\frac{2\varepsilon}{9}\right) \right\} \\ &\leq \frac{3\varepsilon}{9} + \eta \end{align}\]

Let the empirical \(A\)-distance with respect to the Yatracos sets be defined by \[d_{\mathcal{Y}(\hat{\mathcal{H}})}(q,S) = \sup_{B\in d_{\mathcal{Y}(\hat{\mathcal{H}})}} |q(B) - S(B)|.\] Now if the learner outputs \(\hat{q} \in \arg\min_{q\in \hat{\mathcal{H}}} d_{\mathcal{Y}(\hat{\mathcal{H}})}(q,S_2)\), then putting all of our guarantees together, we get that with probability \(1-\delta\) \[\begin{align} d_{\mathrm {TV}}(\hat{q},p) &\leq \frac{2\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(\hat{q},p) \\ &\leq \frac{5\varepsilon}{9} + \eta + d_{\mathcal{Y}(\hat{\mathcal{H}})}(\hat{q},S_2) \\ &\leq \frac{5\varepsilon}{9} + \eta + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*},S_2) \\ &\leq \frac{8\varepsilon}{9} + 2\eta + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*},p) \\ &\leq \frac{8\varepsilon}{9} + 2\eta + \frac{\varepsilon}{9} \leq 2\eta +\varepsilon.\\ \end{align}\]

Thus we get Huber \(2\)-additive robust learning success. This automatically implies \(3\)-additive robust learning success. ◻

4 Existence of sample compression schemes↩︎

Sample compression schemes are combinatorial properties of classes that imply their learnability. For a variety of learning tasks, such as binary classification or expectation maximization a class has a sample compression scheme if and only if it is learnable [78], [79]. For classification tasks, sample compression for realizable samples implies agnostic sample compression. [29] used compression schemes to show learnability of classes of distributions in the realizable case, but left open the question if for learning probability distributions, the existence of realizable sample compression schemes implies the existence of similar schemes for the non-realizable (agnostic, or robust) settings. We provide a negative answer to this question.

More concretely, let \(\mathcal{Q}\) be a class of distributions over some domain \(X\). A compression scheme for \(\mathcal{Q}\) involves two agents: an encoder and a decoder.

  • The encoder knows a distribution \(q\) and receives a sample \(S\) generated by this distribution. The encoder picks a bounded size sub-sample and sends it, possibly with a few additional bits to the decoder.

  • The decoder receives the message and uses an agreed upon decoding rule (that may depend on \(\mathcal{Q}\) but not on \(q\) or \(S\)) to constructs a distribution \(p\) that is close to \(q\).

Of course, there is some probability that the samples are not representative of the distribution \(q\), in which case the compression scheme will fail. Thus, we only require that the decoding succeed with constant probability.

We say that a class \(\mathcal{Q}\) has a sample compression scheme (realizable or robust) if for every accuracy parameter \(\varepsilon>0\), the minimal required size of the sample \(S\), and upper bounds on the size of the sub-sample and number of additional bits in the encoder’s message depend only of \(\mathcal{Q}\) and \(\varepsilon\) (and are independent of the sample generating \(q\) and on the sample \(S\)).

A realizable compression scheme is required to handle only \(q\)’s in \(\mathcal{Q}\) and output \(p\) such that \(d_{\mathrm {TV}}(p,q) \leq \varepsilon\), while a robust compression scheme should handle any \(q\) but the decoder’s output \(p\) is only required to be \(\min_{q \in \mathcal{Q}}\{d_{\mathrm {TV}}(p,q)\} + \varepsilon\) close to \(q\).

Theorem 10 (Formal version of Theorem 5). For every \(\alpha\in \mathbb{R}\), the existence of a realizable compression scheme, does not imply the existence of an \(\alpha\)-robust compression scheme. That is, there is a class \(\mathcal{Q}\) that has a realizable compression scheme, but for every \(\alpha\in \mathbb{R}\), \(\mathcal{Q}\) does not have an \(\alpha\)-robust compression scheme.

Proof. Consider the class \(\mathcal{Q}=\mathcal{Q}_g\) from Section 2. We note that this class has a compression scheme of size 1. However, from [18], we know that having a \(\alpha\)-robust compression scheme implies \(\alpha\)-agnostic learnability. We showed in Theorem 7 that for every \(\alpha\) and for every superlinear function \(g\), the class \(\mathcal{Q}_g\) is not \(\alpha\)-agnostically learnable. It follows that \(\mathcal{Q}_g\) does not have an \(\alpha\)-robust compression scheme. ◻

In Section 10, we present a precise quantitative definition of sample compression schemes, as well as the proof that the class \(\mathcal{Q}_g\) has a sample compression scheme of size 1.

5 Implications of Private Learnability↩︎

Qualitatively speaking, differentially private algorithms offer a form of “robustness” – the output distribution of a differentially private algorithm is insensitive to the change of a single point in its input sample. The relationship between privacy and notions of “robustness” has been studied under various settings, where it has been shown that robust algorithms can be made private and vice versa [57], [67], [68].

For distribution learning, we find that: (1) the requirement of approximate differentially private learnability also does not imply (general) robust learnability; and (2) the stronger requirement of pure differentially pirvate learnability does imply robust learnability.

Definition 6 (Differential Privacy [48]). Let \(X\) be an input domain and \(Y\) to be an output domain. A randomized algorithm \(A : X^m \to Y\) is \((\varepsilon,\delta)\)-differentially private (DP) if for every \(x,x' \in X^n\) that differ in one entry, \[\begin{align} \mathbb{P}[A(x) \in B] \leq e^{\varepsilon} \cdot \mathbb{P}[A(x') \in B] + \delta \qquad\quad\text{for all B \subseteq Y}. \end{align}\] If A is \((\varepsilon,\delta)\)-DP for \(\delta>0\), we say it satisfies approximate DP. If it satisfies \((\varepsilon,0)\)-DP, we say it satisfies pure DP.

Definition 7 (DP learnable class). We say that a class \(\mathcal{C}\) of probability distributions is (approximate) DP learnable if there exists a randomized learner A and a function \(n_{\mathcal{C}}:(0,1)^4 \to \mathbb{N}\), such that for every probability distribution \(p \in \mathcal{C}\), and every \((\alpha,\beta,\varepsilon,\delta) \in (0,1)^4\), for \(n\geq n_{\mathcal{C}}(\alpha,\beta,\varepsilon,\delta)\)

  1. \(A\) is \((\varepsilon,\delta)\)-DP; and

  2. The probability over samples S of size \(n\) drawn i.i.d.from the distribution \(p\), as well as over the randomness of A that \[\begin{align} d_{\mathrm {TV}}(p,A(S)) \leq \alpha \end{align}\] is at least \(1-\beta\).

We say \(\mathcal{C}\) is pure DP learnable if a learner A can be found that satisfies \((\varepsilon,0)\)-DP, in which case the sample complexity function \(n_\mathcal{C}: (0,1)^3 \to \mathbb{N}\) does not take \(\delta\) as a parameter.

Theorem 11 (Approximate DP learnability vs. robust learnability).

  1. If a class \(\mathcal{Q}\) is approximate DP learnable, then \(\mathcal{Q}\) is additive \(3\)-robustly learnable.

  2. There exists an approximate DP learnable class \(\mathcal{Q}\) that is not \(\alpha\)-robustly learnable for any \(\alpha \geq 1\).

  3. There exists an approximate DP learnable class \(\mathcal{Q}\) that is not subtractive \(\alpha\)-robustly learnable for any \(\alpha \geq 1\).

Note that the first claim is immediate from Theorem [thm:additive], since approximate DP learnability implies learnability. To prove the second and third claim, we show that the learner for the class \(\mathcal{Q}\) described in Theorem 7 can be made differentially private by employing stability-based histograms [80]. The proof appears in Section 5.1.

Theorem 12 (Pure DP learnable vs. robustly learnable). If a class \(\mathcal{Q}\) is pure DP learnable, then \(\mathcal{Q}\) is \(3\)-robustly learnable.

The proof relies on the finite cover characterization of pure DP learnability.

Proposition 13 (Packing lower bound, Lemma 5.1 from [19]). Let \(\mathcal{C}\) be a class of distributions, and let \(\alpha, \varepsilon>0\). Suppose \(\mathcal{P}_{\alpha}\) is a \(\alpha\)-packing of \(\mathcal{C}\), that is, \(\mathcal{P}_{\alpha} \subseteq \mathcal{C}\) such that for any \(p\neq q \in \mathcal{P}_{\alpha}, d_{\mathrm {TV}}(p,q) > \alpha\).

Any \(\varepsilon\)-DP algorithm A that takes \(n\) i.i.d.samples \(S\) from any \(p \in \mathcal{C}\) and has \(d_{\mathrm {TV}}(p, A(S)) \leq \alpha/2\) with probability \(\geq 9/10\) requires \[\begin{align} n \geq \frac{\log |\mathcal{P}_{\alpha}| - \log \tfrac {10} 9 }{\varepsilon}. \end{align}\]

Proof of Theorem 12. Let \(\alpha,\beta > 0\). Pure DP learnability of \(\mathcal{Q}\) implies that there exists a \(1\)-DP algorithm \(A_{DP}\) and \(n = n_\mathcal{C}(\alpha/12,1/10,1)\) such that for any \(p \in \mathcal{Q}\), with probability \(\geq 9/10\) over the sampling of \(n\) i.i.d.samples \(S\) from \(p\), as well as over the randomness of the algorithm \(A_{DP}\), we have \(d_{\mathrm {TV}}(p,A_{DP}(S)) \leq \alpha/12\). By Proposition 13, any \(\alpha/6\)-packing \(\mathcal{P}_{\alpha/6}\) of \(\mathcal{Q}\) has \[\begin{align} |\mathcal{P}_{\alpha/6}| \leq \exp\left(m\right)\cdot(10/9). \end{align}\] Let \(\widehat {\mathcal{Q}}\) be such a maximal \(\alpha/6\)-packing. By maximality, \(\widehat {\mathcal{Q}}\) is also an \(\alpha/6\)-cover of \(\mathcal{Q}\). Hence, running Yatracos’ 3-robust finite class learner (Theorem 16) \(A\) over \(\widehat {\mathcal{Q}}\) with \[\begin{align} n_{\widehat{\mathcal{Q}}}(\alpha/2,\beta) = O\left(\frac{\log |\widehat{\mathcal{Q}}| + \log (1 /\beta)}{(\alpha/2)^2}\right) \end{align}\] samples drawn i.i.d.from \(p\) yields, with probability \(\geq 1-\beta\) \[\begin{align} d_{\mathrm {TV}}(p, A(S)) &\leq 3\min\{d_{\mathrm {TV}}(p,p'): p' \in \widehat{\mathcal{Q}}\} + \alpha/2 \\ &\leq 3(\min\{d_{\mathrm {TV}}(p,p'): p' \in \mathcal{Q}\} +\alpha/6) + \alpha/2 \\ &= 3\min\{d_{\mathrm {TV}}(p,p'): p' \in \mathcal{Q}\} + \alpha. \qedhere \end{align}\] ◻

Note that Yatracos’ algorithm for hypothesis selection can be replaced with a pure DP algorithm for hypothesis selection (Theorem 27 of [47]) in order to achieve the following stronger implication.

Theorem 14 (Pure DP learnable vs. robustly learnable). If a class \(\mathcal{Q}\) is pure DP learnable, then \(\mathcal{Q}\) is pure DP \(3\)-robustly learnable.

5.1 Approximate DP learnability vs robust learnability↩︎

We prove the second claim in Theorem 11 by showing that the learner for the class \(\mathcal{Q}\) described in Theorem 7 can be made differentially private by employing stability-based histograms [80], [81].

Proposition 15 (Stability-based histograms [80], [81], Lemma 4.1 from [82]). Let \(\mathcal{X}\) be a domain of examples. Let \(K\) be a countable index set, and let \((h_k)_{k\in K}\) be a sequence of disjoint histogram bins over \(\mathcal{X}\). For every \((\alpha,\beta,\varepsilon,\delta) \in (0,1)^4\), there is an \((\varepsilon,\delta)\)-DP algorithm that takes a dataset \(S\) of size \(n\) and with probability \(\geq 1-\beta\), outputs bin frequency estimates \((f_k)_{k\in K}\) such that \[\begin{align} \left|f_k - \frac{|\{x \in S: x \in h_k\}|}{n}\right| \leq \alpha \end{align}\] for all \(k\in K\), so long as \[\begin{align} n \geq \Omega\left(\frac{\log(1/\beta\delta)}{\alpha\varepsilon}\right). \end{align}\]

Proof of Theorem 11. Recall the realizably-but-not-robustly learnable class of distributions \(\mathcal{Q}_g = \{q_{i,j,g(j)} : i,j \in \mathbb{N}\}\) over \(\mathbb{N}^2\) from Theorem 7, where \(g:\mathbb{N} \to \mathbb{N}\) is a monotone, super-linear function and \(q_{i,j,k}\) is as defined in 1 .

Fix \((\alpha,\beta,\varepsilon,\delta) \in (0,1)^4\). We define our DP learner \(A_{DP}\) for \(\mathcal{Q}_g\) as follows: we take a sample \(S\) of size \[\begin{align} n \geq \Omega\left(\frac{\log(1/(\beta/2)\delta)}{(1/4g(1/\alpha))\varepsilon}\right) + 32\log(1/(\beta/2))g(1/\alpha) \end{align}\] and run the stability-based histogram from Proposition 15 targeting \((\varepsilon,\delta)\)-DP, with singleton histogram buckets \((h_{(a,b)})_{(a,b) \in \mathbb{N}^2}\), each \(h_{(a,b)} = \{(a,b)\}\). This yields frequency estimates \((f_{(a,b)})_{(a,b)\in \mathbb{N}^2}\) with \(|f_{(a,b)} - |\{ x \in S: x = (a,b)\}|| \leq 1/4g(1/\alpha)\) for all \((a,b) \in \mathbb{N}^2\) with probability \(\geq 1- \beta/2\). Then let \[\begin{align} A_{DP}(S) = \begin{cases} q_{i,j,g(j)} & \text{if f_{(i,2j+2)} \geq 1/2g(1/\alpha)} \\ \delta_0 & \text{otherwise}. \end{cases} \end{align}\] Note that by post-processing \(A_{DP}\) is indeed \((\varepsilon,\delta)\)-DP. Now suppose \(q_{i,j,g(j)}\) is our unknown distribution. There are two cases:

If \(1/j\leq\alpha\), conditioned on the success of the histogram algorithm, the only possible outputs of \(A_{DP}\) are \(\delta_0\) and \(q_{i,j,g(j)}\), so \(d_{\mathrm {TV}}(A_{DP}(S),q_{i,j,g(j)}) \leq \alpha\) with probability \(\geq 1-\beta/2\).

If \(1/j > \alpha\), we have \(1/g(1/\alpha) < 1/g(j)\). By the second term in \(n\) and Chernoff bounds (Proposition 17), we can conclude that \[\begin{align} \mathbb{P}\left[ \frac{| \{x \in S: x = (i,2j+2)\}|}{n} \leq \frac{3}{4g(1/\alpha)} \right] \leq \beta/2. \end{align}\] If the above event does not occur and if the histogram algorithm does not fail, \(A_{DP}\) outputs \(q_{i,j,g(j)}\) exactly. So \(d_{\mathrm {TV}}(A_{DP}(S),q_{i,j,g(j)}) = 0\) with probability \(\geq 1-\beta\). ◻

6 Conclusions↩︎

We examine the connection between learnability and robust learnability for general classes of probability distributions. Our main findings are somewhat surprising in that, in contrast to most known leaning scenarios, learnability does not imply robust learnability. We also show that learnability does imply additively robust learnability. We use our proof techniques to draw new insights related to compression schemes and differentially private distribution learning.

Acknowledgments↩︎

Thanks to Argyris Mouzakis for helpful conversations in the early stages of this work.

7 Additional Preliminaries↩︎

We recall a classic theorem for the problem of hypothesis selection. Given a set of candidate hypothesis distributions, the algorithm selects one which is close to an unknown distribution (to which we have sample access). The requisite number of samples from the unknown distribution is logarithmic in the size of the set of candidates.

Theorem 16 (Yatracos’ 3-robust learner for finite classes (Theorem 4.4 of [29], based on Theorem 1 of [15])). Let \(\mathcal{C}\) be a finite class of distributions over a domain \(\mathcal{X}\). There exists an algorithm A such that for any \((\alpha,\beta) \in (0,1)^2\) and for any distribution \(p\) over \(\mathcal{X}\), given a sample \(S\) of size \[\begin{align} m = O\left(\frac{\log|\mathcal{C}| + \log(1/\delta)}{\varepsilon^2}\right) \end{align}\] drawn i.i.d.from \(p\), we have that with probability \(\geq 1- \delta\), \[\begin{align} d_{\mathrm {TV}}(p, A(S)) \leq 3\cdot\min\{d_{\mathrm {TV}}(p,p'): p' \in \mathcal{C}\} + \varepsilon. \end{align}\]

We also use the following form of the Chernoff bound.

Proposition 17 (Chernoff bounds). Let \(X = \sum_{i=1}^m X_i\) where \(X_1...X_m\) are independent draws from \(\text{Bernoulli(p)}\). For any \(t \in (0,1)\), \(\mathbb{P}[ X/m \leq (1-t)p] \leq \exp(-t^2mp/2)\).

8 Known contamination levels↩︎

So far, we only looked at learners that were unaware of the exact level of corruption, but had to give a guarantee with respect to the true but unknown corruption level. An easier model assumes that the level of corruption \(\eta\) is actually known.

Definition 8 (Learnability with respect to known corruption).

  • For \(0 \leq \eta \leq\) and \(\alpha >0\), we say that a class \(\mathcal{C}\) of probability distributions is \(\eta\)-\(\alpha\)-robustly learnable* if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every probability distribution \(p\) such that \(\min\{d_{\mathrm {TV}}(p,p'): p' \in \mathcal{C}\} \leq \eta\) and \((\varepsilon, \delta) \in (0,1)^2\), for \(n\geq n_{\mathcal{C}}(\varepsilon, \delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(p\) that \(d_{\mathrm {TV}}(p,A(S)) \leq \alpha\eta+ \varepsilon\) is at least \(1-\delta\).*

  • Given parameters \(0 \leq \eta \leq 1\) and \(\alpha>0\), we say that a class \(\mathcal{C}\) of probability distributions is \(\eta\)-additive \(\alpha\)-robustly learnable* if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every probability distribution \(q\), every \(p \in \mathcal{C}\), and \((\varepsilon, \delta) \in (0,1)^2\), for \(n\geq n_{\mathcal{C}}(\varepsilon, \delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(\eta q + (1-\eta) p\), that \(d_{\mathrm {TV}}(A(S), \eta q + (1-\eta) p) \leq \alpha\eta + \varepsilon\) is at least \(1 - \delta\).*

  • Given parameters \(0 \leq \eta \leq 1\) and \(\alpha >0\),we say that a class \(\mathcal{C}\) of probability distributions is \(\eta\)-subtractive \(\alpha\)-robustly learnable* if there exists a learner \(A\) and a function \(n_{\mathcal{C}}: (0,1)^2 \to \mathbb{N}\), such that for every probability distribution \(p\) for which there exists a probability distribution \(q\) such that \(\eta q + (1-\eta)p \in \mathcal{C}\), and for every \((\varepsilon, \delta) \in (0,1)^2\), for \(n \geq n_{\mathcal{C}}(\varepsilon,\delta)\) the probability over samples \(S\) of that size drawn i.i.d.from the distribution \(p\), that \(d_{\mathrm {TV}}(A(S), p) \leq \alpha\eta + \varepsilon\) is at least \(1-\delta\).*

We note that it is easy to see that for every \(\eta\in (0,1)\)

  • \(\alpha\)-robust learnability implies \((\eta,\alpha)\)-robust learnability,

  • additive \(\alpha\)-robust learnability implies \(\eta\)-additive \(\alpha\)-robust learnability,

  • and subtractive \(\alpha\)-robust learnability implies \(\eta\)-subtractive \(\alpha\)-robust learnability.

As a consequence, all of our positive learning results for \(\alpha\)-robust, additive \(\alpha\)-robust and subtractive \(\alpha\)-robust learning, yield positive results for \((\eta,\alpha)\)-robust learning, \(\eta\)-additive \(\alpha\)-robust learning and \(\eta\)-subtractive \(\alpha\)-robust learning, respectively. In particular, this means that Theorem [thm:additive] and Theorem 11 also hold if we replace “additive \(\alpha\)-robust” with “\(\eta\)-additive \(\alpha\)-robust” in those statements.

More surprisingly, it has been shown that in many cases, robust algorithms designed with knowledge of the distance \(\eta\) to \(\mathcal{C}\) can be modified to succeed without that knowledge [21]. In particular, we have the following equivalence between the robust learning notion given in Section 1.1 and the robustness notions in Definition 8

Theorem 18 (Adaptation from [21]).

  • If a class \(\mathcal{C}\) is \((\eta,\alpha)\)-robustly learnable for every \(\eta\in (0,1)\), then \(\mathcal{C}\) is \(3\alpha\)-robustly learnable.

  • If a class \(\mathcal{C}\) is \(\eta\)-additive \(\alpha\)-robustly learnable for every \(\eta\in (0,1)\), then \(\mathcal{C}\) is additive \(3\alpha\)-robustly learnable.

  • If a class \(\mathcal{C}\) is \(\eta\)-subtractive, \(\alpha\)-robustly learnable for every \(\eta\in (0,1)\), then \(\mathcal{C}\) is subtractive \(3\alpha\)-robustly learnable.

Proof.

  • Consider a class \(\mathcal{C}\) that is \((\eta,\alpha)\)-robustly learnable. Now consider any \(\varepsilon,\delta \in (0,1)\). We know that for every \(i \in 0,\dots, \lceil\frac{8\alpha}{\varepsilon}\rceil\), there is a learner \(A_i\) and sample-complexity function \(n_{\mathcal{C},i}\) such that \(A\) is a successful \((\frac{i\varepsilon}{8\alpha},\alpha)\)-robust learner for \(\mathcal{C}\) with sample-complexity \(n_{\mathcal{C},i}\). Now let \(n= n_{C}(\varepsilon,\delta) = O\left(\frac{\frac{\varepsilon}{8\alpha} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2} + \sum_{i=0}^{\lceil 8\alpha/\varepsilon\rceil} n_{\mathcal{C},i}\left(\frac{\varepsilon}{8\alpha},\frac{\delta}{2}\right)\right)\). Now let \(S\sim p^n\). Now separate \(S\) into subsamples \(S_0, S_1, \dots,S_{\lceil\frac{8\alpha}{\varepsilon}\rceil}\) with \(|S_0| = O\left(\frac{\frac{\varepsilon}{4} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2}\right)\) and for every \(1\leq i\leq \lceil\frac{8\alpha}{\varepsilon}\rceil\), \(|S_i| = n_{\mathcal{C},i}(\frac{\varepsilon}{8\alpha},\frac{\delta}{2})\). Now for every \(i\), let \(q_i = A_i(S_i)\). Let \(\eta\) be the true corruption level, i.e., \(\min_{q\in \mathcal{C}}d_{\mathrm {TV}}(p,q) = \eta\). Then for \(j = \lceil\frac{\eta}{\frac{\varepsilon}{8\alpha}}\rceil\), we have by the learning guarantee of \(A_j\), that with probability \(1-\frac{\delta}{2}\), \(d_{\mathrm {TV}}(q_j,p) = \alpha \lceil\frac{j\varepsilon}{8\alpha} \rceil + \frac{\varepsilon}{8\alpha} \leq \alpha \left(\eta +\frac{\varepsilon}{8\alpha} \right) \frac{\varepsilon}{8\alpha} \leq \alpha \eta + \frac{\varepsilon}{4}\). Now let \(\mathcal{H} = \{q_i: i \in [\lceil\frac{4\alpha}{\varepsilon}\rceil]\}\). From Theorem 16, we know that \(\mathcal{H}\) can be 3-robustly learned with sample complexity \(|S_0|\). Thus if we run the Yatracos learner on \(S_0\), combined with the previous learning guarantee, we get that with probability \(1-\delta\), the learner outputs a hypothesis \(q\) with \(d_{\mathrm {TV}}(p,q) \leq 3(\alpha\eta + \frac{\varepsilon}{4}) + \frac{\varepsilon}{4} = 3\alpha\eta + \varepsilon\).

  • Consider a class \(\mathcal{C}\) that is \(\eta\)-additively \(\alpha\)-robustly learnable. Now consider any \(\varepsilon,\delta \in (0,1)\). We know that for every \(i \in 0,\dots, \lceil\frac{8\alpha}{\varepsilon}\rceil\), there is a learner \(A_i\) and sample-complexity function \(n_{\mathcal{C},i}\) such that \(A\) is a successful \(\frac{i\varepsilon}{8\alpha}\)-additve \(\alpha\)-robust learner for \(\mathcal{C}\) with sample-complexity \(n_{\mathcal{C},i}\). Now let \(n= n_{C}(\varepsilon,\delta) = O\left(\frac{\frac{\varepsilon}{8\alpha} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2} + \sum_{i=0}^{\lceil 8\alpha/\varepsilon\rceil} n_{\mathcal{C},i}\left(\frac{\varepsilon}{8\alpha},\frac{\delta}{2}\right)\right)\). Let \(u = (1-\eta)p + \eta q\). Now let \(S\sim u^n\). Now separate \(S\) into subsamples \(S_0, S_1, \dots,S_{\lceil\frac{8\alpha}{\varepsilon}\rceil}\) with \(|S_0| = O\left(\frac{\frac{\varepsilon}{4} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2}\right)\) and for every \(1\leq i\leq \lceil\frac{8\alpha}{\varepsilon}\rceil\), \(|S_i| = n_{\mathcal{C},i}(\frac{\varepsilon}{8\alpha},\frac{\delta}{2})\). Now for every \(i\), let \(q_i = A_i(S_i)\). Let \(\eta\) be the true corruption level, i.e., \(\eta = \min\{\eta': \exists p'\in \mathcal{C}\) distribution \(r\) with \(u= (1-\eta')p' + \eta r\}\). Now let \(j = \lceil\frac{\eta}{\frac{\varepsilon}{8\alpha}}\rceil\). We note, that since \(\eta < \frac{8j\alpha}{\varepsilon}\) there is \(p'\in \mathcal{C}\) and distributions \(r,r'\), such \(u = (1-\eta)p' + \eta r = \left(1-\frac{8j\alpha}{\varepsilon}\right)p' + \frac{8j\alpha}{\varepsilon} r'\). Thus, by the learning guarantee of \(A_j\), with probability \(1-\frac{\delta}{2}\), \(d_{\mathrm {TV}}(q_j,u) = \alpha \lceil\frac{j\varepsilon}{8\alpha} \rceil + \frac{\varepsilon}{8\alpha} \leq \alpha \left(\eta +\frac{\varepsilon}{8\alpha} \right) \frac{\varepsilon}{8\alpha} \leq \alpha \eta + \frac{\varepsilon}{4}\). Now let \(\mathcal{H} = \{q_i: i \in [\lceil\frac{4\alpha}{\varepsilon}\rceil]\}\). From Theorem 16, we know that \(\mathcal{H}\) can be 3-robustly learned with sample complexity \(|S_0|\). Thus if we run the Yatracos learner on \(S_0\), combined with the previous learning guarantee, we get that with probability \(1-\delta\), the learner outputs a hypothesis \(u'\) with \(d_{\mathrm {TV}}(u,u') \leq 3(\alpha\eta + \frac{\varepsilon}{4}) + \frac{\varepsilon}{4} = 3\alpha\eta + \varepsilon\).

  • Consider a class \(\mathcal{C}\) that is \(\eta\)-subtractive \(\alpha\)-robustly learnable. Now consider any \(\varepsilon,\delta \in (0,1)\). We know that for every \(i \in 0,\dots, \lceil\frac{8\alpha}{\varepsilon}\rceil\), there is a learner \(A_i\) and sample-complexity function \(n_{\mathcal{C},i}\) such that \(A\) is a successful \(\frac{i\varepsilon}{8\alpha}\)-subtractive \(\alpha\)-robust learner for \(\mathcal{C}\) with sample-complexity \(n_{\mathcal{C},i}\). Now let \(n= n_{C}(\varepsilon,\delta) = O\left(\frac{\frac{\varepsilon}{8\alpha} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2} + \sum_{i=0}^{\lceil 8\alpha/\varepsilon\rceil} n_{\mathcal{C},i}\left(\frac{\varepsilon}{8\alpha},\frac{\delta}{2}\right)\right)\). Now let \(S\sim p^n\). Now separate \(S\) into subsamples \(S_0, S_1, \dots,S_{\lceil\frac{8\alpha}{\varepsilon}\rceil}\) with \(|S_0| = O\left(\frac{\frac{\varepsilon}{4} + \log\left(\frac{2}{\delta}\right)}{(\varepsilon/4)^2}\right)\) and for every \(1\leq i\leq \lceil\frac{8\alpha}{\varepsilon}\rceil\), \(|S_i| = n_{\mathcal{C},i}(\frac{\varepsilon}{8\alpha},\frac{\delta}{2})\). Now for every \(i\), let \(q_i = A_i(S_i)\). Let \(\eta\) be the true corruption level, i.e., \(\eta = \min\{\eta': \exists q\in \mathcal{C}\) distribution \(r\) with \(q= (1-\eta')p + \eta r\}\). Now let \(j = \lceil\frac{\eta}{\frac{\varepsilon}{8\alpha}}\rceil\). We note, that since \(\eta < \frac{8j\alpha}{\varepsilon}\) there is \(q'\in \mathcal{C}\) and distributions \(r,r'\), such \(q' = (1-\eta)p + \eta r = \left(1-\frac{8j\alpha}{\varepsilon}\right)p + \frac{8j\alpha}{\varepsilon} r'\). Thus, by the learning guarantee of \(A_j\), with probability \(1-\frac{\delta}{2}\), \(d_{\mathrm {TV}}(q_j,p) = \alpha \lceil\frac{j\varepsilon}{8\alpha} \rceil + \frac{\varepsilon}{8\alpha} \leq \alpha \left(\eta +\frac{\varepsilon}{8\alpha} \right) \frac{\varepsilon}{8\alpha} \leq \alpha \eta + \frac{\varepsilon}{4}\). Now let \(\mathcal{H} = \{q_i: i \in [\lceil\frac{4\alpha}{\varepsilon}\rceil]\}\). From Theorem 16, we know that \(\mathcal{H}\) can be 3-robustly learned with sample complexity \(|S_0|\). Thus if we run the Yatracos learner on \(S_0\), combined with the previous learning guarantee, we get that with probability \(1-\delta\), the learner outputs a hypothesis \(q\) with \(d_{\mathrm {TV}}(p,q) \leq 3(\alpha\eta + \frac{\varepsilon}{4}) + \frac{\varepsilon}{4} = 3\alpha\eta + \varepsilon\).

 ◻

We will now discuss some more specific results for models with known contamination. We again consider the relation between subtractive and realizable learning. Similar to our previous result, we can show that realizable learning does not imply \(\eta\)-subtractive \(\alpha\)-robust learning.

theoremsubtractive For every \(\alpha > 0\), there exists a class that is learnable, but not \(\eta\)-subtractively \(\alpha\)-robustly learnable for any \(0 \leq \eta \leq \frac{1}{16\alpha}\).

We note, that Theorem [thm:knowncorruptionsubtractive] is stronger than Theorem 7, in the sense that \(\eta\)-subtractive \(\alpha\)-robust learning is the weaker learning requirement. However, Theorem 7 is stronger in the sense that we provide a single class that is not \(\alpha\)-robustly learnable for every \(\alpha\), whereas whereas in the proof of Theorem [thm:knowncorruptionsubtractive] we give a different class for each \(\alpha\) (though the two constructions are similar). The proof of this theorem can be found in Section 8.1. Lastly we will consider the relationship between subtractively robust and robust learning. We can again show that subtractive robust learning implies robust learning in the following sense

Corollary 1. If a class \(\mathcal{C}\) is \(\eta\)-subtractively \(\alpha\)-robustly learnable, then it is also \(\eta\)-\((2\alpha+4)\)-robustly learnable.

While this statement does not follow directly from the statement of Theorem [thm:general], the proof for Theorem [thm:general] works as a proof for Corollary 1. The proof can be found in Section [sec:sec:general]. We have thus shown, that if we shift our attention to models with known contamination levels, the same picture emerges:

  • realizable and additively robust learning are equivalent;

  • subtractively robust and generally robust learning are equivalent;

  • and realizable learnability does not imply generally robust learnability.

8.1 Proof of Theorem [thm:knowncorruptionsubtractive]↩︎

The result of Theorem [thm:knowncorruptionsubtractive] follows directly from the construction of class \(\mathcal{Q}_g\) for Theorem 7, the Claim [claim:Q95grealizable] that shows this class is realizable learnable, and an adapated version for Claim [claim:Q95grobust], which states the following:

Claim 19. For every \(\alpha\), there is \(g(t) \in O(t^2)\), such that for every \(0 \leq \eta \leq \frac{1}{16\alpha}\) the class \(\mathcal{Q}_{g}\) is not \(\eta\)-subtractive \(\alpha\)-robustly learnable.

Proof. Let \(\alpha >1\) be arbitrary. Let \(g: \mathbb{N} \to \mathbb{N}\) be defined by \(g(t) = 32 \alpha t^2\) for all \(t \in \mathbb{N}\). Now for every \(0 \leq \eta \leq \frac{1}{16\alpha}\), there exists some \(j\), such that \(\frac{j}{g(j)}. \leq \eta \leq \frac{1}{16\alpha j}\)

For such \(j\), we consider the distributions \[q_{i,j}' = \left(1 - \frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} U_{A_i\times \{2j+1\}}\] as in the proof of Claim [claim:Q95grealizable]. Recall that the element of \(\mathcal{Q}_g\) are of the form \[q_{i,j,g(j)} = \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j} - \frac{1}{g(j)}\right) U_{A_i \times\{2j+1\}} + \frac{1}{g(j)} \delta_{(i,2j+2)}\]

Then we have, \[\begin{align} q_{i,j,g(j)} &= \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{1}{j} - \frac{1}{g(j)}\right) U_{A_i \times\{2j+1\}} + \frac{1}{g(j)} \delta_{(i,2j+2)} = \\ &= \left(1-\frac{1}{j}\right)\delta_{(0,0)} + \left(\frac{g(j) - j}{jg(j)}\right) U_{A_i \times\{2j+1\}} + \frac{j}{jg(j)} \delta_{(i,2j+2)} = \\ &= \left(\frac{g(j) -j}{g(j)}\right) \left( \left(1 - \frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} U_{A_i\times \{(2,j+1)\}} \right) + \frac{j}{g(j)} \left(\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} \delta_{(i,2j+2)} \right) \\ &= \left(1 - \frac{j}{g(j)}\right) q_{i,j}' + \frac{j}{g(j)} \left(\left(1-\frac{1}{j}\right)\delta_{(0,0)} + \frac{1}{j} \delta_{(i,2j+2)} \right). \end{align}\] Thus for every element \(q_{i,j}'\) of the class \(\mathcal{Q}_j' =\{q_{i,j}': i\in \mathbb{N}\}\), there is a distribution \(p\), such that \((1-\eta)q_{i,j}'+ \eta p \in \mathcal{Q}_g\). That is, every element of \(\mathcal{Q}_j'\) results from the \(\eta\)-subtractive contamination of some element in \(\mathcal{Q}_g\). Thus, for showing that \(\mathcal{Q}_g\) is not \(\eta\)-subtractive \(\alpha\)-robustly learnable, it is sufficient to show, that \(\mathcal{Q}_j'\) is not \((\alpha\eta + \varepsilon)\)-weakly learnable for \(\varepsilon= \frac{1}{16j}\). As we have seen in the proof of Claim [claim:Q95grobust], we can use Lemma 1 to show that for every \(n\), we have \(n_{\mathcal{Q}_j'}(\frac{1}{8j},\frac{1}{7}) \geq n\). Lastly, we need that \(\frac{1}{8j} \geq \alpha \eta + \varepsilon\), or after replacing \(\varepsilon\), we need \(\frac{1}{16j} \geq \alpha \eta\). This follows directly from the choice of \(g\). ◻

9 Proof of Theorem [thm:general]↩︎

In this section we will provide the proof for Theorem [thm:general].

Proof. Let \(\mathcal{C}\) be a concept class that is subtractively \(\alpha\)-robust learnable. Then there exists a successful subtractive \(\alpha\)-robust learner \(\mathcal{A}_{\mathcal{C}}^{sub}\) with sample complexity \(n_{\mathcal{C}}^{sub}\) for the class \(\mathcal{C}\). Let \(\varepsilon\) and \(\delta\) and be arbitrary. Let \(n_1 \geq \max\left\{ 4n_{\mathcal{C}}^{sub}(\frac{\varepsilon}{9},\frac{\delta}{5}) , \frac{162(1 +\log(\frac{5}{\delta}))}{\varepsilon^2} \right\}\) and \(n_2 \geq \frac{(2n_1+\log(\frac{5}{\delta})))}{\varepsilon^2}\). Lastly let \(n= n_1 + n_2\).

Let \(p\in \mathcal{C}\) be arbitrary. The \(\alpha\)-robust learner receives a sample \(S\sim p^m\) such that there is \(q\in \mathcal{C}\) such that \(d_{\mathrm {TV}}(p,q)= \eta\). Thus there exists a distributions \(q_1,q_2,q_3\), such that \((1-\eta)q_1 + \eta q_2 = p\) and \((1-\eta)q_1 + q_3 = q\). We now use the same learning strategy as in Theorem 1.5: We split the sample randomly into two subsamples \(S_1\) and \(S_2\), where we use \(S_1\) to learn candidate sets and then use \(S_2\) to select the hypothesis from the candidate set. The goal in both settings is to find as close an approximation to \(q_1\) as possible. The candidate based on \(S_1\) is created by feeding subsamples of \(S_1\) into the subtractively robust learner in such a way that with high probability one of the subsamples is guaranteed to be i.i.d.generated by \(q_1\) and thus (with high probability) yield a good hypothesis. More precisely, the learner randomly splits the sample \(S\) into \(S_1\) and \(S_2\) with \(|S_1| = n_1\) and \(|S_1| = n_2\). We now define the “clean” part of \(S'\subset S\), i.e. the part of \(S'\) that is i.i.d.distributed according to \(q_1\). We note that the size of this “clean” sample \(|S'|=n'\) is a random variable and distributed according to the binomial distributions \(Binom(n,1-\eta)\). Now applying Chernoff bound, with the same argument as in the proof of Theorem [thm:additive], we get that with probability \(1-\frac{\delta}{5}\), we have \(n'\geq n (1-\eta-\frac{\varepsilon}{9})\). Now let \(S_1' = S_1 \cap S'\) and \(S_2' = S_2\cap S'\) be the “clean parts” of the subsamples \(S_1\) and \(S_2\) respectively. The sizes \(|S_1''|=n_1'\) and \(|S_2''|=n_2''\) We note that \(n_1' \sim Hypergeometric(n, n(1-\eta), n_1)\) and \(n_2' \sim Hypergeometric(n, n(1-\eta), n_2)\). Thus,

\[Pr_{\text{random split}}\left[|S_1'| \leq \left(1-\eta-\frac{2\varepsilon}{9}\right)n_1\right] \leq e^{-\frac{2}{81}\varepsilon^2n_1}\] and \[Pr_{\text{random split}}\left[|S_2'| \leq \left(1-\eta- \frac{2\varepsilon}{9}\right)n_2\right] \leq e^{-\frac{2}{81}\varepsilon^2n_2}.\]

Taking together the guarantees on our random splits and the size of \(n'\), we note that by our choices of \(n_1\) and \(n_2\) with probability \(1 -\frac{3\delta}{5}\), the fractions of the parts that are i.i.d.generated by \(q_1\) (namely \(\frac{|S_1''|}{|S_1'|}\) and \(\frac{|S_2''|}{|S_2'|}\)) are at least \((1 - \eta - \frac{2\varepsilon}{9})\). Going forward we will assume that this is indeed the case.

Let \[\hat{\mathcal{H}} = \left\{\mathcal{A}_{\mathcal{Q}}^{sub}(\tilde{S}): \tilde{S} \subset S_1' \right\}.\]

Using our assumption that \(|S'_1|\geq (1-\eta-\frac{2\varepsilon}{9})n_1\), we know that there is \(S_1''\subset S_1'\) with \(\mathcal{A}_{\mathcal{Q}}^{sub}(S_1'') \in \mathcal{H}'\). As \(S_1'' \sim q_1^{(1-\eta - \frac{2\varepsilon}{9})n_1}\), by the learning guarantee of \(\mathcal{A}_{\mathcal{Q}}^{sub}\) with probability \(1- \frac{\delta}{5}\), there is a candidate distribution \(q^*\in \hat{\mathcal{H}}\) with \(d_{\mathrm {TV}}(p,q^*) \leq d_{\mathrm {TV}}(p,q_1) + d_{\mathrm {TV}}(q_1, q^*) = \eta + (\alpha\eta + \frac{\varepsilon}{9}) = (\alpha + 1) \eta + \frac{\varepsilon}{9}\).

We now consider the Yatracos sets. For every \(q_i, q_j \in \hat{\mathcal{H}}\), let \(A_{i,j} = \{x:~q_i(x) \geq q_j(x)\}\) and let \[\mathcal{Y}(\hat{\mathcal{H}}) =\left\{A_{ij} \subset \mathcal{X}: q_i, q_j \in \hat{\mathcal{H}}\right\}.\]

We now consider the \(A\)-distance [76] between two distributions with respect to the Yatracos sets, i.e., we consider \[d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q') = \sup_{B\in \mathcal{Y}(\hat{\mathcal{H})}} |p'(B) - q'(B) | .\]

We note, that for any two distributions \(p',q'\) we have \(d_{\mathrm {TV}}(p',q') \geq d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q')\). Furthermore, if \(q',p'\in \hat{\mathcal{H}}\), then \(d_{\mathrm {TV}}(p',q') = d_{\mathcal{Y}(\hat{\mathcal{H}})}(p',q')\). Assume there is \(q^{*}\in \hat{\mathcal{H}}\) with \(d_{\mathrm {TV}}(p, q^{*}) \leq (\alpha+1) \eta + \frac{\varepsilon}{9}\), then for every \(q\in \hat{\mathcal{H}}\): \[\begin{align} d_{\mathrm {TV}}(p,q) &\leq d_{\mathrm {TV}}(p, q^*) + d_{\mathrm {TV}}(q^{*}, q)\\ &\leq (\alpha+1)\eta + \frac{\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*}, q)\\ &\leq (\alpha +1 ) \eta + \frac{\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(q^{*}, p) + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\\ &\leq (\alpha +1 ) \eta + \frac{\varepsilon}{9} + d_{\mathrm {TV}}(q^{*}, p) + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\\ &\leq 2(\alpha +1) \eta + \frac{2\varepsilon}{9} + d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q).\\ \end{align}\]

Lastly, we will argue that we can empirically approximate \(d_{\mathcal{Y}(\hat{\mathcal{H}})}(p, q)\), which we can then use to select a hypothesis. We note that, since \(\mathcal{Y}(\hat{\mathcal{H}})\) is a finite set of size \(|\mathcal{Y}(\hat{\mathcal{H}})|= (2^{n_1})^2 = 2^{2n_1}\), we have uniform convergence with respect to \(\mathcal{Y}(\hat{\mathcal{H}})\). Recall that \(S_2' \sim q_1^{n_2'}\) and by our previous assumption \(n_2' \leq n_2\left(1- \eta - \frac{2\varepsilon}{9}\right)\). Thus by our choice of \(n_2\) , with probability \(1-\frac{\delta}{5}\), there is \(S_2''\subset S_2' \subset S_2\) with \(|S_2''| =\left(1-\eta -\frac{2\varepsilon}{9}\right)n_2\) such that \(S_2''\) is \(\frac{\varepsilon}{9}\)-representative of \(q_1\) with respect to \(\mathcal{Y}(\hat{\mathcal{H}})\). For a sample \(S_0\) and a set \(B\subset \mathcal{X}\), let us denote \(S_0(B) = \frac{|S_0 \cap B|}{|S_0|}\). Because of the \(\frac{\varepsilon}{9}\)-representativeness of \(S_2'\), we have for every \(B\in \mathcal{Y}(\hat{\mathcal{H}})\): \[|q_1(B) - S_2''(B) | \leq \frac{\varepsilon}{9}\] Thus,

\[\begin{align} |q_1(B) - S_2(B) | &\leq |q_1(B) - S_2''(B)| + |S_2''(B) - S_2(B)| \\ &\leq \frac{\varepsilon}{9} + \left| \frac{|S_2 \cap B|}{|S_2|} - \frac{|S_2'' \cap B|}{|S_2''|}\right|\\ &\leq \frac{\varepsilon}{9} + \left| \frac{|S_2 \cap B|}{n_2} - \frac{|S_2'' \cap B|}{n_2(1-\eta - \frac{2\varepsilon}{9})}\right|\\ &= \frac{\varepsilon}{9} + \left| \frac{|S_2 \cap B|(1-\eta-\frac{2\varepsilon}{\eta}) - |S_2'' \cap B| }{(1-\eta-\frac{2\varepsilon}{9})n_2}\right|\\ &\leq \frac{\varepsilon}{9} + \max\{\frac{ |(|S_2'' \cap B| + (\eta +\frac{2\varepsilon}{9})n_2 )(1-\eta-\frac{2\varepsilon}{9}) - |S_2'' \cap B||}{(1-\eta-\frac{2\varepsilon}{9})n_2},\\ &\frac{|(|S_2'' \cap B|(1-\eta-\frac{2\varepsilon}{9}) - |S_2'' \cap B||}{(1-\eta-\frac{2\varepsilon}{9})n_2} \}\\ &\leq \frac{\varepsilon}{9} \\ &+ \max\{ \frac{|(|S_2'' \cap B| + (\eta +\frac{2\varepsilon}{9})n_2 )(1-\eta-\frac{2\varepsilon}{9}) - ((1-\eta-\frac{2\varepsilon}{9})|S_2'' \cap B| + (\eta + \frac{2\varepsilon}{9})|S_2''\cap B|)|}{n_2(1-\eta-\frac{2\varepsilon}{9})},\\ &\frac{ n_2 (\eta + \frac{2\varepsilon}{9})}{n_2(1-\eta-\frac{2\varepsilon}{9})}\}\\ &\leq \frac{\varepsilon}{9} + \max\left\{ \frac{|(\eta +\frac{2\varepsilon}{9})n_2 (1-\eta-\frac{2\varepsilon}{9}) - |S_2'' \cap B|(\eta+\frac{2\varepsilon}{9})|}{(1-\eta-\frac{2\varepsilon}{9})n_2},\frac{(\eta + \frac{2\varepsilon}{9})}{(1-\eta-\frac{2\varepsilon}{9})} \right\} \\ &\leq \frac{\varepsilon}{9} + \max\left\{ \frac{ |(\eta +\frac{2\varepsilon}{9})(n_2 (1-\eta-\frac{2\varepsilon}{9})|)}{(1-\eta-\frac{2\varepsilon}{9})n_2},\eta+ \frac{2\varepsilon}{9}) \right\} \\ &\leq \frac{\varepsilon}{9} + \eta + \frac{2\varepsilon}{9} \leq \frac{3\varepsilon}{9} + \eta \end{align}\]

Let us remember that the empirical \(A\)-distance with respect to the Yatracos is defined by \[d_{\mathcal{Y}(\hat{\mathcal{H}})}(q,S) = \sup_{B\in \mathcal{Y}} \left|q(B) - S(B)\right|.\] Now if the learner outputs \(\hat{q} \in \arg\min_{q\in \hat{\mathcal{H}}} d_{\mathcal{Y}(\hat{\mathcal{H}})}(q,S_2)\), then putting all of our guarantees together, with probability \(1-\delta\) we get \[\begin{align} d_{\mathrm {TV}}(\hat{q}, p) &\leq 2 (\alpha+1) \eta + \frac{2\varepsilon}{9} + d_{\mathcal{Y}}(\hat{q},p) \\ &\leq 2 (\alpha+1) \eta + \frac{2\varepsilon}{9} + d_{\mathcal{Y}}(\hat{q},q_1) + d_{\mathcal{Y}}(q_1,p)\\ &\leq 2 (\alpha+1) \eta + \frac{2\varepsilon}{9} + \eta + (\eta + \frac{3\eta}{9}) + d_{\mathcal{Y}}(\hat{q},S_2) \\ &\leq 2 (\alpha + 2) \eta + \frac{5\varepsilon}{9} + d_{\mathcal{Y}}(\hat{q},S_2) \\ &\leq 2 (\alpha + 2) \eta + \frac{5\varepsilon}{9} + d_{\mathcal{Y}}(q^*,S_2) \\ &\leq 2 (\alpha + 2) \eta + \frac{5\varepsilon}{9} + (\eta + \frac{3\varepsilon}{9})+ d_{\mathcal{Y}}(q^*,q_1) \\ &\leq (2 \alpha + 3) \eta + \frac{8\varepsilon}{9} + \eta + d_{\mathcal{Y}}(q^{*},p) \\ &\leq (2\alpha + 4 )\eta + \varepsilon+ d_{\mathrm {TV}}(q^{*},p). \end{align}\] ◻

10 Existence of sample compression schemes↩︎

We adopt the [29] definition of sample compression schemes. We will let \(\mathcal{C}\) be a class of distribution over some domain \(\mathcal{X}\). A compression scheme for \(\mathcal{C}\) involves two parties: an encoder and a decoder.

  • The encoder has some distribution \(q \in \mathcal{C}\) and receives \(n\) samples from \(q\). They send a succinct message (dependent on \(q\)) to the decoder, which will allow the decoder to output a distribution close to \(q\). This message consists of a subset of size \(\tau\) of the \(n\) samples, as well as \(t\) additional bits.

  • The decoder receives the \(\tau\) samples and \(t\) bits and outputs a distribution which is close to \(q\).

Since this process inherently involves randomness (of the samples drawn from \(q\)), we require that this interaction succeeds at outputting a distribution close to \(q\) with only constant probability.

More formally, we have the following definitions for a decoder and a (robust) compression scheme.

Definition 9 (decoder, Definition 4.1 of [29]). A decoder* for \(\mathcal{C}\) is a deterministic function \(\mathcal{J}:\bigcup_{n=0}^{\infty} \mathcal{X}^n \times \bigcup_{n=0}^{\infty} \{0,1\}^n \rightarrow \mathcal{C}\), which takes a finite sequence of elements of \(\mathcal{X}\) and a finite sequence of bits, and outputs a member of \(\mathcal{C}\).*

The formal definition of a compression scheme follows.

Definition 10 (robust compression schemes, Definition 4.2 of [29]). Let \(\tau,t,n:(0,1)\rightarrow \mathbb{Z}_{\geq0}\) be functions, and let \(r \geq 0\). We say \(\mathcal{C}\) admits \((\tau,t,n)\) \(r\)-robust compression if there exists a decoder \(\mathcal{J}\) for \(\mathcal{C}\) such that for any distribution \(q \in \mathcal{C}\) and any distribution \(p\) on \(\mathcal{X}\) with \(d_{\mathrm {TV}}(p,q)\leq r\), the following holds:

For any \(\varepsilon\in (0,1)\), if a sample \(S\) is drawn from \(p^{n(\varepsilon)}\), then, with probability at least \(2/3\), there exists a sequence \(L\) of at most \(\tau(\varepsilon)\) elements of \(S\), and a sequence \(B\) of at most \(t(\varepsilon)\) bits, such that \(d_{\mathrm {TV}}(\mathcal{J}(L,B), \mathcal{C})\leq r+ \varepsilon\).

Note that \(S\) and \(L\) are sequences rather than sets, and can potentially contain repetitions.

Theorem 20 (Compression implies learning, Theorem 4.5 of [29]). Suppose \(\mathcal{C}\) admits \((\tau,t,n)\) \(r\)-robust compression. Let \(\tau'(\varepsilon)\mathrel{\vcenter{:}}= \tau(\varepsilon)+t(\varepsilon)\). Then \(\mathcal{C}\) can be \(\max\{3,2/r\}\)-learned in the agnostic setting using \[\begin{align} O\left( n\Big(\frac{\varepsilon}{6}\Big) \log\Big(\frac{1}{\delta}\Big) + \frac{\tau'(\varepsilon/6) \log (n( \varepsilon/6) \log_3(1/\delta)) + \log(1/\delta)}{\varepsilon^2} \right) = \widetilde{O} \left( n\Big(\frac{\varepsilon}{6}\Big) + \frac{\tau'(\varepsilon/6)\log n( \varepsilon/ 6)}{\varepsilon^2} \right) \end{align}\] samples. If \(\mathcal{Q}\) admits \((\tau,t,n)\) non-robust compression, then \(\mathcal{Q}\) can be learned in the realizable setting using the same number of samples.

Theorem 21. The class \(\mathcal{Q}=\mathcal{Q}_g\) from Section 2 has a compression scheme of message size 1 (i.e., using just a single sample point).

Proof. Let \(n(\varepsilon)\) be \(10/g(\varepsilon)\) and, give a sample \(S\) of at least that size, let the encoder pick a subset \(L(S) \subseteq S\) be \[\begin{align} L(S) =\begin{cases} \{(i,2j+2)\} &\text{ if } (i,2j+2)\in S\\ \{(0,0)\} & \text{otherwise} \end{cases} \end{align}\]

Let the decoder output \[\begin{align} \mathcal{J}(L) =\begin{cases} q_{i,j,g(j)} &\text{ if } (i,2j+2)\in L\\ \delta_{(0,0)} & \text{otherwise} \end{cases} \end{align}\] With this construction established, the analysis follows very similarly to the analysis in the proof of Claim [claim:Q95grealizable]. ◻

We note that the claim of Theorem 5 (and Theorem 10) follows directly.

References↩︎

[1]
Luc Devroye and Gábor Lugosi. Combinatorial methods in density estimation. Springer, 2001.
[2]
Ilias Diakonikolas. Learning structured distributions. In Peter Bühlmann, Petros Drineas, Michael J. Kane, and Mark J. van der Laan, editors, Handbook of Big Data, pages 267–283. Chapman and Hall/CRC, 2016.
[3]
Battista Biggio, Blaine Nelson, and Pavel Laskov. Poisoning attacks against support vector machines. In Proceedings of the 29th International Conference on Machine Learning, ICML ’12, pages 1467–1474. JMLR, Inc., 2012.
[4]
Jacob Steinhardt, Pang Wei W Koh, and Percy S Liang. Certified defenses for data poisoning attacks. In Advances in Neural Information Processing Systems 30, NeurIPS ’17, pages 3520–3532. Curran Associates, Inc., 2017.
[5]
Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Jacob Steinhardt, and Alistair Stewart. Sever: A robust meta-algorithm for stochastic optimization. In Proceedings of the 36th International Conference on Machine Learning, ICML ’19, pages 1596–1606. JMLR, Inc., 2019.
[6]
Micah Goldblum, Dimitris Tsipras, Chulin Xie, Xinyun Chen, Avi Schwarzschild, Dawn Song, Aleksander Madry, Bo Li, and Tom Goldstein. Dataset security for machine learning: Data poisoning, backdoor attacks, and defenses. arXiv preprint arXiv:2012.10544, 2020.
[7]
Jonas Geiping, Liam Fowl, W Ronny Huang, Wojciech Czaja, Gavin Taylor, Michael Moeller, and Tom Goldstein. Witches’ brew: Industrial scale data poisoning via gradient matching. In Proceedings of the 9th International Conference on Learning Representations, ICLR ’21, 2021.
[8]
Yiwei Lu, Gautam Kamath, and Yaoliang Yu. Exploring the limits of model-targeted indiscriminate data poisoning attacks. In Proceedings of the 40th International Conference on Machine Learning, ICML ’23, pages 22856–22879. JMLR, Inc., 2023.
[9]
Peter J. Huber. Robust estimation of a location parameter. The Annals of Mathematical Statistics, 35(1):73–101, 1964.
[10]
Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Robust estimators in high dimensions without the computational intractability. In Proceedings of the 57th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’16, pages 655–664, Washington, DC, USA, 2016. IEEE Computer Society.
[11]
Kevin A. Lai, Anup B. Rao, and Santosh Vempala. Agnostic estimation of mean and covariance. In Proceedings of the 57th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’16, pages 665–674, Washington, DC, USA, 2016. IEEE Computer Society.
[12]
Ilias Diakonikolas, Daniel M. Kane, and Alistair Stewart. Statistical query lower bounds for robust estimation of high-dimensional Gaussians and Gaussian mixtures. In Proceedings of the 58th Annual IEEE Symposium on Foundations of Computer Science, FOCS ’17, pages 73–84, Washington, DC, USA, 2017. IEEE Computer Society.
[13]
Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Robustly learning a Gaussian: Getting optimal error, efficiently. In Proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’18, Philadelphia, PA, USA, 2018. SIAM.
[14]
Tosca Lechner and Shai Ben-David. Impossibility of characterizing distribution learning – a simple solution to a long-standing problem, 2023.
[15]
Yannis G. Yatracos. Rates of convergence of minimum distance estimators and Kolmogorov’s entropy. The Annals of Statistics, 13(2):768–774, 1985.
[16]
Luc Devroye and Gábor Lugosi. A universally acceptable smoothing factor for kernel density estimation. The Annals of Statistics, 24(6):2499–2512, 1996.
[17]
Luc Devroye and Gábor Lugosi. Nonasymptotic universal smoothing factors, kernel complexity and Yatracos classes. The Annals of Statistics, 25(6):2626–2637, 1997.
[18]
Hassan Ashtiani, Shai Ben-David, Nicholas Harvey, Christopher Liaw, Abbas Mehrabian, and Yaniv Plan. Nearly tight sample complexity bounds for learning mixtures of Gaussians via sample compression schemes. In Advances in Neural Information Processing Systems 31, NeurIPS ’18, pages 3412–3421. Curran Associates, Inc., 2018.
[19]
Mark Bun, Gautam Kamath, Thomas Steinke, and Zhiwei Steven Wu. Private hypothesis selection. In Advances in Neural Information Processing Systems 32, NeurIPS ’19, pages 156–167. Curran Associates, Inc., 2019.
[20]
Guy Blanc, Jane Lange, Ali Malik, and Li-Yang Tan. On the power of adaptivity in statistical adversaries. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 5030–5061, 2022.
[21]
Ayush Jain, Alon Orlitsky, and Vaishakh Ravindrakumar. Robust estimation algorithms don’t need to know the corruption level. arXiv preprint arXiv:2202.05453, 2022.
[22]
John W. Tukey. A survey of sampling from contaminated distributions. Contributions to Probability and Statistics: Essays in Honor of Harold Hotelling, pages 448–485, 1960.
[23]
Michael Kearns, Yishay Mansour, Dana Ron, Ronitt Rubinfeld, Robert E. Schapire, and Linda Sellie. On the learnability of discrete distributions. In Proceedings of the 26th Annual ACM Symposium on the Theory of Computing, STOC ’94, pages 273–282, New York, NY, USA, 1994. ACM.
[24]
Leslie G. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134–1142, 1984.
[25]
Siu On Chan, Ilias Diakonikolas, Rocco A. Servedio, and Xiaorui Sun. Learning mixtures of structured distributions over discrete domains. In Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’13, pages 1380–1394, Philadelphia, PA, USA, 2013. SIAM.
[26]
Siu On Chan, Ilias Diakonikolas, Rocco A. Servedio, and Xiaorui Sun. Efficient density estimation via piecewise polynomial approximation. In Proceedings of the 46th Annual ACM Symposium on the Theory of Computing, STOC ’14, pages 604–613, New York, NY, USA, 2014. ACM.
[27]
Siu On Chan, Ilias Diakonikolas, Rocco A. Servedio, and Xiaorui Sun. Near-optimal density estimation in near-linear time using variable-width histograms. In Advances in Neural Information Processing Systems 27, NIPS ’14, pages 1844–1852. Curran Associates, Inc., 2014.
[28]
Jerry Li and Ludwig Schmidt. Robust proper learning for mixtures of Gaussians via systems of polynomial inequalities. In Proceedings of the 30th Annual Conference on Learning Theory, COLT ’17, pages 1302–1382, 2017.
[29]
Hassan Ashtiani, Shai Ben-David, Nicholas JA Harvey, Christopher Liaw, Abbas Mehrabian, and Yaniv Plan. Near-optimal sample complexity bounds for robust learning of gaussian mixtures via compression schemes. Journal of the ACM, 67(6):32:1–32:42, 2020.
[30]
Ilias Diakonikolas, Gautam Kamath, Daniel M. Kane, Jerry Li, Ankur Moitra, and Alistair Stewart. Being robust (in high dimensions) can be practical. In Proceedings of the 34th International Conference on Machine Learning, ICML ’17, pages 999–1008. JMLR, Inc., 2017.
[31]
Jacob Steinhardt, Moses Charikar, and Gregory Valiant. Resilience: A criterion for learning in the presence of arbitrary outliers. In Proceedings of the 9th Conference on Innovations in Theoretical Computer Science, ITCS ’18, pages 45:1–45:21, Dagstuhl, Germany, 2018. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.
[32]
Pravesh Kothari, Jacob Steinhardt, and David Steurer. Robust moment estimation and improved clustering via sum of squares. In Proceedings of the 50th Annual ACM Symposium on the Theory of Computing, STOC ’18, pages 1035–1046, New York, NY, USA, 2018. ACM.
[33]
Samuel B. Hopkins and Jerry Li. Mixture models, robustness, and sum of squares proofs. In Proceedings of the 50th Annual ACM Symposium on the Theory of Computing, STOC ’18, pages 1021–1034, New York, NY, USA, 2018. ACM.
[34]
Allen Liu and Ankur Moitra. Settling the robust learnability of mixtures of gaussians. In Proceedings of the 53nd Annual ACM Symposium on the Theory of Computing, STOC ’21, pages 518–531, New York, NY, USA, 2021. ACM.
[35]
Allen Liu and Ankur Moitra. Learning GMMs with nearly optimal robustness guarantees. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 2815–2895, 2022.
[36]
Ainesh Bakshi, Ilias Diakonikolas, He Jia, Daniel M Kane, Pravesh K Kothari, and Santosh S Vempala. Robustly learning mixtures of k arbitrary Gaussians. In Proceedings of the 54th Annual ACM Symposium on the Theory of Computing, STOC ’22, pages 1234–1247, New York, NY, USA, 2022. ACM.
[37]
He Jia, Pravesh K Kothari, and Santosh S Vempala. Beyond moments: Robustly learning affine transformations with asymptotically optimal error. arXiv preprint arXiv:2302.12289, 2023.
[38]
Ilias Diakonikolas and Daniel Kane. Algorithmic High-Dimensional Robust Statistics. Cambridge University Press, 2022.
[39]
Satyaki Mahalanabis and Daniel Stefankovic. Density estimation in linear time. In Proceedings of the 21st Annual Conference on Learning Theory, COLT ’08, pages 503–512, 2008.
[40]
Constantinos Daskalakis, Ilias Diakonikolas, and Rocco A. Servedio. Learning Poisson binomial distributions. In Proceedings of the 44th Annual ACM Symposium on the Theory of Computing, STOC ’12, pages 709–728, New York, NY, USA, 2012. ACM.
[41]
Constantinos Daskalakis and Gautam Kamath. Faster and sample near-optimal algorithms for proper learning mixtures of Gaussians. In Proceedings of the 27th Annual Conference on Learning Theory, COLT ’14, pages 1183–1213, 2014.
[42]
Ananda Theertha Suresh, Alon Orlitsky, Jayadev Acharya, and Ashkan Jafarpour. Near-optimal-sample estimators for spherical Gaussian mixtures. In Advances in Neural Information Processing Systems 27, NIPS ’14, pages 1395–1403. Curran Associates, Inc., 2014.
[43]
Jayadev Acharya, Moein Falahatgar, Ashkan Jafarpour, Alon Orlitsky, and Ananda Theertha Suresh. Maximum selection and sorting with adversarial comparators. Journal of Machine Learning Research, 19(1):2427–2457, 2018.
[44]
Olivier Bousquet, Daniel M. Kane, and Shay Moran. The optimal approximation factor in density estimation. In Proceedings of the 32nd Annual Conference on Learning Theory, COLT ’19, pages 318–341, 2019.
[45]
Sivakanth Gopi, Gautam Kamath, Janardhan Kulkarni, Aleksandar Nikolov, Zhiwei Steven Wu, and Huanyu Zhang. Locally private hypothesis selection. In Proceedings of the 33rd Annual Conference on Learning Theory, COLT ’20, pages 1785–1816, 2020.
[46]
Olivier Bousquet, Mark Braverman, Gillat Kol, Klim Efremenko, and Shay Moran. Statistically near-optimal hypothesis selection. In Proceedings of the 62nd Annual IEEE Symposium on Foundations of Computer Science, FOCS ’21, pages 909–919. IEEE Computer Society, 2022.
[47]
Ishaq Aden-Ali, Hassan Ashtiani, and Gautam Kamath. On the sample complexity of privately learning unbounded high-dimensional gaussians. In Proceedings of the 32nd International Conference on Algorithmic Learning Theory, ALT ’21, pages 185–216. JMLR, Inc., 2021.
[48]
Cynthia Dwork, Frank McSherry, Kobbi Nissim, and Adam Smith. Calibrating noise to sensitivity in private data analysis. In Proceedings of the 3rd Conference on Theory of Cryptography, TCC ’06, pages 265–284, Berlin, Heidelberg, 2006. Springer.
[49]
Vishesh Karwa and Salil Vadhan. Finite sample differentially private confidence intervals. In Proceedings of the 9th Conference on Innovations in Theoretical Computer Science, ITCS ’18, pages 44:1–44:9, Dagstuhl, Germany, 2018. Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.
[50]
Gautam Kamath, Jerry Li, Vikrant Singhal, and Jonathan Ullman. Privately learning high-dimensional distributions. In Proceedings of the 32nd Annual Conference on Learning Theory, COLT ’19, pages 1853–1902, 2019.
[51]
Mark Bun and Thomas Steinke. Average-case averages: Private algorithms for smooth sensitivity and mean estimation. In Advances in Neural Information Processing Systems 32, NeurIPS ’19, pages 181–191. Curran Associates, Inc., 2019.
[52]
Jayadev Acharya, Ziteng Sun, and Huanyu Zhang. Differentially private assouad, fano, and le cam. In Proceedings of the 32nd International Conference on Algorithmic Learning Theory, ALT ’21, pages 48–78. JMLR, Inc., 2021.
[53]
T Tony Cai, Yichen Wang, and Linjun Zhang. The cost of privacy: Optimal rates of convergence for parameter estimation with differential privacy. The Annals of Statistics, 49(5):2825–2850, 2021.
[54]
Gautam Kamath, Argyris Mouzakis, Vikrant Singhal, Thomas Steinke, and Jonathan Ullman. A private and computationally-efficient estimator for unbounded gaussians. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 544–572, 2022.
[55]
Gautam Kamath, Argyris Mouzakis, and Vikrant Singhal. New lower bounds for private estimation and a generalized fingerprinting lemma. In Advances in Neural Information Processing Systems 35, NeurIPS ’22. Curran Associates, Inc., 2022.
[56]
Gautam Kamath and Jonathan Ullman. A primer on private statistics. arXiv preprint arXiv:2005.00010, 2020.
[57]
Cynthia Dwork and Jing Lei. Differential privacy and robust statistics. In Proceedings of the 41st Annual ACM Symposium on the Theory of Computing, STOC ’09, pages 371–380, New York, NY, USA, 2009. ACM.
[58]
Gautam Kamath, Vikrant Singhal, and Jonathan Ullman. Private mean estimation of heavy-tailed distributions. In Proceedings of the 33rd Annual Conference on Learning Theory, COLT ’20, pages 2204–2235, 2020.
[59]
Marco Avella-Medina. The role of robust statistics in private data analysis. Chance, 33(4):37–42, 2020.
[60]
Gavin Brown, Marco Gaboardi, Adam Smith, Jonathan Ullman, and Lydia Zakynthinou. Covariance-aware private mean estimation without private covariance estimation. In Advances in Neural Information Processing Systems 34, NeurIPS ’21. Curran Associates, Inc., 2021.
[61]
Xiyang Liu, Weihao Kong, Sham Kakade, and Sewoong Oh. Robust and differentially private mean estimation. In Advances in Neural Information Processing Systems 34, NeurIPS ’21. Curran Associates, Inc., 2021.
[62]
Xiyang Liu, Weihao Kong, and Sewoong Oh. Differential privacy and robust statistics in high dimensions. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 1167–1246, 2022.
[63]
Pravesh K Kothari, Pasin Manurangsi, and Ameya Velingker. Private robust estimation by stabilizing convex relaxations. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 723–777, 2022.
[64]
Kelly Ramsay, Aukosh Jagannath, and Shoja’eddin Chenouri. Concentration of the exponential mechanism and differentially private multivariate medians. arXiv preprint arXiv:2210.06459, 2022.
[65]
Aleksandra Slavkovic and Roberto Molinari. Perturbed M-estimation: A further investigation of robust statistics for differential privacy. In Alicia L. Carriquiry, Judith M. Tanur, and William F. Eddy, editors, Statistics in the Public Interest: In Memory of Stephen E. Fienberg, pages 337–361. Springer, 2022.
[66]
Samuel B Hopkins, Gautam Kamath, and Mahbod Majid. Efficient mean estimation with pure differential privacy via a sum-of-squares exponential mechanism. In Proceedings of the 54th Annual ACM Symposium on the Theory of Computing, STOC ’22, pages 1406–1417, New York, NY, USA, 2022. ACM.
[67]
Kristian Georgiev and Samuel B Hopkins. Privacy induces robustness: Information-computation gaps and sparse mean estimation. In Advances in Neural Information Processing Systems 35, NeurIPS ’22. Curran Associates, Inc., 2022.
[68]
Samuel B Hopkins, Gautam Kamath, Mahbod Majid, and Shyam Narayanan. Robustness implies privacy in statistical estimation. In Proceedings of the 55th Annual ACM Symposium on the Theory of Computing, STOC ’23, New York, NY, USA, 2023. ACM.
[69]
Daniel Alabi, Pravesh K Kothari, Pranay Tankala, Prayaag Venkat, and Fred Zhang. Privately estimating a Gaussian: Efficient, robust and optimal. In Proceedings of the 55th Annual ACM Symposium on the Theory of Computing, STOC ’23, New York, NY, USA, 2023. ACM.
[70]
Vladimir Naumovich Vapnik and Alexey Yakovlevich Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & Its Applications, 16(2):264–280, 1971.
[71]
Vladimir Vapnik and Alexey Chervonenkis. Theory of Pattern Recognition. Nauka, 1974.
[72]
Anselm Blumer, Andrzej Ehrenfeucht, David Haussler, and Manfred K. Warmuth. Learnability and the Vapnik-Chervonenkis dimension. Journal of the ACM, 36(4):929–965, 1989.
[73]
David Haussler. Decision theoretic generalizations of the PAC model for neural net and other learning applications. Information and Computation, 100(1):78–150, 1992.
[74]
Shai Ben-David, Dávid Pál, and Shai Shalev-Shwartz. Agnostic online learning. In COLT 2009 - The 22nd Conference on Learning Theory, Montreal, Quebec, Canada, June 18-21, 2009, 2009.
[75]
Max Hopkins, Daniel M Kane, Shachar Lovett, and Gaurav Mahajan. Realizable learning is all you need. In Proceedings of the 35th Annual Conference on Learning Theory, COLT ’22, pages 3015–3069, 2022.
[76]
Daniel Kifer, Shai Ben-David, and Johannes Gehrke. Detecting change in data streams. In Mario A. Nascimento, M. Tamer Özsu, Donald Kossmann, Renée J. Miller, José A. Blakeley, and K. Bernhard Schiefer, editors, (e)Proceedings of the Thirtieth International Conference on Very Large Data Bases, VLDB 2004, Toronto, Canada, August 31 - September 3 2004, pages 180–191. Morgan Kaufmann, 2004.
[77]
Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning - From Theory to Algorithms. Cambridge University Press, 2014.
[78]
Shay Moran and Amir Yehudayoff. Sample compression schemes for VC classes. J. ACM, 63(3):21:1–21:10, 2016.
[79]
Shai Ben-David, Pavel Hrubes, Shay Moran, Amir Shpilka, and Amir Yehudayoff. A learning problem that is independent of the set theory ZFC axioms. CoRR, abs/1711.05195, 2017.
[80]
Mark Bun, Kobbi Nissim, and Uri Stemmer. Simultaneous private learning of multiple concepts. In Proceedings of the 7th Conference on Innovations in Theoretical Computer Science, ITCS ’16, pages 369–380, New York, NY, USA, 2016. ACM.
[81]
Aleksandra Korolova, Krishnaram Kenthapadi, Nina Mishra, and Alexandros Ntoulas. Releasing search queries and clicks privately. In Proceedings of the 18th International World Wide Web Conference, WWW ’09, pages 171–180, New York, NY, USA, 2009. ACM.
[82]
Ishaq Aden-Ali, Hassan Ashtiani, and Christopher Liaw. Privately learning mixtures of axis-aligned gaussians. In Advances in Neural Information Processing Systems 34, NeurIPS ’21. Curran Associates, Inc., 2021.

  1. Cheriton School of Computer Science, University of Waterloo and Vector Institute. shai@uwaterloo.ca.↩︎

  2. Cheriton School of Computer Science, University of Waterloo. yabie@uwaterloo.ca. Supported by an NSERC Discovery Grant and a David R. Cheriton Graduate Scholarship.↩︎

  3. Cheriton School of Computer Science, University of Waterloo and Vector Institute. g@csail.mit.edu. Supported by a Canada CIFAR AI Chair, an NSERC Discovery Grant, and an unrestricted gift from Google.↩︎

  4. Cheriton School of Computer Science, University of Waterloo. tlechner@uwaterloo.ca. Supported by a Vector Research Grant and a Waterloo Apple PhD Fellowship in Data Science and Machine Learning.↩︎

  5. Authors are listed in alphabetical order.↩︎

  6. For the sake of exposition, we defer formal definitions of our learnability notions to Section 1.1.↩︎

  7. A related notion of robust learnability instead imagines the adversary modifies the samples from a distribution in \(\mathcal{C}\), rather than the distribution itself. This adaptive model is discussed further in Section 1.2.↩︎

  8. We note that our additive robustness definition differs slightly from Huber’s contamination model. However the two models are equivalent up to a small factor. We discuss this in more detail when we define additive robust learning and give an alternative definition called Huber additive robustness. Our results hold for both additive robustness and Huber additive robustness.↩︎

  9. In other works robust or agnostic learning can also refer to the case where \(\alpha=1\). In those cases what we call robust or agnostic learnability is referred to as semi-agnostic learning.↩︎

  10. Differential privacy is a popular and rigorous notion of data privacy. For the definition of differential privacy, see Section 5.↩︎

  11. In the context of differential privacy, we diverge slightly from the established notation. Specifically, we align ourselves with common notation in the DP literature, using \(\varepsilon\) and \(\delta\) for privacy parameters, and use \(\alpha\) (in place of \(\varepsilon\)) and \(\beta\) (in place of \(\delta\)) for accuracy parameters.↩︎

  12. A natural open question is whether approximate DP learnability implies additively-robust approximate-DP learnability.↩︎

  13. And in the case of removals, much more natural↩︎

  14. We provide a definition for \(\varepsilon\)-weak learnability as Definition 5 We note that the definition we provide is what would usually be referred to as \((1/2-\varepsilon)\)-weak learnability in the supervised learning literature. For simplicity, because \(\varepsilon\) is our parameter of interest, we reparameterized the definition to be more intuitive.↩︎

  15. Note, that while our analysis frequently uses \(\eta\), we construct the learner in a way that is uninformed by \(\eta\). Thus our guarantees hold for all \(\eta\) simultaneously↩︎

  16. Recall that \(\operatorname{Hypergeometric}(N,K,n)\) is the random variable of the number of “successes” when \(n\) draws are made without replacement from a set of size \(N\), where \(K\) elements of the set are considered to be successes.↩︎

  17. These sets are also sometimes called Scheffé sets in the literature.↩︎

  18. Note that this definition is asymmetric: \(A_{i,j} \neq A_{j,i}\).↩︎

  19. A collection of sets \(\mathcal{W}\) has the uniform convergence property if for every \((\varepsilon, \delta) \in (0,1)^2\) there is a number \(m_{\mathcal{W}}(\varepsilon, \delta)\) such that for every probability distribution \(p\), with probability \(\geq (1-\delta)\) over samples \(S\) of size \(n >n_{\mathcal{W}}(\varepsilon, \delta)\) generated i.i.d.by \(p\), a sample \(S\) is \(\varepsilon\)-representative for \(\mathcal{W}\) with respect to \(p\). Namely, for every \(A \in \mathcal{W}\), \(\left|\frac{|A \cap S|}{|S|} - p(A) \right| \leq \varepsilon\). If \(\mathcal{W}\) is finite then \(n_{\mathcal{W}}(\varepsilon, \delta) \leq \frac{\log(|\mathcal{W}|) + \log(1/\delta)}{\varepsilon^2}\). For more details see Chapter 4 in [77].↩︎