Proper Positive LearningSurprises in Proper Positive-Only Learning

@C7.8cm@C7.8cm@ Shai Ben-David & Farnam Mansouri
University of Waterloo and Vector Institute & University of Waterloo and Vector Institute
&
Anay Mehrotra & Manolis Zampetakis
Stanford University & Yale University
&


Abstract

Binary classification from positive-only samples is a variant of PAC learning in which the learner receives i.i.d.samples from the positive region of an unknown target concept, but is evaluated under the original distribution (which places mass on both positive and negative regions). This model dates back to natarajan1987learning?, and the characterization of improper learning is well-known – it even appears in textbooks kearns1994introduction?. The characterization of proper positive-only learning, however, has long remained open. In this work, we revisit and settle this question: a concept class is properly learnable from positive-only samples if and only if it has finite VC dimension and satisfies a new combinatorial condition, which we call uniform exterior separability. Together with several separation results, this characterization reveals a surprisingly rich landscape that differs sharply from standard PAC learning: proper and improper learning are separated, randomized and deterministic proper learning are separated, there are classes for which no ERM is a learner, and finite VC dimension does not suffice even for non-uniform learning. Along the way, we introduce new combinatorial dimensions that we believe can be of broader interest in learning theory.

1 Introduction↩︎

In the celebrated PAC learning model valiant1984theory?, a learner observes positive and negative examples drawn from an unknown distribution and must output a classifier with small misclassification error. This formulation assumes that the learner has access to labeled samples from both sides of the target concept. However, in practical scenarios, this assumption is often violated because negative examples are expensive to collect, scarce, or completely absent. This issue was already motivated by Valiant, who wrote: “While it may be reasonable to discuss the distribution of the attributes of elephants, we may prefer not discussing the distribution of the attributes of non-elephants” — valiant1984deductive?. It also arises in many modern applications: for instance, in medical diagnosis, confirmed cases of a condition are recorded but healthy controls may be unlabeled elkan2008learning?; in web search and recommendation systems, engagement provides positive feedback while non-engagement remains ambiguous liu2003building?. These practical challenges can be modeled through a natural extension of the PAC framework, where the learner receives positive samples, but receives no negative samples.

Let \(\mathcal{D}\) be an unknown distribution over the feature space \(\mathcal{X}\), and let \(h^\star\in \mathcal{H}\) be the target concept. The learner receives a multiset of \(n\) i.i.d. samples from the conditional distribution \(\mathcal{D}_+ = \mathcal{D}\mid (h^\star(X) = 1)\), and outputs a hypothesis whose error is measured under the original distribution \(\mathcal{D}\).

Definition 1 (PAC Learning with Positive-Only Samples; cf.). A class \(\mathcal{H}\) is learnable from positive-only samples* if there exist a sample-complexity function \(n\colon (0,1)^2 \to \mathbb{N}\) and a learner \(\mathcal{A}\) such that, for every accuracy and confidence parameters \(\varepsilon,\delta \in (0,1)\), every distribution \(\mathcal{D}\) over \(\mathcal{X}\), and every target \(h^\star\in \mathcal{H}\) with \(\Pr_{X \sim \mathcal{D}}[h^\star(X) = 1] > 0\), given \(n(\varepsilon,\delta)\) i.i.d. samples from \(\mathcal{D}_+\), \(\mathcal{A}\) outputs a hypothesis \(\widehat{h}\) satisfying \[\Pr\nolimits_{X \sim \mathcal{D}}(\widehat{h}(X) \neq h^\star(X)) \leq \varepsilon\,,\] with probability at least \(1-\delta\) over the sample and the learner’s internal randomness.*

Note that although the learner only sees samples from \(\mathcal{D}_+\), the hypothesis \(\widehat{h}\) is evaluated under the full distribution \(\mathcal{D}\), which has mass on both the positive and the negative regions. The positive samples identify points that must be labeled positive, but they give no information about the negative region, where the learner must still avoid too many false positives.

A learner is said to be proper if it always outputs a hypothesis in \(\mathcal{H}\), and improper otherwise (if it can output a hypothesis that is outside of \(\mathcal{H}\)). In ordinary PAC learning, both types of learners are equally powerful: a class is PAC learnable if and only if it has finite VC dimension \(\operatorname{VCdim}(\mathcal{H}) < \infty\). Moreover, whenever \(\operatorname{VCdim}(\mathcal{H}) < \infty\), every empirical risk minimization (ERM) rule, which is any rule that returns a hypothesis in \(\mathcal{H}\) consistent with the labeled samples, is a PAC learning algorithm.1

For positive-only learning, the improper version admits a clean characterization: Let \(\mathcal{H}_\cap\) denote the class of finite intersections of concepts in \(\mathcal{H}\). Then \(\mathcal{H}\) is improperly learnable from positive-only samples if and only if \(\operatorname{VCdim}(\mathcal{H}_\cap) < \infty\) kearns1994introduction?. graus1989lower? gives an alternate combinatorial characterization, which even appears as a textbook exercise kearns1994introduction?. Recent work of hanneke2024star?, as a corollary, pins down the tight sample complexity of improper positive-only learning via a dimension called the one-centered star number; see anay2026thesis? for an overview. However, despite the improper case being very well understood, and there being decades of work on various variants of PAC learning haussler1990survey?, including variants of positive-only learning natarajan1987learning?, shvaytser1990positiveonly?, kivinen1995learning?, FJK96?, NR09?, AGR13?, DDS15?, Kontonis2019EfficientTS?, CDS20?, mansouri2025learning?, lee2026smoothed?, the following natural question has remained unresolved:

What is the characterization of learnability for proper positive-only PAC learning?

-1em Our contributions. In this work, we settle this question, and show that proper positive-only learning has a very rich structure. We make the following contributions.

  1. A characterization of proper positive-only learning ([thm:main]). We prove that \(\mathcal{H}\) is properly learnable from positive-only samples if and only if \(\operatorname{VCdim}(\mathcal{H}) < \infty\) and \(\mathcal{H}\) satisfies a new combinatorial condition, uniform exterior separability ([def:ues]), which controls false positives in the parts of the input space not forced to be positive by the sample.

  2. Separations from ordinary PAC learning (5 [thm:randomness-necessary] [thm:ERM-separation] [thm:nonuniform-separation]). Together with several separation results, our characterization shows that the landscape of learnability for proper positive-only learning is considerably different from that of ordinary PAC learning. In particular:

    1. Proper and improper learning are separated (5);

    2. Randomized and deterministic proper learning are separated ([thm:randomness-necessary]);

    3. There exist classes for which no deterministic ERM rule is a learner ([thm:ERM-separation]); and

    4. Finite VC dimension does not suffice even for non-uniform learning ([thm:nonuniform-separation]).

  3. Randomness as a resource ([thm:few-random-bits-suffice] [thm:randomness-necessary]). We quantify the randomness needed for proper positive-only learning. On the positive side, we show that very few random bits suffice: if \(\mathcal{H}\) admits a randomized proper learner from positive-only samples, then it admits one that uses only \(\widetilde{O}\!\left(d + \log \frac{1}{\varepsilon}\right)\) random bits (where \(d = \operatorname{VCdim}(\mathcal{H})\)) and \(\widetilde{O}\!\left(\frac{d}{\varepsilon}\right)\) positive samples ([thm:few-random-bits-suffice]). For classes of constant VC dimension (i.e., \(d=O(1)\)), this is exponentially fewer random bits than samples. On the negative side, as mentioned above, randomness cannot be eliminated entirely: there exist classes that are properly learnable by a randomized learner but by no deterministic one ([thm:randomness-necessary]).

  4. A characterization of stable proper positive-only learning ([thm:stable-characterization]). We also study a notion of stability for proper learners, which requires the learner’s output to remain unchanged when given additional samples consistent with its current hypothesis (5), in the spirit of stable sample compression schemes bousquet2020proper?. We show that \(\mathcal{H}\) is properly learnable by a stable learner if and only if \(\operatorname{VCdim}(\mathcal{H}) < \infty\) and \(\mathcal{H}\) satisfies exact exterior separation ([def:ees]), a strict strengthening of uniform exterior separability ([thm:stable-characterization]).

More broadly, we view our results as part of an effort to understand how the right combinatorial dimension changes under different supervision models. The dimensions and conditions we introduce here, particularly the exterior separability notions, do not coincide with VC dimension and other standard parameters, and we expect they will find use beyond positive-only learning, in settings where the learner must extrapolate from limited supervision.

1.1 Related Work↩︎

We have already discussed key related work on learning from positive-only samples when motivating the model. Here, we situate our results within several neighboring literature.

Learning with One-Sided Error. Positive-only learning has also been studied under the additional restriction that the learner makes no false-positive errors, known as the one-sided error model. natarajan1987learning? initiated this line of work and characterized proper learnability in the one-sided error setting. Subsequently shvaytser1990positiveonly?, kivinen1995learning? characterized improper learning and bounded its sample complexity. Natarajan conjectured that his characterization extends to the (two-sided) proper positive-only learning model studied in this paper.2 We disprove this conjecture in 6 (which, in turn, utilizes our main characterization; [thm:main]).

Distribution-Specific Positive-Only Learning. Several works study positive-only learning under specific distributional assumptions. When the distribution is Gaussian, Kontonis2019EfficientTS?, lee2024efficient? design computationally efficient algorithms with guarantees for concept classes with bounded Gaussian surface area. For unknown distributions satisfying a mild smoothness condition, lee2026smoothed? gave methods for learning all finite-VC classes as well as classes approximable by polynomials, and kouridakis2026truncation? obtained a polynomial-time algorithm for finite-VC classes on the real line. A separate line studies positive-only learning when the distribution of positive examples is explicitly given to the learner FJK96?, NR09?, RG09?, AGR13?, DDS15?, CDS20?, JKV23?. In contrast to all these works, and as is standard in statistical learning theory, we do not attempt to design computationally efficient algorithms and, instead, obtain characterizations of learnability, with a particular focus on proper learners.

Learning from Positive and Unlabeled Examples. The positive-and-unlabeled (PU) model gives the learner access to unlabeled samples in addition to positive examples denis1998pac?, liu2002partially?, elkan2008learning?, blanchard2010semi?, du2015convex?, bekker2018estimating?, lee2024efficient?, mansouri2025learning?, lee2026smoothed?. Especially relevant to our work, mansouri2025learning? proved lower bounds on the number of unlabeled samples required for PU learning, demonstrating a separation between PU learning and learning from positive examples alone.

Out-of-Distribution Detection. The problem of learning from positive samples is also closely related to theoretical work on out-of-distribution detection. In the binary case, OOD detection can be viewed as learning from positive-only examples. The results of NEURIPS2022_f0e91b13?, JMLR:v25:23-1257? imply that consistency is impossible in full generality in the agnostic setup, and identify conditions under which consistency can be recovered. While in some of our results, we also consider consistency, our focus is on the stronger requirement of bounding the sample complexity of learning instead of just consistency.

Language Identification in the Limit. The line of work on language identification in the limit, e.g., gold1967language?, angluin1979finding?, angluin1988learning? can also be viewed as learning from positive examples only, but with a different success criterion: the sample size is allowed to depend on the target concept and on the order in which positive examples are presented. Thus, this line of work is closer in spirit to non-uniform learnability than to the uniform PAC-style guarantees studied here. Stochastic versions of these frameworks have also been studied angluin1988identifying?, kalavasis2025limits?, hogsgaard2026agnostic? in the universal-learning formulation of bousquet2021theory?, which is quite different from the PAC learning model that we study here.

2 Preliminaries↩︎

In this section, we introduce basic notation and preliminaries. -1em Notation. We use \(f\lesssim g\) and \(f\simeq g\) to denote \(f=O(g)\) and \(f=\Theta(g)\) respectively. We use \(\widetilde{O}(\cdot)\), \(\widetilde{\Omega}(\cdot)\), and \(\widetilde{\Theta}(\cdot)\) to hide poly-logarithmic factors. Further, for a set \(A\), we use \(A^{[*]}\) to denote the set of all finite multi-sets of members of \(A\), and \(A^*\) as the set of all finite sequences of elements of \(A\). (A multi-set contains repetitions of instances, but not their order. A sequence also records their order.)

-1em Positive-only learning. Let \(\mathcal{H}\) denote a concept class over a domain \(\mathcal{X}\). (Formally, \(\mathcal{H}\) is a set of subsets of \(\mathcal{X}\).) We identify each concept with the set of points that it labels positive. A realizable instance of positive-only learning is specified by an unknown distribution \(\mathcal{D}\) over \(\mathcal{X}\) and an unknown target concept \(\ell \in \mathcal{H}\) with \(\mathcal{D}(\ell)>0\). For measurable \(A \subseteq \mathcal{X}\), we define \[\mathcal{D}_+(A) \mathrel{\vcenter{:}}= \mathcal{D}\!\left(A \mid x \in \ell\right) \qquad\text{and}\qquad \mathcal{D}_-(A) \mathrel{\vcenter{:}}= \mathcal{D}\!\left(A \mid x \notin \ell\right)\] whenever the conditioning is well-defined. The learner observes only positive examples, i.e., an i.i.d.sample from \(\mathcal{D}_+\). A hypothesis is a subset \(h \subseteq \mathcal{X}\) and its loss or error is evaluated under the full distribution \(\mathcal{D}\): \[\operatorname{err}_{\mathcal{D}}\!\left(h,\ell\right) \mathrel{\vcenter{:}}= \mathcal{D}\!\left(h \triangle \ell\right) \quad\text{for}\quad h \subseteq \mathcal{X}\,.\]

-1em Learning algorithms and sample complexity. A proper learning algorithm, or simply a proper learner \(\mathcal{A}\), is a function \(\mathcal{A}\colon \mathcal{X}^{[*]} \times \Omega \to \mathcal{H}\) where \(\Omega=\left\{0, 1\right\}^{\mathbb{N}}\) provides a sequence of (potentially) random bits. For a fixed sample \(S_+\in \mathcal{X}^*\), we use \(\mathcal{A}(S_+)\) as shorthand for the random variable \(\omega \mapsto \mathcal{A}(S_+,\omega)\). We say that a concept class \(\mathcal{H}\) is learnable from positive-only samples by a proper learner \(\mathcal{A}\) if there exists a function \(m{}_{\mathcal{H}}: (0, 1) \times (0, 1) \rightarrow \mathbb{N}\) so that for every distribution \(\mathcal{D}\) over \(\mathcal{X}\) and every \(\ell \in \mathcal{H}\), every accuracy and confidence \(\varepsilon,\delta \in \left(0,1\right)\), and every number \(n \geq m{}_{\mathcal{H}}\!\left(\varepsilon,\delta\right)\), with probability at least \(1-\delta\), the learner has an error at most \(\varepsilon\), i.e., \[\Pr\nolimits_{S_+\sim \mathcal{D}_+^n, \mathcal{A}}\left( \operatorname{err}_{\mathcal{D}}\left(\mathcal{A}\left(S_+\right),\ell\right) \leq \varepsilon \right) \geq 1-\delta\,.\]

-1em Version space and closure. The concept of a closure of a sample set is frequently used in learning theory and will also be central in our characterizations. Consider a finite sample of “positive” points \(S \subseteq \mathcal{X}\) realized by \(\mathcal{H}\). (Formally, \(S\) is a positive sample set realizable by \(\mathcal{H}\) if there is some \(h\in \mathcal{H}\) such that \(S\subseteq h\).) The version space \(\mathcal{H}_S\) of \(S\) is the set of all hypotheses in \(\mathcal{H}\) consistent with \(S\). In other words, it is the set of all hypotheses that could be the target concept. Formally, \[\mathcal{H}_S \mathrel{\vcenter{:}}= \left\{h \in \mathcal{H}: S \subseteq h\right\}\,.\] The closure of \(S\) with respect to \(\mathcal{H}\) is the intersection of all hypotheses \(h\) in the version space, i.e., \[\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right) \mathrel{\vcenter{:}}= \bigcap\nolimits_{h \in \mathcal{H}_S} h\,. \] In particular, the closure is the largest subset of the domain that is guaranteed to be a subset of all hypotheses in the version space \(\mathcal{H}_S\). In particular, since the target concept \(\ell\) is always in the version space, \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\) is a subset of \(\ell\).

3 Characterizing Conditions↩︎

In this section, we introduce the conditions used to characterize proper positive-only learning.

All of the conditions are stated using the closure operator from 2. Recall that if \(S\) is a finite set of observed positive examples and \(S\subseteq \ell\in \mathcal{H}\), then \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right) \subseteq \ell.\) Thus every point in \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\) is forced to be positive by the sample and the realizability assumption. The main challenge is what happens outside the closure. A point \(x\notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\) is not forced to be positive by the sample, and a proper learner must still output a member of \(\mathcal{H}\) without labeling too much of this outside region as positive. The conditions below capture different ways in which hypotheses from \(\mathcal{H}\) can control this outside region.

