<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Private and Online Learnability Are Equivalent</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/31/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10428429</idno>
					<idno type="doi">10.1145/3526074</idno>
					<title level='j'>Journal of the ACM</title>
<idno>0004-5411</idno>
<biblScope unit="volume">69</biblScope>
<biblScope unit="issue">4</biblScope>					

					<author>Noga Alon</author><author>Mark Bun</author><author>Roi Livni</author><author>Maryanthe Malliaris</author><author>Shay Moran</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Let              H              be a binary-labeled concept class. We prove that              H              can be PAC learned by an (approximate) differentially private algorithm if and only if it has a finite Littlestone dimension. This implies a qualitative equivalence between online learnability and private PAC learnability.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>This work studies the relationship between private PAC learning and online learning.</p><p>Differentially-Private Learning. Statistical analyses and computer algorithms play significant roles in the decisions which shape modern society. The collection and analysis of individuals' data drives computer programs which determine many critical outcomes, including the allocation of community resources, decisions to give loans, and school admissions.</p><p>While data-driven and automated approaches have obvious benefits in terms of efficiency, they also raise the possibility of unintended negative impacts, especially against marginalized groups. This possibility highlights the need for responsible algorithms that obey relevant ethical requirements (see e.g. [O'N16]).</p><p>Differential Privacy (DP) <ref type="bibr">[DMNS06]</ref> plays a key role in this context. Its initial (and primary) purpose was to provide a formal framework for ensuring individuals' privacy in the statistical analysis of large datasets. But it has also found use in addressing other ethical issues such as algorithmic fairness (see, e.g. [DHP + 12, CGKM19]).</p><p>Online Learning. Online learning is a well-studied branch of machine learning which addresses algorithms making real-time predictions on sequentially arriving data. Such tasks arise in contexts including recommendation systems and advertisement placement. The literature on this subject is vast and includes several books, e.g. <ref type="bibr">[CL06,</ref><ref type="bibr">SS12,</ref><ref type="bibr">Haz16]</ref>.</p><p>Online Prediction, or Prediction with Expert Advice is a basic setting within online learning. Let H = {h : X &#8594; {&#177;1}} be a class of predictors (also called experts) over a domain X. Consider an algorithm which observes examples (x 1 , y 1 ) . . . (x T , y T ) &#8712; X &#215; {&#177;1} in a sequential manner. More specifically, in each time step t, the algorithm first observes the instance x t , then predicts a label &#375;t &#8712; {&#177;1}, and finally learns whether its prediction was correct. The goal is to minimize the regret, namely the number of mistakes compared to the best expert in H:</p><p>In this context, a class H is said to be online learnable if for every T , there is an algorithm that achieves sublinear regret o(T ) against any sequence of T examples. The Littlestone dimension is a combinatorial parameter associated to the class H which characterizes its online learnability <ref type="bibr">[Lit87,</ref><ref type="bibr">BPS09]</ref>: H is online learnable if and only if it has a finite Littlestone dimension d &lt; &#8734;. Moreover, the best possible regret R(T ) for online learning of H satisfies &#8486;(</p><p>Furthermore, if it is known that if one of the experts never errs (a.k.a the realizable setting), then the optimal regret is exactly d. 1 (The regret is referred to by mistake-bound in this context.)</p><p>Stability. While at a first glance it may seem that online learning and differentially-private learning have little to do with one another, a recent line of work has revealed a tight connection between the two [AS17, ALMT17, BLM19, NRW19, JMNR19, GHM19].</p><p>At a high-level, this connection appears to boil down to the notion of stability, which plays a key role in both topics. On one hand, the definition of differential privacy is itself a form of stability; it requires robustness of the output distribution of an algorithm when its input undergoes small changes. On the other hand, stability also arises as a central motif in online learning paradigms such as Follow the Perturbed Leader <ref type="bibr">[KV02,</ref><ref type="bibr">KV05]</ref> and Follow the Regularized Leader [AHR08, <ref type="bibr">SSS07,</ref><ref type="bibr">Haz16]</ref>.</p><p>In their monograph <ref type="bibr">[DR14a]</ref>, Dwork and Roth identified stability as a common factor of learning and differential privacy: "Differential privacy is enabled by stability and ensures stability. . . we observe a tantalizing moral equivalence between learnability, differential privacy, and stability." This insight has found formal manifestations in several works. For example, Abernethy et al. used DP inspired stability methodology to derive a unified framework for proving state of the art bounds in online learning <ref type="bibr">[ALMT17]</ref>. In the opposite direction, Agarwal and Singh showed that certain standard stabilization techniques in online learning imply differential privacy <ref type="bibr">[AS17]</ref>.</p><p>Stability plays a key role in this work as well. The direction that any class with a finite Littlestone dimension can be privately learned hinges on the following form of stability: for &#951; &gt; 0 and n &#8712; N, a learning algorithm A is (n, &#951;)-globally stable 2 with respect to a distribution D over examples if there exists an hypothesis h whose frequency as an output is at least &#951;. Namely,</p><p>Our argument follows by showing that every H can be learned by a globally-stable algorithm with parameters &#951; = 2 -2 O(d) , n = 2 O(d) , where d is the Littlestone dimension of H. As a corollary, we get an equivalence between global stability and differential privacy (which can be viewed as a form of local stability). That is, the existence of a globally-stable learner for H is equivalent to the existence of a differentially-private learner for it (and both are equivalent to having a finite Littlestone dimension).</p><p>Littlestone Dimension and Thresholds. The converse direction -that every DP-learnable class has a finite Littlestone dimension -utilizes an intimate relationship between thresholds and the Littlestone dimension: a class H has a finite Littlestone dimension if and only if it does not embed thresholds as a subclass (for a formal statement, see Theorem 10); this follows from a seminal result in model theory by Shelah <ref type="bibr">[She78]</ref>. As explained in the preliminaries (Section 3), Shelah's 1 More precisely, there is a deterministic algorithm that makes no more than d mistakes, and for every deterministic algorithm there is a (realizable) input sequence on which it makes at least d mistakes. For randomized algorithms a slightly weaker lower bound of d/2 holds with respect to the expected number of mistakes. 2 The word global highlights a difference with other forms of algorithmic stability. Indeed, previous forms of stability such as DP and uniform hypothesis stability <ref type="bibr">[BE02]</ref> are local in the sense that they require output robustness subject to local changes in the input. However, the property required by global stability captures stability with respect to resampling the entire input.</p><p>theorem is usually stated in terms of orders and ranks. Chase and Freitag [CF18] noticed<ref type="foot">foot_0</ref> that the Littlestone dimension is the same as the model theoretic rank. Meanwhile, order translates naturally to thresholds. To make Theorem 10 more accessible for readers with less background in model theory, we provide a combinatorial proof in the appendix.</p><p>Littlestone Classes. It is natural to ask which classes have finite Littlestone dimension. First, note that every finite class H has Littlestone dimension d &#8804; log|H|. There are also many natural and interesting infinite classes with finite Littlestone dimension. For example, let X = F n be an n-dimensional vector space over a field F and let H &#8838; {&#177;1} X consist of all (indicators of) affine subspaces of dimension &#8804; d. The Littlestone dimension of H is d. More generally, any class of hypotheses that can be described by polynomial equalities of bounded degree has a bounded Littlestone dimension. <ref type="foot">4</ref> This can be generalized even further to classes that are definable in stable theories. This (different, still) notion of stability is deep and well-explored in model theory. We refer the reader to [CF19], Section 5.1 for more examples of stable theories and the Littlestone classes they correspond to.</p><p>Organization. The rest of this manuscript is organized as follows. In Section 2 we formally state our main results and discuss some implications and other related and subsequent work. Then, in Section 4 we prove the direction that differentially private learnable classes have a finite Littlestone dimension, and in Section 5 we prove the converse direction, that every Littlestone class is differentially private PAC learnable. Finally, Section 6 concludes the paper with some suggestions for future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Results</head><p>We next present our main results that yield an equivalence between private PAC learning and online learning. We note that the derived equivalence is qualitative in the sense that the gap between the best known lower and upper bounds for learning a class H is incredibly large: the lower bound is proportional to log * (d), whereas the upper bound is doubly exponential in d, where d is the Littlestone dimension of H. Our upper bound has recently been reduced to &#213;(d 6 ) in subsequent work <ref type="bibr">[GGKM20]</ref>.</p><p>The rest of this section is organized as follows: Sections 2.1, 2.2, and 2.3 are dedicated to the relationship between differentially-private learning, Littlestone dimension, and online learning, and in Section 2.4 we discuss an implication for private boosting. Throughout this section some standard technical terms are used. For definitions of these terms we refer the reader to Section 3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Private Learning Implies Finite Littlestone Dimension</head><p>We begin by the following statement that resolves an open problem in <ref type="bibr">[FX15]</ref> and <ref type="bibr">[BNSV15]</ref>:</p><p>Theorem 1 (Thresholds are not privately learnable). Let X &#8838; R and let A be a ( 1 16 , 1 16 )-accurate learning algorithm for the class of thresholds over X with sample complexity n which satisfies (&#949;, &#948;)differential privacy with &#949; = 0.1 and &#948;</p><p>In particular, the class of thresholds over an infinite X can not be learned privately.</p><p>We note that an upper bound which scales with (log * |X|) </p><p>In particular any class that is privately learnable has a finite Littlestone dimension.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.1">On the Proof of Theorem 1</head><p>A common approach of proving impossibility results in computer science (and in machine learning in particular) exploits a Minmax principle, whereby one specifies a fixed hard distribution over inputs, and establishes the desired impossibility result for any algorithm with respect to random inputs from that distribution. As an example, consider the "No-Free-Lunch Theorem" which establishes that the VC dimension lower bounds the sample complexity of PAC-learning a class H. Here, the hard distribution is picked to be uniform on a shattered set of size d = VC(H), and the argument follows by showing that every learning algorithm must observe &#8486;(d) examples. (See e.g. Theorem 5.1 in <ref type="bibr">[SSBD14]</ref>.) Such "Minmax" proofs establish a stronger assertion: they apply even to algorithms that "know" the input-distribution. For example, the No-Free-Lunch Theorem applies even to learning algorithms that are designed given the knowledge that the marginal distribution is uniform over some shattered set.</p><p>Interestingly, such an approach is bound to fail in proving Theorem 1. The reason is that if the marginal distribution D X is fixed, then one can pick an /2-cover<ref type="foot">foot_2</ref> , which we denote by C &#949;/2 , for the class thresholds over X of size |C &#949;/2 | = O(1/ ), and use the exponential mechanism <ref type="bibr">[MT07]</ref> to DP-learn the finite class C &#949;/2 with sample complexity that scales with log|C &#949;/2 | = O(log(1/&#949;)). Since C &#949;/2 is an &#949;-cover for the class of thresholds, the obtained algorithm PAC learns the class of thresholds in a differentially private manner. To conclude, there is no single distribution which is "hard" for all DP algorithms that learn thresholds.</p><p>To overcome this difficulty one must come up with a method of assigning to any given algorithm A a "hard" distribution D = D A which is tailored to A and witnesses Theorem 1 with respect to A. The challenge is that A can be arbitrary; e.g. it may be improper. <ref type="foot">6</ref> We refer the reader to [NSY18, NY19, BMN + 18] for a line of work which explores in detail a similar "failure" of the Minmax principle in the context of PAC learning with low mutual information.</p><p>The "method" which we use to prove Theorem 1 exploits Ramsey theory. In a nutshell, Ramsey theory provides tools which allow to detect, for any learning algorithm, a "largish"' set X &#8838; X such that the behavior of A on input samples from X is highly regular. Then, the uniform distribution over X is the "hard" distribution which is used to derive Theorem 1.</p><p>We note that similar applications of Ramsey theory in computer science date back to the 80's <ref type="bibr">[MSM85]</ref>. For more recent usages see e.g. [Bun16, CDFS19, CHK + 19].</p><p>Finally, we note that in the proper case, <ref type="bibr">[BNSV15]</ref> demonstrated an ensemble, namely a distribution over distributions, which is hard for every differentially private algorithm A: if one draws a random distribution D from the ensemble and runs A on an input-sample from D, then the expected error of A will be large. It is plausible that such a statement also holds for general (possibly improper) algorithm, and it would be interesting to find such a natural ensemble.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Finite Littlestone Dimension Implies Private Learning</head><p>The following statement provides an upper bound on the sample complexity of DP-learning H, which depends only on the Littlestone dimension of H and the privacy/utility parameters. In particular, it does not depend on |H|.</p><p>Theorem 3 (Littlestone Classes are Privately Learnable). Let H &#8838; {&#177;1} X be a class with Littlestone dimension d, let &#949;, &#948; &#8712; (0, 1) be privacy parameters, and let &#945;, &#946; &#8712; (0, 1/2) be accuracy parameters. For</p><p>there exists an (&#949;, &#948;)-DP learning algorithm such that for every realizable distribution D, given an input sample S &#8764; D n , the output hypothesis f = A(S) satisfies loss D (f ) &#8804; &#945; with probability at least 1 -&#946;, where the probability is taken over S &#8764; D n as well as the internal randomness of A.</p><p>A similar result holds in the agnostic setting:</p><p>Corollary 4 (Agnostic Learner for Littlestone Classes). Let H &#8838; {&#177;1} X be a class with Littlestone dimension d, let &#949;, and &#948; &#8712; (0, 1) be privacy parameters, and let &#945;, &#946; &#8712; (0, 1/2) be accuracy parameters. For</p><p>there exists an (&#949;, &#948;)-DP learning algorithm such that for every distribution D, given an input sample S &#8764; D n , the output hypothesis f = A(S) satisfies</p><p>with probability at least 1 -&#946;, where the probability is taken over S &#8764; D n as well as the internal randomness of A.</p><p>Corollary 4 follows from Theorem 3 by Theorem 2.3 in <ref type="bibr">[ABMS20]</ref> which provides a general mechanism to transform a learner in the realizable setting to a learner in the agnostic setting<ref type="foot">foot_4</ref> . We note that formally the transformation in <ref type="bibr">[ABMS20]</ref> is stated for a constant &#949; = O(1). Taking &#949; = O(1) is without loss of generality as a standard "secrecy-of-the-sample" argument can be used to convert this learner into one which is (&#949;, &#948;)-differentially private by increasing the sample size by a factor of roughly 1/&#949; and running the algorithm on a random subsample. See [KLN + 11, Vad17] for further details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Online Learning Versus Differentially Private PAC Learning</head><p>Since Littlestone dimension characterizes online learnability <ref type="bibr">[Lit87,</ref><ref type="bibr">BPS09]</ref>, Theorem 2 and Theorem 3 imply an equivalence between differentially private PAC learning and online learning:</p><p>Theorem 5 (Private PAC Learning &#8801; Online Prediction.). The following statements are equivalent for a class H &#8838; {&#177;1} X :</p><p>1. H is online learnable.</p><p>2. H is approximate differentially-privately PAC learnable.</p><p>Theorem 5 directly follows from Theorem 2 (which gives 2 &#8594; 1) and Theorem 3 (which gives 1 &#8594; 2). We comment that a quantitative relation between the learning rates and mistake/regret bounds is also implied: for example, in the agnostic setting it is known that the optimal regret bound for H is &#920;d ( &#8730; T ), where the &#920;d conceals a constant which depends on the Littlestone dimension of H <ref type="bibr">[BPS09]</ref>. Similarly, we get that the optimal sample complexity of agnostically privately learning H is &#920; d ( log(1/(&#946;&#948;))</p><p>). We remark however that the above equivalence is mostly interesting from a theoretical perspective, and should not be regarded as an efficient transformation between online and private learning. Indeed, the Littlestone dimension dependencies concealed by the &#920;d (&#8226;) in the above bounds on the regret and sample complexities may be very different from one another. For example, there are classes for which the &#920; d ( log(1/(&#946;&#948;)) &#945;&#949; ) bound hides a poly(log * (d)) dependence, and the &#920;d ( &#8730; T ) bound hides a &#920;(d) dependence. One example which attains both of these dependencies is the class of thresholds over a linearly ordered domain of size 2 d [KLM + 19].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.1">Global Stability</head><p>Our proof of Theorem 3 hinges on an intermediate property which we call global stability: Definition 6 (Global Stability). Let n &#8712; N be a sample size and &#951; &gt; 0 be a global stability parameter. An algorithm A is (n, &#951;)-globally-stable with respect to a distribution D if there exists an hypothesis h such that</p><p>While global stability is a rather strong property, it holds automatically for learning algorithms using a finite hypothesis class. By an averaging argument, every learner using n samples which produces a hypothesis in a finite hypothesis class H is (n, 1/|H|)-globally-stable. The following proposition generalizes "Occam's Razor" for finite hypothesis classes to show that global stability is enough to imply similar generalization bounds in the realizable setting.</p><p>Proposition 7 (Global Stability =&#8658; Generalization). Let H &#8838; {&#177;1} X be a class, and assume that A is a consistent learner for H (i.e. loss S (A(S)) = 0 for every realizable sample S). Let D be a realizable distribution such that A is (n, &#951;)-globally-stable with respect to D, and let h be a hypothesis such that Pr S&#8764;D n [A(S) = h] &#8805; &#951;, as guaranteed by the definition of global stability. Then,</p><p>Proof. Let &#945; denote the loss of h, i.e. loss D (h) = &#945;, and let E 1 denote the event that h is consistent with the input sample S. Thus,</p><p>By assumption, Pr[E 2 ] &#8805; &#951;. Now, since A is consistent we get that E 2 &#8838; E 1 , and hence that &#951; &#8804; (1 -&#945;) n . This finishes the proof (using the fact that 1 -&#945; &#8804; e -&#945; and taking the logarithm of both sides).</p><p>Another way to view global stability is in the context of pseudo-deterministic algorithms <ref type="bibr">[GG11]</ref>. A pseudo-deterministic algorithm is a randomized algorithm which yields some fixed output with high probability. Thinking of a realizable distribution D as an instance on which PAC-learning algorithm has oracle access, a globally-stable learner is one which is "weakly" pseudo-deterministic in that it produces some fixed output with probability bounded away from zero. A different model of pseudo-deterministic learning, in the context of learning from membership queries, was defined and studied by Oliveira and Santhanam <ref type="bibr">[OS18]</ref>.</p><p>We prove Theorem 3 by constructing, for a given Littlestone class H, an algorithm A which is globally-stable with respect to every realizable distribution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4">Boosting for Approximate Differential Privacy</head><p>Our characterization of private learnability in terms of the Littlestone dimension has new consequences for boosting the privacy and accuracy guarantees of differentially-private learners. Specifically, it shows that the existence of a learner with weak (but non-trivial) privacy and accuracy guarantees implies the existence of a learner with any desired privacy and accuracy parametersin particular, one with &#948;(n) = exp(-&#8486;(n)).</p><p>Theorem 8. There exists a constant c &gt; 0 for which the following holds. Suppose that for some sample size n 0 there is an (&#949; 0 , &#948; 0 )-differentially private learner W for a class H satisfying the guarantee Pr</p><p>, and &#948; 0 &#8804; c/n 2 0 log n 0 . Then there exists a constant C H such that for every &#945;, &#946;, &#949;, &#948; &#8712; (0, 1) there exists an (&#949;, &#948;)differentially private learner for H with</p><p>Given a weak learner W as in the statement of Theorem 8, Theorem 2 imply that Ldim(H) is finite. Hence Theorem 3 allows us to construct a learner for H with arbitrarily small privacy and accuracy, yielding Theorem 8. The constant C H in the last line of the theorem statement suppresses a factor depending on Ldim(H).</p><p>Prior to our work, it was open whether arbitrary learning algorithms satisfying approximate differential privacy could be boosted in this strong a manner. We remark, however, that in the case of pure differential privacy, such boosting can be done algorithmically and efficiently. Specifically, given an (&#949; 0 , 0)-differentially private weak learner as in the statement of Theorem 8, one can first apply random sampling to improve the privacy guarantee to (p&#949; 0 , 0)-differential privacy at the expense of increasing its sample complexity to roughly n 0 /p for any p &#8712; (0, 1). The Boosting-for-People construction of Dwork, Rothblum, and Vadhan <ref type="bibr">[DRV10]</ref> (see also <ref type="bibr">[BCS20]</ref>) then produces a strong learner by making roughly T &#8776; log(1/&#946;)/&#945; 2 calls to the weak learner. By composition of differential privacy, this gives an (&#949;, 0)-differentially private strong learner with sample complexity roughly</p><p>What goes wrong if we try to apply this argument using an (&#949; 0 , &#948; 0 )-differentially private weak learner? Random sampling still gives a (p&#949; 0 , p&#948; 0 )-differentially private weak learner with sample complexity n 0 /p. However, this is not sufficient to improve the &#948; parameter of the learner as a function of the number of samples n. Thus the strong learner one obtains using Boostingfor-People still at best guarantees &#948;(n) = &#213;(1/n 2 ). Meanwhile, Theorem 8 shows that the existence of a (0.1, &#213;(1/n 2 ))-differentially private learner for a given class implies the existence of a (0.1, exp(-&#8486;(n))-differentially private learner for that class.</p><p>We leave it as an interesting open question to determine whether this kind of boosting for approximate differential privacy can be done algorithmically.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5">Related and Subsequent Work</head><p>In this work, we determine that the (approximately) differentially-privately learnable classes are exactly those which are online learnable. We note that PAC learnability under the much stronger constraint of pure differentially privacy has already been characterized by several natural parameters such as the probabilistic representation dimension <ref type="bibr">[BNS19]</ref> and one-way communication complexity <ref type="bibr">[FX15]</ref>. These characterizations even imply nearly tight bounds on the optimal sample complexity. This is in contrast with the equivalence derived in this work whose implied upper and lower bounds on the sample complexity are extremely far away from each other.</p><p>Subsequent to our work, Ghazi, Golowich, Kumar, and Manurangsi [GGKM20] gave a significantly improved upper bound of &#213;(d 6 ) on the sample complexity of learning any class with Littlestone dimension d. Moreover, their learning algorithm is proper. There is still an enormous gap between this and our lower bound of &#8486;(log * d), but both the upper and lower bound are within polynomial factors of the best possible sample complexity bounds that depend only on the Littlestone dimension. Thus, despite the fact that DP learnability is characterized by the finiteness of the Littlestone dimension, it remains wide open to find meaningful quantitative bounds on the sample complexity of DP learning. This is discussed in more detail in Section 5.4, where we suggest directions for future work.</p><p>Subsequent work has also extended the connection between online learning, global stability, and private learning to settings beyond binary classification. The private learnability of Littlestone classes has been studied in multiclass classification [JKT20, BGS21], real-valued classification (regression) <ref type="bibr">[JKT20,</ref><ref type="bibr">Gol21]</ref>, quantum state learning <ref type="bibr">[AQS21]</ref>, and the online private learning model <ref type="bibr">[GL21]</ref>.</p><p>Ghazi, Kumar, and Manurangsi [GKM21] used a generalization of global stability to derive private learning algorithms for datasets where each individual contributes multiple samples. Global stability is also related to a definition of reproducibility for machine learning algorithms put forth by Impagliazzo, Lei, Pitassi, and Sorrell <ref type="bibr">[ILPS22]</ref>.</p><p>Finally, several papers have studied the question of whether computationally efficient reductions exist between online and private learning. Gonen, Hazan, and Moran <ref type="bibr">[GHM19]</ref> gave an efficient compiler from low sample-complexity pure private learners to online learners, while Bun <ref type="bibr">[Bun20]</ref> showed that under cryptographic assumptions, such a reduction cannot exist in general.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Preliminaries</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">PAC Learning</head><p>We use standard notation from statistical learning; see, e.g., <ref type="bibr">[SSBD14]</ref>. Let X be any "domain" set and consider the "label" set Y = {&#177;1}. A hypothesis is a function h : X &#8594; Y , which we alternatively write as an element of Y X . An example is a pair (x, y) &#8712; X &#215; Y . A sample S is a finite sequence of examples. We also use the following notation: for samples S, T , let S &#8226; T denote the combined sample obtained by appending T to the end of S.</p><p>Definition 9 (Population &amp; Empirical Loss). Let D be a distribution over X &#215; {&#177;1}. The population loss of a hypothesis h : X &#8594; {&#177;1} is defined by</p><p>Let S = (x i , y i ) n i=1 be a sample. The empirical loss of h with respect to S is defined by</p><p>Let H &#8838; Y X be a hypothesis class. A sample S is said to be realizable by H if there is h &#8712; H such that loss S (h) = 0. A distribution D is said to be realizable by H if there is h &#8712; H such that loss D (h) = 0. A learning algorithm A is a (possibly randomized) mapping taking input samples to output hypotheses. We denote by A(S) the distribution over hypotheses induced by the algorithm when the input sample is S. We say that A learns<ref type="foot">foot_5</ref> a class H with &#945;-error, (1 -&#946;)confidence, and sample-complexity m if for every realizable distribution D:</p><p>For brevity if A is a learning algorithm with &#945;-error and (1 -&#946;)-confidence we will say that A is an (&#945;, &#946;)-accurate learner.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Online Learning</head><p>Littlestone Dimension. The Littlestone dimension is a combinatorial parameter that captures mistake and regret bounds in online learning <ref type="bibr">[Lit87,</ref><ref type="bibr">BPS09]</ref>.<ref type="foot">foot_6</ref> Its definition uses the notion of mistake trees. A mistake tree is a binary decision tree whose internal nodes are labeled by elements of X. Any root-to-leaf path in a mistake tree can be described as a sequence of examples (x 1 , y 1 ), ..., (x d , y d ), where x i is the label of the i'th internal node in the path, and y i = +1 if the (i + 1)'th node in the path is the right child of the i'th node and y i = -1 otherwise. We say that a mistake tree T is shattered by H if for any root-to-leaf path (x 1 , y 1 ), ..., (x d , y d ) in T there is an h &#8712; H such that h(x i ) = y i for all i &#8804; d (see Figure <ref type="figure">1</ref>). The Littlestone dimension of H, denoted Ldim(H), is the depth of largest complete tree that is shattered by H. We say that H is a Littlestone class if it has finite Littlestone dimension.</p><p>Littlestone Dimension and Thresholds. Recently, Chase and Freitag <ref type="bibr">[CF18]</ref> noticed that the Littlestone dimension coincides with a model-theoretic measure of complexity, Shelah's 2-rank.</p><p>A classical theorem of Shelah connects bounds on 2-rank (Littlestone dimension) to bounds on the so-called order property in model theory. The order property corresponds naturally to the concept of thresholds. Let H &#8838; {&#177;1} X be an hypothesis class. We say that H contains k thresholds if there are x 1 , . . . , x k &#8712; X and h 1 , . . . , h k &#8712; H such that h i (x j ) = 1 if and only if i &#8804; j for all i, j &#8804; k.</p><p>Shelah's result (part of the so-called Unstable Formula Theorem<ref type="foot">foot_7</ref> ) [She78, Hod97], which we use in the following translated form, provides a simple and elegant connection between Littlestone dimension and thresholds. For completeness, we provide a combinatorial proof of Theorem 10 in Appendix A.</p><p>In the context of model theory, Theorem 10 is used to establish an equivalence between finite Littlestone dimension and stable theories. It is interesting to note that an analogous connection between theories that are called NIP theories and VC dimension has also been previously observed and was pointed out by <ref type="bibr">[Las92]</ref>; this in turn led to results in Learning theory: in particular within the context of compression schemes <ref type="bibr">[LS13]</ref> but also some of the first polynomial bounds for the VC dimension for sigmoidal neural networks <ref type="bibr">[KM97]</ref>.</p><p>Mistake Bound and the Standard Optimal Algorithm (SOA). The simplest setting in which learnability is captured by the Littlestone dimension is called the mistake-bound model <ref type="bibr">[Lit87]</ref>. Let H &#8838; {&#177;1} X be a fixed hypothesis class known to the learner. The learning process takes place in a sequence of trials, where the order of events in each trial t is as follows:</p><p>(i) the learner receives an instance x t &#8712; X, (ii) the learner responses with a prediction &#375;t &#8712; {&#177;1}, and (iii) the learner is told whether or not the response was correct.</p><p>We assume that the examples given to the learner are realizable in the following sense: For the entire sequence of trials, there is a hypothesis h &#8712; H such that y t = h(x t ) for every instance x t and correct response y t . An algorithm in this model learns H with mistake bound M if for every realizable sequence of examples presented to the learner, it makes a total of at most M incorrect predictions.</p><p>Littlestone showed that the minimum mistake bound achievable by any online learner is exactly Ldim(H) <ref type="bibr">[Lit87]</ref>. Furthermore, he described an explicit algorithm, called the Standard Optimal Algorithm (SOA), which achieves this optimal mistake bound.</p><p>Standard Optimal Algorithm (SOA)</p><p>Extending the SOA to non-realizable sequences. Our globally-stable learner for Littlestone classes will make use of an optimal online learner in the mistake bound model. For concreteness, we pick the SOA (any other optimal algorithm will also work). It will be convenient to extend the SOA to sequences which are not necessarily realizable by a hypothesis in H. We will use the following simple extension of the SOA to non-realizable samples:</p><p>Definition 11 (Extending the SOA to non-realizable sequences). Consider a run of the SOA on examples (x 1 , y 1 ), . . . , (x m , y m ), and let h t denote the predictor used by the SOA after seeing the first t examples (i.e., h t is the rule used by the SOA to predict in the (t + 1)'st trial). Then, after observing both x t+1 , y t+1 do the following:</p><p>&#8226; If the sequence (x 1 , y 1 ), . . . , (x t+1 , y t+1 ) is realizable by some h &#8712; H then apply the usual update rule of the SOA to obtain h t+1 .</p><p>&#8226; Else, set h t+1 as follows: h t+1 (x t+1 ) = y t+1 , and h t+1 (x) = h t (x) for every x = x t+1 .</p><p>Thus, upon observing a non-realizable sequence, this update rule locally updates the maintained predictor h t to agree with the last example.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Differential Privacy</head><p>We use standard definitions and notation from the differential privacy literature. For more background see, e.g., the surveys <ref type="bibr">[DR14a,</ref><ref type="bibr">Vad17]</ref>. For a, b, &#949;, &#948;</p><p>We say that two probability distributions p, q are (&#949;, &#948;)-indistinguishable if p(E) &#8776; &#949;,&#948; q(E) for every event E.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 12 (Private Learning Algorithm). A randomized algorithm</head><p>A : (X &#215; {&#177;1}) m &#8594; {&#177;1} X is (&#949;, &#948;)-differentially-private if for every two samples S, S &#8712; (X &#215; {&#177;1}) n that disagree on a single example, the output distributions A(S) and A(S ) are (&#949;, &#948;)-indistinguishable.</p><p>We emphasize that (&#949;, &#948;)-indistinguishability must hold for every such pair of samples, even if they are not generated according to a (realizable) distribution.</p><p>The parameters &#949;, &#948; are usually treated as follows: &#949; is a small constant (say 0.1), and &#948; is negligible, &#948; = n -&#969;(1) , where n is the input sample size. The case of &#948; = 0 is also referred to as pure differential privacy. Thus, a class H is privately learnable if it is PAC learnable by an algorithm A that is (&#949;(n), &#948;(n))-differentially private with &#949;(n) &#8804; 0.1, and &#948;(n) &#8804; n -&#969;(1) .</p><p>We will use the following corollary of the Basic Composition Theorem from differential privacy (see, e.g. Theorem 3.16 in <ref type="bibr">[DR14b]</ref>).</p><p>Lemma 13 (Composition). [DKM + 06, DL09] If p, q are (&#949;, &#948;)-indistinguishable then for all k &#8712; N, p k and q k are (k&#949;, k&#948;)-indistinguishable, where p k , q k are the k-fold products of p, q (i.e. corresponding to k independent samples).</p><p>Private Empirical Learners. For the proof of Theorem 1 it will be convenient to consider the following task of minimizing the empirical loss.</p><p>Definition 14 (Empirical Learner). Algorithm A is (&#945;, &#946;)-accurate empirical learner for a hypothesis class H with sample complexity m if for every h &#8712; H and for every sample S = ((x 1 , h(x 1 ), . . . , (x m , h(x m ))) &#8712; (X &#215; {&#177;1}) m the algorithm A outputs a function f satisfying Pr</p><p>This task is simpler to handle than PAC learning, which is a distributional loss minimization task. Replacing PAC learning by this task does not lose generality; this is implied by the following result by <ref type="bibr">[BNSV15]</ref>.</p><p>Lemma 15. [[BNSV15], Lemma 5.9] Suppose &#949; &lt; 1 and A is an ( , &#948;)-differentially private (&#945;, &#946;)accurate learning algorithm for a hypothesis class H with sample complexity m. Then there exists an ( , &#948;)-differentially private (&#945;, &#946;)-accurate empirical learner for H with sample complexity 9m.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">Additional Notation</head><p>A sample S of an even length is called balanced if half of its labels are +1's and half are -1's.</p><p>For a sample S, let S X denote the underlying set of unlabeled examples: S X = x|(&#8707;y) : (x, y) &#8712; S . Let A be a randomized learning algorithm. It will be convenient to associate with A and S the function A S : X &#8594; [0, 1] defined by</p><p>Intuitively, this function represents the average hypothesis outputted by A when the input sample is S.</p><p>For the next definitions assume that the domain X is linearly ordered. Let S = ((x i , y i )) m i=1 be a sample. We say that S is increasing if x 1 &lt; x 2 &lt; . . . &lt; x m . For x &#8712; X define ord S (x) by |{i|x i &#8804; x}|. Note that the set of points x &#8712; X with the same ord S (x) form an interval whose endpoints are two consecutive examples in S (consecutive with respect to the order on X, i.e. there is no example x i between them). The tower function twr k (x) is defined by the recursion</p><p>The iterated logarithm, log (k) (x) is defined by the recursion</p><p>The function log * x equals the number of times the iterated logarithm must be applied before the result is less than or equal to 1. It is defined by the recursion</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Private Learning Implies Finite Littlestone Dimension</head><p>In this section we prove that every class H which can be PAC-learned by a DP algorithm has a finite Littlestone dimension. This is achieved by establishing a lower bound on the sample complexity of privately learning H which depends on its Littlestone dimension (Theorem 2). The crux of this lower bound lies in Theorem 1, which provides a lower bound for the task of privately learning 1dimensional thresholds. This section is organized as follows. In Section 4.1 we provide an overview of the proof. Then, in Sections 4.2 and 4.3 we prove Theorems 1 and 2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Proof overview</head><p>The starting point of the proof is Theorem 10, which asserts that if H has Littlestone dimension d, then it contains, as a subclass, at least some log d thresholds. In other words, the class of thresholds is "complete" in the sense that a lower bound on the sample complexity of DP learning thresholds yields a lower bound for classes with large Littlestone dimension.</p><p>Thus, consider an arbitrary differentially private algorithm A that learns the class of thresholds over an ordered domain X of size n. Our goal is to show a lower bound of &#8486;(log * n) on the sample complexity of A. A central challenge in the proof emerges because A may be improper and output arbitrary hypotheses (this is in contrast with proving impossibility results for proper algorithms where the structure of the learned class can be exploited).</p><p>The proof consists of two parts: (i) the first part handles the above challenge by showing that for any algorithm (in fact, for any mapping that takes input samples to output hypotheses) there is a large subset of the domain that is homogeneous with respect to the algorithm. This notion of homogeneity places useful restrictions on the algorithm on input samples from the homogeneous set. (ii) The second part of the argument utilizes the homogeneity of X &#8838; X to derive a lower bound on the sample complexity of the algorithm in terms of |X |.</p><p>We note that the Ramsey argument in the first part is quite general: it does not use the definition of differential privacy and could perhaps be useful in other sample complexity lower bounds. It is also worth noting that a Ramsey-based argument was used by <ref type="bibr">[Bun16]</ref> in a weaker lower bound for DP learning thresholds in the proper case. In contrast to the first part, the second (and more technical) part of the proof is tailored specifically to the definition of differential privacy. We next outline each of these two parts.</p><p>Reduction to Homogeneous Sets. As discussed above, the first step in the proof is about identifying a large homogeneous subset of the input domain X on which we can control the output of A. To define homogeneity, recall from Section 3.4 that a sample S = ((x i , y i )) m i=1 of an even length is called balanced if half of its labels are +1's and half are -1's, and that S is said to be increasing if x 1 &lt; x 2 &lt; . . . &lt; x m . Now, a subset X &#8838; X is called homogeneous with respect to A if there is a list of numbers p 0 , p 1 , . . . , p m such that for every increasing balanced sample S of points from X and for every x from X with ord S (x ) = i:</p><p>where &#947; is sufficiently small. For simplicity, in this proof overview we will assume that &#947; = 0. (In the proof &#947; is some O(1/m) -see Definition 16.) So, for example, if A is deterministic then h = A(S) is constant over each of the intervals defined by consecutive examples from S. See Figure <ref type="figure">2</ref> for an illustration.</p><p>-</p><p>Figure <ref type="figure">2</ref>: Depiction of two possible outputs of an algorithm over an homogeneous set, given two input samples from the set (marked in red). The number p i denote, for a given point x, the probability that h(x) = 1, where h &#8764; A(S) is the hypothesis h outputted by the algorithm on input sample S. These probabilities depends (up to a small additive error) only on the interval that x belongs to. In the figure above we changed in the input the fourth example -this only affects the interval and not the values of the p i 's (again, up to a small additive error).</p><p>The derivation of a large homogeneous set follows by a standard application of Ramsey Theorem for hypergraphs using an appropriate coloring (Lemma 17).</p><p>Lower Bound for Homogenous Algorithms. We next assume that X = {1, . . . , k} is a large homogeneous set with respect to A (with &#947; = 0). We will obtain a lower bound on the sample complexity of A, denoted by m, by constructing a family P of distributions such that: (i) on the one hand |P| &#8804; 2 &#213;(m 2 ) , and (ii) on the other hand |P| &#8805; &#8486;(k). Combining these inequalities yields a lower bound on m in terms of |X | = k and concludes the proof.</p><p>The construction of P proceeds as follows and is depicted in Figure <ref type="figure">3</ref>: let S be an increasing balanced sample of points from X . Using the fact that A learns thresholds it is shown that for some i 1 &lt; i 2 we have that p i 1 &#8804; 1/3 and p i 2 &#8805; 2/3. Thus, by a simple averaging argument there is some i 1 &#8804; i &#8804; i 2 such that p i -p i-1 &#8805; &#8486;(1/m).</p><p>The last step in the construction is done by picking an increasing sample S such that the interval (x i-1 , x i+1 ) has size n = &#8486;(k). For x &#8712; (x i-1 , x i+1 ), let S x denote the sample obtained by replacing x i with x in S. By restricting the output hypothesis to the interval (x i-1 , x i+1 ) (which is of size n), each output distribution A(S x ) can be seen as a distribution over the cube {&#177;1} n . Thus, the family of distributions P consists of all distributions P x = A(S x ) for x &#8712; (x i-1 , x i+1 ). Since A is private, it follows that P has the following two properties:</p><p>&#8226; P x , P x &#8712; P are (&#949;, &#948;)-indistinguishable for all x , x &#8712; (x i-1 , x i+1 ), and</p><p>, then for all P x &#8712; P</p><p>It remains to show that &#8486;(k) &#8804; |P| &#8804; 2 &#213;(m 2 ) . The lower bound follows directly from the definition of P. The upper bound requires a more subtle argument: it exploits the composition property for differenital privacy (see Lemma 13) via a privacy-breaching "attack" which is based on binarysearch. This argument appears in Lemma 21, whose proof is self-contained.</p><p>-</p><p>Figure <ref type="figure">3</ref>: An illustration of the definition of the family P . Given an homogeneous set and two consecutive intervals where there is a gap of at least &#8486;(1/m) between p i and p i-1 (here i = 4). The distributions in P correspond to the different positions of the i'th example, which separates between the (i -1)'th and the i'th intervals.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">A Lower Bound for Privately Learning Thresholds</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.1">Proof of Theorem 1</head><p>The proof uses the following definition of homogeneous sets. Recall the definitions of balanced sample and of an increasing sample. In particular that a sample S = ((x 1 , y 1 ), . . . , (x m , y m )) of an even size is realizable (by thresholds), balanced, and increasing if and only if x 1 &lt; x 2 &lt; . . . &lt; x m and the first half of the y i 's are -1 and the second half are +1.</p><p>Definition 16 (m-homogeneous set). A set X &#8838; X is m-homogeneous with respect to a learning algorithm A if there are numbers p i &#8712; [0, 1], for 0 &#8804; i &#8804; m such that for every increasing balanced realizable sample S &#8712; X &#215; {&#177;1} m and for every x &#8712; X \ S X :</p><p>where i = ord S (x). The list (p i ) m i=0 is called the probabilities-list of X with respect to A. Proof of Theorem 1. Let A be a (1/16, 1/16)-accurate learning algorithm that learns the class of thresholds over X with m examples and is (&#949;, &#948;)-differential private with &#949; = 0.1, &#948; = 1 10 3 m 2 log m . By Lemma 15 we may assume without loss of generality that A is an empirical learner with the same privacy and accuracy parameters and sample size that is at most 9 times larger.</p><p>Theorem 1 follows from the next two lemmas which we prove later:</p><p>Lemma 17 (Every algorithm has large homogeneous sets). Let A be a (possibly randomized) algorithm that is defined over input samples of size m over a domain X &#8838; R with |X| = n. Then, there is a set X &#8838; X that is m-homogeneous with respect to A of size</p><p>Lemma 17 allows us to focus on a large homogeneous set with respect to A. The next Lemma implies a lower bound in terms of the size of a homogeneous set. For simplicity and without loss of generality assume that the homogeneous set is {1, . . . , k}.</p><p>Lemma 18 (Large homogeneous sets imply lower bounds for private learning). Let A be an (0.1, &#948;)differentially private algorithm with sample complexity m and &#948; &#8804; 1 10 3 m 2 log m . Let X = {1, . . . , k} be m-homogeneous with respect to A. Then, if A empirically learns the class of thresholds over X with (1/16, 1/16)-accuracy, then</p><p>With these lemmas in hand, Theorem 1 follows by a short calculation: indeed, Lemma 17 implies the existence of an homogeneous set X with respect to A of size k &#8805; log (m) (n)/2 O(m log m) . We then restrict A to input samples from the set X , and by relabeling the elements of X assume that X = {1, . . . , k} . Lemma 18 then implies that k = 2 O(m 2 log 2 m) . Together we obtain that</p><p>for some constant c &gt; 0. Applying the iterated logarithm t = log * (2 c&#8226;m 2 log m ) = log * (m) + O(1) times on the inequality yields that log (m+t) (n) = log (m+log * (m)+O( <ref type="formula">1</ref>)) (n) &#8804; 1, and therefore log * (n) &#8804; log * (m) + m + O(1), which implies that m &#8805; &#8486;(log * n) as required.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.2">Proof of Lemma 17</head><p>We next prove that every learning algorithm has a large homogeneous set. We will use the following quantitative version of Ramsey Theorem due to <ref type="bibr">[ER52]</ref> (see also the book <ref type="bibr">[GRS90]</ref>, or Theorem 10.1 in the survey by <ref type="bibr">[MS17]</ref>):</p><p>Theorem 19. <ref type="bibr">[ER52]</ref> Let s &gt; t &#8805; 2 and q be integers, and let N &#8805; twr t (3sq log q). Then for every coloring of the subsets of size t of a universe of size N using q colors there is a homogeneous subset<ref type="foot">foot_8</ref> of size s.</p><p>Proof of Lemma 17. Define a coloring on the (m + 1)-subsets of X as follows. Let D = {x 1 &lt; x 2 &lt; . . . &lt; x m+1 } be an (m + 1)-subset of X. For each i &#8804; m + 1 let D -i = D \ {x i }, and let S -i denote the balanced increasing sample on D -i . Set p i to be the fraction of the form t 10 2 m that is closest to A S -i (x i ) (in case of ties pick the smallest such fraction). The coloring assigned to A is the list (p 1 , p 2 , . . . , p m+1 ).</p><p>Thus, the total number of colors is (10 2 m + 1) (m+1) . By applying Theorem 19 with t := m + 1, q := (10 2 m + 1) (m+1) , and N := n there is a set X &#8838; X of size</p><p>such that all m + 1-subsets of X have the same color. One can verify that X is indeed mhomogeneous with respect to A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.3">Proof of Lemma 18</head><p>The lower bound is proven by using the algorithm A to construct a family of distributions P with certain properties, and use these properties to derive that &#8486;(k) &#8804; P &#8804; 2 O(m 2 log 2 m) , which implies the desired lower bound.</p><p>Lemma 20. Let A, X , m, k as in Lemma 18, and set n = k -m. Then there exists a family P = {P i : i &#8804; n} of distributions over {&#177;1} n with the following properties:</p><p>1. Every P i , P j &#8712; P are (0.1, &#948;)-indistinguishable.</p><p>2. There exists r &#8712; [0, 1] such that for all i, j &#8804; n:</p><p>Lemma 21. Let P, n, m, r as in Lemma 20. Then n &#8804; 2 10 3 m 2 log 2 m . By the above lemmas, k -m = |P| &#8804; 2 10 3 m 2 log 2 m , which implies that k = 2 O(m 2 log 2 m) as required. Thus, it remains to prove these lemmas, which we do next.</p><p>For the proof of Lemma 20 we will need the following claim:</p><p>Claim 22. Let (p i ) m i=0 denote the probabilities-list of X with respect to A. Then for some 0 &lt; i &#8804; m: p i -p i-1 &#8805; 1 4m Proof. The proof of this claim uses the assumption that A empirically learns thresholds. Let S be a balanced increasing realizable sample such that S X = {x 1 &lt; . . . &lt; x m } &#8838; X are evenly spaced points on K (so, S = (x i , y i ) m i=1 , where y i = -1 for i &#8804; m/2 and y i = +1 for i &gt; m 2 ). A is an (&#945; = 1/16, &#946; = 1/16)-empirical learner and therefore its expected empirical loss on S is at most (1 -&#946;) &#8226; &#945; + &#946; &#8226; 1 &#8804; &#945; + &#946; = 1/8, and so:</p><p>This implies that there is m/2 &#8804; m 1 &#8804; m such that A S (x m 1 ) &#8805; 3/4. Next, by privacy if we consider S the sample where we replace x m 1 by x m 1 + 1 (with the same label), we have that</p><p>Note that ord S (x m 1 ) = m 1 -1, hence by homogeneity: p m 1 -1 &#8805; 2 3 -1 10 2 m . Similarly we can show that for some 1 &#8804; m 2 &#8804; m 2 we have p m 2 -1 &#8804; 1 3 + 1 10 2 m . This implies that for some m 2 -1 &#8804; i &#8804; m 1 -1:</p><p>Proof of Lemma 20. Let i be the index guaranteed by Claim 22 such that p i -p i-1 &#8805; 1/4m. Pick an increasing realizable sample S &#8712; X &#215; {&#177;1} m so that the interval J &#8838; X between x i-1 and</p><p>is of size k -m. For every x &#8712; J let S x be the neighboring sample of S that is obtained by replacing x with x i . This yields family of neighboring samples S x : x &#8712; (x i-1 , x i+1 ) such that</p><p>&#8226; every two output-distributions A(S x ), A(S x ) are (&#949;, &#948;)-indistinguishable (because A satisfies (&#949;, &#948;) differential privacy).</p><p>&#8226; Set r = p i+1 +p i</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2</head><p>. Then for all x, x &#8712; J:</p><p>The proof is concluded by restricting the output of A to J, and identifying J with [n] and each output-distributions A(S x ) with a distribution over {&#177;1} n .</p><p>Proof of Lemma 21. Set T = 10 3 m 2 log 2 m -1, and D = 10 2 m 2 log T . We want to show that n &#8804; 2 T +1 . Assume towards contradiction that n &gt; 2 T +1 . Consider the family of distributions Q i = P D i for i = 1, . . . , n. By Lemma 13, each Q i , Q j are (0.1D, &#948;D)-indistinguishable. We next define a set of mutually disjoint events E i for i &#8804; 2 T that are measurable with respect to each of the Q i 's. For a sequence of vectors v = (v 1 , . . . , v D ) in {&#177;1} n we let v &#8712; {&#177;1} n be the threshold vector defined by</p><p>Given a point in the support of any of the Q i 's, namely a sequence v = (v 1 , . . . , v D ) of D vectors in {&#177;1} n define a mapping B according to the outcome of T steps of binary search on v as follows: probe the n 2 'th entry of v; if it is +1 then continue recursively with the first half of v. Else, continue recursively with the second half of v. Define the mapping B = B(v) to be the entry that was probed at the T 'th step. The events E j correspond to the 2 T different outcomes of B. These events are mutually disjoint by the assumption that n &gt; 2 T +1 .</p><p>Notice that for any possible i in the image of B, applying the binary search on a sufficiently large i.i.d sample v from P i would yield B(v) = i with high probability. Quantitatively, a standard application of Chernoff inequality and a union bound imply that the event</p><p>We claim that for all j &#8804; n, and i in the image of B:</p><p>Note that adding the auxiliary example (x, y) forces A to make exactly d mistakes on S i &#8226;(x, y). Now, if y &#8764; {&#177;1} satisfies y = c(x) then by the mistake-bound argument it holds that A(S i &#8226; (x, y)) = c. Therefore, since Pr y&#8764;{&#177;1} [c(x) = y] = 1/2, it follows that Pr</p><p>and we are done. Similar reasoning can be used by induction to handle the remaining cases (the next one would be that Pr[M = d -2] &#8805; 1 2d , and so on). As the number of mistakes reduces, we need to guess more labels, to enforce mistakes on the algorithm. As we guess more labels the success rate reduces, nevertheless we never need to make more then 2 d such guesses. (Note that the random contests performed by the algorithm can naturally be presented using the internal nodes of a binary tree of depth &#8804; d ). The proof we present in Section 5.2 is based on a similar idea of performing random contests, although the construction becomes more complex to handle other issues, such as generalization, which were not addressed here. For more details we refer the reader to the complete argument in Section 5.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.2">Step 2: Globally-Stable Learning =&#8658; Differentially-Private Learning</head><p>Given a globally-stable learner A for a concept class H, we can obtain a differentially-private learner using standard techniques in the literature on private learning and query release. If A is a (&#951;, m)-globally stable learner with respect to a distribution D, we obtain a differentiallyprivate learner using roughly m/&#951; samples from that distribution as follows. We first run A on k &#8776; 1/&#951; independent samples, non-privately producing a list of k hypotheses. We then apply a differentially-private "Stable Histograms" algorithm <ref type="bibr">[KKMN09,</ref><ref type="bibr">BNS16b]</ref> to this list which allows us to privately publish a short list of hypotheses that appear with frequency &#8486;(&#951;). Global stability of the learner A guarantees that with high probability, this list contains some hypothesis h with small population loss. We can then apply a generic differentially-private learner (based on the exponential mechanism) on a fresh set of examples to identify such an accurate hypothesis from the short list.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Globally-Stable Learning of Littlestone Classes</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.1">Theorem Statement</head><p>The following theorem states that any class H with a bounded Littlestone dimension can be learned by a globally-stable algorithm.</p><p>Theorem 23. Let H be a hypothesis class with Littlestone dimension d &#8805; 1, let &#945; &gt; 0, and set</p><p>Then there exists a randomized algorithm G : (X &#215; {&#177;1}) m &#8594; {&#177;1} X with the following properties.</p><p>Let D be a realizable distribution and let S &#8764; D m be an input sample. Then there exists a hypothesis f such</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.2">The distributions D k</head><p>The Algorithm G is obtained by running the SOA on a sample drawn from a carefully tailored distribution. This distribution belongs to a family of distributions which we define next. Each of these distributions can be sampled from using black-box access to i.i.d. samples from D. Recall that for a pair of samples S, T , we denote by S &#8226; T the sample obtained by appending T to the end of S. Define a sequence of distributions D k for k &#8805; 0 as follows:</p><p>Let n denote an "auxiliary sample" size (to be fixed later) and let D denote the target realizable distribution over examples. The distributions D k = D k (D, n) are defined by induction on k as follows:</p><p>1. D 0 : output the empty sample with probability 1.</p><p>3. Else, D k is defined recursively by the following process:</p><p>(iii) If f 0 = f 1 then go back to step (i).</p><p>(iv) Else, pick x &#8712; {x : f 0 (x) = f 1 (x)} and sample y &#8764; {&#177;1} uniformly.</p><p>(v) If f 0 (x) = y then output S 0 &#8226; T 0 &#8226; (x, y) and else output S 1 &#8226; T 1 &#8226; (x, y) .</p><p>Please see Figure <ref type="figure">4</ref> for an illustration of sampling S &#8764; D k for k = 3. We next observe some basic facts regarding these distributions. First, note that whenever D k is well-defined, the process in Item 3 terminates with probability 1.</p><p>Let k be such that D k is well-defined and consider a sample S drawn from D k . The size of S is |S| = k &#8226; (n + 1). Among these k &#8226; (n + 1) examples there are k &#8226; n examples drawn from D and k examples which are generated in Item 3(iv). We will refer to these k examples as tournament examples. Note that during the generation of S &#8764; D k there are examples drawn from D which do not actually appear in S. In fact, the number of such examples may be unbounded, depending on how many times Items 3(i)-3(iii) were repeated. In Section 5.2.3 we will define a "Monte-Carlo" variant of D k in which the number of examples drawn from D is always bounded. This Monte-Carlo variant is what we actually use to define our globally-stable learning algorithm, but we introduce the simpler distributions D k to clarify our analysis.</p><p>The k tournament examples satisfy the following important properties.</p><p>Observation 24. Let k be such that D k is well-defined and consider running the SOA on the concatenated sample S &#8226; T , where S &#8764; D k and T &#8764; D n . Then (x,y) 1. Each tournament example forces a mistake on the SOA. Consequently, the number of mistakes made by the SOA when run on S &#8226; T is at least k.</p><p>2. SOA(S &#8226; T ) is consistent with T .</p><p>The first item follows directly from the definition of x in Item 3(iv) and the definition of S in Item 3(v). The second item clearly holds when S &#8226; T is realizable by H (because the SOA is consistent). For non-realizable S &#8226; T , Item 2 holds by our extension of the SOA in Definition 11.</p><p>The Existence of Frequent Hypotheses. The following lemma is the main step in establishing global stability.</p><p>Lemma 25. There exists k &#8804; d and an hypothesis f : X &#8594; {&#177;1} such that</p><p>Proof. Suppose for the sake of contradiction that this is not the case. In particular, this means that D d is well-defined and that for every f :</p><p>(2)</p><p>We show that this cannot be the case when f = c is the target concept (i.e., for c &#8712; H which satisfies loss D (c) = 0). Towards this end, we first show that with probability 2 -2 d+2 over S &#8764; D d we have that all d tournament examples are consistent with c: for k &#8804; d let &#961; k denote the probability that all k tournament examples in S &#8764; D k are consistent with c. We claim that &#961; k satisfies the recursion</p><p>). Indeed, consider the event E k that (i) in each of S 0 , S 1 &#8764; D k-1 , all k -1 tournament examples are consistent with c, and (ii) that</p><p>. Further, since y &#8712; {&#177;1} is chosen uniformly at random and independently of S 0 and S 1 , we have that conditioned on E k , c(x) = y with probability 1/2. Taken together we have that</p><p>. Since &#961; 0 = 1 we get the recursive relation</p><p>, and &#961; 0 = 1.</p><p>Thus, it follows by induction that for k &#8804; d, &#961; k &#8805; 4 &#8226; 2 -2 k+1 : the base case is verified readily, and the induction step is as follows:</p><p>Therefore, with probability 2 -2 d+2 we have that S &#8226; T is consistent with c (because all examples in S &#8226; T which are drawn from D are also consistent with c). Now, since each tournament example forces a mistake on the SOA (Observation 24), and since the SOA does not make more than d mistakes on realizable samples, it follows that if all tournament examples in S &#8764; D d are consistent with c then SOA(S) = SOA(S &#8226; T ) = c. Thus,</p><p>, which contradicts Equation 2 and finishes the proof.</p><p>Generalization. The next lemma shows that only hypotheses f that generalize well satisfy the conclusion of Lemma 25 (note the similarity of this proof with the proof of Proposition 7):</p><p>Lemma 26 (Generalization). Let k be such that D k is well-defined. Then every f such that</p><p>Proof. Let f be a hypothesis such that Pr S&#8764;D k ,T &#8764;D n [SOA(S&#8226;T ) = f ] &#8805; 2 -2 d+2 and let &#945; = loss D (h). We will argue that 2 -2 d+2 &#8804; (1 -&#945;) n .</p><p>(3) Define the events A, B as follows.</p><p>1. A is the event that SOA(S &#8226; T ) = f . By assumption, Pr[A] &#8805; 2 -2 d+2 .</p><p>2. B is the event that f is consistent with T . Since |T | = n, we have that Pr[B] = (1 -&#945;) n .</p><p>Note that A &#8838; B: Indeed, SOA(S &#8226; T ) is consistent with T by the second item of Observation 24. Thus, whenever SOA(S &#8226; T ) = f , it must be the case that f is consistent with T . Hence, Pr[A] &#8804; Pr[B], which implies Inequality 3 and finishes the proof (using the fact that 1 -&#945; &#8804; 2 -&#945; and taking logarithms on both sides).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.3">The Algorithm G</head><p>A Monte-Carlo Variant of D k Consider the following first attempt of defining a globallystable learner G: (i) draw i &#8712; {0 . . . d} uniformly at random, (ii) sample S &#8764; D i , and (iii) output SOA(S &#8226; T ), where T &#8764; D n . The idea is that with probability 1/(d + 1) the sampled i will be equal to a number k satisfying the conditions of Lemma 25, so the desired hypothesis f guaranteed by this lemma (which also has low population loss by Lemma 26) will be outputted with probability at least 2 -2 d /(d + 1).</p><p>The issue here is that sampling f &#8764; D i may require an unbounded number of samples from the target distribution D (in fact, D i may even be undefined). (i) Draw S 0 , S 1 &#8764; Dk-1 and T 0 , T 1 &#8764; D n independently.</p><p>(ii) Let f 0 = SOA(S 0 &#8226; T 0 ), f 1 = SOA(S 1 &#8226; T 1 ).</p><p>(iii) If f 0 = f 1 then go back to step (i).</p><p>(iv) Else, pick x &#8712; {x : f 0 (x) = f 1 (x)} and sample y &#8764; {&#177;1} uniformly.</p><p>(v) If f 0 (x) = y then output S 0 &#8226; T 0 &#8226; (x, y) and else output S 1 &#8226; T 1 &#8226; (x, y) .</p><p>Note that Dk is well-defined for every k, even for k such that D k is undefined (however, for such k's the probability of outputting "Fail" may be large).</p><p>It Proof. Note that E[M 0 ] = 0 as D 0 deterministically produces the empty sample. We first show that for all 0</p><p>and then conclude the desired inequality by induction.</p><p>To see why Inequality 4 holds, let the random variable R denote the number of times Item 3(i) was executed during the generation of S &#8764; D i+1 . That is, R is the number of times a pair S 0 , S 1 &#8764; D i and a pair T 0 , T 1 &#8764; D n were drawn. Observe that R is distributed geometrically with success probability &#952;, where:</p><p>where the last inequality follows because i &lt; k and hence D i is well-defined, which implies that Pr S,T SOA(S &#8226; T ) = h &#8804; 2 -2 d+2 for all h. Now, the random variable M i+1 can be expressed as follows:</p><p>where</p><p>Indeed, the probability that R &#8805; j is (1 -&#952;) j-1 and conditioned on R &#8805; j, in the j'th execution of Item 3(i) two samples from D i are drawn and two samples from D n are drawn. Thus</p><p>where the last inequality is true because &#952; &#8805; 1 -2 -2 d+2 &#8805; 1/2. This gives Inequality 4. Next, using that E[M 0 ] = 0, a simple induction gives</p><p>and the lemma follows by taking i + 1 = k.</p><p>Proof of Theorem 23. Our globally-stable learning algorithm G is defined as follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.1">Tools from Differential Privacy</head><p>We begin by stating a few standard tools from the differential privacy literature which underlie our construction of a learning algorithm. Let X be a data domain and let S &#8712; X n . For an element x &#8712; X, define freq S Then on input S &#8764; D n , algorithm GenericLearner outputs, with probability at least 1-&#946;, a hypothesis &#293; &#8712; H such that loss D ( &#293;) &#8804; 2&#945;.</p><p>Our formulation of the guarantees of this algorithm differ slightly from those of [KLN + 11], so we give its standard proof for completeness.</p><p>Proof of Lemma 29. The algorithm GenericLearner(S) samples a hypothesis h &#8712; H with probability proportional to exp(-&#949;n loss S (h)/2). This algorithm can be seen as an instantiation of the Exponential Mechanism <ref type="bibr">[MT07]</ref>; the fact that changing one sample changes the value of loss S (h) by at most 1 implies that GenericLearner is &#949;-differentially private.</p><p>We now argue that GenericLearner is an accurate learner. Let E denote the event that the sample S satisfies the following conditions:</p><p>1. For every h &#8712; H such that loss D (h) &gt; 2&#945;, it also holds that loss S (h) &gt; 5&#945;/3, and 2. For the hypothesis h * &#8712; H satisfying loss D (h * ) &#8804; &#945;, it also holds that loss S (h * ) &#8804; 4&#945;/3. We claim that Pr[E] &#8805; 1 -&#946;/2 as long as n &#8805; O(log(|H|/&#946;)/&#945;). To see this, let h &#8712; H be an arbitrary hypothesis with loss D (h) &gt; 2&#945;. By a multiplicative Chernoff bound<ref type="foot">foot_9</ref> we have loss S (h) &gt; 7&#945;/4 with probability at least 1 -&#946;/(4|H|) as long as n &#8805; O(log(|H|/&#946;)/&#945;). Taking a union bound over all h &#8712; H shows that condition 1. holds with probability at least 1 -&#946;/4. Similarly, a multiplicative Chernoff bound ensures that condition 2 holds with probability at least 1 -&#946;/4, so E holds with probability at least 1 -&#946;/2. Now we show that conditioned on E, the algorithm GenericLearner(S) indeed produces a hypothesis h with loss D ( &#293;) &#8804; 2&#945;. This follows the standard analysis of the accuracy guarantees of the Exponential Mechanism. Condition 2 of the definition of event E guarantees that loss S (h * ) &#8804; 4&#945;/3. This ensures that the normalization factor in the definition of the Exponential Mechanism is at least exp(-2&#949;&#945;n/3). Hence by a union bound, Pr[loss S ( &#293;) &gt; 5&#945;/3] &#8804; |H| &#8226; exp(-5&#949;&#945;n/6) exp(-2&#949;&#945;n/3) = |H|e -&#949;&#945;n/6 .</p><p>Taking n &#8805; O(log(|H|/&#946;)/&#945;&#949;) ensures that this probability is at most &#946;/2. Given that loss( &#293;) &#8804; 5&#945;/3, Condition 1 of the definition of event E ensures that loss D ( &#293;) &#8804; 2&#945;. Thus, for n sufficiently large as described, we have overall that loss D ( &#293;) &#8804; 2&#945; with probability at least 1 -&#946;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3.2">Construction of a Private Learner</head><p>We now describe how to combine the Stable Histograms algorithm with the Generic Private Learner to convert any globally-stable learning algorithm into a differentially-private one.</p><p>Theorem 30. Let H be a concept class over data domain X. Let G : (X &#215; {&#177;1}) m &#8594; {&#177;1} X be a randomized algorithm such that, for D a realizable distribution and S &#8764; D m , there exists a hypothesis h such that Pr[G(S) = h] &#8805; &#951; and loss D (h) &#8804; &#945;/2. Then for some</p><p>there exists an (&#949;, &#948;)-differentially private algorithm M : (X &#215; {&#177;1}) n &#8594; {&#177;1} X which, given n i.i.d. samples from D, produces a hypothesis &#293; such that loss D ( &#293;) &#8804; &#945; with probability at least 1-&#946;.</p><p>Theorem 30 is realized via the learning algorithm M described below. Here, the parameter k = &#213; log(1/&#951;&#946;&#948;) &#951;&#949; is chosen so that Lemma 28 guarantees Algorithm Hist succeeds with the stated accuracy parameters. The parameter n = &#213; log(1/&#951;&#946;) &#945;&#949; is chosen so that Lemma 29 guarantees that GenericLearner succeeds on a list L of size |L| &#8804; 2/&#951; with the given accuracy and confidence parameters.</p><p>Taking &#951; = 1/(d + 1)2 </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion</head><p>We conclude this paper with a few suggestions for future work.</p><p>1. Sharper Quantitative Bounds. Our upper bound on the differentially-private sample complexity of a class H has a double exponential dependence on the Littlestone dimension Ldim(H), while the lower bound by <ref type="bibr">[ALMM19]</ref> depends on log * (Ldim(H)). The work by [KLM + 19] shows that for thresholds, the lower bound is nearly tight (up to a polynomial factor). In a followup work to this paper, <ref type="bibr">[GGKM20]</ref> improved the upper bound to poly(Ldim(H)) (roughly, with an exponent of 6). This is also tight up to polynomial factors for some classes, in particular, those with maximal Littlestone dimension equal to log |H|.</p><p>However the tower-of-exponents gap between the upper bound and the lower bound remains essentially the same (with 2 fewer levels). We thus pose the following question:</p><p>Can every class H be privately learned with sample complexity poly(VC(H), log * (Ldim(H)))?</p><p>2. Characterizing Private Query Release. Another fundamental problem in differentiallyprivate data analysis is the query release, or equivalently, data sanitization problem: Given a class H and a sensitive dataset S, output a synthetic dataset &#348; such that h(S) &#8776; h( &#348;) for every h &#8712; H. In earlier versions of this work, we asked whether finite Littlestone dimension characterizes when this task is possible. This was shown to be true by <ref type="bibr">[BLM19]</ref> and <ref type="bibr">[GGKM20]</ref>. <ref type="bibr">([BLM19]</ref> showed how to transform a proper private learner to a sanitizer, and <ref type="bibr">[GGKM20]</ref> proved that every Littlestone class can be learned properly.) However, as with private classification, massive quantitative gaps between the known upper and lower bounds remain.</p><p>3. Oracle-Efficient Learning. Neel, Roth, and Wu <ref type="bibr">[NRW19]</ref> recently began a systematic study of oracle-efficient learning algorithms: Differentially-private algorithms which are computationally efficient when given oracle access to their non-private counterparts. The main open question left by their work is whether every privately learnable concept class can be learned in an oracle-efficient manner. Our characterization shows that this is possible if and only if Littlestone classes admit oracle-efficient learners.</p><p>4. General Loss Functions. It is natural to explore whether the equivalence between online and private learning extends beyond binary classification (which corresponds to the 0-1 loss) to regression and other real-valued losses. These more general loss functions have been studied in subsequent work [JKT20, AQS21, BGS21, Gol21], though the problem of exactly characterizing private learnability in the regression setting remains open.</p><p>tree rooted at its left child and a subtree of height h -1 of the tree rooted at its right child. Note that if T is a labeled tree and it is shattered by the class H, then any subtree T of it with the same labeling of its internal vertices is shattered by the class H. With this definition we prove the following simple lemma.</p><p>Lemma 31. Let p, q be positive integers and let T be a labeled binary tree of height p + q -1 whose internal vertices are colored by two colors, red and blue. Then T contains either a subtree of height p in which all internal vertices are red (a red subtree), or a subtree of height q in which all vertices are blue (a blue subtree).</p><p>Proof: We apply induction on p + q. The result is trivial for p = q = 1 as the root of T is either red or blue. Assuming the assertion holds for p + q &lt; p + q, let T be of height p + q -1. Without loss of generality assume the root of t is red. If p = 1 we are done, as the root together with a leaf in the subtree of its left child and one in the subtree of its right child form a red subtree of height p. If p &gt; 1 then, by the induction hypothesis, the tree rooted at the left child of the root of T contains either a red subtree of height p -1 or a blue subtree of height q, and the same applies to the tree rooted at the right child of the root. If at least one of them contains a blue subtree as above we are done, otherwise, the two red subtrees together with the root provide the required red subtree.</p><p>We can now prove the first part of the theorem, showing that if the Littlestone dimension of H is at least 2 t+1 -1 then H contains t + 2 thresholds. We apply induction on t. If t = 0 we have a tree of height 1 shattered by H. Its root is labeled by some variable x 0 and as it is shattered there are two functions h 0 , h 1 &#8712; H so that h 0 (x 0 ) = 1, h 1 (x 0 ) = 0, meaning that H contains two thresholds, as needed. Assuming the desired result holds for t -1 we prove it for t, t &#8805; 1. Let T be a labeled binary tree of height 2 t+1 -1 shattered by H. Let h be an arbitrary member of H and define a two coloring of the internal vertices of T as follows. If an internal vertex is labeled by x and h(x) = 1 color it red, else color it blue. Since 2 t+1 -1 = 2 &#8226; 2 t -1, Lemma 31 with p = q = 2 t implies that T contains either a red or a blue subtree T of height 2 t . In the first case define h 0 = h and let X be the set of all variables x so that h(x) = 1. Let x 0 be the root of T and let T be the subtree of T rooted at the left child of T . Let H be the set of all h &#8712; H so that h (x 0 ) = 0. Note that H shatters the tree T , and that the depth of T is 2 t -1. We can thus apply the induction hypothesis and get a set of t + 1 thresholds h 1 , h 2 , . . . , h t+1 &#8712; H and variables x 1 , x 2 , . . . , x t &#8712; X so that h i (x j ) = 1 iff j &#8805; i. Adding h 0 and x 0 to these we get the desired t + 2 thresholds. Similarly, if T contains a blue subtree T , define h t+1 = h and let X be the set of all variables x so that h(x) = 0. In this case denote the root of T by x t and let T be the subtree of T rooted at the right child of T . Let H be the set of all h &#8712; H so that h (x t ) = 1. As before, H shatters the tree T whose depth is 2 t -1. By the induction hypothesis we get t + 1 thresholds h 0 , h 1 , . . . , h t and variables x 0 , x 1 , . . . , x t-1 &#8712; X so that h i (x j ) = 1 iff j &#8805; i, and the desired result follows by appending to them h t+1 and x t . This completes the proof.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_0"><p>Interestingly, though the Littlestone dimension is a basic parameter in Machine Learning (ML), this result has not appeared in the ML literature.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_1"><p>Note that if one replaces "equalities" with "inequalities" then the Littlestone dimension may become unbounded while the VC dimension remains bounded. This is demonstrated, e.g., by halfspaces which are captured by polynomial inequalities of degree 1.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_2"><p>I.e. C &#949;/2 satisfies that for every threshold h there exists c &#8712; C &#949;/2 such that Prx&#8764;D X (c(x) = h(x)) &#8804; /2.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_3"><p>I.e. it may output hypotheses which are not thresholds.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_4"><p>Theorem 2.3 in<ref type="bibr">[ABMS20]</ref> is based on a previous realizable-to-agnostic transformation from<ref type="bibr">[BNS15]</ref> which applies to proper learners. Here we require the more general transformation from<ref type="bibr">[ABMS20]</ref> as the learner implied by Theorem 3 may be improper.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_5"><p>We focus on the realizable case.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="9" xml:id="foot_6"><p>It appears that the name "Littlestone dimension" was coined in<ref type="bibr">[BPS09]</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="10" xml:id="foot_7"><p><ref type="bibr">[She78]</ref> provides a qualitative statement, a quantitative one that is more similar to Theorem 10 can be found at<ref type="bibr">[Hod97]</ref> </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="11" xml:id="foot_8"><p>A subset of the universe is homogeneous if all of its t-subsets have the same color.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="12" xml:id="foot_9"><p>I.e., for independent random variables Z1, . . . , Zn whose sum Z satisfies E[Z] = &#181;, we have for every &#948; &#8712; (0, 1) that Pr[Z &#8804; (1 -&#948;)&#181;] &#8804; exp(-&#948; 2 &#181;/2) and Pr[Z &#8805; (1 + &#948;)&#181;] &#8804; exp(-&#948; 2 &#181;/3).</p></note>
		</body>
		</text>
</TEI>
