<?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'>Optimal Hypothesis Selection in (Almost) Linear Time</title></titleStmt>
			<publicationStmt>
				<publisher>NeurIPS 2024</publisher>
				<date>12/09/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10680668</idno>
					<idno type="doi"></idno>
					
					<author>Maryam Aliakbarpour</author><author>Mark Bun</author><author>Adam Smith</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Hypothesis selection, also known as density estimation, is a fundamental problem in statistics and learning theory. Given a sample set from an unknown distribution P and a finite class of candidate distributions (hypotheses) H := H 1 , H 2 , . . . , H n , the goal is to design an algorithm that selects a distribution Ĥ from H that best describes P . The accuracy of the algorithm is measured by the distance between Ĥ and P , compared to the distance between the closest distribution in H and P (denoted by OPT). Specifically, we aim for → Ĥ ↑ P → TV to be at most ω • OPT + ε for some small ε and ω. While the value of ε can be reduced with an increasing number of samples, ω is an inherent characteristic of the algorithm. Achieving ω < 3 is impossible, even with only two candidate hypotheses, unless the number of samples is proportional to the domain size of P [Bousquet, Kane, Moran '19]. Finding a computationally efficient algorithm that achieves the optimal ω has been a primary focus of research since the early work of [Devroye, Lugosi '01]. Before our work, the algorithms achieving ω < 5 required time !(n 2 ). We present the first algorithm that operates in almost linear time ( Õ(n/ε 3 )) and achieves ω = 3. This result improves upon a long line of hypothesis selection research. Previously known algorithms had either worse time complexity, a larger ω factor, or additional assumptions about the problem setting. Additionally, we provide another (almost) linear-time algorithm with better dependency on the additive accuracy parameter ε, albeit with a slightly worse accuracy parameter of ω = 4.]]></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>Hypothesis selection, also known as density estimation, is a fundamental problem in statistics and learning theory. This problem involves identifying a density function that accurately represents the distribution of a given dataset. Suppose we are given a dataset of samples drawn from an unknown distribution P and a finite class of known distributions, representing different hypotheses: H := {H 1 , H 2 , . . . , H n }. The goal is to select a distribution in H that is close to P in total variation (TV) distance.</p><p>Typically, learning a distribution over a domain X with an &#949; error in TV distance requires !(|X |/&#949;<ref type="foot">foot_2</ref> ) samples, which presents a substantial lower bound in sample complexity for distributions over large domains. Surprisingly, the findings of Yatracos, Devroye, and Lugosi revealed that for hypothesis selection, this sample complexity can be independent of the domain size and only logarithmic in the number of hypotheses <ref type="bibr">[Yat85,</ref><ref type="bibr">DL96,</ref><ref type="bibr">DL97]</ref>. With just s := "(log n/&#949; 2 ) samples from P , it is possible to learn P within error &#969; &#8226; OPT + &#949;, where OPT denotes the distance of the nearest distribution in H to P . Specifically, Devroye and Lugosi introduced two algorithms for this problem: the Scheff&#233; tournament, which operates in O(n 2</p><p>&#8226; s) time<ref type="foot">foot_1</ref> and achieves &#969; = 9; and the minimum distance estimate, which runs in O(n 3</p><p>&#8226; s) time and achieves &#969; = 3 [DL01, Chapter 6]. In these results, although &#949; can be decreased as the number of samples increases, &#969; remains an inherent parameter of the algorithm.</p><p>Significant effort has been directed towards finding computationally efficient algorithms for this problem while maintaining sample efficiency. The trade-off between the accuracy parameter &#969; and computational efficiency has been a focal point. Mahalanabis and Stefankovic in <ref type="bibr">[MS08]</ref> enhanced the minimum distance estimate, improving the time complexity to O(n 2</p><p>&#8226; s). They also introduced a nearly linear-time algorithm that achieves &#969; = 3, but requires exponential time in n for preprocessing the class H. Other nearly linear-time algorithms were developed achieving &#969; = 9 in [AJOS14, AFJ + 18, AAC + 23] 2 and &#969; = 5 in <ref type="bibr">[ABS23]</ref>. Furthermore, linear-time algorithms have been presented under the assumption that the algorithm receives the value of OPT (or its upper bound) as input <ref type="bibr">[DK14,</ref><ref type="bibr">ABS23]</ref>. However, achieving &#969; &lt; 3 is not possible unless the number of samples becomes poly(|X |), as indicated in <ref type="bibr">[BKM19]</ref>.</p><p>Despite the long-standing history of this problem, the following question remained open:</p><p>Is there an algorithm for hypothesis selection with the optimal number of samples s = O(log(n)/&#949; 2 ) and optimal accuracy parameter &#969; = 3 that runs in O(n &#8226; s) time?</p><p>We present the first almost linear-time algorithm that uses the optimal number of samples and achieves the optimal accuracy parameter &#969; = 3. Our algorithm runs in &#213;(n &#8226; s / &#949;) time (see Theorem 2). Additionally, we introduce another algorithm with improved dependency on &#949;, running in &#213;(n &#8226; s) time while obtaining a slightly higher accuracy parameter, &#969; = 4 (see Theorem 3). Our results represent a significant step forward, as they are the first in decades to achieve time complexity linear in n for any &#969; &lt; 5. See Table <ref type="table">1</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Applications of Hypothesis Selection</head><p>The primary application of hypothesis selection is to identify the best distribution from a set of known models that represent potential underlying data distributions we can effectively manage. For example, this set might include Poisson, gamma, and binomial distributions with various parameters used to model the number of arrivals per time unit. This makes hypothesis selection applicable to tasks like interpretable distribution selection and strategy optimization, where the objective is to choose the most suitable model from available options.</p><p>Another key strength of hypothesis selection is its agnostic nature, allowing it to adapt even when the true distribution lies outside the considered class. This robustness makes it effective in noisy data settings, with applications in denoising and anomaly detection. From a theoretical standpoint, hypothesis selection is fundamental in learning structured distributions, particularly when combined with the cover method, as seen in learning mixtures of Gaussians <ref type="bibr">[DK14,</ref><ref type="bibr">SOAJ14]</ref>. For additional references, see Section 1.3.</p><p>Importance of improving &#969; &#969; &#969; by a constant factor In most learning algorithms, the error guarantee decreases polynomially as the number of samples increases, so constant factors may not be as crucial. However, this is not the case in hypothesis selection. The output hypothesis is guaranteed to be (&#969; &#8226; OPT + &#949;)-close to P in total variation distance. While increasing the number of samples can reduce &#949; to negligible levels, it does not improve the term &#969; &#8226; OPT. Hence, &#969; is an inherent property of the algorithm and directly impacts the best achievable error guarantee. Therefore, even a constant improvement in &#969; is significant.</p><p>One might argue that, alternatively, OPT could be reduced by carefully curating the class H. However, beyond the practical challenges of finding a better H, it is unclear whether this can be achieved without significantly increasing the size of the hypothesis class H. For example, in the cover method, when aiming to learn a distribution within a class C, we set H to be a &#977;-net that serves as a cover for C, ensuring that OPT &lt; &#977;. While using a finer &#977;-net can reduce OPT, it may also drastically increase the size of H, thereby increasing the algorithm's running time, since the size of the net can grow super-polynomially with respect to &#977;. For instance, in the case of mixtures of k Gaussians, the size of the net depends on &#977; as roughly O(&#977; &#8594;3&#8226;k ) (see <ref type="bibr">[SOAJ14]</ref>). Thus, reducing &#977; by a factor of three could exponentially increase the size of H in terms of k, thereby increasing both the running time and sample complexity, ultimately resulting in an inefficient algorithm.</p><p>Table <ref type="table">1</ref>: Summary of Past Results in Hypothesis Selection. All algorithms use s = "(log n/&#949; 2 ) samples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Result &#969; Time Complexity Additional requirement</head><p>Min distance estimate <ref type="bibr">[DL01]</ref> 3 O(n<ref type="foot">foot_3</ref> &#8226; s) Scheff&#233; tournament <ref type="bibr">[DL01]</ref> 9 O(n 2 &#8226; s) Min distance estimate <ref type="bibr">[MS08]</ref> 3</p><p>Assume knowledge of OPT Lower bound <ref type="bibr">[BKM19]</ref> Achieving </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Problem Setup</head><p>Suppose we have an unknown distribution P over a domain X and a set of n known distributions H := {H 1 , H 2 , . . . , H n }. Let OPT denote the distance between P and the closest distribution to it in H 3 : OPT(H, P ) := min H&#8593;H &#8594;H &#8593; P &#8594; TV . We use the standard access model for this problem as introduced in <ref type="bibr">[DL01]</ref>. The algorithm accesses the distributions through the following types of queries:</p><p>1. The algorithm can request a sample from the unknown distribution P .</p><p>2. The algorithm can compare the PDF of two known distributions: For every domain element x &#8596; X and every pair of indices i and j, it can ask if H j (x) &lt; H i (x). This is equivalent to asking if x is in the Scheff&#233; set of H i and H j (defined in Equation ( <ref type="formula">2</ref>)).</p><p>3. The algorithm can query the probability mass of the Scheff&#233; sets according to all the known distributions.</p><p>Remark 1. The last requirement of our model can be relaxed. Only estimates of the probability masses of the Scheff&#233; sets are needed for our algorithms. Thus, one can alternatively assume sample access to H i 's, and estimate these values via samples.</p><p>Definition 1.1 (Proper learner for hypothesis selection). Suppose algorithm A is given parameters &#949;, &#982; &#8596; (0, 1), &#969; &#8596; R &gt;0 and has access to an unknown distribution P and a class of n known distributions H (as described above). We say A is an (&#969;, &#949;, &#982;)-proper learner for the hypothesis selection problem if for every P and H, A outputs &#292; &#8596; H for which, with probability at least 1 &#8593; &#982;, &#8594; &#292; &#8593; P &#8594; TV &#8599; &#969; &#8226; OPT(H, P ) + &#949; .</p><p>(1)</p><p>We refer to &#969; as the accuracy parameter, &#949; as the error (or proximity) parameter, and &#982; as the confidence parameter of the algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Main theorems</head><p>Below, we provide informal versions of our theorems. Theorem 2. For every &#949;, &#982; &#8596; (0, 1), Algorithm 1 is an (&#969; = 3, &#949;, &#982;)-proper learner for hypothesis selection that uses s = O(log(n/&#982;)/&#949; 2 ) samples and time &#213;(n &#8226; s / (&#982; 3 &#949;)) = &#213;(n/(&#982; 3 &#949; 3 )). Theorem 3. For every &#949;, &#982; &#8596; (0, 1), Algorithm 4 is an (&#969; = 4, &#949;, &#982;)-proper learner for hypothesis selection that uses s = O(log(n/&#982;)/&#949; 2 ) samples and time</p><p>For formal statements, see Theorem 5 (Appendix A) and Corollary B.1 (Appendix B).</p><p>Our results are the first to achieve time complexity linear in n for any &#969; &lt; 5. To achieve this, we introduce novel algorithmic techniques that will hopefully be broadly useful-see Section 3 for an overview. Both algorithms use the optimal number of samples. The first algorithm obtains optimal accuracy parameter &#969; = 3 with a time complexity of &#213;(n/(&#982; 3 &#949;) &#8226; s), which is off by an O(1/(&#982; 3 &#949;)) factor. Our second algorithm achieves the optimal time complexity up to logarithmic factors while achieving a slightly higher &#969; = 4. Our results leave a fascinating open question: Can one combine the best aspects of both algorithms, maintaining &#969; = 3, achieving O(n &#8226; s) time (or even lower), and sample complexity s = O(log(n/&#982;)/&#949; 2 )? Remark 4. Readers may be surprised by the polynomial dependence on 1/&#982; in Theorem 2. In many settings, the success probability of a learning algorithm can be amplified from a constant, say 2/3, to at least 1 &#8593; &#982; at a cost of at most log(1/&#982;) in running time and sample complexity. However, in hypothesis selection, there is no (known) general technique for boosting the confidence parameter while keeping &#969; the same. The issue is that choosing the best output from several runs of a given algorithm requires executing a second hypothesis selection algorithm, which introduces another factor of &#969; in the approximation-leading to a total factor of at least 9. As a result, these kinds of two-phase algorithms are not sufficient in the low &#969; regime. Some previous results, such as <ref type="bibr">[ABS23]</ref>, also suffer from a polynomial dependency on &#982;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">Other related work</head><p>Hypothesis selection has been studied in various settings including improper setting. In <ref type="bibr">[BKM19]</ref>, the authors consider the improper version of the problem where the output hypothesis &#292; may not necessarily be in H. They presented an improper learner with accuracy guarantee &#969; = 2. The sample complexity of their algorithm was improved by [BBK + 21], who gave an algorithm with nearly optimal sample complexity and the same accuracy parameter &#969; = 2. It is worth noting that our algorithms are proper learners and solve this problem with a slightly better sample complexity. In addition, like other proper learners, our algorithms select their output from a predefined set, which can facilitate choosing a distribution with specific structural property (e.g., mixture of Gaussians). In certain applications, this selection ensures consistency with the problem's underlying assumptions, which enhances interpretability and robustness.</p><p>The problem of hypothesis selection in sublinear time was studied for distributions on discrete domains [AAC + 23]. Among other results, the authors developed a data structure that upon receiving samples from a unknown distribution P returns a hypothesis &#292; in o(n) time. While their algorithm runs in sublinear time, their sample complexity depends on the domain size of the distribution, and their setting allows pre-processing of the class H in polynomial time. Another interesting variation for hypothesis selection is designing differentially private learners for the problem which has received attention over the past few years [BKSW19, CKM + 19, GKK + 20].</p><p>An important application of hypothesis selection arises when there is a structural assumption on the underlying distributions. One approach for learning these classes is to selectively choose a cover for the class.</p><p>One can then use the learners for the standard hypothesis selection problem (which we study in the paper) and use the cover as the class H. Examples of such structural assumptions include Poisson binomial distributions [DDS12], mixtures of Gaussians [KMV12, DK14, SOAJ14, DKS17, KSS18, ABM18, ABH + 20], distributions with piecewise polynomial PDFs [ADLS17], and histograms [Pea95, CDSS14, CDKL22]. See Diakonikolas [Dia16] for a survey of results.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>Notation: We use the following notation throughout this article. We use <ref type="bibr">[n]</ref> to indicate the set {1, 2, . . . , n}. For a distribution Q over X , Q(x) denotes the PDF of Q at the domain element x &#8596; X . For any measurable subset of the domain S &#8600; X , Q(S) indicates the probability mass of the set S according to Q. We use</p><p>is greater than &#949;. We use the standard O, !, " notation for asymptotic functions. Additionally, we use &#213;, !, and " to hide polylog factors.</p><p>Scheff&#233; sets: For every pair of hypotheses H i and H j in H, we define the Scheff&#233; set of H i and H j as follows:</p><p>It is known that the Scheff&#233; set maximizes the probability discrepancy between H i and H j , thus fully characterizing the total variation distance between the two distributions:</p><p>The optimal hypothesis: Recall that we assume the algorithm is given samples drawn from an unknown distribution P . Let H i &#8594; denote the closest hypothesis in H to P . That is, H i &#8594; is the hypothesis for which &#8594;H i &#8594; &#8593; P &#8594; TV = OPT. When there is more than one hypothesis with this property, we pick one arbitrarily as</p><p>Semi-distances: For every pair i, j in [n], we define w j (H i ) to be |H i (S i,j ) &#8593; P (S i,j )|. In words, w j (H i ) is the distance of H i to P observed on the Scheff&#233; set of H i and H j . For every pair i, j &#8596; [n], we use &#373;j (H i ) to denote an estimate of w j (H i ) based on the observed sample. For the sake of consistency, we define w i (H i ) to be zero. In addition, we define the score function</p><p>Refined access model: Similar to previous work <ref type="bibr">[DL01,</ref><ref type="bibr">MS08]</ref>, we use estimates of the semidistances. One can easily estimate these quantities, denoted by &#373;j (H i ), via the access model we have described earlier by letting &#373;j (H i ) be the empirical ratio of the samples that are in S i,j . Throughout this paper, we assume that there are two universal parameters &#982; &#8596; = "(&#982;) and &#949; &#8596; = "(&#949;), for which with probability</p><p>A simple application of the Hoeffding bound and the union bound shows that one can compute all of the estimates via s = O(log(n/&#982; &#8596; )/&#949; &#8596; 2 ) samples, and each estimate can be computed in O(s) time.</p><p>Our algorithms access the distributions in H &#8656; {P } only via querying &#373;j (H i ). This fact brings the sample complexity of our algorithms to s = O(log(n/&#982; &#8596; )/&#949; &#8596; 2 ) samples. The time complexity of our algorithms is determined by the number of queries they make to the &#373;j (H i )'s, multiplied by time that we spend on each query, O(s). Moreover, in the proofs of our theorems, we assume without loss of generality that all the &#373;j (H i )'s are accurate. Conditioning on the accuracy will not decrease the probability of correctness of any of our algorithms by more than &#982; &#8596; due to Fact C.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Overview of our techniques</head><p>In this section, we provide a high-level discussion of our algorithm. The important notations and definitions used here are provided in Section 2. For the high-level discussions in this section, we assume we have access to the exact values of the semi-distances w j (H i ). In the formal proofs presented in subsequent sections, we will substitute each w j (H i ) with an estimated value &#373;j (H i ).</p><p>If the error of these estimates is below &#949; &#8596; = "(&#949;), it can be shown that the overall impact of this substitution on our final distance guarantee (Equation <ref type="formula">1</ref>) is at most "(&#949;). See the "Refined access model" in Section 2 for further details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Background: Semi-distances and the minimum distance estimate</head><p>To solve the hypothesis selection problem, we seek a certificate that ensures we output a hypothesis &#292; such that &#8594; &#292; &#8593;P &#8594; TV is at most 3 OPT. Similar to previous work, our algorithms operate based on the probability masses of the Scheff&#233; sets (Equation (2)) of pairs of hypotheses in H. The semi-distance w j (H i ), defined as |H i (S i,j ) &#8593; P (S i,j )|, captures the "distance" between H i and P as measured on this particular set S i,j . One suggestion for readers to internalize the semi-distances is to view them as a distance between H i and P that is measured from the perspective of H j . By definition, w j (H i ) is always a lower bound for &#8594;H i &#8593; P &#8594; TV :</p><p>However, it is possible for w j (H i ) to be much lower, making it difficult for an algorithm to estimate the TV distance between H i and P just using semi-distances.</p><p>Nevertheless, for each hypothesis H i , a specific semi-distance w i &#8594; (H i ), associated with the optimal hypothesis H i &#8594; , determines its quality. As shown in the following proof, if w i &#8594; (H i ) &#8599; OPT, then H i is 3, OPT-close to P , with the total variation distance between H i and P bounded by w i &#8594; (H i ) and OPT via the triangle inequality:</p><p>This observation implies that if we assert that w i &#8594; (H i ) is bounded by OPT, we can output H i as our final solution to the problem and be done. The challenge is that we neither know i &#8599; nor OPT.</p><p>This issue is addressed by the minimum distance estimate presented in [DL01, MS08] using a score function W (H i ), as defined earlier: W (H i ) := max j&#8593;[n] w j (H i ). The minimum distance estimate outputs a hypothesis &#292; that minimizes W (H i ). We can assert that, for the output of this algorithm, &#292;, w i &#8594; ( &#292;) is at most OPT. This approach simultaneously bypasses the issues of not knowing i &#8599; and OPT.</p><p>Note that W (H i ) serves as a proxy for the quality of H i since W (H i ) is an upper bound for w i &#8594; (H i ).</p><p>Using W (H i ), we can address the issue of not knowing i &#8599; . On the other hand, although OPT is not known, we have a good lower bound for OPT, which is W (H i &#8594; ). Putting these observations together, we obtain:</p><p>These inequalities are derived using the triangle inequality and the fact that &#292; was chosen to be the arg min i&#8593;[n] W (H i ). See Figure <ref type="figure">1</ref> for an illustration of the above inequality. The primary hurdle with the minimum distance estimate is that it is costly to compute. Computing each W (H i ) takes O(n &#8226; s) time, bringing the total time complexity of the algorithm to O(n 2</p><p>&#8226; s). One might naturally conjecture that sampling may help to compute an estimate of W (H i ). Instead of using W (H i ) := max j&#8593;[n] w j (H i ), we can use W (H i ) := max j&#8593;R w j (H i ) where R is a set of random indices in <ref type="bibr">[n]</ref>. The issue with this approach is that there is no guarantee of i &#8599; being selected in R, making W (H i ) too low while H i may be far from P . Hence sampling, if used in a trivial manner, is not beneficial.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">The algorithm with &#969; = 3</head><p>In this section, we present an overview of Algorithm 1 that attains &#969; = 3. The details of this algorithm and its related theorems are provided in Section A. At a high level, similar to the minimum distance estimate, we work towards finding a hypothesis that minimizes W (H i ). To increase efficiency, we</p><p>P (Si,j) Hi&#8594; (Si,j) Hi (Si,j) &#8594; OPT wi&#8594; (Hi) &#8594; W (Hi) wi(Hi&#8594; ) &#8593;Hi &#8595; Hi&#8594; &#8593;TV H i O P T H i&#8594; P &#8593; H i &#8595; P &#8593; T V TV distance = absolute difference of probabilities on Scheff&#233; set Probability of S i,j according to different distributions: Figure 1: A description of bounding &#8594;H i &#8593; P &#8594; TV via W (H i ) and OPT work with estimates of W (H i )'s, denoted by W (H i ). The general structure of our algorithm is as follows: Initially, all W (H i ) are set to zero. At every step, we come up with several pairs of hypotheses H i and H j and update our estimates by setting W (H j ) to max( W (H j ), w i (H j )). Our approach ensures that at every step, W (H i ) is equal to max j&#8593;R w j (H i ) for a small, carefully chosen set R. Eventually, we output a hypothesis with roughly the smallest W (H i ).</p><p>Focusing on small W W W : Our first idea is to focus on updating the W for hypotheses whose W (H i ) values are around the current minimum W . The rationale for this action comes from a simple fact: W (H j ) always underestimates the value of W (H j ). Hence, if we observe that W (H i ) is substantially larger than the current minimum, then W (H i ) is also substantially larger than the current minimum. This implies that H i is not a suitable candidate for the minimum at this stage of the algorithm, and it can be ignored for now.</p><p>Bucketing hypotheses based on W W W : To implement this idea, we partition the hypotheses into k = "(1/&#949; &#8596; ) buckets B := {B 1 , B 2 , . . . , B k } based on W (H i ). The bucket &#1009; contains all the hypotheses H i such that W (H i ) &#8596; [(&#1009; &#8593; 1)&#949; &#8596; , &#1009; &#949; &#8596; ). At every step, we focus on the smallest nonempty bucket B &#969; (the smallest &#1009; for which |B &#969; | &#8658; = 0). B &#969; contains all the hypotheses whose W (H j ) is around the minimum W . We pick pairs of hypotheses, H i &#8596; H and H j &#8596; B &#969; , and update W (H j ). Note that our updates may increase W (H j ), and we may remove H j from B &#969; and put it into a larger bucket (a bucket with a larger index &#1009;). Also, observe that we never move a hypothesis into a smaller bucket since W (H j ) never decreases. We continue our updates to reach one of the following outcomes:</p><p>&#8226; B &#969; becomes empty. That is, our updates made all W (H i ) fall out of the range of these buckets [0, &#1009; &#949; &#8596; ). Thus, every W (H i ) (and consequently every</p><p>Every time that we empty out a bucket, we have increased our threshold for minimum W (H i ) by &#949; &#8596; . Hence, we are getting closer to a bucket with the true minimum, which we hope to reach in O(1/&#949; &#8596; ) steps. &#8226; B &#969; is not empty, but we can confidently confirm most of the hypotheses in B &#969; are an acceptable output for the algorithm. Although we cannot ensure that H i &#8594; is indeed in B &#969; , we can find an acceptable final answer by selecting a random hypothesis in B &#969; . Which pairs to update? Next, we outline our update scheme to implement the above ideas in linear time. To enhance time efficiency, our aim is to optimize the updating process to ensure both quality and quantity in the chosen updates. Quality, in this context, relates to the extent of change in W (H j ) following an update: We consider H i to have made a substantial update to H j if W (H j ) + &#949; &#8596; &lt; &#373;j (H i ). Such updates cause a significant shift, increasing the value of W (H j ) by more than &#949; &#8596; and subsequently moving H j to a different bucket with a higher index &#1009;. We refer to this event as H i removing H j from its bucket. The quantity, on the other hand, relates to the number of H j instances that a given H i can remove from B &#969; . An ideal H i eliminates a substantial portion of hypotheses from B &#969; (say a constant fraction). We call such an H i a prompting hypothesis. Now, if for O(log |B &#969; |) rounds we find a prompting hypothesis and update all the W (H j ) for H j &#8596; B &#969; , we will empty out the bucket B &#969; , and we can move forward. Finding a prompting hypothesis: To find a prompting hypothesis quickly, we iterate over all H i in H, sample a few H j , and check if H i substantially updates W (H j ). If H i substantially improves a large fraction of the sampled hypotheses, then we declare that H i is a prompting hypothesis. See Section A.1.1 for further details. In addition to that, we provide a more advanced version of this procedure in Section A.1.2 that allows us to shave off an O(log n) factor. Getting stuck? Here is your way out: What happens when B &#969; is not empty, and we cannot find a prompting hypothesis? We show that if we do not find a prompting hypothesis, then a random hypothesis in B &#969; is an acceptable answer. The surprising part about this statement is that it holds regardless of the size of the bucket B &#969; due to hypothesis sampling procedure we have to find a prompting hypothesis. In search for a prompting hypothesis, we iterate over all H i and sample roughly O(log n/&#982;) many hypotheses H j 's in B &#969; . We check, if H i can remove them from the bucket. Note that if H i was not found to be prompting, it implies that H i &#8594; cannot substantially update most of the hypotheses in B &#969; . Thus, We have that with high probability for 1 &#8593; &#982; fraction of the hypotheses in B &#969; ,</p><p>The clever hack here is an observation about H i &#8594; . Earlier, we discussed that we are looking for a hypothesis H i with w i &#8594; (H i ) &#8599; OPT. We claim that a random hypothesis in the last B &#969; (almost) has this property. On one hand, given that H i &#8594; was not found to be a prompting hypothesis, for 1 &#8593; &#982; fraction of H i in B &#969; , w i &#8594; (H i ) must be at most &#1009; &#8226; &#949; &#8596; . On the other hand, the fact that all the previous buckets, B 1 , . . . , B &#969;&#8594;1 , are empty indicates H i &#8594; has shown a semi-distance of at least (&#1009; &#8593; 1) &#949; &#8596; . Hence, OPT, which is at least as large as all</p><p>Therefore, for 1 &#8593; &#982; fraction of the hypotheses in B &#969; , they are 3 OPT + "(&#949;) close to P . For a formal argument, see Lemma A.1. Now, assume the search for the prompting hypothesis fails. Recall that during the search, we have checked every single hypothesis in H. During the search, at some point, we must have stumbled upon H i &#8594; and did not declare it as a prompting hypothesis. In this case, either our sampling for substantial updates failed (which happens with small probability), or we can infer that there are not too many far hypotheses in B &#969; . Either way, we can output a random hypothesis from B &#969; as the final sample without increasing the error probability by too much.</p><p>Dependency on &#982;: It is worth noting that this last step results in a polynomial dependency on &#982; (as opposed to a more desirable dependency of log(1/&#982;)). This is mainly due to the fact that to ensure that a random hypothesis in B &#969; is not too far, with a probability of 1 &#8593; &#982; in a single round, we have to try O(log(n)/&#982;) hypotheses in B &#969; and check if H i &#8594; is prompting them. Hence, relying on this structural property of H i &#8594; makes a polynomial dependency on &#982; inevitable. Improving the dependency on &#982; for this algorithm would require new algorithmic ideas.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">The algorithm with &#969; = 4</head><p>We introduce another (almost) linear-time algorithm for the hypothesis selection problem, where the time complexity shows improved dependency on &#949;. However, this algorithm has a slightly worse accuracy parameter compared to our previous algorithm: &#969; = 4. This algorithm and the subsequent theorems are provided in Section B.</p><p>Algorithm with a guessed upper bound of OPT OPT OPT: As mentioned earlier, unlike previous work, our algorithm does not receive any prior information about the value of OPT. It might be speculated that there exists an easy reduction between our problem and another version of hypothesis selection, where an auxiliary parameter &#962; is provided to the algorithm such that OPT &#8599; &#962;. A learner without the knowledge of &#962; can make a guess about &#962; and run one of the existing algorithms that works with the knowledge of an upper bound of OPT (e.g., <ref type="bibr">[ABS23]</ref>) and check if it finds a good hypothesis or not. With this procedure in mind, we can run a binary search to find the smallest &#962; for which we find a hypothesis. <ref type="foot">4</ref> However, a challenge with this approach is that the algorithm might yield a hypothesis even when &#962; &lt; OPT, making it difficult for us to refute the hypothesis that is found. Even if the output &#292; satisfies W ( &#292;) &gt; &#962;, it does not necessarily invalidate our guessed value &#962;.</p><p>To overcome this challenge, we design an algorithm, namely A, with enhanced accuracy guarantees for the output hypothesis. We provide A with the value &#962;. We treat &#962; as a "guess" for which we hope that OPT &#8599; &#962;. We require the algorithm to either refute our guess and declare OPT &gt; &#962;, or output a hypothesis &#292; with a reasonable distance to P , irrespective of the relationship between OPT and &#962;. More precisely, the distance of the output hypothesis should be bounded by: &#8594; &#292; &#8593; P &#8594; TV &#8599; &#969; &#8226; max(OPT, &#962;) + &#949;. With these revised guarantees, it is permissible to run a binary search over different values of &#962; in {&#949;, 2 &#949;, . . . , &#8657;1/&#949;&#8659; &#949;}, and output the hypothesis that A returns on the smallest &#962;. For the rest of this discussion, we focus on designing A and a provided parameter &#962;.</p><p>Seeds and finding an acceptable hypothesis via seeds: In this algorithm, we introduce a new concept called a seed for hypotheses. A seed provides us with a structural property that enables us to identify an acceptable hypothesis, regardless of the relationship between H i &#8594; and the seed. More formally, for a hypothesis H i , we define M a,b (H i ) as the set of hypotheses H j such that w j (H i ) is between a and b:</p><p>We may omit the subscript of M when it is clear from the context. We say a hypothesis H i is a seed if almost all of its &#373;j (H i ) are low and its W (H i ) is not too large. The quality of a seed is determined by three parameters: a, b, and m. Definition 3.1 (Seed). Given parameters a, b &#8596; R &#8600;0 , and a non-negative integer m, we say a hypothesis is an (a, b, m)-seed if the following hold: 1)</p><p>A seed with a small-sized set M and a small b exhibits an interesting property: Suppose we have a seed H i with a constant-sized set M. In this case, in O(n) time, we can compute W (H j ) of every hypothesis H j in M. Now, let H &#969; &#8596; M be one of the hypotheses that minimize W (H j ): H &#969; := arg min Hj &#8593;M W (H j ). We claim either H i or H &#969; is acceptable output in this case. When H i &#8594; is in H \ M, we can infer that w i &#8594; (H i ) is at most b (or, more precisely, b + &#949; &#8596; ). From our earlier discussion, if b is sufficiently small (compared to &#962;), we can show that H i is close to P . In cases where H i &#8594; is in M, although we do not have strong guarantees for H i itself, we have a very good answer already: H &#969; is essentially a minimum distance estimate for the set M which includes H i &#8594; . Thus, we can conclude: First, H &#969; is an acceptable output because it is 3 OPT-close; second, W (H &#969; ) is a lower bound for OPT. Now, as we described, we have two acceptable outputs for two cases of the problem. For H i &#8594; &#8596; H\M, H i is an acceptable answer. For H i &#8594; &#8596; M, H &#969; is an acceptable answer. The only problem is that we do not know which case we are in. Our strategy is to pick a hypothesis that is still reasonably close to P even if we are in the other case. Let us fix a threshold value T . We compare W (H &#969; ) with T &#962;:</p><p>say H &#969; is a good choice for us. However, we can conclude that H i is a close hypothesis to P even when H i &#8594; happens to be in M. In this case, we know that OPT &#8595; W (H &#969; ) &gt; T &#8226; &#962;. We take advantage of this knowledge and obtain the following bound:</p><p>Thus, regardless of where</p><p>We summarize these four cases in the following table. Depending on a and b, we set T to minimize the maximum distance we endure in these cases. It is worth noting that in this argument, we did not rely on any prior knowledge concerning the relationship between &#962; and OPT.</p><p>Table <ref type="table">2</ref>: Four cases when we process a good seed.</p><p>How to find the first seed? Here, we provide an overview of our approach for identifying an initial seed. For a detailed explanation of the algorithm and its performance, refer to Section B.1.</p><p>To start, fix two parameters, a = &#962; and b = 3&#962;. To identify a seed hypothesis, we iterate over all hypotheses H 1 , . . . , H n , checking whether each hypothesis H i is a strong seed (i.e., a seed with a small |M|) by sampling several H j 's and verifying if w j (H i ) is at most a. Roughly speaking, for an integer m &#8596; [n], if we sample approximately &#213;(n/m) H j 's and find that no w j (H i ) &gt; a, we can, with high probability, confirm that the size of M does not exceed m. This approach requires O(n 2 /m) time.</p><p>There are, however, a few caveats with this method. First, if a seed is identified using the above approach, it may have a large W (H i ) &gt; b. In this case, we can infer that H i is likely far from P . Given the time invested in identifying H i , we aim to leverage this information. Broadly, observing that w j (H i ) &#8599; a implies that many hypotheses are close to H i (assuming that w i (H j ) values are also small). Knowing that H i is far from P , we can mark all hypotheses close to H i as also far, allowing us to proceed with the search. While this may seem counterproductive, marking a significant number of hypotheses as "far" constitutes progress for our algorithm. Specifically, if, at some point, all hypotheses are marked, we can declare that &#962; &lt; OPT.</p><p>The second caveat is more challenging. Ideally, we seek a seed with a constant m, but finding such a seed would require &#213;(n 2 /m) = &#213;(n 2 ) time. Consequently, for a linear-time algorithm, we can only afford to find seeds where m = "(n). In other words, the quality of the seed we can initially identify is much lower than the quality required for a producing solution. This leads to our next idea: boosting a seed, which is an approach to incrementally improve the seed's quality in roughly O(log n) steps.</p><p>Boosting a Seed: In this process, we use an initial seed to iteratively find a stronger seed with a reduced value of |M|.</p><p>For a formal argument, see Section B.2. Assume a rate parameter &#966; &#8596; (0, 1). As discussed earlier, by spending O(n/&#966;) time, we can identify a seed with m &#8660; &#966; &#8226; n. Initially, m = |M| might be O(n). Hence, rather than calculating W (H j ) exactly for all H j &#8596; M, we compute an approximate maximum semi-distance W (H j ) by sampling t hypotheses. Specifically, for each H j &#8596; M, we set W (H j ) := max H k &#373;k (H j ), where H k 's are sample hypotheses. Using these approximate values W , we process the seed as follows. Let H &#969; denote the hypothesis minimizing W (H j ), with the following possible outcomes: 1. High W (H &#969; ): If W (H &#969; ) is high, all W (H j ) (and thus W (H j )) values are likely large, making H i an acceptable final solution. 2. Low W (H &#969; ): While this does not guarantee a low W (H &#969; ), it suggests that most w i (H &#969; ) values are small. Based on the value of W (H &#969; ), we consider two cases: 2.1 W (H &#969; ) &#8598; W (H &#969; ): H &#969; is likely far from P but has many close hypotheses, allowing us to mark these nearby hypotheses as far. 2.2 Moderate W (H &#969; ): In this case, H &#969; can serve as our new seed, as it yields a smaller set M(H &#969; ) than H i . Note that when we select H &#969; as our new seed, M(H &#969; ) is roughly O(n/t). However, we compute W (H j )'s for only |M(H i )| &#8660; &#966; &#8226; n many hypotheses. Hence, with an increased sample size t = O(1/&#966; 2 ), this approach yields a smaller |M(H &#969; )| &#8660; &#966; 2</p><p>&#8226; n. The step of the process requires O(|M| &#8226; t) = m/&#966; 2 = O(n/&#966;), paralleling the initial search. By repeating, we progressively reduce m = |M|, and for a constant &#966;, m decreases by a fixed factor until reaching a constant m seed, as desired.</p><p>Algorithm 1 An algorithm for hypothesis selection with &#969; = 3.</p><p>1: procedure SELECT-HYPOTHESIS(H, &#949;, &#982;, and query access to &#373;j (H i )'s)</p><p>&#982; fn &#8601; &#982; &#8596; /k 10:</p><p>11:</p><p>for &#1009; = 1, . . . , k do &#8636; Iterating over buckets 12:</p><p>for i = 1, . . . , n do &#8636; Iterating over hypotheses to find a prompting one 13:</p><p>Break the "for" loop and move on to the next bucket.</p><p>15:</p><p>16:</p><p>for the number of hypotheses that H i removes from B &#969; 17: for H j &#8596; B &#969; do &#8636; Update all hypotheses in B &#969; via the prompting hypothesis 18:</p><p>Output &#8712; and halt.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>24:</head><p>i &#8601; 0 &#8636; Restarts the "for" loop.</p><p>25:</p><p>&#292; &#8601; a random hypothesis in B &#969; 27:</p><p>Output &#292; and halt.</p><p>A Almost linear time algorithm with &#969; = 3 &#969; = 3 &#969; = 3</p><p>In this section, we focus on our first result, the algorithm with &#969; = 3. The pseudocode of our approach is presented in Algorithm 1. We prove the performance of this algorithm in Theorem 5. An overview of our approach is described in Section 3.2.</p><p>At a high level, our algorithm begins with all W (H i ) set to zero, and all hypotheses placed in B 1 .</p><p>We then iterate over all buckets. In round &#1009;, we check if there is a prompting hypothesis H i &#8596; H that can move a significant fraction of hypotheses from B &#969; . Specifically, we look for an H i that moves a &#977;-fraction of hypotheses from B &#969; by updating them, where &#977; = "(&#982;). If we find such a hypothesis H i , we update all the hypotheses in B &#969; and move as many as possible out of B &#969; . During this process, we count the number of hypotheses that H i removes from B &#969; , which is tracked by C &#969; i in the algorithm. If the actual fraction of hypotheses removed from B &#969; is less than &#977;/2, we infer that IS-PROMPTING falsely declared H i as a prompting hypothesis (false positive). Thus, the algorithm returns &#8712;. Otherwise, we restart the search by setting i = 1 and iterate over all H i to find the next prompting hypothesis. We continue this process until no prompting hypothesis is found or the bucket is emptied. If we completely empty a bucket, we move on to the next one. If not, we select a random hypothesis in B &#969; as the final output and halt.</p><p>Theorem 5. Suppose H is a class of n known hypotheses and P is an unknown hypothesis. Assume the algorithm has access to accurate estimates of &#373;j (H i )'s that have an error of at most &#949; &#8596; . Let &#949; and &#982; be two parameters in (0, 1). If 3 &#949; &#8596; &#8599; &#949;, then Algorithm 1 is an (&#969; = 3, &#949;, &#982;)-proper learner for P in H. The running time of our algorithm is &#213;((n/(&#982; 3 &#949;)) &#8226; T q ), where T q is the time to obtain each &#373;j (H i ).</p><p>Proof. Our proof consists of three parts:</p><p>1. If the algorithm returns &#292;, with high probability, &#292; is not too far from P .</p><p>2. While the algorithm may not produce a hypothesis all the time, the overall failure probability of the algorithm is low.</p><p>3. The running time of the algorithm meets the desired bounds in the theorem.</p><p>The output &#292; &#292; &#292; is close with high probability. Suppose we output &#292; &#8596; B &#969; at step &#1009;. Our goal is to show that &#292; is (3 OPT + &#949;)-close to P with probability 1 &#8593; &#982; &#8596; . We define two events E &#969; and E &#969; for each &#1009; &#8596; Conditioning on the event E &#969; , fewer than a &#977; fraction of the hypotheses in B &#969; are far. Since &#292; is a randomly selected hypothesis in B &#969; , the probability of &#292; being far is less than &#977;:</p><p>Next, we focus on the case where E &#969; holds: at least a &#977; fraction of the hypotheses in B &#969; are (3 OPT + &#949;)-far from P . In the following lemma, we show that H i &#8594; is a prompting hypothesis for such a B &#969; . The proof of this lemma is available in Section A.2.</p><p>Lemma A.1. Suppose B &#969; &#8600; H is the smallest non-empty bucket for which at least a &#977; fraction of its hypotheses are (3 OPT + &#949;)-far from P . Then H i &#8594; is a prompting hypothesis that can remove a &#977; fraction of the hypotheses in B &#969; .</p><p>If we output a hypothesis in B &#969; , clearly, the prompting hypotheses had failed to empty out the bucket. Therefore, the last time the algorithm was iterating over all i's in [n], the IS-PROMPTING procedure returned false for every single H i , and no "restart" happened. However, during those iterations, at some point, i reached i &#8599; , implying that the IS-PROMPTING procedure did not catch that H i &#8594; is a prompting hypothesis. This event happens with probability at most &#982; fn .</p><p>Pr</p><p>Given Equation (4) and Equation (5), we bound the probability of outputting a far &#292; as follows:</p><p>The last line is due to the fact that we set &#982; fn = &#982; &#8596; /k and &#977; = &#982; &#8596; .</p><p>Bounding the overall error probability: We have shown that if we output &#292;, it is an acceptable answer with high probability. Now, we need to show that the overall error probability of the algorithm is not too high as well.</p><p>Our first claim is that the algorithm always ends, meaning that we do not restart the "for" loop infinitely many times in Line 24. Note that the restart happens only after we check that at least &#977;/2 of the hypotheses are removed from B &#969; in Line 22. Therefore, the total number of restarts for any given bucket is at most</p><p>In addition, we claim the algorithm does not end without outputting &#292; or &#8712;. Every H i belongs to some bucket at every step of the algorithm. This is due to the assumption that &#373;j (</p><p>For the bucket that cannot be emptied out, the algorithm outputs either &#8712; or &#292;.</p><p>Next, we show that the probability of outputting &#8712; is at most &#982; &#8596; . Note that the algorithm outputs &#8712; when H i was not able to remove at least &#977;/2 of the hypotheses in B &#969; . As we have established earlier, the restart happens only 4 log(n)/&#977; times for every bucket. Therefore, the IS-PROMPTING procedure is invoked at most 4kn log(n)/&#977; times overall. Each time we have a chance of &#982; fp of declaring a hypothesis prompting erroneously. The algorithm in Line 22 checks if the error has happened, and it outputs &#8712; when it does. Hence, we have:</p><p>The final inequality follows from setting &#982; fp = &#977; &#8226; &#982; &#8596; /(4 k n log(n)). Thus, we can bound the overall error probability as follows:</p><p>The last inequality holds since &#982; &#8596; = &#982;/3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Running time:</head><p>The initialization takes O(n + k) time. The algorithm runs over k buckets. For each bucket, we may restart the "for" loop O(log(n)/&#977;) times. Within each "for" loop before restarting, we invoke the IS-PROMPTING procedure O(n) times where, with the exception of one of them, all return false. Let T</p><p>false indicate the time that the procedure spends on H i in the false case. Also, set this quantity be T true if the procedure returns true (which happens at most once before restarting). If we find a prompting hypothesis, we query the &#373;i (H j )'s O(n) times, and spend O(n &#8226; T q ) for this step. Hence, the total time complexity is:</p><p>Advanced version of IS-PROMPTING: We described the guarantees of the advanced version of the IS-PROMPTING procedure in Lemma A.3. In that lemma, we have shown that the running time of the false case is proportionate to the number of hypotheses we remove from B &#969; during the procedure of IS-PROMPTING. We denote this quantity in the r-th search for the prompting hypothesis</p><p>. Since the total number of hypotheses that we can remove is at most O(n), we have:</p><p>Using the setting of our parameters,</p><p>Moreover, for the case that a prompting hypothesis is found:</p><p>Hence, the total time complexity is:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Simple version of IS-PROMPTING:</head><p>In this version, we only have one possible confidence parameter, which is min(&#982; fn , &#982; fp ). Hence, using Lemma A.2, we have:</p><p>Thus, the proof is complete.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1 Identifying prompting hypothesis</head><p>In this section, we provide two algorithms for identifying a prompting hypothesis. The simple algorithm, presented in Section A.1.1, involves sampling the hypotheses in a bucket to estimate the fraction of the hypotheses that H i can move, using a standard application of the Hoeffding bound.</p><p>The advanced algorithm, presented in Section A.1.2, is based on the fact that we require different confidence parameters for false negative and false positive errors, given our analysis for Algorithm 1. We also show that the time complexity of this algorithm, in the case it returns false, is proportional to the number of hypotheses we can remove from the bucket during this procedure, which later helps us to use an amortized argument for the overall time spent on false returns.</p><p>A.1.1 Simple version of IS-PROMPTING Algorithm 2 An algorithm to identify a prompting hypothesis (simple version). 1: procedure IS-PROMPTING-SIMPLE(B, &#1009;, H i , &#977;, &#949; &#8596; , &#982;, and query access to &#373;j (H i )'s) 2: t &#8601; 8 log(2/&#982;)/&#977; 2 &#63723; 3: u r &#8601; 0 &#8636; u r counts # sampled hypotheses that H i updates 4: repeat t times 5: H j &#8601; a random hypothesis in B &#969; 6: if &#373;i (H j ) &gt; W (H j ) + &#949; &#8596; then 7: u r &#8601; u r + 1 8: 9: if ur t &lt; 3 &#977; 4 then 10: return false 11: else 12:</p><p>return true Lemma A.2. Suppose we are given two parameters &#982;, &#949; &#8596; &#8596; (0, 1), and three positive integers n, k, and &#1009; &#8596; [k]. Assume we are given a class of hypotheses H, its partition into k buckets B = {B 1 , B 2 , . . . , B k }, and a hypothesis H i &#8596; H. The IS-PROMPTING-SIMPLE procedure in Algorithm 2 receives H, B, &#1009;, H i , &#982; fp , &#982; fn , and &#949; &#8596; as its input and returns true or false with the following guarantees:</p><p>&#8226; If H i substantially updates at least a &#977;-fraction of the hypotheses in B &#969; , then IS-PROMPTING-SIMPLE returns true with probability at least 1 &#8593; &#982;.</p><p>&#8226; If H i substantially updates less than a &#977;/2-fraction of the hypotheses in B &#969; , then IS-PROMPTING-SIMPLE returns false with probability at least 1 &#8593; &#982;.</p><p>&#8226; We have the following guarantees for the algorithm:</p><p>where T q is the time to obtain each &#373;j (H i ).</p><p>Proof. This is a simple application of the Hoeffding bound:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1.2 Advanced version of IS-PROMPTING</head><p>We present an overview of the algorithm for the advanced version of IS-PROMPTING. Suppose we are given a parameter &#977;, and our goal is to design an algorithm that does the following with high probability: it returns true when H i can substantially update a &#977;-fraction of the hypotheses in B &#969; , and it returns false when H i can substantially update less than a &#977;/2 fraction of the hypotheses in B &#969; .</p><p>For this new procedure, we take advantage of an asymmetry that exists between returning false and true. This asymmetry arises mainly from the analysis of Algorithm 1. Roughly speaking, for every bucket &#1009;, to find a single prompting hypothesis, we check O(n) (potentially non-prompting) hypotheses. On the other hand, we only need log 1/&#977; (B &#969; ) prompting hypotheses to empty out the whole bucket. Hence, we expect that the procedure returns mostly false rather than true.</p><p>Another difference here is the cost we pay for mistakenly declaring true or false. When we declare a hypothesis prompting, we iterate over all hypotheses in B &#969; and check if we can remove them from the bucket. If the hypothesis was not actually prompting, we have paid a substantial cost (in time) without making progress. Thus, we cannot have too many hypotheses that the algorithm declares prompting while they are not (false positives). However, the probability of mistakenly missing a prompting hypothesis does not have to be this small (false negatives).</p><p>Below is a more precise definition of these errors:</p><p>Given the analysis of our algorithm, we can show that the probability of false positives must be around</p><p>On the other hand, our analysis is robust as long as the probability of false negatives is roughly O(&#982;), where &#982; is the overall confidence of our algorithm. (The reason for this choice of parameter may not be obvious from this high-level discussion; however, it is a direct artifact of our analysis.) This gap is particularly large when &#982; is a small constant, as is common in the literature.</p><p>The IS-PROMPTING procedure (Algorithm 3) is designed in a way that has different time complexities depending on its output being true or false. The procedure uses more than O(log n) (more like O(log n &#8226; log(1/&#982;)/&#977; 2 )) time if it returns true. However, the main advantage is that it uses much less time when the output is false. In fact, instead of paying O(log n), we only spend O(log(1/&#982;)) time plus an amortized cost of O(1/&#977;) for the O(B &#969; ) calls to the procedure.</p><p>The algorithm runs in roughly O(log n) rounds. In each round, it draws a few random hypotheses from B &#969; (roughly O(log(1/&#982;)/&#977; 2 )). In each round, we check if the fraction of hypotheses H i can substantially update is close to &#977;. At any round, if we see that the fraction is not close to &#977;, we return false. The hope is that for a non-prompting hypothesis, we either stop very quickly or the hypothesis passes too many rounds without us noticing that it is not prompting. Therefore, we must have seen an inflated number of substantial updates in these rounds. Before returning false, we perform those substantial updates among the sampled hypotheses that we have observed to remove those movable hypotheses from B &#969; .</p><p>We can capitalize on this fact in our cost analysis. In fact, we can show that in the false case, if the procedure takes roughly O(t/&#977;) time, it must have removed t hypotheses from the bucket. Thus, one can show that the amortized cost of these elongated rounds is only O(1/&#977;).<ref type="foot">foot_6</ref> </p><p>Lemma A.3. Suppose we are given three parameters &#982; fp , &#982; fn , &#949; &#8596; &#8596; (0, 1), and three positive integers n, k, and &#1009; &#8596; [k]. Assume we are given a classes of hypotheses H, its partition into k buckets B = {B 1 , B 2 , . . . , B k } and a hypothesis H i &#8596; H. The IS-PROMPTING procedure in Algorithm 3 receives H, B, &#1009;, H i , &#982; fp , &#982; fn , and &#949; &#8596; as its input and returns true or false with the following guarantees:</p><p>&#8226; If H i substantially updates at least &#977; fraction of the hypotheses in B &#969; , then IS-PROMPTING returns true with probability at least 1 &#8593; &#982; fn .</p><p>&#8226; If H i substantially updates less than &#977;/2 fraction of the hypotheses in B &#969; , then IS-PROMPTING returns false with probability at least 1 &#8593; &#982; fp .</p><p>Algorithm 3 An algorithm to identify a prompting hypothesis. 1: procedure IS-PROMPTING(B, &#1009;, H i , &#977;, &#949; &#8596; , &#982; fn , &#982; fp , and query access to &#373;j (H i )'s)</p><p>is a set of hypotheses that H i can update substantially. 4: for r = 1, . . . , R do 5: if |Sr&#8595;1| B &#969; &#8595; &#977; 2 then 6: return true 7: S r &#8601; S r&#8594;1 8: u r &#8601; 0 &#8636; u r indicates # hypotheses H i updates 9: repeat t := &#63726; 48 log(2R/&#982; fn ) &#977; 2 &#63737; times 10: G (r) j &#8601; a random hypothesis in B &#969; 11:</p><p>for H j &#8596; S r do 17:</p><p>W (H j ) &#8601; max W (H j ), &#373;i (H j )</p><p>18:</p><p>Move</p><p>return false 20:</p><p>for H j &#8596; S r do 22:</p><p>W (H j ) &#8601; max W (H j ), &#373;i (H j )</p><p>23:</p><p>Move</p><p>return false 25:</p><p>return true</p><p>&#8226; If the algorithm returns true, we have the following guarantees for the algorithm:</p><p>&#8226; Suppose the algorithm returns false. Assume n</p><p>indicates the number of hypotheses that the algorithm removes from B &#969; . Then, we have the following guarantees for the algorithm:</p><p>In above bounds, where T q denotes the time complexity to obtain each &#373;j (H i ).</p><p>Proof. The probabilities in this proof are taken over the random choices of G (r) j 's. Note that S contains at the hypotheses for which we can change.</p><p>Probability of false positive: First, we show that probability of outputting true, while H i can substantially update less &#977;/2 fraction of hypotheses in B &#969; , is at most &#982; fp . The algorithm return true in two places. First, at the beginning of each round, we check whether S r&#8594;1 contains at least &#977;/2-fraction of hypotheses. This answer is always correct with probability one. Since the algorithm has an evidence that H i can certainly update at least &#977;/2 of hypotheses in B &#969; . Thus, this case does not affect our false positive rate &#982; fp . Second, the algorithm returns true after all rounds end. This case only happens when u r /t is at least 3&#977;/4 in every round in Line 20. It is not hard to see that u r is a binomial random variable with t trials. The success probability of each trial is the ratio of the hypotheses in B &#969; that H i can update substantially. Thus, in the case where H i substantially updates less than &#977; fraction of hypotheses, by Markov's inequality, we have:</p><p>Probability of false negative: Suppose that H i substantially updates at least &#977;-fraction of the hypotheses in B &#969; . That is, H i can update each G (r)</p><p>j with probability at least &#977;. Fix a round r. We bound the probability of returning false in Line 19 and Line 24.</p><p>In Line 19, we return false when</p><p>That is, the number of new hypotheses we added to S r is not too large. Consider the random hypotheses we draw at round r. Our claim is that most of these random hypotheses are not in S r&#8594;1 . The probability that one G (r)</p><p>However, this expectation is less than &#977;/2. Otherwise, the algorithm would have returned true earlier in Line 5. With this information in mind, we can use the Hoeffding bound and get:</p><p>In Line 24, we return false if u r /t is less than 3 &#977;/4. By Chernoff bound, we have:</p><p>Taking the union bound over all rounds, we obtain:</p><p>Pr </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Proof of Lemma A.1</head><p>Lemma A.1. Suppose B &#969; &#8600; H is the smallest non-empty bucket for which at least a &#977; fraction of its hypotheses are (3 OPT + &#949;)-far from P . Then H i &#8594; is a prompting hypothesis that can remove a &#977; fraction of the hypotheses in B &#969; .</p><p>Proof. We show that H i &#8594; can substantially update W of any far hypothesis in B &#969; . Let H f denote a (3 OPT + &#949;)-far hypothesis. First, observe that &#373;i &#8594; (H f ) must be large compared to OPT:</p><p>In addition, OPT cannot be much smaller than &#1009; &#949; &#8596; . The main reason is that all the buckets before B &#969; are empty. Hence, H i &#8594; belongs to a bucket B &#969; &#8593; where &#1009; &#8596; is at least &#1009;. By our definition of bucketing: W (H i &#8594; ) must be at least (&#1009; &#8593; 1) &#949; &#8596; . Hence we have:</p><p>Note that we assume H f belongs to B &#969; , so Wf is less than &#1009;&#949; &#8596; . Putting all these observation together, we achieve:</p><p>Therefore, if we update Wf via &#373;i &#8594; (H f ), then H i &#8594; can significantly improve Wf . This fact implies that H i &#8594; can removes all the bad hypothesis from B &#969; which concludes the proof of the lemma.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Linear time algorithm with &#969; = 4</head><p>In this section, we present our second algorithm whose sample complexity has a better dependency on the accuracy parameter &#949;. An overview of our approach is presented in Section 3.3. The pseudocode of our approach is presented in Algorithm 4. We prove the performance of this algorithm in Theorem 6.</p><p>Apart from improving the accuracy parameters, we also provide modifications to our algorithm that can achieve low rounds of adaptivity (roughly speaking, it means the number of times the algorithm needs to look at the sample set). More formally, in our access model, we define one round of adaptivity as follows: The algorithm selects a set of t = O(n 2 ) pairs of indices {(i &#969; , j &#969; )} &#969;&#8593;[t] and query all &#373;j &#969; (H i &#969; ) at once. The number of adaptivity rounds represents the total count of times the algorithm needs to repeat this process in order to produce its final output. This is particularly interesting when considering a federated learning setting in which the rounds of interactivity are important. The modification of our algorithm runs in time O(n 1+&#1009; ) runs in O(1/&#8637;) rounds of adaptivity.</p><p>Theorem 6. Suppose Algorithm 4 receives these parameters as input: &#962; &#8596; [0, 1], &#966; &#8596; (0, 1/4), &#949;, &#982; &#8596; (0, 1). Also, assume the algorithm has access to a class of n hypotheses H, and a set of unmarked hypotheses in Q &#8600; H where initially Q = H. Suppose the algorithm can query &#373;j (H i )'s with error at most &#949; &#8596; &#8599; &#949;/6. The algorithm has one of the two possible outcomes: either it declares that &#962; &lt; OPT; or it outputs a hypothesis H i such that: with probability at least 1 &#8593; &#982; we have:</p><p>The algorithm runs in O(n/&#966; &#8226; T q ) time and O log 2 1/&#962; (n) rounds of adaptivity. Here T q is the time required to obtain each &#373;j (H i ).</p><p>Algorithm 4 finds a hypothesis that is 4 max (&#962;, OPT) + &#949; close to P .</p><p>1: procedure SELECT-HYPOTHESIS(H, Q, &#962;, &#949;, &#982;, &#966;, , and query access to &#373;j (H i )'s)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2:</head><p>if |Q| = 0 then 3: return "&#962; &lt; OPT".</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:</head><p>if |Q| = 1 then 5:</p><p>return "&#962; &lt; OPT".</p><p>8: else 9: return H i . 10:</p><p>if FIND-SEED declares "&#962; &lt; OPT" then 15:</p><p>return "&#962; &lt; OPT".</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>16:</head><p>else if FIND-SEED returns "start over" then 17:</p><p>return SELECT-HYPOTHESIS(H, Q, &#962;, &#949;, &#982;, &#966;)</p><p>18:</p><p>H i &#8601; the seed that FIND-SEED found.</p><p>19:</p><p>if BOOST-SEED finds the final answer. then</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>22:</head><p>return H i found by BOOST-SEED. else if BOOST-SEED returns "start over" then 27:</p><p>return SELECT-HYPOTHESIS(H, Q, s, &#962;, &#949;, &#982;)</p><p>28:</p><p>Output H &#969; .</p><p>31:</p><p>Output H i .</p><p>Proof. For the sake of argument, assume each of the sub-routines in the algorithm works as guaranteed with probability one (as oppose to the case where they work as expected with probability 1 &#8593; &#982; &#8596;&#8596; ).</p><p>Later on, we discuss the overall confidence of the algorithm to remove this assumption.</p><p>Accuracy of seeds: the procedure to find the initial seeds provides us with a (&#962; + &#949; &#8596; , 3 &#962; + 3&#949; &#8596; , m)seed with high probability. Using Fact C.4, this seed is also a (2 &#962;+&#949; &#8596; , 4 &#962;+5&#949; &#8596; , m). In boosting seeds, we start with (2 &#962; + &#949; &#8596; , 4 &#962; + 5&#949; &#8596; , m) and we get (2 &#962; + &#949; &#8596; , 4 &#962; + 5&#949; &#8596; , m &#8596; ) where m &#8596; = &#8733;&#966; &#8226; m&#8242;. This statement is justified by Theorem 9, setting &#8640; = &#8640; &#8596; = 2, and using the same values for a = 2, &#962; + &#949; &#8596; and b = 4, &#962; + 5&#949; &#8596; for our seeds. It is worth noting that the only parameter that changes while we boost is m.</p><p>Accuracy of the output Consider the case where we produce output when |Q| is zero. That implies that our algorithm marked all the hypotheses. Throughout the course of algorithms, we never mark a hypothesis H i unless we have found an evidence that &#8594;H i &#8593; P &#8594; TV &gt; &#962;. This was established by observing &#373;j (H i ) &gt; &#962; + &#949; &#8596; , which implies &#8594;H i &#8593; P &#8594; TV must be greater than &#962;; Or, showing a close-by hypotheses to H i is far from P and apply triangle inequality. See our argument for Case 3.2 in the proof of Theorem 9 for example. Thus, if all hypotheses are marked, it must be the case that for every H i , &#8594;H i &#8593; P &#8594; TV is greater than &#962;. Hence, when the size of Q is zero we can truly assert that "&#962; &lt; OPT".</p><p>For the case that |Q| = 1, the algorithm focuses on H i , the only unmarked hypothesis left. If we found &#372; (H i ) is greater than &#962; + &#949; &#8596; , we can simply conclude that for every H i , &#8594;H i &#8593; P &#8594; TV is greater than &#962;, and "&#962; &lt; OPT". Otherwise, using Fact C.3, the H i is a valid answer:</p><p>In addition, the accuracy of the H i that is returned in Line 22 is guaranteed by the Theorem 9, and setting &#8640; = &#8640; &#8596; = 2. Next, lets focus on the hypotheses we output after the "if" condition in Line 29. When &#372; (H &#969; ) is small, we have:</p><p>When &#372; (H &#969; ) is large, the analysis is very similar to Case 1 in the proof of Theorem 9. Again, by setting &#8640; = &#8640; &#8596; = 2, and using the facts that</p><p>Number of recursions: Given Theorem 8 and Theorem 9, we only see "start over" when (1 &#8593; 2&#966;) fraction of unmarked hypotheses in Q have been marked. Since we have n hypotheses, we do not start over more than O(log 1/&#962; (n)) times.</p><p>Running time: In the while loop, m decreases with a factor of &#966; every time we find a new seed. Hence, the total number of iterations is bounded by O(log 1/&#962; (n)). Using Theorem 8 and Theorem 9, invoking the procedures for finding a seed and boosting a seed each takes O(n log(n/&#982; &#8596;&#8596; )/&#966; &#8226; T q ) time. Thus, the total time complexity is:</p><p>Overall confidence parameter: The total number of subroutines we call here is at most O(log 2 1/&#962; (n)). Thus, by setting &#982; &#8596;&#8596; to O(&#982;/ log 2 1/&#962; (n)) and using the union bound, we can show the overall error probability is bounded by &#982;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Rounds of adaptivity:</head><p>Using Theorem 8 and Theorem 9, invoking the procedures for finding a seed and boosting a seed each takes O(1) rounds of adaptivity. Hence, the overall rounds of adaptivity is O log 2 1/&#962; (n) rounds.</p><p>Remark 7. One could argue that we have demonstrated the algorithm operates in &#213;(n/&#966; &#8226; T q ) time with a probability of 1 &#8593; &#982;. However, this fact does not inherently guarantee that the algorithm consistently maintains the desired time complexity. Fortunately, a straightforward solution exists to address this concern.</p><p>Our algorithm may fail for two primary reasons: either too few hypotheses were marked, or the identified seed had a larger m value than anticipated. In either scenario, the algorithm can verify the occurrence of this undesirable, but improbable event. In these situations, we can output &#8712; to indicate the algorithm's failure to produce a valid answer. With this adjustment, the time complexity remains low as desired.</p><p>Corollary B.1. Suppose H is a class of n known hypotheses and P is an unknown hypothesis. Let &#949; and &#982; be two parameters in (0, 1). Assume the algorithm has access to accurate estimates of &#373;j (H i )'s that have error at most &#949; &#8596; . If 3 &#949; &#8596; &#8599; &#949;, then for every &#966; &#8596; (1/n, 1/4) there exists an (&#969; = 4, &#949;, &#982;)proper learner for P in H. The running time of our algorithm is &#213;((n/&#966;)</p><p>and it can be implemented in O log 2 1/&#962; (n) &#8226; log(1/&#949;) rounds of adaptivity.</p><p>Proof. This is a direct corollary of Theorem 6 combined with a binary search over values of &#962; &#8596; {&#949; &#8596; , &#949; &#8596; } where &#949; &#8596; := &#949;/100. Note that for every &#962; &#8595; OPT, the algorithm has to produce a hypothesis, since it cannot declare OPT &lt; &#962; with high probability. Outputting the hypothesis associated with the smallest &#962; would give us the desired guaranteed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.1 Finding initial seed</head><p>In this section, we describe an algorithm that receives parameter &#962; as input and finds a (&#962; + &#949; &#8596; , 3 &#962; + 2&#949; &#8596; , &#8733;&#966; &#8226; n&#8242;)-seed in roughly &#213;(n/&#966; &#8226; T q ) time with high probability or declares "&#962; &lt; OPT".</p><p>Algorithm 5 finds a (&#962; + &#949; &#8596; , 3 &#962; + 3&#949; &#8596; , m)-seed 1: procedure FIND-SEED(H, Q, &#962;, &#949; &#8596; , &#982;, &#966;, and query access to &#373;j (H i )'s)</p><p>Next, we show that if the algorithm outputs H i , then it is a (&#962; + &#949; &#8596; , 3 &#962; + 3 &#949; &#8596; , m)-seed with high probability. First, observe that &#372; (H i ) must be at most 3 &#962; + 3 &#949; &#8596; due to the "if" condition in Line 18, satisfying one of the two conditions we need for our desired seed in Definition 3.1. Now, we show the next required condition for H i to be a good seed holds as well:</p><p>is bounded by m. We have already established that &#373;j (H i ) for every j &#8596; [n] is bounded by 3 &#962; + 3 &#949; &#8596; since &#372; (H i ) is at most 3 &#962; + 3 &#949; &#8596; . Hence, we only need to show that there are at most m hypotheses H j such that w j (H i ) is larger than &#962; + &#949; &#8596; . Now, if there are more than m hypothesis H j in H such that &#373;j (H i ) &gt; &#962; + &#949; &#8596; . Now, if we sample t := &#8657;8 n log (2n/&#982;) /m&#8659; hypotheses, we should observe at least one H j for which &#373;j (H i ) is larger than &#962; + &#949; &#8596; , with probability at least 1 &#8593; &#982;/(2n). However, we know that such a hypothesis was never observed because we did not mark H i earlier. By the union bound, with a probability of at least 1&#8593;&#982;/2, no such H i exists. Hence, with probability at least 1&#8593;&#982;/2, H i is an (&#962;+&#949; &#8596; , 3 &#962;+3&#949; &#8596; , m &#8596; )-seed as promised in the statement of the lemma.</p><p>Next, assume we output "start over." after finding an unmarked hypothesis H i . In this case, we know that H i is not marked and &#372; (H i ) &gt; 2&#962; + 3&#949; &#8596; . Note that we have sampled t edges of H i , and we never see w j (H i ) &gt; &#962; + &#949; &#8596; . Using a very similar argument as we have above: one can show there cannot be more than m &#8596; = &#8657;&#966; &#8226; |Q|&#8659; for which w j (H i ) &gt; &#962; + &#949; &#8596; with probability 1 &#8593; &#982;/2 (for every H i ). That means, we will mark |Q| &#8593; m &#8596; many hypothesis in Q. If |Q| &gt; t &#8595; 1/&#966;, this implies that (1 &#8593; 2&#966;) fraction of the hypothesis in Q are removed. If |Q| &#8599; t, then we know all the hypothesis in Q have w j (H i ) &#8599; &#962; + &#949; &#8596; and all of them will be marked. Furthermore, we show that we did not wrongfully mark a hypothesis that was &#962;-close to P . Observe that the condition in Line 22 holds in two cases:</p><p>It is straightforward to show that H j is not &#962;-close to P since we have:</p><p>Even though &#373;&#969; (H j ) is small in this case, we can indirectly deduce that H j is not &#962;-close to P . By the definition of &#373;j (H i ) and &#373;i (H j ), we have:</p><p>On the other hand, by the triangle inequality, we have:</p><p>Therefore, in both of the cases above, we do not mark an &#962;-close distribution to P .</p><p>By the union bound over all the steps, our guarantees hold with probability 1 &#8593; &#982;. In addition, it is not hard to see that the running time of the algorithm is O ((n</p><p>Rounds of adaptivity: It is straight forward to show that this algorithm can be implemented with a constant round of adaptivity. Let Q 0 denote the initial state of unmarked hypotheses at the algorithm's outset. Since hypotheses are marked in sequence, in round i, the set of unmarked hypotheses is</p><p>As a result, we can agree on the set of random H j 's in Q and H and request &#373;j (H i ) within a single round. If the size of |Q i | is at most t, then we include all &#373;j (H i ) for every i &#8596; n and H j &#8596; Q. Next, upon discovering an unmarked H i , we initiate another round of adaptivity to request all &#373;j (H i ) and &#373;j (H i ) for all j &#8596; [n]. This enables the implementation of the rest of the algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.2 Boosting a seed</head><p>In this section, we provide an algorithm that receives a (&#8640; &#962; + &#949; &#8596; , (&#8640; + 2)&#962; + 5 &#949; &#8596; , m)-seed and aims to find a (&#8640; &#8596; &#962; + &#949; &#8596; , (&#8640; &#8596; + 2)&#962; + 5 &#949; &#8596; , m &#8596; )-seed with smaller m &#8596; . That means, the size of M for this new seed is smaller which brings us closer to have enough time to fully investigate the set M for a future seed. Our algorithm runs in &#213;(n &#8226; T q /&#966;) time where &#966; &#8660; m &#8596; /m is our rate parameter. This running time is adaptive to our budget. If we are aiming for &#213;(n) algorithm, we find a seed such that m &#8596; is only smaller than m by a constant factor (constant &#966;); Alternatively, if we have more time, we can decrease m &#8596; with a faster rate (smaller &#966;).</p><p>While our main goal is to find a better seed, our algorithm may not always be able to do so; However, it makes progress towards the end goal of the algorithm one way or the other. There are three possible outcomes for our algorithm:</p><p>1. The algorithm finds an accurate enough &#292; as the final output of the algorithm.</p><p>2. The algorithm finds a better seed as we aimed for.</p><p>3. The algorithm marks (1 &#8593; 2&#966;) fraction of the unmarked hypotheses; And after that, we start over the procedure.</p><p>Although we may have regressed in last case above, it does not happen too often. Since we have only n unmarked hypotheses to begin with, and we marked a large fraction of them every time, we do not start more than O(log 1/2&#962; (n)) times over the course of the algorithm. Our approach is presented in Algorithm 6, and we prove its performance in Theorem 9.</p><p>Algorithm 6 aims to find a better seed. 1: procedure BOOST-SEED(H, Q, H i , &#962;, &#8640;, &#8640; &#8596; , &#949; &#8596; , &#982;, &#966;, and query access to &#373;j (H i )'s)</p><p>H &#969; &#8601; arg min Hj &#8593;M W (H j )</p><p>Return H i as the final answer. 9:</p><p>else 10:</p><p>Compute &#372; (H &#969; ).</p><p>Return H &#969; as a seed.</p><p>13: else 14:</p><p>for</p><p>Mark H j in Q.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>17:</head><p>return "Start over."</p><p>Theorem 9. Suppose Algorithm 6 receives these parameters as input: &#962; &#8596; R &#8600;0 , &#8640;, &#8640; &#8596; &#8595; 1, &#966; &#8596; (0, 1/4), &#949; &#8596; , &#982; &#8596; (0, 1), and two non-negative integers n, m. Also, assume the algorithm has access to a class of n hypotheses H, and a set of unmarked hypotheses in Q &#8600; H. It also receives a hypothesis H i &#8596; H. The algorithm has one of the three possible outcomes listed below. Now, for any setting of such input parameters, if H i is a (&#8640; &#962; + &#949; &#8596; , (&#8640; + 2)&#962; + 5 &#949; &#8596; , m) seed, then the following guarantees hold for the outcome of Algorithm 6 with a probability of at least 1 &#8593; &#982;:</p><p>1. If the algorithm outputs a hypothesis &#292; as the final answer, then we have for every &#949; &#8595; 6 &#949; &#8596; :</p><p>2. If the algorithm outputs a hypothesis H &#969; as a new seed, then H &#969; is a (&#8640; &#8596; &#962; + &#949; &#8596; , (&#8640; &#8596; + 2)&#962; + 5 &#949; &#8596; , m &#8596; )-seed where m &#8596; := &#8733;&#966; m&#8242;.</p><p>Algorithm 7 computes W (H i ).</p><p>1: procedure COMPUTE-W (H, Q, H i , t, and query access to &#373;j (H i )'s)</p><p>2:</p><p>H j &#8601; a uniformly random sample drawn from H 5:</p><p>H j &#8601; a uniformly random sample drawn from Q 7:</p><p>for all H j &#8596; Q do 11:</p><p>Return W .</p><p>3. If the algorithm requires us to start over, then we have marked at least (1 &#8593; 2&#966;) of the unmarked hypotheses.</p><p>The algorithm runs in O(n &#8226; (log(n/&#982;)) &#8226; T q /&#966;) time and can be implemented in O(1) rounds of adaptivity.</p><p>Proof. Let M denote the set M &#8636; &#966;+&#949; &#8593; ,(&#8636;+2)&#966;+5 &#949; &#8593; (H i ). We consider the three possible outcomes of the algorithm, and prove the algorithm satisfied the desired guarantee in each of the three cases.</p><p>In this case, the algorithm will return H i as the final answer. We show that the total variation distance between H i and P is as desired. There are two possibilities depending on whether H i &#8594; is in M or not.</p><p>Case 1.1:</p><p>Using that H &#969; has the minimum W (H &#969; ) among all the hypotheses in M, we can bound OPT as follows:</p><p>We prove that H i is not too far from P . Note that since H i was an (&#8640; &#962; + &#949; &#8596; , (&#8640; + 2) &#962; + 5 &#949; &#8596; , m)-seed, we are guaranteed that &#372; (H i ) is bounded by (&#8640; + 2) &#962; + 5 &#949; &#8596; . Using the above bound for OPT and Fact C.3, we get:</p><p>is bounded by &#8640; &#962; + &#949; &#8596; . In this case, we have the following bound for the total variation distance between H i and P via Fact C.3:</p><p>In this case, we output H &#969; as a new seed. Given the assumptions of this case, we show that H &#969; is a (&#8640; &#8596; &#962; + &#949; &#8596; , (&#8640; &#8596; + 2)&#962; + 5 &#949; &#8596; , m &#8596; )seed. First, &#372; (H &#969; ) is at most (&#8640; &#8596; + 2) &#962; + 5 &#949; &#8596; implying the first desired property for being an (&#8640; &#8596; &#962; + &#949; &#8596; , (&#8640; &#8596; + 2)&#962; + 5 &#949; &#8596; , m &#8596; )-seed holds for H &#969; . Next, we show the second desired property for H &#969; : the size of M &#8636; &#8593; &#966;+&#949; &#8593; , (&#8636; &#8593; +2)&#966;+5 &#949; &#8593; (H &#969; ) is bounded by m &#8596; . At a high level, we expect the size of this set to be small; Otherwise, we would have observed one of these large &#373;&#969; (H j ) when we have sampled t hypotheses to compute W (H &#969; ).</p><p>Suppose H &#969; has more than m &#8596; edges with &#373;j (H &#969; ) &gt; &#8640; &#8596; &#962; + &#949; &#8596; . Now, if we sample t := &#8657;8 n log (2n/&#982;) /m &#8596; &#8659; hypotheses, we should observe at least one H j for which &#373;j (H &#969; ) is larger than &#8640; &#8596; &#962; + &#949; &#8596; , with probability at least 1 &#8593; &#982;/(2n). However, we know that such a hypothesis was never observed because W (H &#969; ), which is the maximum of &#373;j (H &#969; )'s, is bounded from above by &#8640; &#8596; &#962; + &#949; &#8596; . By the union bound, with a probability of at least 1 &#8593; &#982;/2, no such H &#969; exists. Hence, with probability at least 1 &#8593; &#982;/2, H &#969; is an (&#8640; &#8596; &#962; + &#949; &#8596; , (&#8640; &#8596; + 2) &#962; + 5&#949; &#8596; , m &#8596; )-seed as promised in the statement of the lemma.</p><p>In this case the algorithm marks any unmarked hypothesis H j for which &#373;&#969; (H j ) &gt; &#962; + &#949; &#8596; or &#373;j (H &#969; ) &#8599; &#8640; &#8596; &#962; + &#949; &#8596; , and we start over. First, we show that we did not wrongfully mark a hypothesis that was &#962;-close to P . Observe that the condition in Line 15 holds in two cases:</p><p>It is straightforward to show that H j is not &#962;-close to P since we have:</p><p>Even though &#373;&#969; (H j ) is small in this case, we can indirectly deduce that H j is not &#962;-close to P . By the definition of &#373;j (H &#969; ) and &#373;&#969; (H j ), we have:</p><p>On the other hand, by the triangle inequality, we have:</p><p>Therefore, in both of the cases above, we do not mark an &#962;-close distribution to P .</p><p>Second, we claim that we mark at least (1 &#8593; 2 &#966;) fraction of the unmarked hypotheses in Q. Recall that when we compute W (H &#969; ) we also sample t hypotheses from the set of unmarked hypotheses, and we did not observe any edge &#373;j (H &#969; ) that is larger than &#8640; &#8596; &#962; + &#949; &#8596; . With a very similar argument we had above, with probability 1 &#8593; &#982;/(2n), we do not have more than</p><p>Otherwise, we would have seen one of these edges, and W (H &#969; ) would have been larger. By the union bound, this fact holds for every H &#969; . Hence, the "if" condition in Line 15 holds for over |Q| &#8593; &#8657;&#966; &#8226; |Q|&#8659; of the unmarked hypotheses in Q, and the algorithm mark them. If |Q| &#8595; 1/&#966;, it is easy to show that |Q| &#8593; &#8657;&#966; &#8226; |Q|&#8659; is at least (1 &#8593; 2 &#966;) &#8226; |Q|. Thus, we mark at least (1 &#8593; 2 &#966;) fraction of the hypotheses in Q as we have claimed. Now, if |Q| &#8599; 1/&#966;, it is easy to show that |Q| &lt; t. Hence, the algorithm involves all the H j 's in Q to compute &#372; (H &#969; ). Therefore, every single &#373;j (H &#969; ) is at most &#8640; &#8596; &#962; + &#949; &#8596; and we mark all the hypotheses in Q.</p><p>By the union bound over all the steps, our guarantees hold with probability 1 &#8593; &#982;. In addition, it is not hard to see that the running time of the algorithm is O ((m</p><p>Rounds of adaptivity: Our algorithm can be implemented in constant rounds of adaptivity.</p><p>To compute W 's, we can preselect the random H j 's. If Q contains fewer than t + 1 hypotheses, we include every &#373;j (H i ) for each H j &#8596; Q and i &#8596; [n]. Upon discovering H &#969; , another round of adaptivity allows us to query every &#373;j (H &#969; ) and &#373;&#969; (H j ) to calculate &#372; (H &#969; ) and mark the hypotheses in Q.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C Preliminary facts and lemmas</head><p>Fact C.1. For all distribution P and for all probability event E defined under P , we have:</p><p>, where P |E denotes the probability distribution P when conditioned on the event E. Fact C.2. For every pair of distributions H i and H j , we have:</p><p>The following fact is adapted from [DL01, MS08, ABS23]. Fact C.3. Suppose H i &#8594; is the closest hypothesis to P in H(i.e., &#8594;H i &#8594; &#8593; P &#8594; TV ). For every pair of hypotheses H i and H j , the following holds:</p><p>Proof. The proof is based on triangle inequality, and the definitions of w j (H i )'s and OPT. For every H j in H, we have:</p><p>Hence, Item 1 is proved. Now, if we set H j to be H i &#8594; , then &#8594;H i &#8594; &#8593; P &#8594; TV is equal to OPT implying Item 2. Item 3 is concluded from Item 2 and the fact that w i &#8594; (H i ) is upper bounded by W (H i ). Fact C.5. Suppose we have a set of n hypotheses H, and a predicate, R(H) : H &#9651; {0, 1}, that maps the hypotheses in H to zero or one. Assume H contains more than m hypotheses with R(H) = 1 for an arbitrary integer parameter 0 &#8599; m &lt; n. If we draw s &#8595; 8 n log(&#982; &#8594;1 )/m hypotheses from H uniformly at random, we will observe at least one hypothesis with R(H) = 1 with probability at least 1 &#8593; &#982;.</p><p>Proof. Let p denote the fraction of such hypothesis in H with R(H) = 1. Observe that p &gt; 0 since there are at least m + 1 such hypothesis in H. Then, using the Chernoff bound, we have:</p><p>D Data structure for marked and unmarked hypotheses</p><p>Here, we describe a simple data structure that allows us to efficiently keep track of marked and unmarked hypotheses. Our data structure consists of two integers, n and t, and two arrays of size n: index[] and list[]. Here, n represents the number of hypotheses that the data structure supports. The list array is an arbitrary ordering of integers from 1 to n. Throughout the operations of this data structure, we preserve the following guarantee: the value of index[i] indicates where to find element i in the list. In other words, list[index <ref type="bibr">[i]</ref>] is always i. The integer t serves as a threshold quantity. The first t numbers in the list correspond to unmarked hypotheses, while the remaining numbers represent marked hypotheses. Initially, list is a list of integers from 1 to n in ascending order. And, for every hypothesis H i , index[i] is set to i. This data structure supports the following operations:</p><p>&#8226; Initialization ds(size): To initialize the data structure, we set n and t to size. Next, we set list to be a list of integers from 1 to n in ascending order. To ensure consistency with the list, each index[i] is set to i. &#8226; mark(i): To mark hypothesis H i , we swap the element at index i with the element at index t in the list array, and then decrement t by 1.</p><p>&#8226; is_marked(i): Given our definition, if index[i] is less than or equal to t, then H i is unmarked; otherwise, it is marked. &#8226; is_all_marked(): If t is equal to zero, then it means all the hypotheses are marked.</p><p>&#8226; random_unmarked(): To select a random unmarked hypothesis, we generate a random integer r between 1 and t, and output the hypothesis at list[r]. &#8226; random_marked(): To select a random marked hypothesis, we follow the same process as for an unmarked hypothesis, except that r is generated between t+1 and n.</p><p>It is easy to see that the initialization takes O(n) time, and the rest of the operations only take O(1) time.</p><p>NeurIPS Paper Checklist</p><p>1. Claims Question: Do the main claims made in the abstract and introduction accurately reflect the paper's contributions and scope? Answer: [Yes] Justification: Our results are a theoretical contribution to the field of learning theory. The paper, including the appendix, contains all the algorithms, theorem statements, and their proofs. Guidelines: &#8226; The answer NA means that the abstract and introduction do not include the claims made in the paper. &#8226; The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A No or NA answer to this question will not be perceived well by the reviewers. &#8226; The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings. &#8226; It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper. 2. Limitations Question: Does the paper discuss the limitations of the work performed by the authors? Answer: [Yes] Justification: Please see the discussion in Section 1.2 regarding potential improvements and future directions.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper has no limitation while the answer No means that the paper has limitations, but those are not discussed in the paper. &#8226; The authors are encouraged to create a separate "Limitations" section in their paper.</p><p>&#8226; The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be. &#8226; The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated. &#8226; The authors should reflect on the factors that influence the performance of the approach.</p><p>For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon. &#8226; The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size. &#8226; If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness. &#8226; While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren't acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Theory Assumptions and Proofs</head><p>Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?</p><p>Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material? Answer: [NA] Justification: We do not have any experimental results. Guidelines: &#8226; The answer NA means that paper does not include experiments requiring code. &#8226; Please see the NeurIPS code and data submission guidelines (<ref type="url">https://nips.cc/  public/guides/CodeSubmissionPolicy</ref>) for more details. &#8226; While we encourage the release of code and data, we understand that this might not be possible, so "No" is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark). &#8226; The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (<ref type="url">https:  //nips.cc/public/guides/CodeSubmissionPolicy</ref>) for more details. &#8226; The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc. &#8226; The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why. &#8226; At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable). &#8226; Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted. 6. Experimental Setting/Details Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer, etc.) necessary to understand the results? Answer: [NA] Justification: We do not have any experimental results. Guidelines: &#8226; The answer NA means that the paper does not include experiments. &#8226; The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them. &#8226; The full details can be provided either with the code, in appendix, or as supplemental material. 7. Experiment Statistical Significance Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments? Answer: [NA] Justification: We do not have any experimental results. Guidelines: &#8226; The answer NA means that the paper does not include experiments. &#8226; The authors should answer "Yes" if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper. &#8226; The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions). &#8226; The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.) &#8226; The assumptions made should be given (e.g., Normally distributed errors). &#8226; It should be clear whether the error bar is the standard deviation or the standard error of the mean. &#8226; It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified. &#8226; For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g. negative error rates). &#8226; If error bars are reported in tables or plots, The authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text. 8. Experiments Compute Resources Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments? Answer: [NA] Justification: We do not have any experimental results.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper does not include experiments.</p><p>&#8226; The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage. &#8226; The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute. &#8226; The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn't make it into the paper).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="9.">Code Of Ethics</head><p>Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics <ref type="url">https://neurips.cc/public/EthicsGuidelines</ref>?</p><p>Answer: [Yes] Justification: Our results are a theoretical formulation of a fundamental problem in statistics and learning theory. They can be viewed as a computationally efficient version of existing results. Given the theoretical nature of our findings, we do not anticipate any harm to society.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the authors have not reviewed the NeurIPS Code of Ethics.</p><p>&#8226; If the authors answer No, they should explain the special circumstances that require a deviation from the Code of Ethics. &#8226; The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="10.">Broader Impacts</head><p>Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?</p><p>Answer: <ref type="bibr">[NA]</ref> Justification: Given the theoretical nature of our findings, we do not anticipate broader societal impact for this paper.</p><p>Guidelines:</p><p>&#8226; The answer NA means that there is no societal impact of the work performed.</p><p>&#8226; If the authors answer NA or No, they should explain why their work has no societal impact or why the paper does not address societal impact.</p><p>&#8226; Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations. &#8226; The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster. &#8226; The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology. &#8226; If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="11.">Safeguards</head><p>Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pretrained language models, image generators, or scraped datasets)?</p><p>Answer: [NA] Justification: We do not have any experimental results.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper poses no such risks.</p><p>&#8226; Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters. &#8226; Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images. &#8226; We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.</p><p>12. Licenses for existing assets Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?</p><p>Answer: [NA] Justification: We did not use any existing assets, other than the publicly available articles that we have cited.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper does not use existing assets.</p><p>&#8226; The authors should cite the original paper that produced the code package or dataset.</p><p>&#8226; The authors should state which version of the asset is used and, if possible, include a URL. &#8226; The name of the license (e.g., CC-BY 4.0) should be included for each asset.</p><p>&#8226; For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.</p><p>&#8226; If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. &#8226; For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided. &#8226; If this information is not available online, the authors are encouraged to reach out to the asset's creators.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="13.">New Assets</head><p>Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?</p><p>Answer: <ref type="bibr">[NA]</ref> Justification: The contributions of this paper are theoretical. As is standard in the field, we will make our results publicly accessible and do not anticipate generating revenue from them.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper does not release new assets.</p><p>&#8226; Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc. &#8226; The paper should discuss whether and how consent was obtained from people whose asset is used. &#8226; At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="14.">Crowdsourcing and Research with Human Subjects</head><p>Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?</p><p>Answer: [NA] Justification: We do not have any crowdsourcing experiments nor human subjects.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper does not involve crowdsourcing nor research with human subjects. &#8226; Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper. &#8226; According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="15.">Institutional Review Board (IRB) Approvals or Equivalent for Research with Human Subjects</head><p>Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?</p><p>Answer: [NA] Justification: We do not have any experiments involving crowdsourcing nor research with human subjects.</p><p>Guidelines:</p><p>&#8226; The answer NA means that the paper does not involve crowdsourcing nor research with human subjects.</p><p>&#8226; Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper. &#8226; We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution. &#8226; For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>38th Conference on Neural Information Processing Systems (NeurIPS 2024).</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_1"><p>This time bound assumes constant-time comparisons of the Hi's density functions. See Section 1.1.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2"><p>Theorem 4.1 in [AAC + 23] states the result for &#969; = 27. However, according to personal correspondence with the authors, it is possible to modify their algorithm in conjunction with the minimum distance estimate and improve &#969; to 9.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_3"><p>We omit the arguments (H, P ) when they are clear from the context.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_4"><p>This idea works to some extent, but it causes &#969; to be increased by 2, which is not useful in our setting. See<ref type="bibr">[ABS23]</ref> for more details.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_5"><p>It is worth noting that we are using the E &#969; notation somewhat non-rigorously here. This notation does not represent the complementary event of E &#969; . Instead, it denotes the complementary event of E &#969; conditioning on the outputting of &#292; from the bucket B &#969; .</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_6"><p>The parameters in this high-level discussion lack precision. For a rigorous analysis, refer to our proof of Lemma A.3.</p></note>
		</body>
		</text>
</TEI>