-1em The improper benchmark. Before stating the conditions, it is useful to recall the characterization of improper positive-only learning. Let \(\mathcal{H}_{\cap}\) denote the finite-intersection closure of \(\mathcal{H}\): \[\mathcal{H}_{\cap} \mathrel{\vcenter{:}}= \left\{ \bigcap\nolimits_{h\in \mathcal{A}} h : \mathcal{A}\subseteq \mathcal{H}\text{ is finite} \right\}\, .\] (Here, the empty intersection is interpreted as \(\mathcal{X}\).) For instance, if \(\mathcal{H}\) is the class of halfspaces in \(\mathbb{R}^d\), then \(\mathcal{H}_{\cap}\) contains all polyhedra obtained as intersections of finitely many halfspaces.

Theorem 1 (Improper positive-only learning; graus1989lower?; see also kearns1994introduction?, lee2026smoothed?). A concept class \(\mathcal{H}\) is improperly learnable from positive-only samples if and only if \(\operatorname{VCdim}{}\!\left(\mathcal{H}_{\cap}\right) < \infty.\)

The learning algorithm is simple: given positive samples \(S\), it outputs \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\). Since this closure lies in \(\mathcal{H}_{\cap}\) but generally not in \(\mathcal{H}\), the learning algorithm is improper. A proper learner cannot do this, and the conditions below ask, in increasingly weaker forms, how well concepts in \(\mathcal{H}\) can mimic this.

The strongest condition asks that the closure itself is always proper.

Definition 2 (Exact Exterior Separation). We say that \(\mathcal{H}\) satisfies exact exterior separation* if for every finite nonempty realizable set \(S \subseteq \mathcal{X}\), \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right) \in \mathcal{H}.\)*

Under exact exterior separation, the proper learner can directly output \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), recovering the improper strategy while being proper. This condition, however, turns out to be too strong (there are classes which violate this property while still being properly learnable from positive examples). Hence, we consider the following weaker version.

Definition 3 (Uniform Exterior Separability). We say that \(\mathcal{H}\) satisfies uniform exterior separability* if for every \(\eta>0\) there exists an integer \(M\!\left(\eta\right)\) such that for every finite nonempty realizable set \(S\subseteq \mathcal{X}\), there are hypotheses \(h_{S,1},\dots,h_{S,M\!\left(\eta\right)} \in \mathcal{H}_S\) satisfying \[\sup\nolimits_{x\notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)}~ \frac{1}{M\!\left(\eta\right)} \left| \left\{i\in\left\{1,\dots,M\!\left(\eta\right)\right\}:x\in h_{S,i}\right\} \right| \leq \eta \,.\]*

Here, instead of a single consistent hypothesis avoiding every exterior point, we ask only for a bounded list of consistent hypotheses, whose individual members may make false positives, but which on average covers any single exterior point only “sparingly.” The key point is that \(M\!\left(\eta\right)\) depends only on \(\eta\), and not on \(S\). Equivalently: a hypothesis drawn uniformly from the list labels any fixed exterior point as positive with probability at most \(\eta\). Finally, observe that exact exterior separation ([def:ees]) is the special case \(M\!\left(\eta\right)=1\) with \(h_{S,1}=\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\).

The next condition replaces the uniform distribution over a bounded list with an arbitrary distribution, which is a bit more natural for randomized learners.

Definition 4 (Distributional Exterior Separability). We say that \(\mathcal{H}\) satisfies distributional exterior separability* if for every finite nonempty realizable set \(S\subseteq \mathcal{X}\) and every \(\eta>0\), there exists a probability distribution \(\mu_{S,\eta}\) supported on \(\mathcal{H}_S\) such that \[\sup\nolimits_{x\notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)} \Pr\nolimits_{h\sim \mu_{S,\eta}}\!\left(x\in h\right) \leq \eta \,.\]*

In the next section, we use these conditions to give our main characterization. Before that, we establish the following relationships between these conditions to build some intuition; the proof is deferred to 8.1.

propositionexteriorSeparationHierarchy For every concept class \(\mathcal{H}\), \[\begin{align} \textrm{exact exterior separation} &~~\Longrightarrow~~ \textrm{uniform exterior separability} \\ &~~\Longrightarrow~~ \textrm{distributional exterior separability}\,. \end{align}\] Moreover, the first implication is strict.

The two implications follow from the definition of the conditions. Strictness of the first implication is important to refute a conjecture of natarajan1987learning? (see 1.1). The second implication may not be strict in general. However, interestingly, using tools from the study of sample compression schemes moran2016sample?, we are able to prove that distributional exterior separability implies uniform exterior separability for classes \(\mathcal{H}\) with finite VC dimension, and this result turns out to be crucial for our characterization. The proof of this result appears in 8.3.

theoremdistributionalImpliesUniform Suppose that \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\). If \(\mathcal{H}\) satisfies distributional exterior separability, then \(\mathcal{H}\) satisfies uniform exterior separability.

4 Our Results↩︎

In this section, we state our main results. Our first result settles the question posed in 1.

theoremRandChar The following are equivalent:

  1. \(\mathcal{H}\) is properly learnable from positive-only samples;

  2. \(\mathcal{H}\) satisfies uniform exterior-separability ([def:ues]) and \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\).

Thus, uniform exterior-separability plays the role for proper positive-only learning that finite VC dimension plays for ordinary PAC learning. This characterization is strictly stronger than that of improper positive-only learning (5; see [sec:additional-results:separation-improper] for a proof). Thus, unlike ordinary PAC learning, where requiring the learner to be proper does not change which classes are learnable, characterizations of proper and improper learning differ in the positive-only model, e.g., shalev2014understanding?. The proof of [thm:random-characterization] appears in 9.1.

The learner in [thm:main] is randomized, raising the question: how much randomness is needed for learning? Randomness is a fundamental algorithmic resource (alongside time and memory) and is widely studied in theoretical computer science arora2009computational?. It has also been extensively studied in learning theory both as a resource to minimize hopkins2025the?, larsen2024derandomizing?, chase2023stability?, filmus2023optimal? and through models in which the learner or environment must be deterministic maass1991online?, oliveira2018pseudo?, sitharam1997derandomized?.

Our next result shows that a very small number of random bits suffice for learning. To state our result, we need to recall the definition of the dual concept class \(\mathcal{H}^\star\): for a binary class \(\mathcal{H}\subseteq \left\{0, 1\right\}{}^{\mathcal{X}}\), its dual class is \(\mathcal{H}^\star \mathrel{\vcenter{:}}= \{h \mapsto h(x) : x \in \mathcal{X}\} \subseteq \left\{0, 1\right\}{}^{\mathcal{H}}.\) (Here, each point \(x \in \mathcal{X}\) defines a binary function on hypotheses by evaluating them at \(x\).) The dual class \(\mathcal{H}^*\) is useful because \(\operatorname{VCdim}(\mathcal{H}^*)\) controls how many sample points are needed to distinguish hypotheses in \(\mathcal{H}\); this parameter appears throughout learning theory, perhaps most famously in bounds on the size of sample-compression schemes moran2016sample?.

theoremFewBits Consider a concept class \(\mathcal{H}\) and its dual \(\mathcal{H}^\star\). Let \(d=\operatorname{VCdim}{}\!\left(\mathcal{H}\right)\) and \(d^\star=\operatorname{VCdim}{}\!\left(\mathcal{H}^\star\right)\). The following are equivalent:

  1. \(\mathcal{H}\) is properly PAC learnable from positive-only examples by a randomized learner.

  2. \(\mathcal{H}\) is properly PAC learnable from positive-only examples by a learner using at most \[r\left(\varepsilon,\delta\right) = \widetilde{O}\!\left( \log\left(\frac{d^\star}{\varepsilon\delta}\right) \right)~\text{random bits} \quad\text{and}\quad m\left(\varepsilon,\delta\right) = \widetilde{O}\!\left( (\frac{1}{\varepsilon})\, \left(d+\log\frac{1}{\delta}\right) \right) \text{~positive samples}\,.\]

In particular, by Assouad’s bound Assouad1983?, \(d^\star<2^{d+1}\), so \(r\left(\varepsilon,\delta\right) = \widetilde{O}\!\left( d + \log\left(\frac{1}{\varepsilon\delta} \right)\right).\)

For classes with VC dimension \(O(1)\), the number of random bits is only \(\widetilde{O}\!\left(\log\frac{1}{\varepsilon\delta}\right)\). This is much smaller than the number of samples: even in ordinary PAC learning with positive and negative examples, the sample complexity is \(\Omega(\frac{1}{\varepsilon})\), which is exponentially larger. For additional details and proof of [thm:few-random-bits-suffice] we refer the reader to 9.2. Given that so few random bits suffice, one might hope that randomness can be removed entirely. Our next result shows that this is not possible: some classes are properly learnable by a randomized learner but by no deterministic learner.

theoremRandNecessary There exists a concept class \(\mathcal{H}\) that is properly positive-only learnable by a randomized learner, but not by any deterministic learner.

Thus, the power of randomized and deterministic learners is different in the proper positive-only learning model. This is another contrast with ordinary PAC learning where characterizations of deterministic and randomized proper learning are equivalent, e.g., BlumerEhrenfeuchtHausslerWarmuth1989?, ehrenfeucht1989general?. The proof of [thm:randomness-necessary] appears in 9.3.

The preceding results already give two separations between positive-only learning and ordinary PAC learning: proper and improper learning differ ([thm:main]; also see 5), and randomized and deterministic proper learning differ ([thm:randomness-necessary]). We next state three further separations.

-1em Separation III: ERM is not a universal learner for positive-only learning. In the realizable PAC model, if a class \(\mathcal{H}\) is learnable, then it is learnable by every empirical risk minimization (ERM) rule. An ERM rule is any rule that outputs any hypothesis from \(\mathcal{H}\) consistent with the observed samples. Specifically, in the positive-only model, a learning rule is ERM if it outputs a hypothesis that contains all the observed positive examples. Our next result shows that such rules are not universal learners for deterministic proper positive-only learning. Its proof appears in 10.3.

theoremSepERM There exists a concept class \(\mathcal{H}\) that is properly positive-only learnable by deterministic learners, but no deterministic proper ERM learner learns \(\mathcal{H}\) from positive-only examples.

-1em Separation IV: Finite VC dimension does not imply non-uniform learnability. So far, we have focused on “uniform” guarantees on the sample complexity, where the sample complexity is the same for all target concepts. Non-uniform PAC learning relaxes this and allows the required sample size to depend on the target concept. Consistency further relaxes this: it only requires the error to converge to 0 for each fixed distribution-target pair as the number of samples goes to \(\infty\) without requiring any specific rate for this convergence. (We refer the reader to 7 for formal definitions.) Both non-uniform and consistency guarantees are widely-studied in learning theory stone1977consistent?, benedek1988nonuniform?, ben1993learning?, bousquet2021theory?, lu2024inductive? and below we study these notions for proper positive-only learning. We show that these notions remain distinct for positive-only learning, even for classes of finite VC dimension; see 10.4 for the proof.

theoremSepNonUnif There exist concept classes \(\mathcal{H}_1\) and \(\mathcal{H}_2\), each with VC dimension \(1\), such that:

  1. \(\mathcal{H}_1\) is properly positive-only consistent, but not non-uniformly properly positive-only learnable.

  2. \(\mathcal{H}_2\) is non-uniformly properly positive-only learnable, but not properly positive-only learnable.

Stable proper positive-only learning. Stability is a standard way to formalize the idea that small changes to the sample should not substantially change the output of the learner. We end with a characterization of stable proper positive-only learning. Concretely, we study the following notion of stability, which matches the notion of stable compression schemes introduced by bousquet2020proper?.

Definition 5 (Stability). Consider a proper learner \(\mathcal{A}\). The learner \(\mathcal{A}\) is said to be stable* if, for any multi-sets \(S, S' \in \mathcal{X}^{[*]}\), with probability 1 over any randomness in \(\mathcal{A}\), the following holds \[\text{if}\quad S\subseteq S' \text{ and } \mathop{\mathrm{\mathrm{Domain}}}(S') \subseteq \mathcal{A}(S) ,\quad\text{then}\quad \mathcal{A}(S')= \mathcal{A}(S)\,,\] where \(\mathop{\mathrm{\mathrm{Domain}}}(S')\) is the set of distinct elements in \(S'\).*

The characterization shows that stability brings us back to exact exterior separation, the strongest closure condition from [def:ees].

theoremStabChar The following are equivalent:

  1. \(\mathcal{H}\) is properly positive-only learnable by a stable learner.

  2. \(\mathcal{H}\) satisfies exact exterior separation ([def:ees]) and \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\).

In fact, the necessity of exact exterior separation ([def:ees]) and bounded VC dimension holds even under a weaker notion of stability. We refer the reader to 10.5 for further details and the proof of [thm:stable-characterization].

5 Technical Overview↩︎

In this section, we outline the proof of our main results.

A Natural Approach to Proper Positive-Only Learning. A natural way to learn from positive-only examples is to output the closure of the observed positive samples \(S_+\), namely \(\operatorname{CLOS}_\mathcal{H}(S_+) \mathrel{\vcenter{:}}= \bigcap_{h\in \mathcal{H}:\, S_+\subseteq h} h\). This is an ERM rule for positive-only learning and has the property that it makes no false positive errors (since the target \(\ell\) itself contains \(S_+\) and so is a part of the intersection). Its false negative errors are less straightforward but, if the output belongs to a finite VC dimension class, then it can be bounded using standard tools. The key issue is that it may not be proper as the closure can fall outside \(\mathcal{H}\). If \(\mathcal{H}\) is intersection-closed, then this issue disappears, and combined with finite VC dimension, this closure rule becomes a proper positive-only learner. This sufficient condition was already known from the work of natarajan1987learning?, who additionally showed it is necessary if the learner is required to satisfy an additional constraint—make no false positive errors—and conjectured that it remains necessary even without this additional constraint. A consequence of our main characterization, [thm:main], is that this conjecture is false.

-1em Refuting Natarajan’s Conjecture. To build toward the proof of [thm:main], we first describe how we refute Natarajan’s conjecture. Consider the class \[\mathcal{H}_{\mathrm{spr}} \mathrel{\vcenter{:}}= \left\{\left\{1\right\},\left\{2\right\}\right\} \cup \left\{\left\{1,2,i\right\}: i\geq 3\right\}\] on the domain \(\mathbb{N}\). This class has finite VC dimension but is not intersection-closed. For instance, \(\left\{1,2,3\right\}\cap \left\{1,2,4\right\} = \left\{1,2\right\}\notin \mathcal{H}_{\mathrm{spr}}\). So the closure rule cannot be applied properly: after seeing a sample \(S_+\) consisting of only \(1\)s and \(2\)s, the closure \(\left\{1,2\right\}\) is the “safe” answer but it does not belong to \(\mathcal{H}_{\mathrm{spr}}\), and Natarajan’s conjecture would, hence, predict that \(\mathcal{H}_{\mathrm{spr}}\) is not properly learnable.

We refute this prediction. Fix \(\varepsilon,\delta\in(0,1)\), select \(N=N(\varepsilon,\delta)\) so that \(1/N\lesssim \varepsilon\delta\), and for a sample \(S_+\) of size \(n\), let \(o(S_+)\) be the number of copies of \(1\) in \(S_+\). Consider the proper randomized learner3 \[\mathcal{A}(S_+) = \begin{cases} \left\{1,2,i\right\} & \text{if some } i\geq 3 \text{ appears in } S_+\,, \\ \left\{1\right\} & \text{if } o(S_+) \geq n - \sqrt{n}\,, \\ \left\{2\right\} & \text{if } o(S_+) \leq \sqrt{n}\,, \\ \left\{1,2,M\right\} & \text{otherwise, where } M\sim\mathrm{Unif}(\left\{3,\dots,N+2\right\})\,. \end{cases}\] The first three cases cover the regime where the sample essentially identifies the target. If the target is \(\left\{1\right\}\) or \(\left\{2\right\}\), the sample consists only of the corresponding point and the learner outputs the target. If the target is \(\left\{1,2,i^\star\right\}\) and \(\mathcal{D}_+(i^\star)\) is non-negligible, then \(i^\star\) is observed once \(n\) is large enough and case 1 again outputs the target. Finally, if one of \(\left\{1,2\right\}\) has tiny mass under \(\mathcal{D}_+\), the corresponding singleton case fires; dropping that low-mass point creates only small false-negative error.

The interesting regime is when the target is \(\ell=\left\{1,2,i^\star\right\}\) with \(\mathcal{D}_+(i^\star)\) much smaller than \(1/n\), so that \(i^\star\) is not observed with high probability. In this regime, the sample contains only \(1\)s and \(2\)s (each having more than \(\sqrt{n}\) copies): from this, the learner can infer that the target has the form \(\left\{1,2,i\right\}\) but has no information about the value of \(i\). Here, the closure \(\left\{1,2\right\}\) is the natural “safe” choice which ensures zero false positive errors (and is exactly what natarajan1987learning?’s strategy would output), but it is improper. Our learner replaces this improper closure by a random proper extension \(\left\{1,2,M\right\}\), where \(M\) is uniformly chosen from a large set of values. The extension correctly covers \(1\) and \(2\), and the only point that could be misclassified as positive is the random choice \(M\). For any fixed \(k\notin\ell\), the chance the learner outputs \(\left\{1,2,k\right\}\) is at most \(1/N\), so the expected false-positive mass is \[\mathbb{E}_M\left[\mathcal{D}\left(\mathcal{A}(S_+)\setminus\ell\right)\right] = \sum\nolimits_{k\notin\ell}\Pr\left[M=k\right]\cdot \mathcal{D}(k) \leq \frac{1}{N}\sum\nolimits_{k\notin\ell}\mathcal{D}(k) \lesssim \varepsilon\delta\,.\] Markov’s inequality then upgrades this to a high-probability guarantee. To conclude, the key insight is to randomize over proper supersets of the closure \(\left\{1,2\right\}\) so that no exterior point receives large probability mass; this gives a proper positive-only learner for a finite-VC class that is not intersection-closed, refuting Natarajan’s conjecture.

-1em Is Randomization Necessary for the Refutation? At first glance, randomization seems essential here: to remain proper, the learner had to commit to some proper extension \(\left\{1,2,k\right\}\) in place of the improper closure \(\left\{1,2\right\}\), and randomizing over \(k\) seems like the only way to avoid placing large probability on any specific exterior point. Surprisingly, the external coin flips are not needed—for any fixed distribution \(\mathcal{D}\), a deterministic learner can extract sufficient randomness from the sample itself. Concretely, we construct a deterministic variant of the above algorithm in which the last case outputs \(\left\{1,2,o(S_+)\right\}\), using the count of \(1\)s in the sample in place of the external \(M\). When both \(1\) and \(2\) have non-negligible mass under \(\mathcal{D}_+\), \(o(S_+)\) is sufficiently anti-concentrated that no fixed exterior \(k\) is output with large probability—the same role that the atom bound \(\Pr\left[M=k\right]\leq 1/N\) played above. We give the formal argument in 10.3.

This ability to de-randomize the learner is, however, a feature of \(\mathcal{H}_{\mathrm{spr}}\): in general, [thm:randomness-necessary] exhibits classes that are learnable by a randomized proper positive-only learner but by no deterministic one.

-1em Characterization of Proper Positive-Only Learning. We now turn to our main characterization. We prove that \(\mathcal{H}\) is properly learnable from positive-only samples if and only if \(\operatorname{VCdim}(\mathcal{H})<\infty\) and \(\mathcal{H}\) satisfies uniform exterior separability, or UES ([def:ues]).

Roughly speaking, UES is the structural property of \(\mathcal{H}\) that lets the randomized strategy used for \(\mathcal{H}_{\mathrm{spr}}\) above be carried out uniformly across all realizable samples. Recall that for a finite realizable set \(S\subseteq\mathcal{X}\), \(\mathcal{H}_S=\left\{h\in\mathcal{H}:S\subseteq h\right\}\) denotes the set of hypotheses in \(\mathcal{H}\) that contain \(S\), and the closure \(\operatorname{CLOS}_\mathcal{H}(S)=\bigcap_{h\in\mathcal{H}_S}h\) consists of the points forced to be positive by \(S\). UES asks that for every accuracy level \(\eta\), there is a list of proper hypotheses \(h_{S,1},\dots,h_{S,M(\eta)}\in\mathcal{H}_S\), of size \(M(\eta)\) depending only on \(\eta\) (not on \(S\)), such that no exterior point \(x\notin\operatorname{CLOS}_\mathcal{H}(S)\) is included in more than an \(\eta\)-fraction of the list. Equivalently, choosing a hypothesis uniformly from this list places probability at most \(\eta\) on any fixed exterior point. This is precisely the property exploited for the class \(\mathcal{H}_{\mathrm{spr}}\) above: although the closure \(\operatorname{CLOS}_\mathcal{H}(S)\) may itself be improper, UES lets us simulate it by randomizing over proper hypotheses with sufficiently spread-out false positives.

Sufficiency. The sufficiency direction is conceptually straightforward and is easiest to prove using the weaker distributional condition DES ([def:des]), which is implied by UES via the uniform distribution over the UES list. (DES is weaker because it permits an arbitrary distribution over \(\mathcal{H}_S\) rather than only ones supported on lists of bounded size.) Given a positive sample \(S_+\), let \(S=\mathop{\mathrm{\mathrm{Domain}}}(S_+)\), choose \(\eta\asymp\varepsilon\delta\), and output \(h\sim\mu_{S,\eta}\), where \(\mu_{S,\eta}\) is the DES distribution supported on \(\mathcal{H}_S\). The output is proper by construction and consistent with \(S_+\) since \(\mu_{S,\eta}\) is supported on \(\mathcal{H}_S\). We divide the error into two parts:

  • False negatives. Since \(\operatorname{VCdim}(\mathcal{H})<\infty\), a standard uniform-convergence argument under \(\mathcal{D}_+\) ensures that, for \(\left| S_+ \right|\) large enough, every \(h\in\mathcal{H}_S\) satisfies \(\mathcal{D}(\ell\setminus h)\leq\frac{\varepsilon}{2}\) with high probability.

  • False positives. Since \(\operatorname{CLOS}_\mathcal{H}(S)\subseteq\ell\), every negative point \(x\notin\ell\) is exterior, and DES gives \(\Pr_{h\sim\mu_{S,\eta}}\left(x\in h\right)\leq\eta\). Averaging over \(x\sim\mathcal{D}\) shows that the expected false-positive mass is at most \(\eta\), and Markov’s inequality converts this into a high-probability bound as before.

Taking \(\eta\) on the order of \(\varepsilon\delta\) and union-bounding these two events yields the desired guarantee.

Necessity. The necessity direction proceeds in two steps: we first show that finite VC dimension is necessary, and then we show that UES is necessary. The first step is inherited from standard PAC learning; the second is the key part of the necessity direction.

Necessity of finite VC dimension. The necessity of finite VC dimension is not specific to positive-only learning. Indeed, if \(\mathcal{H}\) were properly learnable from positive-only samples, then it would also be learnable in the usual PAC model with both positive and negative examples and an improper learner: if the target has very small \(\mathcal{D}\)-mass, the learner may simply output \(\varnothing\), and otherwise a labeled sample contains enough positive examples to simulate the positive-only learner. The necessity follows as ordinary PAC learnability requires \(\operatorname{VCdim}(\mathcal{H})<\infty\) shalev2014understanding?. Necessity of UES. The main difficulty is proving the necessity of UES, which we do in two stages. We first show that (the weaker requirement of) DES is necessary. Then, we use the fact that \(\operatorname{VCdim}(\mathcal{H})<\infty\) to strengthen this necessity proof to UES.

Step 1 (DES is necessary): Fix a finite realizable set \(S\subseteq\mathcal{X}\) and a parameter \(\eta>0\). Suppose \(\mathcal{A}\) is a positive-only learner with sample complexity \(n=m{}_\mathcal{H}(\varepsilon,\delta)\) for \(\varepsilon\ll 1/\left| S \right|\) and \(\delta=\eta/2\). Run \(\mathcal{A}\) on a sample \(S_+\sim U_S^n\), where \(U_S\) is the uniform distribution over \(S\), and let \(\nu\) denote the resulting distribution over outputs. We claim that \(\nu\) is essentially the desired DES witness.

We construct a single hard-instance: Fix any \(x\notin\operatorname{CLOS}_\mathcal{H}(S)\). By definition of the closure, there is some \(\ell_x\in\mathcal{H}_S\) with \(x\notin\ell_x\). Consider the data distribution \(\mathcal{D}_x\) that places half its mass on \(x\) and the remaining half uniformly on \(S\). Under target \(\ell_x\), the positive conditional distribution is exactly \(U_S\), so \(\mathcal{A}\) sees precisely the sample distribution used to define \(\nu\). If \(\mathcal{A}\) outputs a hypothesis containing \(x\), then \(x\) is a false positive of mass \(\frac{1}{2}\), violating the PAC guarantee. Hence \(\nu\left(\left\{h:x\in h\right\}\right)\leq\delta\), which is exactly the DES bound at \(x\). We can apply this for each \(x\notin \operatorname{CLOS}_\mathcal{H}(S)\).

However, there is one caveat: DES requires a distribution supported on \(\mathcal{H}_S\), while \(\nu\) may put mass outside \(\mathcal{H}_S\) (since, e.g., \(\mathcal{A}\) may not be an ERM). We can modify our argument to handle this: if \(\mathcal{A}\) outputs some \(h\notin\mathcal{H}_S\), then \(h\) misses at least one \(s\in S\), creating false-negative error at least \(\frac{1}{2\left| S \right|}>\varepsilon\) under \(\mathcal{D}_x\), so \(\nu(\mathcal{H}\setminus\mathcal{H}_S)\leq\delta\). Reassigning this excess mass to an arbitrary fixed \(h_S\in\mathcal{H}_S\) yields a distribution \(\mu\) supported on \(\mathcal{H}_S\) with \(\Pr_{h\sim\mu}\left(x\in h\right)\leq 2\delta=\eta\) for every exterior \(x\), proving DES. Step 2 (From DES to UES): Upgrading DES to UES is the most technical step of the characterization. Fix \(S\) and let \(\mu\) be the DES distribution over \(\mathcal{H}_S\), with every exterior point having marginal at most \(\eta/2\). For each exterior point \(x\), define the range \(R_x^S=\left\{h\in\mathcal{H}_S:x\in h\right\}\subseteq\mathcal{H}_S\); DES requires exactly that each such range has \(\mu\)-mass at most \(\eta/2\).

The key observation is that the family \(\left\{R_x^S:x\notin\operatorname{CLOS}_\mathcal{H}(S)\right\}\) is a sub-family of the dual class \(\mathcal{H}^\star\), and finite primal VC dimension implies finite dual VC dimension \(d^\star=\operatorname{VCdim}(\mathcal{H}^\star)\). We can therefore apply a uniform-convergence argument to this dual class: sampling \(M(\eta)=O\!\left(d^\star\log\left(\frac{1}{\eta}\right)/\eta\right)\) hypotheses from \(\mu\) ensures, with positive probability, that every range of \(\mu\)-mass at most \(\eta/2\) is hit by at most an \(\eta\)-fraction of the sample. Any such realization yields hypotheses \(h_{S,1},\dots,h_{S,M(\eta)}\in\mathcal{H}_S\) satisfying the UES guarantee, and crucially \(M(\eta)\) depends only on \(\eta\) and \(d^\star\), not on \(S\). Combining the necessity of DES with this DES-to-UES upgrade completes the proof of the characterization.

The role of the dual class here is, in our view, a non-trivial and surprising element of the proof. To our knowledge, this kind of discretization argument has previously surfaced only in the study of sample compression schemes moran2016sample?, a setting that bears no obvious connection to positive-only learning. Yet it is exactly the tool needed to convert the distributional condition DES into the combinatorial condition UES – a connection that, in our view, is far from obvious a priori.

6 Conclusion and Future Work↩︎

The problem of PAC learning from positive-only examples has been studied in many forms, dating back to valiant1984deductive?. While positive-only learning with improper learners is well understood and is even a textbook exercise, our understanding of proper learning from positive-only examples is much less well developed. Indeed, even a characterization of learnability was not known. In this work, we revisit and settle this problem by providing a characterization of concept classes that are properly learnable from positive-only examples ([thm:main]).

Surprisingly, this characterization (along with additional analysis) shows that the landscape of proper positive-only learning is surprisingly rich and, in several concrete ways, quite different from the landscape of the usual PAC learning model (5 [thm:randomness-necessary] [thm:nonuniform-separation] [thm:ERM-separation]). These results were unexpected in the sense that natarajan1987learning?, who studied a much more stringent variant of positive-only learning (where the learner is not allowed to make any false positives), conjectured that imposing this requirement of “no false positives” has no impact on learnability. We refute this conjecture using our characterization (6; also see 1.1).

Our work leaves several directions for proper positive-only learning. First, while we characterize learnability, the exact random-bit complexity remains open. Second, the characterization suggests analogous results for non-uniform learnability and consistency. Third, after identifying which classes are learnable from positive-only examples, it is natural to ask for optimal statistical rates and efficient algorithms.

7 Additional Preliminaries↩︎

In this section, we introduce additional notation and definitions that were omitted from the main body of the paper due to space constraints.

-1em Notations. For a multi-set \(S\), define its domain as the set of distinct elements appearing in \(S\), denoted by \(\mathop{\mathrm{\mathrm{Domain}}}(S) \mathrel{\vcenter{:}}= \{x : x \in S\}\). Furthermore, for a family \(\{(\mathcal{D}_a, \ell_a) \mid a \in A\}\), denote the conditional distributions by \(\mathcal{D}_{+,a} \mathrel{\vcenter{:}}= (\mathcal{D}_a)_+\) and \(\mathcal{D}_{-,a} \mathrel{\vcenter{:}}= (\mathcal{D}_a)_-\). Also, for any finite set \(A\), denote by \(U_A\) the uniform distribution over \(A\).

-1em VC dimension and dual VC. For a concept class \(\mathcal{H}\), and a finite subset of the domain \(S \subseteq \mathcal{X}\), we say that \(S\) is shattered by \(\mathcal{H}\) if for every \(F \subseteq S\) there exists a concept \(h \in \mathcal{H}\) such that \(h \cap S = F\). The VC dimension of \(\mathcal{H}\), denoted by \(\operatorname{VCdim}(\mathcal{H})\), is defined by the largest \(d \in \mathbb{N}\cup 0\) such that there exists a finite set of instances \(S \subseteq \mathcal{X}\) of size \(d\) that is shattered by \(\mathcal{H}\). If no such largest \(d\) exists, we say \(\operatorname{VCdim}(\mathcal{H}) = \infty\). The dual class of \(\mathcal{H}\) is the concept class \(\mathcal{H}^\star\) defined below over the domain \(\mathcal{H}\) \[\mathcal{H}^{\star} \mathrel{\vcenter{:}}= \left\{R_x : x \in \mathcal{X}\right\} \qquad\text{where}\qquad R_x \mathrel{\vcenter{:}}= \left\{h \in \mathcal{H}: x \in h\right\}\,.\] Its VC dimension, \(\operatorname{VCdim}{}\!\left(\mathcal{H}^{\star}\right),\) is called the dual VC dimension of \(\mathcal{H}\). By a classical theorem of Assouad1983?, if \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\), then the dual VC dimension is also finite. In fact, the following quantitative bound holds; see also the discussion in ChaseChornomazHannekeMoranYehudayoff2024?.

Theorem 2 (Assouad1983?). For any concept class \(\mathcal{H}\), \(\operatorname{VCdim}{}\!\left(\mathcal{H}^{\star}\right) < 2^{\operatorname{VCdim}{}\!\left(\mathcal{H}\right)+1}.\)

-1em Non-uniform learning, and consistency. We also consider two weaker notions of proper positive-only learnability. The first is a non-uniform notion, in which the required sample size is allowed to depend on the target concept. The second is consistency, which requires the expected error to vanish in the limit.

We say that a concept class \(\mathcal{H}\) is non-uniformly properly positive-only learnable by a proper learner \(\mathcal{A}\) if there exists a function \(m{}_{\mathcal{H}}: (0,1) \times (0,1) \times \mathcal{H}\mapsto \mathbb{N}\) such that for every distribution \(\mathcal{D}\) over \(\mathcal{X}\), \(\ell \in \mathcal{H}\), \(\varepsilon, \delta \in (0, 1)\), and \(n \geq m{}_{\mathcal{H}}(\varepsilon,\delta, \ell)\), the following is satisfied \[\Pr_{S_+\sim \mathcal{D}_+^n}\left( \operatorname{err}_{\mathcal{D}}\left(\mathcal{A}\left(S_+\right),\ell\right) \leq \varepsilon \right) \geq 1-\delta\,.\]

We say that \(\mathcal{H}\) is properly positive-only consistent, if there exists a proper positive-only learner \(\mathcal{A}\) such that for every distribution \(\mathcal{D}\) over \(\mathcal{X}\) and \(\ell \in \mathcal{H}\), \[\lim_{n \rightarrow \infty} \mathbb{E}_{S_+\sim \mathcal{D}_+^n}\left[ \operatorname{err}_{\mathcal{D}}\left(\mathcal{A}\left(S_+\right),\ell\right)\right] = 0\,.\]

8 Relationships Between Conditions↩︎

In this section, we prove the relationships between the exterior-separation conditions introduced in 3 and a new notion we call finite exterior separability. We first establish the general hierarchy between exact, uniform, distributional, and finite exterior separability. We then use this hierarchy to prove separations between proper and improper positive-only learning, and between proper positive-only learning and the one-sided-error model of natarajan1987learning?. Finally, we show that, under finite VC dimension, distributional exterior separability can be strengthened to uniform exterior separability.

8.1 General Hierarchy of Relationships: Extension of [prop:hierarchy]↩︎

In this section, we prove a slightly stronger version of [prop:hierarchy], which includes finite exterior separability (defined below) as the weakest condition in the hierarchy.

Definition 6 (Finite Exterior Separability). We say that \(\mathcal{H}\) satisfies finite exterior separability* if for every finite nonempty realizable set \(S \subseteq \mathcal{X}\) and every finite set \(F \subseteq \mathcal{X}\setminus \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), there exists \(h \in \mathcal{H}_S\) such that \(h \cap F = \varnothing\).*

propositionexteriorSeparationHierarchyAppendix For every concept class \(\mathcal{H}\), \[\begin{align} \textrm{exact exterior separation} &~~\Longrightarrow~~ \textrm{uniform exterior separability}\\ &~~\Longrightarrow~~ \textrm{distributional exterior separability}\\ &~~\Longrightarrow~~ \textrm{finite exterior separability}\,. \end{align}\] Moreover, the first and third implications are strict.

Proof. If \(\mathcal{H}\) satisfies exact exterior separation, then for every finite nonempty realizable \(S\) we may take the single hypothesis \(h_{S,1}=\operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\); this proves uniform exterior separability with \(M\!\left(\eta\right)=1\) for every \(\eta>0\).

If \(\mathcal{H}\) satisfies uniform exterior separability, fix \(\eta>0\) and write \(M \mathrel{\vcenter{:}}= M\!\left(\eta\right)\) for the bound from Definition [def:ues]. For each finite nonempty realizable \(S\), let \(\mu_{S,\eta}\) be the uniform distribution on the corresponding family \(h_{S,1},\dots,h_{S,M}\). Then for every \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), \[\Pr_{h \sim \mu_{S,\eta}}\left(x \in h\right) = \frac{1}{M} \left| \left\{i : x \in h_{S,i}\right\} \right| \leq \eta\,,\] so distributional exterior separability holds.

Finally, assume distributional exterior separability, fix a finite nonempty realizable \(S\), and let \(F \subseteq \mathcal{X}\setminus \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\) be finite. Choose \(\eta < 1/\left| F \right|\) and let \(\mu_{S,\eta}\) witness Definition [def:des]. Then \[\mathbb{E}_{h \sim \mu_{S,\eta}}\left[\left| h \cap F \right|\right] = \sum_{x \in F} \Pr_{h \sim \mu_{S,\eta}}\left(x \in h\right) \leq \left| F \right|\eta < 1\,.\] Hence some \(h \in \mathcal{H}_S\) satisfies \(\left| h \cap F \right|=0\), proving finite exterior separability. It remains to prove the strictness of the first and third implications. We divide this into the two propositions below.

Proposition 3. There is a concept class \(\mathcal{H}\) which satisfies uniform exterior separability ([def:ues]) but does not satisfy exact exterior separation ([def:ees]).

Proof. Consider the class \[\mathcal{H}_{\mathrm{spr}} \mathrel{\vcenter{:}}= \left\{\left\{1\right\},\left\{2\right\}\right\} \cup \left\{\left\{1,2,i\right\} : i \geq 3\right\}\] on the domain \(\mathbb{N}\). It is not exact exterior separating, since for \(S=\left\{1,2\right\}\) we have \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}\left(S\right)=\left\{1,2\right\}\notin \mathcal{H}_{\mathrm{spr}}\).

We claim that \(\mathcal{H}_{\mathrm{spr}}\) nevertheless satisfies uniform exterior separability. Fix \(\eta>0\) and let \(M \mathrel{\vcenter{:}}= \lceil 1/\eta \rceil\). If \(S=\left\{1,2\right\}\), choose \[h_{S,j} \mathrel{\vcenter{:}}= \left\{1,2,2+j\right\}\,, \qquad j=1,\dots,M\,.\] Every point outside \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}\left(S\right)=\left\{1,2\right\}\) belongs to at most one of these \(M\) hypotheses, so its average frequency is at most \(1/M \leq \eta\).

For every other finite nonempty realizable \(S\), the closure already belongs to the class: for instance, \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}\left(\left\{1\right\}\right)=\left\{1\right\}\), \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}\left(\left\{2\right\}\right)=\left\{2\right\}\), and if \(S\) contains some \(i \geq 3\) together with either \(1\) or \(2\), then \(\mathcal{H}_S\) is a singleton and its unique element is the closure. In all such cases we simply repeat \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}\left(S\right)\) exactly \(M\) times. Thus \(\mathcal{H}_{\mathrm{spr}}\) satisfies uniform exterior separability. ◻

Proposition 4. There is a concept class \(\mathcal{H}\) which satisfies finite exterior separability (6) but does not satisfy distributional exterior separability ([def:des]).

Proof. Consider the class \[\mathcal{H}_{\mathrm{tail}} \mathrel{\vcenter{:}}= \left\{h_a : a \geq 3\right\}\,, \qquad\text{where}\qquad h_a \mathrel{\vcenter{:}}= \left\{1,2\right\} \cup \left\{m \in \mathbb{N}: m \geq a\right\}\,.\] We first check finite exterior separability. Let \(S \subseteq \mathbb{N}\) be finite, nonempty, and realizable. If \(S\) contains some point \(m \geq 3\), then with \(a_0 \mathrel{\vcenter{:}}= \min \left(S \cap \left\{3,4,\dots\right\}\right)\) we have \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{tail}}}\left(S\right)=h_{a_0} \in \mathcal{H}_{\mathrm{tail}}\), so the property is immediate. If \(S \subseteq \left\{1,2\right\}\), then \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{tail}}}\left(S\right)=\left\{1,2\right\}\), and given any finite set \(F \subseteq \mathbb{N}\setminus \left\{1,2\right\}\), choosing \(a>\max F\) yields \(h_a \in \mathcal{H}_S\) with \(h_a \cap F=\varnothing\). Thus \(\mathcal{H}_{\mathrm{tail}}\) satisfies finite exterior separability.

We now show that distributional exterior separability fails. Fix \(S=\left\{1,2\right\}\) and let \(\mu\) be any probability distribution on \(\mathcal{H}_S=\mathcal{H}_{\mathrm{tail}}\). For each \(N \geq 3\), \[\Pr_{h \sim \mu}\left(N \in h\right) = \sum_{a=3}^N \mu\!\left(h_a\right)\,.\] As \(N \to \infty\), the right-hand side increases to \(1\). Hence \[\sup_{N \notin \operatorname{CLOS}_{\mathcal{H}_{\mathrm{tail}}}\left(S\right)} \Pr_{h \sim \mu}\left(N \in h\right) = 1\,,\] so no distribution on \(\mathcal{H}_S\) can make the exterior marginals arbitrarily small. Therefore \(\mathcal{H}_{\mathrm{tail}}\) does not satisfy distributional exterior separability. ◻

 ◻

8.2 Strict Separation between Proper Positive-Only Learning and Other Models↩︎

In this section, we use the hierarchy from the previous subsection to prove two strict separations: first, between proper and improper positive-only learning, and second, between proper positive-only learning and the proper one-sided-error model introduced by natarajan1987learning?.

Theorem 5. There exists a concept class that is improperly positive-only learnable, but not properly positive-only learnable.

Proof. Let \(\mathcal{X}=\{0,1,2\}\) and \(\mathcal{H}=\left\{\{0,1\},\{0,2\}\right\}\). Then \(\mathcal{H}_{\cap} \mathrel{\vcenter{:}}= \left\{\{0\},\{0,1\},\{0,2\}\right\}\). Note that \(\operatorname{VCdim}(\mathcal{H}_{\cap})=1\). Therefore, by 1, \(\mathcal{H}\) is improperly positive-only learnable. However, let \(S=\{0\}\) and \(F=\{1,2\}\). Note that \(F\cap \operatorname{CLOS}_{\mathcal{H}}(S)=F\cap S=\varnothing\), but there is no \(h\in\mathcal{H}\) such that \(S\subseteq h\) and \(h\cap F=\varnothing\). Thus, \(\mathcal{H}\) does not satisfy finite exterior separability (6), and, by [prop:hierarchy-appendix], it does not satisfy uniform exterior separability either ([def:ues]). In [thm:main], we showed that any class that does not satisfy uniform exterior separability is not properly positive-only learnable. ◻

Theorem 6. There exists a concept class \(\mathcal{H}\) that is properly learnable from positive-only examples, but it is not properly learnable with one-sided error (the model proposed by natarajan1987learning?).

Proof of 6. In 3, we introduced a concept class \(\mathcal{H}_{\mathrm{spr}}\) with \(\operatorname{VCdim}(\mathcal{H}_{\mathrm{spr}}) = 1\) that satisfies uniform exterior separability ([def:ues]), but does not satisfy exact exterior separation ([def:ees]). From [thm:random-characterization], this implies that \(\mathcal{H}_{\mathrm{spr}}\) is properly learnable from positive-only examples. However, natarajan1987learning? shows that exact exterior separation is necessary for properly learning with one-sided error. ◻

8.3 Proof of [thm:distributional-implies-uniform]↩︎

In this section, we prove [thm:distributional-implies-uniform]. The main idea is that finite dual VC dimension lets us discretize any distribution witnessing distributional exterior separability into a uniform distribution over finitely many hypotheses, while preserving the exterior-marginal bounds up to constant factors.

We also show that if \(d^\star \mathrel{\vcenter{:}}= \operatorname{VCdim}{}\!\left(\mathcal{H}^\star\right)\), then, in [def:ues], for any \(\eta \in (0,1)\), one may take \[M\!\left(\eta\right) = O\!\left(\frac{d^\star \log\!\left(1/\eta\right)}{\eta}\right)\,.\] We will use the following corollary of standard second-order uniform convergence, which has in the past been used in establishing the existence of sample-compression schemes moran2016sample?.

Corollary 1 (Corollary of second-order uniform convergence for finite-VC classes; cf. Boucheron_Bousquet_Lugosi_2005?). For every concept class \(\mathcal{H}\) over a domain \(\Omega\) with \(\operatorname{VCdim}\!\left(\mathcal{H}\right) \leq d < \infty\), every probability distribution \(\nu\) on \(\Omega\), and each \(\varepsilon\in (0,1)\), there is a multiset \(z_1,\dots,z_M \in \Omega\), with \(M = O\!\left({d\,(\log{\frac{1}{\varepsilon}})}/{\varepsilon}\right),\) such that every \(A \in \mathcal{H}\) satisfies \[\text{if}\qquad \nu(A)\leq \frac{\varepsilon}{2} \qquad\text{then}\qquad \frac{1}{M}\left| \left\{i \in \left\{1,\dots,M\right\} : z_i \in A\right\} \right| \leq \varepsilon\,.\]

Proof of 1. This is an immediate implication of the following (standard) second-order uniform convergence result; cf. Section 5.1.2 in Boucheron_Bousquet_Lugosi_2005?.

Theorem 7. There exists a universal constant \(C>0\) such that for every concept class \(\mathcal{H}\) over a domain \(\Omega\) with \(\operatorname{VCdim}\!\left(\mathcal{H}\right) \leq d < \infty\) the following holds. For every \(\varepsilon,\delta \in (0,1)\), if \(Z_1,\dots,Z_m \sim \nu\) are i.i.d.and \(m \geq C\left(d \log{\frac{1}{\varepsilon}} + \log{\frac{1}{\delta}}\right)/\varepsilon\), then with probability at least \(1-\delta\), every \(A \in \mathcal{H}\) satisfies \[\begin{align} \nu\!\left(A \triangle A^\star\right) &\leq \widehat{\nu}_m\!\left(A \triangle A^\star\right) + \sqrt{\widehat{\nu}_m\!\left(A \triangle A^\star\right)\, \varepsilon} + \varepsilon\,,\\ \widehat{\nu}_m\!\left(A \triangle A^\star\right) &\leq \nu\!\left(A \triangle A^\star\right) + \sqrt{\nu\!\left(A \triangle A^\star\right)\, \varepsilon} + \varepsilon\,, \end{align}\] where \(\widehat{\nu}_m(\cdot)\) is the empirical distribution: \(\widehat{\nu}_m(B) \mathrel{\vcenter{:}}= \frac{1}{m}\left| \left\{i \in \left\{1,\dots,m\right\} : Z_i \in B\right\} \right|\) for each \(B\subseteq\Omega\).

Indeed, let \(\gamma \mathrel{\vcenter{:}}= \frac{\varepsilon}{16}\). Apply the standard second-order uniform-convergence theorem with reference set \(A^\star = \varnothing\) and confidence parameter \(\delta = \frac{1}{2}\). Then for \[m = O\!\left(\frac{d\log{\frac{1}{\gamma}}}{\gamma}\right) = O\!\left(\frac{d\log{\frac{1}{\varepsilon}}}{\varepsilon}\right)\,,\] there exists a realization \(z_1,\dots,z_m\in\Omega\) such that every \(A\in\mathcal{H}\) satisfies \[\frac{1}{m}\left| \left\{i \in \left\{1,\dots,m\right\} : z_i \in A\right\} \right| \leq \nu\left(A\right)+\sqrt{\nu\left(A\right)\gamma}+\gamma\,.\] If now \(\nu\left(A\right)\leq \frac{\varepsilon}{2}\), then \[\frac{1}{m}\left| \left\{i \in \left\{1,\dots,m\right\} : z_i \in A\right\} \right| \leq \frac{\varepsilon}{2} + \sqrt{\frac{\varepsilon}{2}\cdot \frac{\varepsilon}{16}} + \frac{\varepsilon}{16} \leq \varepsilon\,.\] Setting \(M \mathrel{\vcenter{:}}= m\) proves the claim. ◻

Now we are ready to prove [thm:distributional-implies-uniform].

Proof of [thm:distributional-implies-uniform]. Recall that \(d^\star\) is finite by the duality theorem (2). Fix \(0<\eta<1\) and a finite nonempty realizable set \(S \subseteq \mathcal{X}\). By distributional exterior separability ([def:des]), applied with parameter \(\frac{\eta}{2}\), there exists a probability distribution \(\mu\) supported on \(\mathcal{H}_S\) such that \[\sup_{x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)} \Pr_{h \sim \mu}\left(x \in h\right) \leq \frac{\eta}{2}\,.\] For each exterior point \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), define \[R_x^S \mathrel{\vcenter{:}}= \left\{h \in \mathcal{H}_S : x \in h\right\}\,,\] and let \[\mathcal{R}_S \mathrel{\vcenter{:}}= \left\{R_x^S : x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\right\}\,.\] Observe that \(\mathcal{R}_S\) is obtained from \(\mathcal{H}^\star\) by restricting the domain from \(\mathcal{H}\) to \(\mathcal{H}_S\) and then discarding the concepts only containing non-exterior points. Therefore, it follows that \[\operatorname{VCdim}{}\!\left(\mathcal{R}_S\right) \leq \operatorname{VCdim}{}\!\left(\mathcal{H}^\star\right) = d^\star\,.\] Since every set in \(\mathcal{R}_S\) has \(\mu\)-measure at most \(\eta/2\), this is exactly the regime in which the second-order form of uniform convergence is useful. We use 1 to the concept class \(\mathcal{R}_S\) over the domain \(\mathcal{H}_S\), under the probability measure \(\mu\). Since \(\operatorname{VCdim}{}\!\left(\mathcal{R}_S\right)\leq d^\star\), this yields a multiset \[h_{S,1},\dots,h_{S,M\!\left(\eta\right)} \in \mathcal{H}_S \qquad \text{with} \qquad M\!\left(\eta\right) = O\!\left(\frac{d^\star \log{\frac{1}{\eta}}}{\eta}\right)\] such that every \(R \in \mathcal{R}_S\) with \(\mu\left(R\right)\leq \frac{\eta}{2}\) satisfies \[\frac{1}{M\!\left(\eta\right)} \left| \left\{i \in \left\{1,\dots,M\!\left(\eta\right)\right\} : h_{S,i} \in R\right\} \right| \leq \eta\,.\] Now fix any \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\). Since \(R_x^S \in \mathcal{R}_S\) and \(\mu\left(R_x^S\right) = \Pr_{h \sim \mu}\left(x \in h\right) \leq \frac{\eta}{2},\) the above implies \[\frac{1}{M\!\left(\eta\right)} \left| \left\{i \in \left\{1,\dots,M\!\left(\eta\right)\right\} : x \in h_{S,i}\right\} \right| = \frac{1}{M\!\left(\eta\right)} \left| \left\{i : h_{S,i} \in R_x^S\right\} \right| \leq \eta\,.\] Since \(x\) was arbitrary, the family \(h_{S,1},\dots,h_{S,M\!\left(\eta\right)}\) witnesses UES at level \(\eta\). As the bound on \(M\!\left(\eta\right)\) depends only on \(\eta\) and \(d^\star\), this proves UES ([def:ues]). ◻

9 Proof of Main Results↩︎

In this appendix, we prove [thm:random-characterization] [thm:few-random-bits-suffice] [thm:randomness-necessary] from 4.

9.1 Proof of [thm:random-characterization]↩︎

In this section, we prove [thm:random-characterization], which we restate below.

Proof. Observe that in [thm:distributional-implies-uniform] we have proved that under the assumption \(\operatorname{VCdim}(\mathcal{H}) < \infty,\) uniform exterior separability is equivalent to distributional exterior separability ([def:des]). We divide the proof into two parts, one for each direction of the claim.

-1em Part 1 (\(2 \Longrightarrow 1\)): Define the learner \(\mathcal{A}\) for any multi-set \(S_+\in \mathcal{X}^{[*]}\) as \[\mathcal{A}(S_+) \sim \mu_{S_+, \exp(-|S_+|)}\,.\] Fix \(\varepsilon,\delta \in (0,1)\), a distribution \(\mathcal{D}\) over \(\mathcal{X}\) and \(\ell \in \mathcal{H}\). Let \(S_+\sim \mathcal{D}_+^n\), for \(n \in \mathbb{N}\), and write \(d \mathrel{\vcenter{:}}= \operatorname{VCdim}{}\!\left(\mathcal{H}\right)\).

By the standard realizable VC bound applied to the positive distribution \(\mathcal{D}_+\) (see, e.g., BlumerEhrenfeuchtHausslerWarmuth1989?, shalev2014understanding?), there is a universal constant \(C > 0\) such that if \[n \geq \frac{C \left(d \ln{\frac{1}{\varepsilon}} + \ln{\frac{1}{\delta}}\right)}{\varepsilon},\] then with probability at least \(1-\frac{\delta}{2}\) every \(h \in \mathcal{H}\) such that \(\mathop{\mathrm{\mathrm{Domain}}}(S_+) \subseteq h\) satisfies \[\mathcal{D}_+\!\left(\ell \setminus h\right) \leq \frac{\varepsilon}{2}\,.\] Since \(\mathcal{D}\!\left(\ell \setminus h\right) = \mathcal{D}(\ell) \cdot \mathcal{D}_+\!\left(\ell \setminus h\right) \leq \mathcal{D}_+\!\left(\ell \setminus h\right)\), the same event implies \(\mathcal{D}\!\left(\ell \setminus h\right) \leq \frac{\varepsilon}{2}\) for every such \(h\).

Observe that, for every \(y \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S_+\right)\), and \(n \geq \ln \left(\frac{\delta \varepsilon}{4}\right)\) \[\mathbb{E}_{\mathcal{A}}\left[\mathbb{1} \left\{y \in \mathcal{A}(S_+)\right\}\right] \leq \exp(-n) \leq \frac{\varepsilon\delta}{4}\,.\] Because \(\operatorname{CLOS}_{\mathcal{H}}\!\left(S_+\right) \subseteq \ell\), every negative point lies outside the closure, and therefore by the DES property ([def:des]) \[\mathbb{E}_{\mathcal{A}}\left[\mathcal{D}\!\left(\mathcal{A}(S_+) \setminus \ell\right) \right] \leq \frac{\varepsilon\delta}{4}\,.\] Thus, \[\mathbb{E}_{\mathcal{S}_+ \sim \mathcal{D}_+^{n}, \mathcal{A}}\left[\mathcal{D}\!\left(\mathcal{A}(S_+) \setminus \ell\right) \right] \leq \frac{\varepsilon\delta}{4}\,.\] Markov’s inequality gives \[\Pr_{\mathcal{S}_+ \sim \mathcal{D}_+^{n}, \mathcal{A}} \left(\mathcal{D}\!\left(\mathcal{A}(S_+) \setminus \ell\right) > {\varepsilon/2}\right) \leq \frac{\delta}{2}\,.\] Combining this with the bound on false negatives, we obtain \[\Pr_{\mathcal{S}_+ \sim \mathcal{D}_+^{n}, \mathcal{A}}\left(\operatorname{err}_{\mathcal{D}}\!\left(\mathcal{A}(S_+),\ell\right) > \varepsilon\right) \leq \delta\,.\]

-1em Part 2 (\(1 \Longrightarrow 2\)): Fix a finite nonempty realizable set \(S \subseteq \mathcal{X}\) and a parameter \(\eta>0\). If \(\mathcal{X}\setminus \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)=\varnothing\), then any point mass on a concept in \(\mathcal{H}_S\) witnesses distributional exterior separability, so there is nothing to prove. Thus assume \(\mathcal{X}\setminus \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\neq \varnothing\).

If \(\eta \geq 1\), the conclusion is again trivial, so assume \(\eta<1\). Choose and fix one concept \(h_S \in \mathcal{H}_S\). For each \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), choose \(\ell_x \in \mathcal{H}_S\) such that \(x \notin \ell_x\); this is possible by the definition of the closure. Let \[k \mathrel{\vcenter{:}}= \left| S \right|\,, \qquad \varepsilon\mathrel{\vcenter{:}}= \frac{1}{4k}\,, \qquad \delta \mathrel{\vcenter{:}}= \frac{\eta}{2}\,,\] and let \(n \mathrel{\vcenter{:}}= m{}_{\mathcal{H}}\!\left(\varepsilon,\delta\right)\) be the sample complexity of a proper learner \(\mathcal{A}\) at these parameters. Let \(U_S\) denote the uniform distribution on \(S\), and let \(\nu\) be the law of \(\mathcal{A}\left(S_+\right)\) when \[S_+\sim U_S^n\,.\] Fix any exterior point \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), consider distribution \(\mathcal{D}_x\) defined as \[\mathcal{D}_x(x)=\frac{1}{2} \qquad\text{and}\qquad \mathcal{D}_x(s)=\frac{1}{2k}\;\text{ for each } s\in S\,,\] and zero elsewhere. Also let \(\ell_x\) be any concept with \(x \notin \ell_x\) and \(S \subseteq \ell_x\). Observe that since \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\) such \(\ell_x\) always exists. Also, \(\mathcal{D}_{+, S} \mathrel{\vcenter{:}}= U_S\). Hence the learner sees the same sample law \(U_S^n\) for every such \(x\), so its output law is always \(\nu\).

Now, if \(x \in \mathcal{A}\left(S_+\right)\), then \(x\) is a false positive under the target \(\ell_x\), and therefore \[\operatorname{err}_{\mathcal{D}_x}\left(\mathcal{A}\left(S_+\right),\ell_x\right) \geq \mathcal{D}_x(x)=\frac{1}{2}>\varepsilon\,.\] By the PAC guarantee, \[\nu\!\left(\left\{h:x\in h\right\}\right) = \Pr_{S_+\sim U_S^n, \mathcal{A}}\left(x\in \mathcal{A}\left(S_+\right)\right) \leq \delta\,,\] where the probability is over \(S_+\sim U_S^n\) and the learner’s internal randomness. Likewise, if \(\mathcal{A}\left(S_+\right)\notin \mathcal{H}_S\), then it misses some point \(s\in S\), and since \(s\in \ell_x\) and \(\mathcal{D}_x(s)=1/\left(2k\right)>\varepsilon\), this again forces \[\operatorname{err}_{\mathcal{D}_x}\left(\mathcal{A}\left(S_+\right),\ell_x\right)>\varepsilon\,.\] Hence \[\nu\!\left(\mathcal{H}\setminus \mathcal{H}_S\right) = \Pr\left(\mathcal{A}\left(S_+\right)\notin \mathcal{H}_S\right) \leq \delta\,,\] where again the probability is over \(S_+\sim U_S^n\) and over the learner’s internal randomness. Define a probability distribution \(\mu\) on \(\mathcal{H}_S\) by moving all \(\nu\)-mass outside \(\mathcal{H}_S\) onto the single concept \(h_S\): \[\mu(A) \mathrel{\vcenter{:}}= \nu\!\left(A\cap \mathcal{H}_S\right) + \nu\!\left(\mathcal{H}\setminus \mathcal{H}_S\right)\mathbb{1}\left\{h_S\in A\right\}\,, \qquad A\subseteq \mathcal{H}\,.\] Then \(\mu\) is supported on \(\mathcal{H}_S\), and for every \(x \notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)\), \[\Pr_{h\sim\mu}\left(x\in h\right) \leq \nu\!\left(\left\{h:x\in h\right\}\right) + \nu\!\left(\mathcal{H}\setminus \mathcal{H}_S\right) \leq \delta+\delta = \eta\,.\] Thus \(\mu\) witnesses distributional exterior separability for the pair \(\left(S,\eta\right)\). Since \(S\) and \(\eta\) were arbitrary, \(\mathcal{H}\) satisfies distributional exterior separability. ◻

9.2 Proof of [thm:few-random-bits-suffice]↩︎

In this section, we prove [thm:few-random-bits-suffice], which we restate below.

Proof of [thm:few-random-bits-suffice]. Observe that the second item implies the first immediately since a learner using finitely many random bits is a randomized learner. Below we prove the converse.

Assume that \(\mathcal{H}\) is properly PAC learnable from positive-only examples by a randomized learner. Then, due to [thm:random-characterization], \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\) and \(\mathcal{H}\) satisfies distributional exterior separability. Now, applying the quantitative version of [thm:distributional-implies-uniform] from 8.3, implies that for every \(\eta \in (0,1)\) and every finite nonempty realizable set \(S\subseteq \mathcal{X}\), there are hypotheses \(h_{S,1},\dots,h_{S,M\!\left(\eta\right)} \in \mathcal{H}_S\) such that \(M\!\left(\eta\right) = O\!\left( (\frac{\left(d^\star+1\right)}{\eta})\, \cdot\,\log{\frac{1}{\eta}} \right)\) and \[\sup_{x\notin \operatorname{CLOS}_{\mathcal{H}}\!\left(S\right)} \frac{1}{M\!\left(\eta\right)} \left| \left\{ i\in\left\{1,\dots,M\!\left(\eta\right)\right\}: x\in h_{S,i} \right\} \right| \leq \eta\,.\] Fix \(\varepsilon,\delta \in (0,1)\) and set \[\eta \mathrel{\vcenter{:}}= \frac{\varepsilon\delta}{8}\,, \qquad\text{and}\qquad M \mathrel{\vcenter{:}}= M\!\left(\eta\right)\,.\] For every finite nonempty realizable set \(S\), fix a list \(h_{S,1},\dots,h_{S,M} \in \mathcal{H}_S\) at scale \(\eta\) (as above).

-1em Learning Algorithm. Let \(K\) be a power of two satisfying \(M \leq K < 2M .\) The learner uses \(\log_2 K\) random bits to draw a uniform seed \(J \sim U_{\left\{1,\dots,K\right\}} .\) It then converts this seed into an index \(I(J) \mathrel{\vcenter{:}}= 1+\left(J-1 \bmod M\right) \in \left\{1,\dots,M\right\}.\) Thus, for every \(i\in\left\{1,\dots,M\right\}\), \[\Pr\left(I(J)=i\right) \leq \frac{2}{M}\,.\]

Given a positive multiset \(S_+\in\mathcal{X}^{[*]}\), let \(T \mathrel{\vcenter{:}}= \mathop{\mathrm{\mathrm{Domain}}}\!\left(S_+\right)\) be the set of distinct examples in \(S_+\). If \(T\) is empty or is not realizable, the learner outputs an arbitrary fixed concept in \(\mathcal{H}\). Otherwise, the learner outputs \(\mathcal{A}\left(S_+,J\right) \mathrel{\vcenter{:}}= h_{T,I(J)} .\) Observe that this learner is proper, since \(h_{T,I(J)}\in\mathcal{H}\), and it is consistent with the observed positives, since \(h_{T,I(J)}\in\mathcal{H}_T\).

-1em Upper Bound on False Negative Rate. Fix a distribution \(\mathcal{D}\) over \(\mathcal{X}\) and a target concept \(\ell\in\mathcal{H}\), and let \(S_+\sim \mathcal{D}_+^n .\) Write \(d=\operatorname{VCdim}{}\!\left(\mathcal{H}\right)\). By the standard realizable VC bound applied to the positive distribution \(\mathcal{D}_+\), if \(n \gtrsim (\frac{1}{\varepsilon})\cdot (d\log{\frac{1}{\varepsilon}} + \log{\frac{1}{\delta}}),\) then with probability at least \(1-\frac{\delta}{2}\) over \(S_+\), every \(h\in\mathcal{H}\) consistent with \(S_+\) satisfies \(\mathcal{D}_+\!\left(\ell\setminus h\right) \leq \frac{\varepsilon}{2}.\) Since \(\mathcal{D}\!\left(\ell\setminus h\right) = \mathcal{D}\!\left(\ell\right)\, \mathcal{D}_+\!\left(\ell\setminus h\right) \leq \mathcal{D}_+\!\left(\ell\setminus h\right),\) the same event implies \(\mathcal{D}\!\left(\ell\setminus h\right) \leq \frac{\varepsilon}{2}\) for every consistent \(h\in\mathcal{H}\). The learner’s output is always consistent with \(S_+\). Hence, conditioned on this event, \(\mathcal{D}\!\left(\ell\setminus \mathcal{A}\left(S_+,J\right)\right) \leq \frac{\varepsilon}{2}.\)

-1em Upper Bound on False Positive Rate. Condition on the observed multiset \(S_+\), and therefore on \(T=\mathop{\mathrm{\mathrm{Domain}}}\!\left(S_+\right)\). Since \(S_+\) is realizable, \(T\subseteq \ell\), and hence \(\operatorname{CLOS}_{\mathcal{H}}\!\left(T\right) \subseteq \ell .\) Thus every negative point \(x\notin \ell\) satisfies \(x\notin \operatorname{CLOS}_{\mathcal{H}}\!\left(T\right).\) For such an \(x\), the index \(I(J)\) and the UES list satisfy \[\begin{align} \Pr\nolimits_J\!\left(x\in \mathcal{A}\left(S_+,J\right)\right) = \Pr\nolimits_J\!\left(x\in h_{T,I(J)}\right) \leq \frac{2}{M} \left| \left\{ i\in\left\{1,\dots,M\right\}: x\in h_{T,i} \right\} \right| \leq 2\eta\,. \end{align}\] Therefore, \[\begin{align} \mathbb{E}_J~ \left[\mathcal{D}( \mathcal{A}({S_+},J)\setminus \ell ) | {S_+}\right] = \int_{\mathcal{X}\setminus \ell} \Pr\nolimits_J(x\in \mathcal{A}(S_+,J)) \,{\rm d}\mathcal{D}(x) \leq 2\eta \,. \end{align}\]

Next, by Markov’s inequality, \[\Pr_J\!\left( \mathcal{D}\!\left(\mathcal{A}\left(S_+,J\right)\setminus \ell\right) > \frac{\varepsilon}{2} \,\middle|\, S_+ \right) \leq \frac{2\eta}{\varepsilon/2} = \frac{4\eta}{\varepsilon} = \frac{\delta}{2}\,.\] Finally, averaging over \(S_+\) gives \[\Pr_{S_+,J}\!\left( \mathcal{D}\!\left(\mathcal{A}\left(S_+,J\right)\setminus \ell\right) > \frac{\varepsilon}{2} \right) \leq \frac{\delta}{2}\,.\]

-1em Conclusion. Thus, with probability at least \(1-\frac{\delta}{2}\) over the sample, the false-negative mass is at most \(\frac{\varepsilon}{2}\). Also, with probability at least \(1-\frac{\delta}{2}\) over the sample and the learner’s random bits, the false-positive mass is at most \(\frac{\varepsilon}{2}\). A union bound gives that \(\Pr_{S_+,J}\!\left( \operatorname{err}_{\mathcal{D}}\!\left(\mathcal{A}\left(S_+,J\right),\ell\right) > \varepsilon \right) \leq \delta .\) Thus, the learner properly PAC learns \(\mathcal{H}\) from positive-only examples with sample complexity \[m\left(\varepsilon,\delta\right) = O\!\left( \frac{ d\log{\frac{1}{\varepsilon}} + \log{\frac{1}{\delta}} }{\varepsilon} \right) = \widetilde{O}\!\left( \frac{d+\log{\frac{1}{\delta}}}{\varepsilon} \right)\,.\]

It remains to bound the number of random bits. Since \(M = O\!\left( (\frac{(d^\star+1)}{\eta})\cdot (\log{\frac{1}{\eta}}) \right)\) and \(\eta=\frac{\varepsilon\delta}{8},\) \[\log_2 K \leq 1+\log_2 M = \widetilde{O}\!\left( \log{\frac{d^\star+2}{\varepsilon\delta}} \right)\,.\] Finally, by 2, \(d^\star < 2^{d+1}\), it follows that \(r\left(\varepsilon,\delta\right) = \widetilde{O}\!\left( d+\log{\frac{1}{\varepsilon\delta}} \right) .\) ◻

9.3 Proof of [thm:randomness-necessary]↩︎

In this section, we prove [thm:randomness-necessary], which we restate below.

The proof proceeds through a simple obstruction to deterministic proper learning. We first introduce a property called singleton closure, and then show in 8 that every class learnable from positive examples by a deterministic proper learner must satisfy this property. The theorem then follows by constructing a class that satisfies the conditions of [thm:random-characterization], and is therefore learnable from positive-only examples, but violates singleton closure and hence is not learnable by a deterministic learner.

Definition 7 (Singleton closure). A concept class \(\mathcal{H}\) is said to satisfy singleton closure* if for each realizable point \(x \in \mathcal{X}\) (equivalently, for each \(x\) with at least one \(h\in \mathcal{H}\) containing \(x\)), one has \[\operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right) \in \mathcal{H}\,.\]*

Proposition 8 (Singleton closure is necessary). If \(\mathcal{H}\) is properly learnable from positive-only examples by a deterministic learner, then \(\mathcal{H}\) satisfies singleton closure (7).

Proof. Let \(\mathcal{A}\) be a deterministic proper learner such that \(\mathcal{H}\) is properly learnable from positive-only examples by \(\mathcal{A}\). Suppose, toward a contradiction, that \(\operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right) \notin \mathcal{H}\) for some realizable point \(x\), and fix any \(n \in \mathbb{N}\).

Let \(x^n\) denote the multi-set consisting of \(n\) copies of \(x\), and let \(h=\mathcal{A}(x^n)\). We consider two cases.

-1em Case 1: \(x \notin h\). Let \(\ell \in \mathcal{H}\) be any concept such that \(x \in \ell\), and define \(\mathcal{D}=U_{\left\{x\right\}}\). Then \(\mathcal{D}_+=\mathcal{D}\), and the only possible positive sample is \(S_+=x^n\). Hence \(\operatorname{err}_{\mathcal{D}}(h,\ell)=1.\)

-1em Case 2: \(x \in h\). Since \(h\in\mathcal{H}\) and \(x\in h\), we have \(\operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right) \subseteq h .\) Because \(\operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right) \notin \mathcal{H}\), it follows that there exists \(x' \in h \setminus \operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right) .\) By the definition of \(\operatorname{CLOS}_{\mathcal{H}}\!\left(\left\{x\right\}\right)\), there exists a concept \(\ell \in \mathcal{H}\) such that \(x \in \ell\) but \(x' \notin \ell\). Define \(\mathcal{D}=U_{\left\{x,x'\right\}}\). Then \(\mathcal{D}_+=U_{\left\{x\right\}}\), so again the only possible positive sample is \(S_+=x^n\). Moreover, since \(x'\in h\setminus \ell\), \(\operatorname{err}_{\mathcal{D}}(h,\ell) \geq \frac{1}{2}.\)

Thus, for every \(n\), there exists a distribution \(\mathcal{D}\) and a target concept \(\ell\in\mathcal{H}\) such that \[\Pr_{S_+\sim \mathcal{D}_+^n} \left[ \operatorname{err}_{\mathcal{D}}(\mathcal{A}(S_+),\ell) \geq \frac{1}{2} \right] = 1\,.\] This contradicts the assumption that \(\mathcal{H}\) is properly learnable from positive-only examples by \(\mathcal{A}\). ◻

Proof of [thm:randomness-necessary]. Consider concept class \[\mathcal{H}=\left\{\{1, a\} \mid a \in \mathbb{N}\setminus \{1\} \right\},\] over \(\mathcal{X}= \mathbb{N}\). Notice that \(\operatorname{CLOS}_{\mathcal{H}}(\{1\}) = \{1\} \notin \mathcal{H}\). Thus, \(\mathcal{H}\) does not satisfy the singleton closure property. Therefore, it is not properly learnable from positive examples by a deterministic learner.

However, \(\operatorname{VCdim}(\mathcal{H}) = 1\), and similarly to the proof of 3, it is easy to see that \(\mathcal{H}\) satisfies the uniform exterior separability property. Therefore, due to [thm:random-characterization], it is properly learnable from positive examples. ◻

10 Proof of Additional Separation Results↩︎

First, we prove the following two structural results:

  1. First, we prove that exact exterior separation ([def:ees]) is sufficient for deterministic proper learning of VC classes, and

  2. Then, we prove necessary and sufficient conditions for consistency over countable domains.

We then prove the remaining results from 4.

10.1 Exact Exterior Separation is Sufficient for Deterministic Learning↩︎

We begin with proving that exact exterior separability is sufficient for deterministic proper learning, which will be used throughout this appendix.

Lemma 1. Every concept class \(\mathcal{H}\) that satisfies the exact exterior separability property (def [def:ees]) and has \(\operatorname{VCdim}(\mathcal{H}) < \infty\) is properly positive-only learnable.

Proof. Fix any \(\varepsilon, \delta \in (0, 1)\) and distribution \(\mathcal{D}\) over \(\mathcal{X}\) and \(\ell \in \mathcal{H}\). Let the learner be defined as \(\mathcal{A}(S) \mathrel{\vcenter{:}}= \operatorname{CLOS}_{\mathcal{H}}(S)\). Let \(n \geq \frac{d \ln{\frac{1}{\varepsilon}} + \ln{\frac{1}{\delta}}}{\varepsilon}\) and \(S_+\sim \mathcal{D}_+^{n}\).

Observe that \(\operatorname{CLOS}_\mathcal{H}(S_+)\) is an ERM for \(\mathcal{H}\). Thus, we can use standard realizable PAC bounds (see, e.g., BlumerEhrenfeuchtHausslerWarmuth1989?, shalev2014understanding?), and with probability at least \(1 - \delta\), \[\mathcal{D}\left(\ell \setminus \operatorname{CLOS}_\mathcal{H}(S_+)\right) \leq \mathcal{D}_+ \left(\ell \setminus \operatorname{CLOS}_\mathcal{H}(S_+) \right) \leq \varepsilon\,.\] Moreover, due to realizability \(\mathop{\mathrm{\mathrm{Domain}}}(S_+) \subseteq \ell\), and, hence, \(\operatorname{CLOS}_\mathcal{H}(S_+) \subseteq \ell\). Subsequently, \(\mathcal{D}(\operatorname{CLOS}_\mathcal{H}(S_+) \setminus \ell) = 0\). Therefore, with probability \(1 - \delta\), \(\operatorname{err}_\mathcal{D}(\operatorname{CLOS}_\mathcal{H}(S_+), \ell) \leq \varepsilon\). ◻

10.2 Necessary and Sufficient Conditions for Consistency↩︎

We now characterize consistency over countable domains in terms of finite exterior separability. This condition will later be used to separate PAC learnability, non-uniform learnability, and consistency.

Theorem 9 (Conditions for Consistency). The following holds:

  1. No concept class \(\mathcal{H}\) which does not satisfy finite exterior separability (6) is properly positive-only consistent.

  2. Every concept class \(\mathcal{H}\) over countable domain that satisfies finite exterior separability (6) is properly positive-only consistent.

Proof. We divide the proof into two parts corresponding to the two claims.

Part 1 (consistency implies FES).Consider any \(S, F\) that violate finite exterior separability in 6. For any \(x \in F\) define \(\mathcal{D}_x\) as \[\mathcal{D}_x(x) = \frac{1}{2}, \qquad \forall x' \in S: \mathcal{D}_x(x') = \frac{1}{2\left| S \right|}\,,\] and zero elsewhere. Also, let \(\ell_x\) be any concept containing \(S\) that does not contain \(x\); such a concept exists since \(x \notin \operatorname{CLOS}_{\mathcal{H}}(S)\).

Since \(S,F\) violate finite exterior separability, every \(h \in \mathcal{H}\) satisfies at least one of the following two conditions: either (1) \(x_1 \notin h\) for some \(x_1 \in S\), or (2) \(x_2 \in h\) for some \(x_2 \in F\). In case (1), \[\sum_{x \in F} \operatorname{err}_{\mathcal{D}_x} (h, \ell_x) \geq \frac{\left| F \right|}{2\left| S \right|}\,.\] In case (2), \[\sum_{x \in F} \operatorname{err}_{\mathcal{D}_x} (h, \ell_x) \geq \operatorname{err}_{\mathcal{D}_{x_2}}(h, \ell_{x_2}) \geq \frac{1}{2}\,.\] Therefore, for either case \[\frac{\sum_{x \in F} \operatorname{err}_{\mathcal{D}_x} (h, \ell_x)}{\left| F \right|} \geq \frac{1}{2 \max(\left| S \right|, \left| F \right|)}\,.\] This implies that, for every proper positive-only learner \(\mathcal{A}\) and every \(n \in \mathbb{N}\), \[\label{eq:consistency-implies-FES-1} \frac{\sum_{x \in F} \mathbb{E}_{S_+\sim U_{S}^{n}, \mathcal{A}}\left[ \operatorname{err}_{\mathcal{D}_x} (\mathcal{A}(S_+), \ell_x)\right]}{\left| F \right|} \geq \frac{1}{2 \max(\left| S \right|, \left| F \right|)}\,.\tag{1}\]

Now for the sake of contradiction, assume that \(\mathcal{H}\) is properly positive-only consistent. Therefore, there exists a proper learner \(\mathcal{A}\) such that for every \(x \in F\), \[\lim_{n\to\infty} \mathbb{E}_{S_+\sim U_S^n,\mathcal{A}}\left[ \operatorname{err}_{\mathcal{D}_x}(\mathcal{A}(S_+),\ell_x) \right] = 0\,.\] Since \(F\) is finite, this would imply \[\lim_{n\to\infty} \frac{ \sum_{x \in F} \mathbb{E}_{S_+\sim U_S^n,\mathcal{A}}\left[ \operatorname{err}_{\mathcal{D}_x}(\mathcal{A}(S_+),\ell_x) \right] }{\left| F \right|} = 0\,,\] contradicting 1 . Therefore, \(\mathcal{H}\) is not properly positive-only consistent, which completes the proof of the first part.

-1em Part 2 (FES over countable domain implies consistency). Fix an enumeration \(\mathcal{X}=\left\{x_1,x_2,\dots\right\}\) and write \(X_m=\left\{x_1,\dots,x_m\right\}\). Define the learner \(\mathcal{A}\) as follows. Given a realizable sample \(S_+\), choose \(\mathcal{A}(S_+)\in\mathcal{H}_{\mathop{\mathrm{\mathrm{Domain}}}(S_+)}\) such that \(\mathcal{A}(S_+)\cap\left(X_{|S_+|}\setminus \operatorname{CLOS}_{\mathcal{H}}(S_+)\right)=\varnothing\). Such a concept exists by finite exterior separability, applied to \(S=\mathop{\mathrm{\mathrm{Domain}}}(S_+)\) and \(F=X_{|S_+|}\setminus \operatorname{CLOS}_{\mathcal{H}}(S_+)\).

Consider any distribution \(\mathcal{D}\) over \(\mathcal{X}\) and any \(\ell \in \mathcal{H}\). Since \(\mathcal{X}\) is countable, there exists \(n_{\mathcal{D}}(\varepsilon)\in\mathbb{N}\) such that \[\mathcal{D}\left(\mathcal{X}\setminus X_{n_{\mathcal{D}}(\varepsilon)}\right) \leq \frac{\varepsilon}{2}\,.\] Now fix any \(n \geq n_{\mathcal{D}}(\varepsilon)\) and any multi-set \(S_+\in \mathcal{X}^n\). By construction, \(\mathcal{A}(S_+)\) has no false positives on \(X_{n_{\mathcal{D}}(\varepsilon)} \setminus \operatorname{CLOS}_{\mathcal{H}}(S_+)\), and since \(\operatorname{CLOS}_{\mathcal{H}}(S_+)\subseteq \ell\), it has no false positives on \(X_{n_{\mathcal{D}}(\varepsilon)}\). Therefore, \[\label{eq:const-char-decompose} \begin{align} \operatorname{err}_{\mathcal{D}}(\mathcal{A}(S_+), \ell) & \leq \mathcal{D}(\ell \cap X_{n_{\mathcal{D}}(\varepsilon)} \setminus \mathcal{A}(S_+)) + \mathcal{D}(\mathcal{X}\setminus X_{n_{\mathcal{D}}(\varepsilon)}) \\ & \leq \mathcal{D}(\ell \cap X_{n_{\mathcal{D}}(\varepsilon)} \setminus \mathcal{A}(S_+)) + \frac{\varepsilon}{2}\,. \end{align}\tag{2}\] Let \(\mathcal{H}' = \left\{h \cap X_{n_{\mathcal{D}}(\varepsilon)} \mid h \in \mathcal{H}\right\}\). By definition \(\operatorname{VCdim}(\mathcal{H}') \leq n_{\mathcal{D}}(\varepsilon)\). Applying the standard realizable PAC bound to \(\mathcal{H}'\) and distribution \(\mathcal{D}_+\), for \(n \gtrsim \frac{1}{\varepsilon}\cdot \left(n_{\mathcal{D}}(\varepsilon) \ln{\frac{1}{\varepsilon}}\right)\), \[\mathbb{E}_{S_+\sim \mathcal{D}_+^{n}}\left[\mathcal{D}(\ell \cap X_{n_{\mathcal{D}}(\varepsilon)} \setminus \mathcal{A}(S_+))\right] \leq \varepsilon/2\,.\] Combining with this implies \(\mathbb{E}_{S_+\sim \mathcal{D}_+^{n}}\left[\operatorname{err}_{\mathcal{D}}(\mathcal{A}(S_+), \ell)\right] \leq \varepsilon.\) Therefore, \[\lim_{n \to \infty} \mathbb{E}_{S_+\sim \mathcal{D}_+^{n}}\left[\operatorname{err}_{\mathcal{D}}(\mathcal{A}(S_+), \ell)\right] = 0\,.\qedhere{}\] ◻

Recall that in 5 we presented a concept class that is improperly positive-only learnable, but does not satisfy finite exterior separability. By 9, we immediately obtain the following corollary.

Corollary 2. There exists a concept class that is improperly positive-only learnable, but not properly positive-only consistent.

10.3 Proof of [thm:ERM-separation]↩︎

In this section, we prove [thm:ERM-separation], which we restate below. We begin with an anti-concentration lemma, 2, which allows us to bound the largest probability of observing any fixed multi-set under \(Q^n\) in terms of the largest atom of \(Q\). This lemma follows from a theorem of ushakov1986upper?.

Theorem 10 (Theorem 3 of ushakov1986upper?). Let \(X_1, \dots, X_n\) be independent random variables over domain \(\Omega\). For each \(i \in [n]\), define \[p_i \mathrel{\vcenter{:}}= \sup_{\omega \in \Omega} \Pr[X_i = \omega]\,.\] Then there exists a universal constant \(C > 1\) such that \[\sup_{\omega \in \Omega} \Pr\!\left[\sum_{i=1}^n X_i = \omega \right] \le \sqrt{\frac{C}{\sum_{i=1}^n (1 - p_i)}}\,.\]

Lemma 2. Let \(\gamma \in (0,1)\), let \(n > 0\), and let \(Q\) be a distribution over a domain \(\Omega\) satisfying \(Q(\omega) \leq 1 - \gamma\). Then, for a universal constant \(C > 1\) we have \[\sup_{S \in \Omega^n} \Pr_{S' \sim Q^{n}}[S = S'] \leq \sqrt{\frac{C}{ n \gamma }}\,.\]

Proof of 2. Let \(x_1,\dots,x_n\) be i.i.d.from \(Q\), and let \(N = (N_\omega)_{\omega \in \Omega}\) be the random histogram, where \(N_\omega = \sum_{i=1}^n \mathbb{1}\{x_i = \omega\}.\) Then \(N\) completely determines the sampled multiset. So for any fixed multiset \(S \in \Omega^n\), if \(m(S)\) denotes its multiplicity vector, then \[\Pr_{S' \sim Q^n}[S' = S \text{ as multisets}] = \Pr[N = m(S)]\,.\]

Now define, for each \(i\), \(Y_i = e_{x_i}\), where \(e_\omega\) is the unit vector at coordinate \(\omega\). Then \(N = \sum_{i=1}^n Y_i\,.\) So the probability of any fixed multiset is exactly a point mass of the sum of independent random vectors \(Y_1,\dots,Y_n\).

For each \(i\), the distribution of \(Y_i\) has maximal atom \[\sup_{y} \Pr[Y_i = y] = \sup_{\omega \in \Omega} Q(\omega) \leq 1 - \gamma\,.\] Hence \[1 - \sup_y \Pr[Y_i = y] \geq \gamma \qquad \text{for every } i\,.\] Now apply Theorem 10, for independent random vectors \(Y_1,\dots,Y_n\), \[\sup_x \Pr\!\left[\sum_{i=1}^n Y_i = x\right] \le \sqrt{\frac{C}{\sum_{i=1}^n \bigl(1 - \sup_y \Pr[Y_i = y]\bigr)}}\,.\] Therefore, \[\sup_x \Pr[N = x] \le \sqrt{\frac{C}{\sum_{i=1}^n \gamma}} = \sqrt{\frac{C}{n\gamma}}\,.\qedhere{}\] ◻

The key idea of the proof is as follows. Consider the class \(\mathcal{H}_{\mathrm{spr}}\) used in the separation (see 3 ). \(\mathcal{H}_{\mathrm{spr}}\) is almost closed under intersections: the only positive samples \(S_+\in \mathcal{X}^n\) for which \(\operatorname{CLOS}_{\mathcal{H}_{\mathrm{spr}}}(S_+) \notin \mathcal{H}_{\mathrm{spr}}\) are those whose domain is exactly \(\{1,2\}\). Thus, all other samples can be handled in a straightforward way by outputting the corresponding closure.

The main difficulty is therefore the case in which the learner observes a sample supported only on \(\{1,2\}\). This event has non-negligible probability only when the target is of the form \(\{1,2,i^\star\}\), for some \(i^\star \in \mathbb{N}\setminus\{1,2\}\), and the positive mass of \(i^\star\) is small. In this regime, the learner uses the empirical imbalance between the number of \(1\)’s and \(2\)’s to decide what to output: it returns \(\{1\}\) if the number of \(2\)’s is very small, returns \(\{2\}\) if the number of \(1\)’s is very small, and otherwise returns a hypothesis of the form \(\{1,2,o(S_+)\}\), where \(o(S_+)\) is determined by the observed multiplicity of \(1\)’s.

The analysis then splits according to the masses of \(1\) and \(2\) under \(\mathcal{D}_+\). If one of these masses is small, the learner outputs the corresponding singleton with high probability, and the resulting error is small because the omitted point has small marginal mass. On the other hand, if both \(\mathcal{D}_+(1)\) and \(\mathcal{D}_+(2)\) are at least on the order of \(1/\sqrt n\), then 2 implies that the probability of observing any fixed multi-set is small. Consequently, the index \(o(S_+)\) selected by the learner cannot have large marginal probability with significant chance, so the error of \(\{1,2,o(S_+)\}\) is small. This proves that the specially designed deterministic learner succeeds.

The second part of the proof shows that no deterministic proper ERM learner can learn this class.

Now, we are ready to prove [thm:ERM-separation].

Proof of [thm:ERM-separation]. Recall the concept class defined in 3 \[\label{eq:ERM-separation-conceptclass} \mathcal{H}_{\mathrm{spr}} \mathrel{\vcenter{:}}= \left\{\left\{1\right\},\left\{2\right\}\right\} \cup \left\{\left\{1,2,i\right\} : i \geq 3\right\}\,.\tag{3}\]

-1em Part 1 (Learnability by deterministic learners). We first show that there exists a deterministic proper learner \(\mathcal{A}\) such that \(\mathcal{H}_{\mathrm{spr}}\) is proper positive-only learnable by \(\mathcal{A}\).

For every \(n \geq 9\) and multi-set \(S_+\in \mathcal{X}^{n}\), let \(o(S_+)\) denote the number of repetitions of \(1\) in \(S_+\). Consider the learning algorithm \(\mathcal{A}\) defined as follows \[\mathcal{A}(S_+) = \begin{cases} \{1, 2, i\} & \text{if } i \in S_+\setminus \{1, 2\} \\ \{1\} & o(S_+) \geq n - \sqrt{n}\\ \{2\} & o(S_+) \leq \sqrt{n}\\ \{1, 2, o(S_+) \} & \text{o.w.} \end{cases}\] For samples of size less than \(9\), define \(\mathcal{A}\) arbitrarily as any concept in \(\mathcal{H}_{\mathrm{spr}}\). Note that \(\mathcal{A}\) is proper and deterministic by definition. Consider any \(\varepsilon, \delta \in (0, 1)\), distribution \(\mathcal{D}\) over \(\mathcal{X}\), \(\ell \in \mathcal{H}_{\mathrm{spr}}\) and \(n \geq \left(\frac{16C}{\varepsilon\delta}\right)^4\) where \(C\) is the universal constant in 2. We prove that \[\Pr_{S_+\sim \mathcal{D}_+^{n}} \left[\operatorname{err}_{\mathcal{D}}(\mathcal{A}\left(S_+\right), \ell) \geq \varepsilon\right] \leq \delta\,.\] We prove the claim for 3 distinct cases of \(\mathcal{D}\) and \(\ell\).

-1em Case 1: \(\ell=\{1\}\) or \(\ell=\{2\}\). Then the learner receives a sample consisting only of the corresponding point. If \(\ell=\{1\}\), then \(o(S_+)=n\) and \(\mathcal{A}(S_+)=\{1\}\); if \(\ell=\{2\}\), then \(o(S_+)=0\) and \(\mathcal{A}(S_+)=\{2\}\). In both cases, the error is zero.

-1em Case 2: \(\ell = \{1, 2, i^\star\}\) and \(\mathcal{D}_+ (i^\star) > \frac{\varepsilon}{4}\) for some \(i^\star \in \mathbb{N}\setminus \{1, 2\}\). Since \(n > \frac{4\ln(1 / \delta)}{\varepsilon}\), we have \[\Pr[ i^\star \notin S_+] < (1 - \varepsilon/4)^{n} \leq e^{- {n} \varepsilon/ 4} \leq \delta\,.\] Thus, with probability at least \(1-\delta\), the sample contains \(i^\star\), and \(\mathcal{A}\) outputs \(\{1,2,i^\star\}\). On this event the error is zero.

-1em Case 3: \(\ell = \{1, 2, i^\star\}\) and \(\mathcal{D}_+ (i^\star) \leq \frac{\varepsilon}{4}\) for some \(i^\star \in \mathbb{N}\setminus \{1, 2\}\). Since \(\ell = \{1, 2, i^*\}\), the false negative rate of \(\mathcal{A}\) is \[\label{eq:thm:proper-intersect-closed-learnable-fn} \begin{align} \mathcal{D}(\ell \setminus \mathcal{A}\left(S_+\right)) & = \mathcal{D}(1) \, \mathbb{1}[\mathcal{A}(S_+)(1) = 0] + \mathcal{D}(2) \, \mathbb{1}[\mathcal{A}(S_+)(2) = 0] + \mathcal{D}(i^*) \mathbb{1}[\mathcal{A}(S_+)(i^\star) = 0] \\ & \leq \mathcal{D}_+(1) \, \mathbb{1}[\mathcal{A}(S_+)(1) = 0] + \mathcal{D}_+(2) \, \mathbb{1}[\mathcal{A}(S_+)(2) = 0] + \varepsilon/ 4\,. \end{align}\tag{4}\]

Then, we divide case 3 into two cases depending on values \(\mathcal{D}_+(1)\) and \(\mathcal{D}_+(2)\).

-1em Case 3.1: \(\mathcal{D}_+(1)\leq \frac{1}{2 \sqrt {n}}\) or \(\mathcal{D}_+(2) \leq \frac{1}{2 \sqrt {n}}\). Without loss of generality assume \(\mathcal{D}_+(1)\leq \frac{1}{2 \sqrt {n}}\). Then, using multiplicative Chernoff bound, since \({n} > \left(\frac{6 \ln{\frac{1}{\delta}}}{\varepsilon}\right)^2\) we have \[\Pr[o(S_+) > \sqrt{{n}}] \leq e^{-{\sqrt{{n}}/6}} \leq \delta\,.\] Thus, with probability at least \(1 - \delta\), \(\mathcal{A}(S_+)\) is either \(\{2\}\) or \(\{1, 2, i^\star\}\). In the latter case the error is zero. In the former case, 4 implies \[\operatorname{err}_\mathcal{D}(\mathcal{A}(S_+), \ell) = \mathcal{D}(\ell \setminus \mathcal{A}(S_+)) \leq \mathcal{D}_+(1)+ \frac{\varepsilon}{4} \leq \frac{1}{2 \sqrt{{n}}} + \frac{\varepsilon}{4}.\] Therefore, since \({n} > \left(\frac{2}{3 \varepsilon}\right)^2\) we have \(\operatorname{err}_\mathcal{D}(\mathcal{A}(S_+), \ell) \leq \varepsilon\).

-1em Case 3.2: \(\mathcal{D}_+(1), \mathcal{D}_+(2) > \frac{1}{2 \sqrt {n}}\). First suppose \(\mathcal{D}_+(1)\leq \frac{2}{\sqrt {n}}\). Using \({n} \geq \left(\frac{8}{\varepsilon}\right)^2\), we get \[\label{eq:thm:proper-intersect-closed-learnable-bound1} \mathcal{D}_+(1)\mathbb{1}[\mathcal{A}(S_+)(1) = 0] \leq \frac{2}{\sqrt {n}} \leq \frac{\varepsilon}{4}\,.\tag{5}\] Otherwise, \(\mathcal{D}_+(1)>\frac{2}{\sqrt n}\). Since \({n} \geq \left(\frac{4 \ln(4 / \delta)}{\varepsilon}\right)^2\), another multiplicative Chernoff bound gives \[\Pr[o(S_+) \leq \sqrt{{n}}] \leq e^{-{\sqrt{{n}}/4}} \leq \frac{\delta}{4}\,.\] Thus, with probability at least \(1 - \frac{\delta}{4}\) we have \(\mathcal{A}(S_+)(1) = 1\), and subsequently \[\mathcal{D}_+(1)\mathbb{1}[\mathcal{A}(S_+)(1) = 0] = 0\,.\] Combining this with , shows that, regardless of the value of \(\mathcal{D}_+(1)\), with probability \(1-\frac{\delta}{4}\), \[\mathcal{D}_+(1)\mathbb{1}[\mathcal{A}(S_+)(1) = 0] \leq \varepsilon/ 4\,.\] Similarly, with probability at least \(1-\frac{\delta}{4}\), \(\mathcal{D}_+(2) \mathbb{1}[\mathcal{A}(S_+)(2) = 0] \leq \varepsilon/ 4\).

Combining these two bounds with a union bound and , we get that, with probability at least \(1-\frac{\delta}{2}\), the false-negative rate is bounded by \[\label{eq:thm:proper-intersect-closed-learnable-bound-fn} \mathcal{D}(\ell \setminus \mathcal{A}(S_+)) \leq \frac{3\varepsilon}{4}\,.\tag{6}\] It remains to bound the false-positive rate. For every \(k \in \{0, 1, \ldots , n\}\), let \(S_k\) denote the multi-set consisting of \(k\) copies of \(1\) and \(n-k\) copies of \(2\). By the definition of \(\mathcal{A}\), since \(n\geq 9\), \[\label{eq:thm:proper-intersect-closed-learnable-fp} \begin{align} \mathcal{D}(\mathcal{A}(S_+) \setminus \ell) = \sum_{k \in \mathbb{N}\setminus \ell} \mathcal{D}(k) \mathbb{1} \left[\mathcal{A}(S_+)\left(k\right) = 1\right] = \sum_{\sqrt{n} \leq k \leq n - \sqrt{n}, k \neq i^\star} \mathcal{D}(k) \mathbb{1} \left[S_+= S_k\right]\,. \end{align}\tag{7}\]

Since \(\mathcal{D}_+(1),\mathcal{D}_+(2)>\frac{1}{2\sqrt n}\), we have \(\sup_{k\in\mathbb{N}}\mathcal{D}_+(k)<1-\frac{1}{2\sqrt n}\). By 2, and since \(n\geq \left(\frac{16C}{\varepsilon\delta}\right)^4\), for every multi-set \(S\) we have \[\Pr_{S_+\sim\mathcal{D}_+^n}[S_+=S] \leq \sqrt{\frac{2C}{\sqrt n}} \leq \frac{\varepsilon\delta}{8}\,.\] Combining this with , we get \[\begin{align} \mathbb{E}\left[\mathcal{D}(\mathcal{A}(S_+)\setminus\ell)\right] &\leq \sum_{\sqrt n \leq k \leq n-\sqrt n,\;k\neq i^\star} \mathcal{D}(k)\Pr[S_+=S_k] \leq \frac{\varepsilon\delta}{8} \sum_{\sqrt n \leq k \leq n-\sqrt n,\;k\neq i^\star} \mathcal{D}(k) \leq \frac{\varepsilon\delta}{8}\,. \end{align}\] Therefore, by Markov’s inequality, \(\Pr[\mathcal{D}(\mathcal{A}(S_+)\setminus\ell)>\varepsilon/4]\leq \delta/2.\) Combining this with 6 shows that \(\Pr_{S_+\sim\mathcal{D}_+^n}[\operatorname{err}_{\mathcal{D}}(\mathcal{A}(S_+),\ell)>\varepsilon]\leq \delta\), completing the proof of learnability by deterministic learners.

-1em Part 2 (Non-learnability by deterministic ERM learners). We then prove that \(\mathcal{H}_{\mathrm{spr}}\) is not properly positive-only learnable by any deterministic ERM proper learner \(\mathcal{A}\). Fix any \(n \geq 2\). For any \(a \in \mathbb{N}\setminus \{1,2\}\), define the pair \((\mathcal{D}_a,\ell_a)\) as follows: \[\ell_a=\left\{1,2,a+1\right\}, \quad \mathcal{D}_a(1)=\frac{1}{2n}, \quad \mathcal{D}_a(2)=\frac{n-1}{2n}, \quad \mathcal{D}_a(a)=\frac{1}{2}\,,\] where \(\mathcal{D}_a\) is zero elsewhere. Let \(S\) be a multi-set with exactly one copy of \(1\) and \(n-1\) copies of \(2\). Since \(\mathcal{A}\) is an ERM learner, we have \(\mathop{\mathrm{\mathrm{Domain}}}(S)\subseteq \mathcal{A}(S)\). Thus, \(\mathcal{A}(S)=\{1,2,a^\star\}\) for some \(a^\star\in\mathbb{N}\setminus\{1,2\}\). Furthermore, under the target \(\ell_{a^\star}=\left\{1,2,a^\star+1\right\}\), the point \(a^\star\) is negative and has \(\mathcal{D}_{a^\star}\)-mass \(1/2\). Hence, \[\operatorname{err}_{\mathcal{D}_{a^\star}}\left(\mathcal{A}(S),\ell_{a^\star}\right)=\frac{1}{2}\,.\] In addition, under \(\mathcal{D}_{+,a^\star}\), the mass of \(1\) is \(1/n\) and the mass of \(2\) is \((n-1)/n\). Therefore, \[\Pr_{S_+\sim \mathcal{D}_{+,a^\star}^n}[S_+=S] \geq n\cdot \frac{1}{n}\left(\frac{n-1}{n}\right)^{n-1} > \left(\frac{n-1}{n}\right)^n \geq \frac{1}{4}\,.\] Consequently, \[\Pr_{S_+\sim \mathcal{D}^{n}_{+,a^\star}}\left[\operatorname{err}_{\mathcal{D}_{a^\star}}\left(\mathcal{A}(S_+),\ell_{a^\star}\right) \geq \frac{1}{2}\right] \geq \frac{1}{4}\,.\] Thus, \(\mathcal{H}_{\mathrm{spr}}\) is not properly positive-only learnable by \(\mathcal{A}\). ◻

10.4 Proof of [thm:nonuniform-separation]↩︎

In this section, we prove [thm:nonuniform-separation], which we restate below.

Proof. We divide the proof into two parts corresponding to the two claims.

-1em Part 1 (Separation of consistency and non-uniform learnability). Consider the concept class \[\mathcal{H}_{\mathrm{bin}} \mathrel{\vcenter{:}}= \{ h_a \mid a \geq 3 \}\,, \qquad h_a \mathrel{\vcenter{:}}= \{1,2,a,a+2,a+4,\ldots\}\,.\] Observe that \(\operatorname{VCdim}(\mathcal{H}_{\mathrm{bin}})=1\). We first show that \(\mathcal{H}_{\mathrm{bin}}\) satisfies the finite exterior separability property. Consider any finite-sized \(S \subseteq \mathbb{N}\) that is realized by \(\mathcal{H}_{\mathrm{bin}}\), and any \(F \subseteq \mathbb{N}\setminus \operatorname{CLOS}_{\mathcal{H}_{\mathrm{bin}}}(S)\). We consider two cases for \(S\), and in each case we show that there exists \(h \in \mathcal{H}_{\mathrm{bin}}\) such that \(\mathop{\mathrm{\mathrm{Domain}}}(S) \subseteq h\), but \(F \cap h = \varnothing\).

Case 1: There exists some \(a \geq 3\) such that \(a \in \mathop{\mathrm{\mathrm{Domain}}}(S)\). Denote \[t = \min(\mathop{\mathrm{\mathrm{Domain}}}(S)\setminus \{1,2\})\,.\] It is easy to see that \(h_t = \operatorname{CLOS}_{\mathcal{H}_{\mathrm{bin}}}(S).\) Thus, since \(F \subseteq \mathbb{N}\setminus \operatorname{CLOS}_{\mathcal{H}_{\mathrm{bin}}}(S)\), we have \(h_t \cap F = \varnothing\). Moreover, by the definition of the closure, \(\mathop{\mathrm{\mathrm{Domain}}}(S) \subseteq h_t\).

Case 2: \(\mathop{\mathrm{\mathrm{Domain}}}(S) \subseteq \{1,2\}\). If \(F=\varnothing\), then any \(h \in \mathcal{H}_{\mathrm{bin}}\) satisfies the desired condition. Otherwise, choose \(r \geq 3\) such that \(r > \max(F).\) Then \(\mathop{\mathrm{\mathrm{Domain}}}(S) \subseteq \{1,2\} \subseteq h_r\). Moreover, since \(r > \max(F)\), no element of \(F\) belongs to the tail \(\{r,r+2,r+4,\ldots\}\) of \(h_r\). Also, since \(\{1,2\} \subseteq \operatorname{CLOS}_{\mathcal{H}_{\mathrm{bin}}}(S)\), we have \(\{1,2\} \cap F = \varnothing\). Therefore, \(h_r \cap F = \varnothing\).

Combining these two cases, we conclude that \(\mathcal{H}_{\mathrm{bin}}\) satisfies finite exterior separability. By 9, \(\mathcal{H}_{\mathrm{bin}}\) is proper positive-only consistent. It remains to prove that \(\mathcal{H}_{\mathrm{bin}}\) is not non-uniformly proper positive-only learnable.

For any \(a \geq 3\), define the pair \((\mathcal{D}_a,\ell_a)\) as follows: \[\ell_a = h_{3+(a \bmod 2)}, \qquad \mathcal{D}_a(1)=\mathcal{D}_a(2)=\frac{1}{4}, \qquad \mathcal{D}_a(a)=\frac{1}{2}\,,\] where \(\mathcal{D}_a\) is zero elsewhere. Notice that \(\mathcal{D}_{a,+} = U_{\{1,2\}}.\) Indeed, by the definition of \(\ell_a\), the point \(a\) is not labeled positive by \(\ell_a\), while both \(1\) and \(2\) are labeled positive.

For the sake of contradiction, suppose that \(\mathcal{H}_{\mathrm{bin}}\) is non-uniformly proper positive-only learnable by a proper learner \(\mathcal{A}\). Consider any \[n \geq \max \left\{ m{}_{\mathcal{H}_{\mathrm{bin}}}\left(\frac{1}{4},\frac{1}{4},h_3\right)\,, m{}_{\mathcal{H}_{\mathrm{bin}}}\left(\frac{1}{4},\frac{1}{4},h_4\right) \right\}\,.\] We now show that for any fixed \(S_+\in \{1,2\}^n\), \[\lim_{a \to \infty} \Pr_{\mathcal{A}} \left[ a \in \mathcal{A}(S_+) \text{ or } a+1 \in \mathcal{A}(S_+) \right] =1\,.\] Since \(\mathcal{A}\) is proper, for every fixed \(S_+\in \{1,2\}^n\), there exists an \(\mathbb{N}_{\geq 3}\)-valued random variable \(B_{S_+}\) such that \(\mathcal{A}(S_+)=h_{B_{S_+}}.\) For every realization \(B_{S_+}=b\), if \(a \geq b\), then exactly one of \(a\) and \(a+1\) belongs to \(h_b\), because \(a\) and \(a+1\) have opposite parity and \(h_b\) contains all sufficiently large numbers with the same parity as \(b\). Therefore, \[\{B_{S_+} \leq a\} \subseteq \left\{ a \in \mathcal{A}(S_+) \text{ or } a+1 \in \mathcal{A}(S_+) \right\}\,.\] Since \(B_{S_+}\) is natural-number-valued, we have \(\lim_{a \to \infty} \Pr[B_{S_+} \leq a] = 1.\) Hence, \[\lim_{a \to \infty} \Pr_{\mathcal{A}} \left[ a \in \mathcal{A}(S_+) \text{ or } a+1 \in \mathcal{A}(S_+) \right] =1\,.\] Since \(\{1,2\}^n\) is finite, averaging over \(S_+\sim U_{\{1,2\}}^n\) gives \[\lim_{a \to \infty} \Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ a \in \mathcal{A}(S_+) \text{ or } a+1 \in \mathcal{A}(S_+) \right] =1\,.\]

Now observe that the event \(a \in \mathcal{A}(S_+)\) implies \[\operatorname{err}_{\mathcal{D}_a}\left(\mathcal{A}(S_+),\ell_a\right) \geq \frac{1}{2}\,,\] because \(\mathcal{D}_a\) assigns mass \(\frac{1}{2}\) to \(a\), and \(a \notin \ell_a\). Similarly, the event \(a+1 \in \mathcal{A}(S_+)\) implies \[\operatorname{err}_{\mathcal{D}_{a+1}}\left(\mathcal{A}(S_+),\ell_{a+1}\right) \geq \frac{1}{2}\,.\] Therefore, \[\lim_{a \to \infty} \Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_a}\left(\mathcal{A}(S_+),\ell_a\right) + \operatorname{err}_{\mathcal{D}_{a+1}}\left(\mathcal{A}(S_+),\ell_{a+1}\right) \geq \frac{1}{2} \right] =1\,.\] Consequently, there exists \(a^\star \in \mathbb{N}\) such that \[\Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_{a^\star}}\left(\mathcal{A}(S_+),\ell_{a^\star}\right) + \operatorname{err}_{\mathcal{D}_{a^\star+1}}\left(\mathcal{A}(S_+),\ell_{a^\star+1}\right) \geq \frac{1}{2} \right] > \frac{1}{2}\,.\] Using a union bound we get \[\Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_{a^\star}}\left(\mathcal{A}(S_+),\ell_{a^\star}\right) \geq \frac{1}{4} \right] + \Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_{a^\star+1}}\left(\mathcal{A}(S_+),\ell_{a^\star+1}\right) \geq \frac{1}{4} \right] > \frac{1}{2}\,.\] Thus, for some \(b \in \{a^\star,a^\star+1\}\), we have \[\Pr_{S_+\sim U_{\{1,2\}}^n,\,\mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_b}\left(\mathcal{A}(S_+),\ell_b\right) \geq \frac{1}{4} \right] > \frac{1}{4}\,.\] By definition, \(\ell_b \in \{h_3,h_4\}\), and as observed above, \(\mathcal{D}_{b,+}=U_{\{1,2\}}\). This contradicts \[n \geq \max \left\{ m{}_{\mathcal{H}_{\mathrm{bin}}}\left(\frac{1}{4},\frac{1}{4},h_3\right)\,, m{}_{\mathcal{H}_{\mathrm{bin}}}\left(\frac{1}{4},\frac{1}{4},h_4\right) \right\}\,.\] Therefore, \(\mathcal{H}_{\mathrm{bin}}\) is not non-uniformly properly positive-only learnable.

Part 2 (Separation of non-uniform learnability and learnability). Recall the concept class considered in 4: \[\mathcal{H}_{\mathrm{tail}} \mathrel{\vcenter{:}}= \left\{h_a : a \geq 3\right\}, \qquad\text{where}\qquad h_a \mathrel{\vcenter{:}}= \left\{1,2\right\} \cup \left\{m \in \mathbb{N}: m \geq a\right\}\,.\] Observe that \(\operatorname{VCdim}(\mathcal{H}_{\mathrm{tail}}) = 1\). In 4, we already showed that \(\mathcal{H}_{\mathrm{tail}}\) does not satisfy the distributional exterior separability property, and thus it also does not satisfy the uniform exterior separability property. Therefore, by [thm:random-characterization], \(\mathcal{H}_{\mathrm{tail}}\) is not properly positive-only learnable. It remains to prove that \(\mathcal{H}_{\mathrm{tail}}\) is non-uniformly properly positive-only learnable.

Define the learner \(\mathcal{A}\) as follows. For any \(n \in \mathbb{N}\) and \(S_+\in \mathcal{X}^n\), let \[i(S_+) \mathrel{\vcenter{:}}= \min\bigl(\mathop{\mathrm{\mathrm{Domain}}}(S_+)\setminus \left\{1,2\right\}\bigr)\,,\] whenever \(\mathop{\mathrm{\mathrm{Domain}}}(S_+)\setminus \left\{1,2\right\}\) is non-empty, and set \[\mathcal{A}(S_+) \mathrel{\vcenter{:}}= \begin{cases} h_{i(S_+)} & \text{if } \mathop{\mathrm{\mathrm{Domain}}}(S_+)\setminus \left\{1,2\right\} \neq \varnothing,\\ h_{\max\left\{n,3\right\}} & \text{otherwise\,.} \end{cases}\] Fix a target concept \(\ell=h_{a^\star}\) for some \(a^\star \geq 3\). We show that this learner succeeds with a sample size that may depend on \(a^\star\). Consider any \(n \geq a^\star\). For every \(S_+\in \ell^n\), we claim that \(\mathcal{A}(S_+) \subseteq \ell.\) Indeed, if \(\mathop{\mathrm{\mathrm{Domain}}}(S_+)\setminus \left\{1,2\right\}\) is non-empty, then \(i(S_+) \in \ell\setminus \left\{1,2\right\}\), and therefore \(i(S_+)\geq a^\star\). Hence \(h_{i(S_+)} \subseteq h_{a^\star}.\) On the other hand, if \(\mathop{\mathrm{\mathrm{Domain}}}(S_+)\setminus \left\{1,2\right\}=\varnothing\), then \(\mathcal{A}(S_+)=h_{n} \subseteq h_{a^\star}\). Thus, for every positive-only sample \(S_+\in \ell^n\), the learner has zero false positives.

Next, observe that \(\mathcal{A}\) always satisfies \(\mathop{\mathrm{\mathrm{Domain}}}(S_+) \subseteq \mathcal{A}(S_+)\). Therefore, by applying standard realizable PAC bounds to \(\mathcal{H}_{\mathrm{tail}}\) under \(\mathcal{D}_+\), there exists a universal constant \(C>0\) such that for \(n \geq C \frac{\log(1/\varepsilon)+\log(1/\delta)}{\varepsilon},\) with probability at least \(1-\delta\), the false negative is bounded by \[\mathcal{D}(\ell\setminus \mathcal{A}(S_+)) \leq \mathcal{D}_+(\ell\setminus \mathcal{A}(S_+)) \leq \varepsilon\,.\] Now using \(\mathcal{A}(S_+) \subseteq \ell\) yields that \(\mathcal{H}_{\mathrm{tail}}\) is non-uniformly proper positive-only learnable by \(\mathcal{A}\). ◻

10.5 Proof of [thm:stable-characterization]↩︎

In this section, we prove [thm:stable-characterization]. The proof has two parts. First, we show that exact exterior separability together with finite VC dimension is sufficient for proper positive-only learning by a stable learner. This direction is immediate from the closure-based learner. Second, we prove a stronger necessity statement: exact exterior separability and finite VC dimension are necessary even for a weaker notion of stability, which we call size-dependent stability. We begin with sufficiency.

Proposition 11. If \(\mathcal{H}\) satisfies exact exterior separation and \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\), then \(\mathcal{H}\) is properly learnable from positive-only examples by a stable learner.

Proof. Consider the learner \(\mathcal{A}(S_+) = \operatorname{CLOS}_\mathcal{H}(S_+)\). Clearly \(\mathcal{A}\) satisfies \(\mathcal{A}(S') = \mathcal{A}(S)\) for all positive samples \(S\) and \(S'\) such that \(S \subseteq S'\) and \(\mathop{\mathrm{\mathrm{Domain}}}(S') \subseteq \mathcal{A}(S)\). Thus, \(\mathcal{A}\) is stable. Combining this with 1 completes the proof. ◻

For the necessity direction, we prove a slightly stronger statement. We show that exact exterior separability and bounded VC dimension are necessary even if the learner satisfies only the following weaker stability condition.

Definition 8 (Size-dependent Stability). We say that a proper learner \(\mathcal{A}\) is size-dependent stable* if there exists a function \(f:\mathcal{X}^{[*]} \times \mathbb{N}\rightarrow \mathcal{H}\) such that for all \(S, S' \in \mathcal{X}^{[*]}\) with probability 1 over any randomness in \(\mathcal{A}\), the following holds \[\text{if}\quad S\subseteq S' \text{ and } \mathop{\mathrm{\mathrm{Domain}}}(S') \subseteq \mathcal{A}(S) ,\quad\text{then}\quad \mathcal{A}(S')= f(S, |S'|)\,.\]*

Proposition 12. If \(\mathcal{H}\) is properly learnable from positive-only examples by a size-dependent stable learner, then \(\mathcal{H}\) satisfies exact exterior separation and \(\operatorname{VCdim}{}\!\left(\mathcal{H}\right)<\infty\).

Proof. Assume that \(\mathcal{H}\) does not satisfy the stated property. Then either \(\operatorname{VCdim}(\mathcal{H}) = \infty\), which implies that \(\operatorname{VCdim}(\mathcal{H}_{\cap}) = \infty\), and by the results of lee2026smoothed?, this in turn implies that \(\mathcal{H}\) is not positive-only learnable; or there exists a finite set \(B = \{x_1, x_2, \ldots, x_s\} \subseteq \mathcal{X}\) such that \(\operatorname{CLOS}_\mathcal{H}(B) \notin \mathcal{H}\).

Denote \(F \mathrel{\vcenter{:}}= \mathcal{X}\setminus \operatorname{CLOS}_\mathcal{H}(B)\). For any \(x \in F\), define the distribution \(\mathcal{D}_x\) as \[\mathcal{D}_x(x) = \frac{1}{2}\,, \quad \mathcal{D}_{x} (x') = \frac{1}{2s} \text{ for all } x' \in B\,,\] and zero elsewhere. Also, let \(\ell_x\) be any concept in \(\mathcal{H}\) such that \(B \subseteq \ell_x\), but \(\ell_x(x) = 0\). Note that since \(x \notin \operatorname{CLOS}_\mathcal{H}(B)\) such a concept \(\ell_x\) always exists. Notice that for all \(x \in F\), we have \(\mathcal{D}_{+, x} = U_B\). We prove that for every proper size-dependent stable positive-only learner \(\mathcal{A}\), \[\lim_{n \rightarrow \infty} \sup_{x \in F} \Pr_{S_+\sim U_B^{n}, \mathcal{A}} \left[ \operatorname{err}_{\mathcal{D}_x} \left(\mathcal{A}(S_+), \ell_x \right) \geq \frac{1}{2s} \right] = 1\,.\] Therefore, \(\mathcal{A}\) cannot learn \(\mathcal{H}\) with positive-only examples.

Let \(\mathcal{A}\) be any proper size-dependent stable positive-only learner for \(\mathcal{H}\). We prove the claim for two distinct cases, depending on the output of \(\mathcal{A}\) over input samples that contain all \(B\).

-1em Case 1: There exists a finite-sized multi-set \(E \in \mathcal{X}^{[*]}\) such that \(\mathop{\mathrm{\mathrm{Domain}}}(E) = B\), and \[\Pr_{\mathcal{A}}\left[B \subseteq \mathcal{A}(E)\right] > 0.\] Note that due to the stability of \(\mathcal{A}\), every sample \(S_+\in B^{n}\) that contains \(E\) satisfies \(\mathcal{A}(S_+) = f(E, n)\) with probability \(1\) over the learner’s randomness. Moreover, as \(n\) goes to infinity the probability of a \(S_+\) sampled by \(U_B^{n}\) containing \(E\) goes to 1. Thus, \[\label{eq:stable-proper-positive-char-1} \lim_{n \to \infty}\Pr_{S_+\sim U_B^{n}, \mathcal{A}}[\mathcal{A}(S_+) = f(E, n)] = 1\,.\tag{8}\]

We consider two distinct cases based on \(f(E, n)\). Case 1.1: If \(B \nsubseteq f(E, n)\), then for all \(x \in F\) we have \(\operatorname{err}_{\mathcal{D}_x}(f(E, n), \ell_x) \geq \frac{1}{2s}\). By combining this with , we attain our objective. Case 1.2: If \(B \subseteq f(E, n)\), then since \(f(E, n) \in \mathcal{H}\), there exists an \(x_E \in f(E, n) \cap F\). Thus, \(\operatorname{err}_{\mathcal{D}_{x_E}}(f(E, n), \ell_{x_E}) = \frac{1}{2}\). By combining this with , we attain our objective.

-1em Case 2: No such \(E\) exists. Then for every sample \(S_+\) containing \(B\) and every \(x \in F\), we have \[\Pr_{S_+\sim U_B^{n}, \mathcal{A}}[\operatorname{err}_{\mathcal{D}_x}(\mathcal{A}(S_+), \ell_x) \geq \frac{1}{2s}] = 1\,.\] Note that, as \(n\) goes to infinity, the probability of a \(S_+\) sampled by \(U_B^{n}\) containing \(B\) goes to 1. ◻

Combining 11 and 12 proves [thm:stable-characterization].


  1. While every ERM is a PAC learner, ERM rules, in general, do not attain the optimal sample complexity hanneke2016optimal?, hanneke2016refined?, larsen2023bagging?.↩︎

  2. In support, he analyzed the two-sided problem under the uniform distribution, remarking that “if the distribution is allowed to be arbitrary, we can show easily that any learning algorithm can be forced to deviate from the function to be learned with probability approaching unity.”↩︎

  3. This learner can be simplified by, e.g., removing some cases; we discuss this learner as we can readily derandomize it.↩︎