Robust Learning of Multi-Index Models under Logconcave Distributions via Weak Partial Learners
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Robust Learning of Multi-Index Models under Logconcave Distributions via Weak Partial Learners Ilias Diakonikolas∗ University of Wisconsin-Madison ilias@cs.wisc.edu
Daniel M. Kane† University of California, San Diego dakane@cs.ucsd.edu
arXiv:2610.41961v1 [cs.LG] 30 Oct 2026
Mingchen Ma‡ University of Wisconsin-Madison mingchen@cs.wisc.edu November 2, 2026
Abstract We develop a new algorithmic framework for learning Boolean concept classes under arbitrary logconcave distributions. Our framework applies to broad families of multi-index models and yields significantly faster robust learners than were previously known in these settings. It also extends naturally to the settings of partial classification and testable learning. As consequences, we obtain substantially improved learners for several fundamental concept classes, including functions of halfspaces and multiclass linear classifiers, under logconcave marginals. Our starting point is a conceptually new boosting framework based on weak partial learners. Classical boosting-based approaches either require distribution-free weak learners, which are often computationally intractable, or yield only weak approximation guarantees. We show instead that it suffices to design weak learners for partial classification problems, where labels may be undefined on a nontrivial fraction of the domain. This provides a robust and computationally tractable route to strong agnostic learning guarantees. The main technical challenge is that boosting requires a weak learner that succeeds under conditionings of the initial distribution that are not guaranteed to be logconcave. To address this, we develop a recursive moment-based partitioning procedure: given a logconcave distribution X and a conditional version X ′ , we partition the space into polynomially many convex regions so that, on most regions, the lowdegree central moments of X and X ′ approximately agree. We show that in any good region, a well-behaved multi-index model will correlate with a low-degree polynomial, which provides a weak hypothesis on that region. Combining these weak hypotheses over the regions yields the required weak learner. A key ingredient of our approach is an efficient method for detecting moment discrepancy. Specifically, we show how to find a low-dimensional subspace that captures any non-trivial discrepancy between X and X ′ , if one exists. Our approach combines spectral analysis of moment tensors with recent progress on isoperimetry for logconcave measures. This discrepancyfinding procedure may be of independent interest.
∗
Supported by NSF Medium Award CCF-2107079, ONR Award number N00014-25-1-2268, and a Guggenheim Fellowship. † Supported by NSF Medium Award CCF-2107547. ‡ Supported by NSF Award CCF-2144298 (CAREER).
1
Introduction
The main motivation of this work was to develop efficient learners for fundamental classes of Boolean and multiclass functions—including multiclass linear classifiers and intersections of halfspaces— under mild distributional assumptions and potentially in the presence of adversarial label noise. In the process, we developed a new general learning algorithm that is both label noise-tolerant and significantly more efficient than the state of the art. Before we describe our contributions in detail, we start with some background on specific settings that motivated this work. Multi-Index Models and Efficient Learnability A function is called a Multi-Index Model (MIM) if it depends only on the projection of its inputs onto a “low-dimensional” subspace. Formally, we have: Definition 1.1 (Multi-Index Model). A function f : Rd → Y is called a K-MIM if there exists a subspace U ⊆ Rd of dimension at most K such that f depends only on the projection onto U , i.e., f (x) = f (projU x), where projU x is the projection of x on U . Equivalently, f is of the form f (x) = g(Wx) for a link function g : RK → Y and a K × d weight matrix W. In several settings of interest, the dimension K of the hidden subspace is significantly smaller than the ambient dimension d and is often thought of as bounded above by a constant. Throughout this work, we focus on the case that the range of our functions is discrete, in most cases Boolean. Multi-index models [FJS81, Hub85, Li91, HL93, XTLZ02, Xia08] are motivated by the typical assumption that real high-dimensional data are inherently structured, specifically that the relationship between the features is of a lower-dimensional nature. MIMs capture several well-studied concept classes, both discrete and real-valued, including halfspaces, functions of halfspaces, multiclass linear classifiers, low-dimensional polynomial threshold functions, and natural classes of neural networks. The efficient learnability of each of these concept classes has been a topic of intense investigation in the theoretical computer science and machine learning communities over several decades. More recently, there has been a flurry of research activity aiming at developing general algorithmic techniques that are applicable to broad families of MIMs—albeit under strong distributional assumptions. This progress notwithstanding, our understanding of the complexity of learning MIMs (both for specific special cases and in more general settings) remains limited. This motivates the general research direction explored in this work: Can we develop efficient and noise-tolerant learners for broad classes of MIMs under mild distributional assumptions? Our main result answers this question in the affirmative, when the underlying distribution is logconcave and the labels are adversarially corrupted. Additionally, our algorithmic results extend to partial classification and to the testable learning framework. For concreteness, we define agnostic PAC learning under logconcave distributions. Definition 1.2 (Agnostic Classification under Logconcave Marginals). Let Y be finite and H be a class of functions from Rd to Y. Given i.i.d. samples (x, y) from a distribution D on Rd × Y such that (a) the x-marginal, Dx , of D is an unknown logconcave distribution, and (b) no assumptions are made on the labels, the goal is to output a hypothesis h : Rd → Y that, with high probability, has small 0-1 error errD (h) := Pr(x,y)∼D [h(x) ̸= y], as compared to the optimal 0-1 error of the class H, i.e., optD (H) := inf f ∈H errD (f ). To demonstrate the limitations of current techniques, we next discuss the state-of-the-art for three basic learning tasks. 1
Example 1: Robustly Learning Halfspaces A halfspace is any function h : Rd → {±1} of the form h(x) = sign(w · x + t), where w ∈ Rd and t ∈ R. The task of learning halfspaces is one of the most extensively studied problems in machine learning [Ros58, Nov62, MP68, FS97, Vap98, STC00]. While halfspaces are efficiently learnable in the distribution-free (realizable) PAC model [Val84] (see, e.g., [MT94]), the algorithmic problem becomes computationally intractable in the presence of adversarial label noise [Dan16, Tie23]. This has motivated a long line of work on developing efficient robust learners under natural distributional assumptions. For the special case of homogeneous halfspaces (corresponding to zero threshold), [ABL17] gave a poly(d/ϵ) time learner with error O(opt) + ϵ under logconcave marginals, where opt is the optimal error in the class1 . The efficient learnability of general (i.e., not necessarily homogeneous) halfspaces under logconcave marginals has remained open since. For the special case of Gaussian marginals, [DKS18, DKTZ22, DKM24] gave an efficient constant-factor approximation. However, for the general logconcave case, the best known efficient algorithm achieves error Ω̃(opt1/2 ) + ϵ; see, e.g., [DKS18]. On the other hand, the L1 -polynomial regression algorithm [KKMS08] achieves optimal error of opt + ϵ with sample and poly(1/ϵ) computational complexity d2 . Concretely, this leads to the following open question. Open Question 1. Is there a robust learner for general halfspaces under logconcave marginals with error O(opt) + ϵ beating the complexity of polynomial regression? As a corollary of our general algorithmic approach, we answer this question in the affirmative (see Theorem 1.4). Example 2: Learning Intersections of Halfspaces An intersection of K halfspaces is any function f : Rd → {±1} for which there exist K halfspaces hi (x) = sign(w(i) ·x+ti ) such that f (x) = 1 if and only if hi (x) = 1 for all i ∈ [K]. In sharp contrast to the special case of a single halfspace, our understanding of the efficient learnability of this class remains limited—even for K = 2 and in the presence of clean labels. Specifically, even for this special case, it remains a major open question whether efficient learning is possible in the distribution-free setting. The best known distribution-free algorithm requires sub-exponential time [APS26] and prior work has given plausible evidence of hardness; see, e.g., [KS08, She09]. On the other hand, for K = O(1), efficient learners have been developed with respect to natural distributions, including the Gaussian and the uniform distribution on the hypercube; see, e.g., [BK97, KOS04, AV06, KS04, KLT09, Vem10b, Vem10a, DMRT25a]. One of the strongest known results [Vem10b] (see also [KLT09]) gives an efficient (realizable) algorithm for any constant number of halfspaces under logconcave distributions assuming all component halfspaces pass through the mean of the distribution 2 . The only known upper bound for the general case—even for clean labels—is the L1 -polynomial regression method, which incurs sample and computational poly(K/ϵ) complexity d2 . Concretely, this leads to the following open question. Open Question 2. Is there a learner for intersections of two halfspaces under logconcave marginals beating the complexity of polynomial regression? As a corollary of our general approach, we answer this question in the affirmative (see Theorem 1.5). As a bonus, our algorithm succeeds for any function of K = O(1) many halfspaces, and is robust to adversarial label noise (achieving any desired constant factor approximation). 1
A constant-factor approximation is best possible for fully-polynomial time algorithms, due to known intractability results even for Gaussian marginals [DKPZ21, DKR23]. 2 This is an important assumption without which their algorithmic approach fails.
2
Example 3: Robust Multiclass Linear Classification A Multiclass Linear Classifier (MLC) is any function f : Rd → [K] of the form f (x) = argmaxi∈[K] (w(i) · x + ti ) , where w(i) ∈ Rd and ti ∈ R. Multiclass linear classification (MLC) is a textbook machine learning problem [SB14] generalizing the task of learning halfspaces (corresponding to K = 2). In the realizable PAC model, this task is efficiently solvable to any desired error ϵ with sample size O(dK/ϵ) via linear programming. On the other hand, despite extensive interest, see, e.g., [NDRT13, WLT18, LWS18, SKP+ 20, GWBL20, DMRT25b, DIM26], our understanding of the computational complexity of learning remains limited in the presence of adversarial label noise. The recent result [DIKZ25] gave an algorithm that succeeds under the Gaussian distribution, has complexity poly(d)2poly(K/ϵ) , and guarantees error of Copt + ϵ, for some universal constant C > 1. Note that the Gaussianity assumption is crucial. Moreover, the underlying complexity scales exponentially with both K and 1/ϵ. As in previous examples, for logconcave distributions, the only known algorithm is L1 -regression which incurs complexity dpoly(K/ϵ) even for the special case of the Gaussian distribution. Concretely, this leads to the following open question. Open Question 3. Is there a robust learner for K-MLC under logconcave marginals beating the complexity of polynomial regression? We answer this question in the affirmative (see Theorem 1.6). Specifically, we give two algorithms e for this task: the first algorithm achieves error O(Kopt) + ϵ and runs in poly(d, K, 1/ϵ) time, and the second achieves error O(K) opt + ϵ with sample complexity poly(d, K, 1/ϵ) and running time poly(d) 2polylog(K/ϵ) .
1.1
Our Results
Before we state our algorithmic contributions in detail, we emphasize that all our upper bounds in this work are obtained via a single unified algorithm. In Section 1.1.1, we describe our general algorithmic result that is applicable to a broad family of MIMs, and its testable learning extension. In Section 1.1.2, we describe some concrete algorithmic implications for fundamental concept classes. 1.1.1
General Algorithmic Result
Our algorithm can be used to learn essentially any non-pathological K-MIM, although its sample and computational complexities will depend on some complexity measure of the underlying concept class. In particular, we can learn any function that admits L1 -sandwiching polynomials (see Definition 7.8) with respect to any logconcave distribution. Results of [KKM13] imply that this applies to any function with bounded effective surface area. Theorem 1.3 (Robust Learner for General MIMs, Informal). Let H be a family of K-MIMs over Rd , admitting L1 -sandwiching polynomials achieving error c > 0 with degree ℓ = ℓ(c). There is an algorithm such that for any distribution D over Rd × {±1} with Dx logconcave, and any ϵ ∈ (0, 1), it has the following behavior: the algorithm draws polyℓ (d)polyK,c (1/ϵ) samples from D, it runs in time polyℓ (d)2polylogK,c (1/ϵ) , and with high probability outputs a hypothesis ĥ such that errD (ĥ) ≤ (1 + O(c)) optD (H) + ϵ. The reader is referred to Theorem 7.9 in Section 7.3 for the detailed formal statement that also covers the partial learning setting. For our other generic families of functions covered by our main result, see Theorem 7.4 in Section 7.2.
3
Discussion We now provide a few remarks regarding Theorem 1.3. First, we note that our general MIM family includes a range of well-studied concept classes, including arbitrary functions of K halfspaces, K-dimensional constant degree PTFs, and others. Specifically, all of these classes admit sandwiching polynomials whose degree ℓ is only a function of K and the desired accuracy. Therefore, as long as K = O(1), Theorem 1.3 implies a constant-factor robust learner for each of these classes with sample complexity poly(d/ϵ) and computational complexity poly(d)2polylog(1/ϵ) . An additional feature of our result is that (for concept classes with the L1 - sandwiching property) we can obtain any desired constant factor approximation by increasing the complexity by a polynomial factor. In particular, this allows us to obtain a Quasi-PTAS for the agnostic learning task (with quasi-polynomial dependence on ϵ in the runtime). It is also worth noting that our general algorithm is implementable in the Statistical Query (SQ) model [Kea98] with complexity (i.e., number of queries and inverse of accuracy) polyK (d/ϵ). The quasi-polynomial dependence on ϵ in the runtime is due to a brute-force search over a space of dimension polylogK (1/ϵ). Extension to Testable Learning Interestingly, the algorithm establishing Theorem 1.3 also applies to the testable learning framework of [RV23], as long as the marginal logconcave distribution is known to the algorithm. In testable learning, the goal is to be able to test whether the underlying distributional assumptions for your algorithm are met (or met well enough) rather than having to assume them. In particular, a testable learner should consist of (see Definition 6.1) a tester-learner pair satisfying the following properties: (a) if the tester accepts, the learner outputs a hypothesis and a certificate that it achieves near-optimal error, and (b) it is highly unlikely that the tester rejects if the data satisfies the underlying distributional assumptions. The reader is referred to Theorem 6.2 in Section 6 for our generic testable learning result. This result provides significantly more efficient testable learners for a range of concept classes with near-optimal error guarantees. Extension to Partial Learning Furthermore, our results also apply to agnostic partial learning, a stronger but natural extension of the standard agnostic learning setting. In agnostic partial learning, we receive samples (x, y) from a distribution D over Rd × {0, ±1}, with logconcave marginal, where a sample with y = 0 can be thought of as an example that goes unclassified. The goal of an agnostic partial learner is to output a hypothesis that does well over the examples that are classified in our data. In other words, even if only a small fraction of the examples are classified (whose marginal is logconcave conditioned on an event with a suitably small probability), our algorithm is still able to learn with qualitatively the same complexity (with a necessary dependence on the inverse of the labeled mass). See Theorem 2.8. 1.1.2
Algorithmic Applications for Concrete Concept Classes
Our first algorithmic application is for the task of robustly learning general halfspaces under logconcave marginals, thereby answering Open Question 1 in the affirmative. Theorem 1.4 (Robustly Learning General Halfspaces). Let H be the class of halfspaces on Rd . There are two algorithms for learning distributions D over Rd × {±1} with unknown logconcave x-marginal Dx . Each draws poly(d/ϵ) samples from D, and has the following performance guarantees: 1. The first algorithm runs in time poly(d/ϵ) and with high probability outputs a hypothesis with e error O(opt) + ϵ, where opt = optD (H). 2. The second algorithm runs in time poly(d)2polylog(1/ϵ) and with high probability outputs a hypothesis with error Copt + ϵ, where C > 1 is a universal constant.
4
The reader is referred to Theorems 7.14 and 7.15 in Section 7.5 for more detailed formal statements that also cover the partial PAC learning setting. Moreover, the testable version of Theorem 1.4 answers another basic open problem in the literature. Specifically, even for the special case of Gaussian marginals, the best known polynomial-time error √ guarantee for testable learning of halfspaces was Ω̃( opt) + ϵ [DKLZ24]. Our learner works for any fixed logconcave distribution and achieves near-optimal error of Õ(opt) + ϵ (or O(opt) + ϵ with a quasi-polynomial time dependence on 1/ϵ). Our second algorithmic application is for the task of learning functions of halfspaces under logconcave marginals, thereby answering Open Question 2 in the affirmative. Theorem 1.5 (Robustly Learning Functions of Halfspaces). Let HK,d be the concept class of functions of K halfspaces on Rd . There is an algorithm that for every distribution D over Rd × {±1} with unknown logconcave x-marginal Dx and any given c > 0, draws polyK,c (d/ϵ) samples from D, runs in time polyK,c (d)2polylogK,c (1/ϵ) , and with high probability outputs a hypothesis with error (1 + c)opt + ϵ, where opt = optD (HK,d ). The reader is referred to Theorem 7.12 in Section 7.4 for a more detailed formal statement that also covers the partial PAC learning setting. We emphasize that the upper bound of Theorem 1.5 is new even for the very special case of learning intersections of two halfspaces in the realizable PAC model (i.e., K = 2 and opt = 0). As a bonus, the upper bound applies to any function of any constant number of halfspaces and is robust to adversarial label noise. Specifically, for K = O(1) we obtain a constant factor approximation to the optimal error with sample complexity poly(d/ϵ) and computational complexity poly(d/ϵ)2polylog(1/ϵ) . Moreover, we can achieve a factor (1 + c) approximation, for any desired parameter c > 0, by increasing the complexity as a function of c. Our third algorithmic application, obtained via a refinement of our generic technique, is for the task of robustly learning multiclass linear classifiers under logconcave marginals, thereby answering Open Question 3 in the affirmative. Theorem 1.6 (Robustly Learning Multiclass Linear Classifiers). There are two algorithms for learning the concept class MK,d of K-MLC on Rd . Each algorithm draws poly(d K/ϵ) samples from a distribution D over Rd × [K] with unknown logconcave x-marginal Dx , and has the following performance guarantees: 1. The first algorithm runs in time poly(d K/ϵ) and with high probability outputs a hypothesis with e e error O(K) O(opt) + ϵ, where opt = optD (MK,d ). 2. The second algorithm runs in time poly(d)2polylog(K/ϵ) and with high probability outputs a hypothesis with error O(K) opt + ϵ. The reader is referred to Theorem 7.22 in Section 7.6 for a more detailed formal statement that also covers the partial PAC learning setting. For comparison, the prior work [DIKZ25] gave an algorithm for the special case of the Gaussian distribution with complexity poly(d)2poly(K/ϵ) , and error of O(opt) + ϵ. Our algorithm achieves a somewhat weaker robustness guarantee with substantially better complexity and under much weaker distributional assumptions.
1.2
Technical Overview
In this section, we give a detailed overview of the techniques developed in this paper. 5
Result Theorem 7.9 [KKMS08] Theorem 7.12 [KKM13] [Vem10b] [DKS18] [DIKZ25]
Function Class L1 -sandwiching K-MIMs L1 -Approximable Classes Functions of K Halfspaces Functions of K Halfspaces Intersections of K
Distribution Time Complexity
General Halfspaces Intersections of K General Halfspaces
Theorem 7.22 K-MLC
Partial, Testable
dO(ℓ(c)) 2polylogK,c (1/ϵ)
(1 + c)opt + ϵ
General
dO(ℓ(ϵ))
opt + ϵ
Logconcave
polyK,c (d)2polylogK,c (1/ϵ)
(1 + c)opt + ϵ
Logconcave
d2
opt + ϵ
O(dK/ϵ)K
ϵ
Isotropic
poly(K/ϵ)
2
Gaussian
poly(dK/ϵ) + (K/ϵ)O(K ) Õ(K 4/11 opt1/11 ) + ϵ
Gaussian
poly(d)2poly(K/ϵ)
K Õ(opt) + ϵ
Logconcave
poly(dK/ϵ)
Õ(Kopt) + ϵ
poly(K/ϵ)
poly(d)2
O(opt) + ϵ
Theorem 7.15 General LTFs
Logconcave
poly(d/ϵ)
Õ(opt) + ϵ
[ABL17]
Homogeneous LTFs
Logconcave
poly(d/ϵ)
O(opt) + ϵ
[DKS18]
General LTFs
Logconcave
poly(d/ϵ)
Õ(opt1/2 ) + ϵ
poly(d/ϵ)
1/2
[DKLZ24]
General LTFs
Gaussian
Partial, Testable
Realizable
Gaussian
[DIKZ25]
K-MLC
Notes
Logconcave
Centered Halfspaces Logconcave Intersections of K
Error
Õ(opt
)+ϵ
Partial, Testable Partial, Testable O(opt) + ϵ Gaussian Testable
Table 1: Summary and comparison of some of our results on agnostic learning under logconcave distributions. All our theorems listed in the table have sample complexity polynomial in d/ϵ with degree depending on K, c, or ℓ(c). Weakly Learnable Classes A natural method to address such learning problems is the method of moments. We note that for nice families of distributions, there always exists a low-degree polynomial p so that its correlation with the optimal hypothesis h∗ , E[p(x)h∗ (x)] is not too small. As we can easily compute moments of D, it is not hard to find such a p if it exists. Furthermore, thresholding this polynomial can be used as a weak learner—a method to produce a hypothesis with error rate slightly less than 1/2. Furthermore, this weak learner can be made robust in two ways. For one, as long as the noise level over the input distribution D is not too large, p(x) also has non-trivial correlation with the noisy label y, and thus yields a weak hypothesis over D. Furthermore, one can often somewhat relax the condition on the marginal distribution. In particular, so long as the marginal is “close” to logconcave in a reasonable sense, that should suffice to produce this weak learner. In particular, for our purposes, it will be enough to have a distribution whose central moments nearly match those of a logconcave distribution. These observations inspire us to consider a broad family of classes, formalized in Definition 2.7 and termed (k, ∆, β, C)-weakly learnable classes. Roughly speaking, a class is weakly learnable if given any distribution D with low noise rate, whose first k central moments approximately match those of some logconcave distribution, one can efficiently compute a hypothesis whose error is slightly better than 1/2. As we will see in 6
Theorem 7.4, essentially any reasonable class of multi-index models satisfies this assumption for some setting of the parameters. Agnostic Partial Learning and Boosting from Weak Partial Learners Given that we assume above that our function class has some kind of weak learner, it is natural to attempt to use a boosting algorithm to strengthen this to a stronger learner. Unfortunately, in order for boosting to work, one typically needs a weak learning algorithm that works not just over the original marginal distribution, but also over the marginals of distributions used by the boosting algorithm, which can be much less structured than a logconcave distribution. Fortunately, if we use a smooth boosting algorithm, see, e.g., [Ser03, Gav03, Fel10, KK09], these marginals will always consist of the original distribution conditioned on some not-too-unlikely event (see Fact 3.3). This motivates us to consider a stronger but natural generalization of the original problem that we term agnostic partial learning (see Definition 2.3). In agnostic partial learning, we receive samples (x, y) from a distribution D over Rd × {0, ±1}, with logconcave marginal, where a sample with y = 0 can be thought of as an example that goes unclassified. The goal of an agnostic partial learner is to output a hypothesis that does well over the examples that are classified in our data. We show that, to do boosting, it suffices to have a weak partial learner (see Definition 3.1). That is a learner that will always return a hypothesis with error somewhat less than 1/2 when given a partial classification problem with error not too big and the fraction of non-zero labels not too small. In Theorem 3.2, we show that given a weak partial learner that works when the noise rate is less than 1/C, we can use it to produce a hypothesis with error (C/2)opt + ϵ. Efficient Weak Partial Learning via Space Partitioning and Discrepancy Finder Unfortunately, even if our function class is itself weakly learnable, this does not mean we can immediately obtain a weak partial learner. This is because if we let x and x′ be the marginals over all samples and over classified samples, respectively, we are not guaranteed that they have nearly matching moments. Without this property, it is not clear that our class being (k, ∆, β, C)-weakly learnable suffices to produce a weak hypothesis. As a result, simply running a weak learning algorithm on the classified data does not in general suffice. This would only work if x and x′ had nearly matching central moments. So what can we do if these moments do not match? In this case, there must be a direction v and an integer i ≤ k such that the expectations of (v · x)i and (v · x′ )i substantially disagree. This means that the distributions of (v · x) and (v · x′ ) must be somewhat different. This, in turn, implies that if we can find such a direction v through some efficient algorithm—that we term discrepancy finder (see Definition 4.1)—then we can split the entire space into two halves such that the fraction of classified samples differs substantially across halves. After the split, we can recursively run the above procedure over each half until a direction with moment discrepancy cannot be found; or we reach a part, where the probability that x′ falls into it is too small. By doing this repeatedly, we partition the whole space into many convex regions R, with Pr[y = ̸ 0 | R] starting to become more and more extreme. However, since x′ is obtained from x by conditioning on some event of probability α, the ratio Pr[x′ ∈ R]/ Pr[x ∈ R] will never exceed 1/α. This fact, along with a careful analysis of the partitioning scheme, allows us to show that we end up with a polynomial number of regions, so that most of the mass of x belongs to regions where the conditional moments of x and x′ nearly match (see Lemma 4.5). As a result, by calling the two algorithmic modules—namely, the weak learner and the discrepancy finder—polynomially many times, we get a weak partial hypothesis over D, as long as the noise rate is not too high and the mass of non-zero labels is not too small (see Theorem 4.2).
7
Discrepancy Finder under Logconcave Distributions via Dimension Reduction Given the discussion thus far, we already have the ideas necessary to design an efficient robust learning algorithm in the Statistical Query model, where given the moments of x and x′ we can existentially determine if there is a direction of significant mismatch. Unfortunately, computational difficulties arise in designing an actual algorithm for the discrepancy finder. In particular, given distributions x and x′ , the discrepancy finder is asked to either certify that (v · x) and (v · x′ ) approximately match their moments for each v, or to find a direction v, in which these moments differ substantially. While it is not difficult to approximate the expectation of (v · x)k − (v · x′ )k as an explicit polynomial in v, finding an approximate maximum of this polynomial is believed to be computationally hard in general. Fortunately, the structure of the distributions in question will allow us to build such a discrepancy finder in quasi-polynomial time (see Theorem 5.1). We provide an overview of our algorithm to do so in the following paragraphs. Our first observation is that if x is sampled from a logconcave distribution and x′ is x conditioned on an event of probability at least α, then their moments cannot differ arbitrarily. In particular, we show in Lemma 5.7 that there must be a degree-k polynomial Q with relatively small L2 norm over x such that for any degree-k polynomial p, E[p(x)Q(x)] = E[p(x) − p(x′ )]. How can we exploit this fact? For the purpose of motivation, we first cover the simpler case where x is drawn from a standard Gaussian distribution. In this case, we can expand Q(x) in the Hermite basis, yielding a sequence of tensors T0 , . . . , Tk with small Frobenius norm, so that for every v ∈ Sd−1 we can write Ex∼Dx [Q(x)(v · x)k ] as a linear combination of Tk · v⊗i for i ∈ [k]. Then, viewing Ti as a bilinear i−1 form over Rd × Rd , and using a singular-value decomposition, one can efficiently find a subspace V (of poly(log(1/α)/∆) dimension) so that the moment-discrepancy in any direction u is not too much larger than the discrepancy in the direction v = projV (u). We can then spend time 2O(dim(V )) (which is quasipoly(1/α) if ∆ is constant) to do an exhaustive search over V for directions of large discrepancy. Unfortunately, the above argument critically exploits many features of the Gaussian distributions (such as the fact that moments in orthogonal directions are independent) that do not hold for a general logconcave distribution. However, the basic idea of dimension-reduction can still be made to work. In particular, we wish to find a subspace V with a not-too-large dimension so that the Q maximum of the multi-linear form E[Q(x) ki=1 (u(i) · x)] over any unit vectors u(i) is at most a Q constant multiple of the maximum of E[Q(x) ki=1 (v(i) · x)], with v(i) ∈ V , plus a small error ∆ (see Lemma 5.5). We achieve this in two steps. First, we notice that E[Q(x)p(x)] (as a linear function of p(x)) can be written as a linear function of the expectations of p’s derivative ∇i p(x). Making use of recent progress on the KLS conjecture, we can show that the size of the corresponding tensors cannot be too large. Combining this fact with a spectral analysis, we give an efficient algorithm (see Lemma to find a subspace U so that if all of the vectors u(i) s are orthogonal to U , then Qk 5.4) E[Q(x) i=1 (u(i) · x)] is absolutely small. The next step is to use this as a subroutine to recursively build our target subspace V . To do Q (i) (i) this, we decompose u(i) = uU + uU ⊥ . This allows us to decompose E[Q(x) ki=1 (u(i) · x)] into 2k Q terms E[Q(x) ki=1 (v(i) · x)], with each v(i) either in U or in U ⊥ . As a result, we only need to consider the case where one of the vectors is in U . Let g(1) , . . . , g(N ) be an orthonormal basis of U . If we apply the subroutine in the first step to Q(x)(g(i) · x) for each i, this allows usQ to get another ′ (i) ′ (i) (i) · x)] subspace U such that when each u is orthogonal to U , then E[Q(x)(g · x) k−1 i=1 (u (1) (2) (k) is small.QIn particular, this means that if u ∈ U and u , . . . , u are orthogonal to U ′ , then E[Q(x) ki=1 (u(i) · x)] will be small. By repeating this approach for k iterations, and taking V as Q the span of the subspaces found in the process, we obtain that the maximum E[Q(x) ki=1 (u(i) · x)] will not be much larger if all the unit vectors are taken from V . This completes the overview of the
8
analysis of our learning algorithm. Algorithmic Application (I): Generic Family and Learning via Sandwiching Polynomials To make use of our algorithm template, it remains to show that there are natural function classes that satisfy our condition of being (k, ∆, β, C)-weakly learnable for some reasonable sets of parameters. In particular, we argue that essentially any non-pathological family of K-MIMs is (k, ∆, β, C)-weakly learnable for an appropriate choice of parameters. We note that the assumption of being a K-MIM here is critical, as nearly matching central moments will imply that nearly all moments along the critical directions will nearly match. In order to construct such a weak learner, suppose that for the optimal hypothesis h∗ in the class, we can find a polynomial p, such that E[p(x)] = 0 and p(x) is positive whenever h∗ (x) = 1. In this case, we have E[h∗ (x)p(x)] = E[(h∗ (x) + 1)p(x)] > 0. Since this p then correlates with the indicator set of h∗ (x) = 1, it is not hard to see that some appropriate threshold of p will necessarily produce a weak learner. We claim that very mild conditions on h∗ will allow us to construct such a p. For example, supposing that x is isotropic, as long as there is a not-too-small ball B not-too-far from the origin so that h∗ is −1 on B, we can construct (by standard techniques) a polynomial that approximates the indicator function of B. Subtracting this from a small constant, we produce a polynomial that is mean 0 and positive whenever h∗ is. As we need something similar to hold for every logconcave x (not just isotropic ones), we will need the slightly stronger condition (see Definition 7.3) that every ellipsoid E contains a (not too much) smaller ellipsoid E ′ so that h∗ is constant on E ′ . We note that this should hold for essentially any reasonable K-MIM. Unfortunately, the parameters obtained through this natural approach will usually lead to poor approximation ratios. However, if we make the stronger assumption that h∗ has sandwiching polynomials (i.e., polynomials pu and pl with pu (x) ≥ h∗ (x) ≥ pl (x) pointwise and E[pu (x)−pl (x)] ≤ c for any small c > 0; see Definition 7.8), then a much better error guarantee can be obtained (see Theorem 7.9). To see this, E[pu (x′ )y] will approximate E[h∗ (x)y] = 1 − 2opt = c within error at most E[pu (x′ ) − pl (x′ )] ≈ E[pu (x) − pl (x)], which can be made as a small multiple of c. This means that we can find a weak hypothesis, as long as E[h∗ (x′ )y] is more than a small constant, which happens when opt is only slightly less than 1/2. In particular, this implies that for every K-MIM that admits L1 -sandwiching polynomial approximation, we can learn it in time poly(d)2polylog(1/ϵ) to error (1 + c)opt + ϵ, for any small constant c > 0, under any logconcave distribution. In particular, by leveraging the sandwiching polynomial construction from [KKM13], this immediately gives a QPTAS for many fundamental classes, such as functions of halfspaces and low-dimensional low-degree polynomial threshold functions (see Section 7.4). Algorithmic Application (II): Halfspaces and Multiclass Linear Classifiers As another important application, our algorithmic framework also gives a way to tackle more challenging multiclass classification problems. A natural way to solve a multiclass classification problem is to break it into K2 binary classification problems to learn hypotheses hij (x) that tell whether an example is more likely to have label i or label j and combine them together. We show in Lemma 7.23 that it suffices to design a semi-agnostic partial learning algorithm for the class of halfspaces over logconcave distributions. In particular, due to the structure of the class of halfspaces, we can use a simple Chow-parameter estimation method to obtain a weak hypothesis, as long as the moments of the marginal distribution match some logconcave marginal. In particular, in Theorem 7.14, we show that if the first four moments approximately match, then we can agnostically partially learn a halfspace to error O(opt) + ϵ in poly(d)2polylog(1/ϵ) time, which in turn implies a quasi-polynomial
9
time algorithm for multiclass linear classification with error O(K · opt) + ϵ. The quasi-polynomial dependence on ϵ is due to the fact that we need to implement a discrepancy finder for the 4th moment. On the other hand, if we only use the first two moments, we can always find the moment discrepancy in polynomial time. For the halfspace learning problem (Theorem 7.15), this fact gives us a polynomial-time algorithm that achieves error Õ(opt) + ϵ; this implies a polynomial-time algorithm for multiclass linear classification with error Õ(K · opt) + ϵ. Testable Learning Finally, we point out that our algorithmic framework naturally fits the testable learning framework [RV23] (see Definition 6.1). Roughly speaking, given a known logconcave distribution x ∼ DB and sample access from an arbitrary distribution D over Rd × {0, ±1}, a testable learner is asked to either reject or output a hypothesis. We want to guarantee that the probability that the algorithm accepts but outputs a bad hypothesis is small; and that when Dx = DB , the algorithm will accept with high probability. Towards this end, we notice that our boosting algorithm will succeed with no extra assumption, as long as the weak partial learner succeeds. Furthermore, our weak partial learner is guaranteed to work, as long as we can partition the space into regions R so that most of the mass of examples with non-zero label, x′ , belong to regions on which the moments of (x′ | R) and (x | R) approximately match. This implies that when we create the partition for the weak partial learner, we can replace the global marginal distribution Dx by DB . If within the sample and time budget, the partition is not created successfully, we simply reject; otherwise, the partition is created successfully, and we obtain a weak partial hypothesis. In particular, if Dx = DB , we are likely to accept (see Theorem 6.2).
1.3
Organization
In Section 2, we begin with some preliminaries followed by a formal definition of an agnostic partial classifier and its resulting error metrics (Definitions 2.3 and 2.5). We then state our general algorithmic result (Theorem 2.8) efficiently translating our notion of weak learning (Definition 2.7) to agnostic partial learning. The subsequent sections develop the necessary machinery to prove Theorem 2.8. In Section 3, we define the notion of weak partial learning (Definition 3.1), cover the generic results on boosting from a weak partial learner, and show how it can be used to efficiently produce agnostic partial learners (Theorem 3.2). Section 4 develops our iterative spatial decomposition and shows (Theorem 4.2) how it can be used to produce a weak partial learner for function classes satisfying our weak learning condition (Definition 2.7). In Section 5, we provide our algorithm for computing directions of moment discrepancy for logconcave distributions. We combine the above results to prove Theorem 2.8, and state our testable learning extensions in Section 6. Finally, in Section 7 we describe our concrete applications, showing that our assumptions are satisfied by a wide variety of multi-index models, and in particular functions of halfspaces and multiclass linear classifiers.
2
Setup and Statement of the Main Result
Notation For n ∈ Z+ , we let [n] = {1, 2, . . . , n}. We use small boldface characters for vectors and capital bold characters q for matrices and tensors. For x ∈ Rd and i ∈ [d], xi denotes the i-th Pd 2 coordinate of x and ∥x∥2 = i=1 (xi ) is the ℓ2 norm of x. Let V be a subspace, we use projV (x) to denote the projection of x onto subspace V , we will also use xV for short to denote projV (x). We use Sd−1 to denote the unit sphere over Rd and use Bd−1 (u, r) to denote the ball in Rd centered at u, with radius r. Let A ∈ Rd×d , we define E(u, A) := {x | ∥A(x − u)∥2 ≤ 1} to be the ellipsoid 10
Agnostic Partial Learning Theorem 2.8
Agnostic Partial Boosting Theorem 3.2
K-MLC Theorem 7.22
Weak Partial Learner Theorem 4.2
Halfspace Learning Theorem 7.15/7.14
Space Partitioning Lemma 4.5
Testable Learning Theorem 6.2
Weakly Learnable Class Definition 2.7
Discrepancy Finder Theorem 5.1
L1 -Sandwiching Polynomial Theorem 7.9
Q-Function Construction Lemma 5.7
Iterative Subspace Construction Lemma 5.5
Functions of Halfspaces Theorem 7.12
Low-Dim Low-Degree PTF Theorem 7.13
Effective Subspace Identification Lemma 5.4
(K, η)-Good MIMs Theorem 7.4
Figure 1: Overview of the proof structure and dependencies. Directed edges indicate logical dependencies: an arrow A → B means that the result at B relies on or invokes the result at A. qP 2 centered at u, with shape A. For an ℓ-order tensor T, we use ∥T∥F = ζ Tζ to denote its P Frobenius norm. For two tensors T, T′ , we will use T · T′ to denote ζ Tζ T′ζ . For α = (α1 , . . . , αd ), Q a multi-index, we use xα = di=1 xαi i , the monomial with multi-index α. For an event A over Rd , we will use 1{A} to denote the indicator of A: it equals 1 on A and 0 otherwise. For D a distribution over Rd and f : Rd → R, we use ∥f ∥D,p := (Ex∼D [|f (x)|p ])1/p to denote the Lp norm of f under D. For a distribution D over Rd × Y, we use D(x, y) to denote the density of D at (x, y) and use D(y | x) for the conditional distribution of y given x under D. Finally, we use Dx to denote the marginal of D on x. Basics on Logconcave Distributions The family of distributions D that we study in this paper are assumed to have logconcave marginal Dx on the feature space, defined as follows. Definition 2.1 (Logconcave Distribution). A distribution Dx over Rd with density function f (x) is logconcave if the function log f (x) is concave. We say that a logconcave distribution Dx , is isotropic 11
logconcave if µ := Ex∼Dx [x] = 0 and Ex∼Dx [xx⊤ ] = I, where I is the identity matrix. For c ∈ (0, 1), we say Dx is c-isotropic logconcave, if ∥Ex∼Dx [x]∥2 ≤ c and (1 − c)I ≤ Ex∼Dx [(x − µ)(x − µ)⊤ ] ≤ (1 + c)I. As shown in [LV07], any logconcave distribution can be efficiently transformed into a nearly isotropic logconcave distribution. Fact 2.2 (see, e.g., Theorem 2.6 in [LV07]). There is an algorithm with the following guarantee: given sample access to any logconcave distribution Dx on Rd and parameters c, δ ∈ (0, 1), the algorithm draws M = Õ(dc−2 log(1/δ)) samples from Dx , runs in sample polynomial time, and outputs an affine transformation L : Rd → Rd such that when x ∼ Dx , L(x) follows a c-isotropic logconcave distribution with probability at least 1 − δ. Thanks to Fact 2.2, most of the technical lemmas in this work will focus on c-isotropic logconcave distributions, for suitably small c. Basic Definitions for Partial Learning One of our key innovations is that of trying to produce weak learners for partial classifiers. Such a classifier can be thought of as a function f : X → {±1, 0} (or more generally given as a distribution over X × {±1, 0}), where the output f (x) = 0 corresponds to f not classifying x and an output of ±1 corresponding to that Boolean classification. Formally, we set out some of our basic terminology as follows: Definition 2.3 (Agnostic Partial Learning). Let H be a class of Boolean (i.e., {±1}-valued) functions over Rd , and let D be a distribution over Rd × {±1, 0}. Denote by Df (called the effective distribution) the conditional distribution of D over the event E := {(x, y) | y ̸= 0}. The error of a hypothesis h : Rd → {±1} is defined as errDf (h) = Pr(x,y)∼Df [h(x) ̸= y] and define optDf (H) := inf h∈H errDf (h). A (semi-)agnostic partial learner is one that given access to samples from such a distribution D attempts to compute a hypothesis h whose error is competitive with optDf (H), and in particular is bounded by F (optDf (H)) + ϵ for some non-decreasing function F : [0, 1] → [0, 1] and ϵ > 0. We say that this problem is agnostic partial learning over some distribution D∗ or class of distributions C on Rd if one is additionally guaranteed that the marginal of D over Rd is equal to D∗ or lies in C. In particular, our paper will be focused on the problem of agnostic partial learning of certain well behaved function classes H over the class of logconcave distributions. We note that one important parameter of a partial classifier is the probability with which it assigns a non-zero value, a quantity we call the weight of the classifier. This is particularly important as classifiers with low weight will be difficult to learn at the very least because many samples will be required in order to see anything of interest. Formally, we define: Definition 2.4 (Weight of a Partial Classifier). For a distribution D on Rd × {±1, 0} we define its weight, denoted W (D), to be Pr(x,y)∼D [y ̸= 0]. Finally, while the notion of error for a hypothesis given above is perhaps the most natural for measuring the error of a partial classifier, it is sometimes useful to consider the probability over the distribution D as a whole that our hypothesis returns the wrong value. We call this the “global error” as defined below: Definition 2.5 (Global Classification Error). Let D be a distribution over Rd ×{±1, 0}. We define the global error of a hypothesis h : Rd → {±1} with respect to D as errD (h) := Pr(x,y)∼D [h(x) ̸= y, y ̸= 0]. The optimal global error of H with respect to D is optD (H) := inf h∈H errD (h). Remark 2.6. We remark that for every Boolean function h, errD (h) = W (D) errDf (h). 12
Our Main Result Our main algorithmic result is applicable to a broad class of hypothesis classes that admit a weak partial learner so long as certain moment conditions on the effective marginal, Df , are met. In practice, this weak learner will always be obtained by finding a low degree polynomial p which has non-trivial inner product with y, but in principle any (efficient) weak learning algorithm should suffice. Note that for a partial classifier, one should consider applying the definition below to Df . Definition 2.7 ((k, ∆, β, C)-weakly learnable class). Let H be a class of Boolean functions over Rd . For k ∈ N, ∆ > 0, β ∈ (0, 1), C > 1, we say that H is (k, ∆, β, C)-weakly learnable, if there is an algorithm A with the following performance guarantee. Suppose that for an input distribution D over Rd × {±1}, the following conditions are satisfied: 1. There is some 1/2-isotropic logconcave distribution Dx′ over Rd and a given affine transformation L : Rd → Rd such that D̃x , the distribution of Dx under the affine transformation L satisfies for every w ∈ Sd−1 and all i ∈ [k], Ex∼D̃x [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < ∆, 2. optD (H) ≤ 1/C. Then A, on input i.i.d. samples from D, outputs a hypothesis ĥ satisfying errD (ĥ) ≤ 1/2 − β with probability at least 99%. We will call β the “advantage” of the (weak hypothesis) ĥ. The algorithm A will be called a (k, ∆, β, C)-weak learner for H. A number of prior works require that the function class either exhibit a weak learner or some kind of moment-based identifiability. However, previous results typically require that this identifiability either holds for all marginal distributions or only for the specific marginals being learned. To make our argument work for partial learners, we will need to be able to work with the effective marginal (Df )x , which is merely close to logconcave. Fortunately, if we merely assume that we nearly match central moments with a logconcave distribution (the requirement for 1/2-isotropic can be fixed by applying an affine transformation), this is a condition that we can both reduce to (as we show in Sections 4 and 5) and a condition that is sufficient in many instances (as we show in Section 7). We are now ready to state our main algorithmic result. In particular, we show that any weakly learnable class of functions can be agnostically learned with respect to any logconcave distribution. Theorem 2.8 (Weak Learning Implies Agnostic Partial Learning). Suppose that H is a class of functions that is (k, ∆, β, C)-weakly learnable by an algorithm A with sample complexity m and time complexity T . Then there is an agnostic partial learning algorithm for H with the following guarantee: Given any ϵ ∈ (0, 1) and sample access to any distribution D over Rd × {0, ±1} of weight W (D) ≥ α with marginal Dx logconcave, the algorithm draws (1/β 2 ) dO(k) polyk,∆ (1/(αϵ)) m samples from D, runs in time (1/β 2 ) dO(k) 2polyk,∆ (log(1/(αϵ))) T , and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (C/2)optDf (H) + ϵ. In other words, so long as H is weakly-learnable by an efficient algorithm A we have an agnostic partial learner for H that works over any logconcave marginal. This learner will have fully polynomial sample complexity (though the degree of that polynomial may depend on the parameters of H’s weak learnability), and time complexity that is only quasipoly(1/ϵ) worse. This can be used to learn partial classifiers even of small weight, though as we will see this algorithm substantially improves on the state of the art even for many classes of total functions. Additionally, this learner can be made testable in the sense of Theorem 6.2.
13
3
Boosting a Weak Partial Hypothesis
The first key ingredient of our approach is a boosting algorithm establishing that a weak partial learner (Definition 3.1) can always be efficiently converted into a (strong) agnostic partial learner (Theorem 3.2). This can be viewed as a natural extension of the boosting techniques widely used in distributionfree learning to the distribution-specific setting. Traditionally boosting algorithms have typically required that the weak learner is distribution-free. However, if a smooth boosting algorithm, see, e.g. [Fel10, KK09] is used, we show that it suffices to have a distribution-specific weak partial learner. Technically, this result follows from a careful use of the boosting algorithm of [Fel10], but conceptually we think this is a significant advance, as it allows us to consider only effective marginal distributions which are not too far from the original marginal—a condition that we will later show how to exploit. Formally, we define a weak partial learner as follows. Definition 3.1 ((β, C)-weak partial learner). For 0 < α, β < 1 and C > 1, we say that an algorithm A is a (β, C)-weak partial learner for a class H with respect to the distribution D∗ if it satisfies the following guarantee: For every α ∈ (0, 1) and for every input distribution D over Rd × {±1, 0} with x-marginal Dx = D∗ , W (D) > α and optDf (H) ≤ 1/C, then A draws samples from D and outputs a hypothesis ĥ : Rd → {±1}, such that with probability at least 99%, errDf (ĥ) ≤ 1/2 − β. Furthermore, we say that A has time and sample complexity T (α) and m(α) if the appropriate complexities are bounded by the given functions. The main result of this section is the following theorem. Theorem 3.2 (Weak Partial Learning Implies Agnostic Partial Learning). Let D∗ be a distribution over Rd , H be a hypothesis class over Rd , and A be a (β, C)-weak partial learner for H with respect to D∗ with time and sample complexity T (α), m(α). There is an algorithm with the following performance guarantee: for any ϵ ∈ (0, 1), any input distribution D over Rd × {0, ±1} with marginal Dx = D∗ and W (D) ≥ α, the algorithm draws N = Õ(β −2 /ϵ)m(αϵ) samples from D, runs in time polynomial in N and T (αϵ), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (C/2)opt + ϵ. Essentially, Theorem 3.2 is saying that in order to run a boosting algorithm instead of needing to run our weak learner on arbitrary input distributions, it suffices to run it only on distributions that can be obtained from our original distribution Df (itself a conditioning of the base distribution D) by a rejection sampling procedure that accepts with probability at least ϵ. This in turn means that a distribution-specific weak partial learner is sufficient instead of requiring a distribution-independent weak learner. This can be shown by analyzing the boosting algorithm of [Fel10]. Fact 3.3 (Corollary of Theorem 3.5 in [Fel10]). Let H be a hypothesis class over Rd and let A be an oracle with the following behavior: for every distribution D over Rd × {±1} such that minh∈H errD (h) ≤ 1/2 − a, given m examples from D, it outputs a hypothesis ĥ such that errD (ĥ) ≤ 1/2 − β, with probability at least 99%. Then there is an algorithm B with the following performance guarantee: for every distribution D over Rd × {±1} and for every ϵ > 0, B makes Õ(β −2 /ϵ) many calls to A, it runs in time poly(T, β −1 , ϵ−1 ), and outputs a hypothesis ĥ such that errD (ĥ) ≤ optD (H)/(1 − 2a) + ϵ, with probability 99%. Furthermore, each call to A is defined over some distribution D′ so that D′ is given by D conditioned on some explicit event E of probability at least ϵ. Remark 3.4. The statement of Theorem 3.5 in [Fel10] requires access to a distribution-free weak learner. However, the proof requires a weaker guarantee. Specifically, given a fixed distribution D, 14
to boost a weak learner over D, it suffices that the weak learner A succeeds over distributions whose marginals can be rejection sampled from Dx with an acceptance rate of at least ϵ. Since this is not explicitly stated in [Fel10], we provide the details of the proof in Appendix B for completeness. Given Fact 3.3, the proof of Theorem 3.2 is straightforward. Proof. Our algorithm will simulate running B from Fact 3.3 to learn the distribution Df . In particular, when the oracle A is called on some distribution D′ , we note that D′ is given by Df conditioned on an event E of probability at least ϵ. This in turn is D conditioned on an explicit event of probability at least αϵ. Letting D0 be obtained from the distribution D by setting y = 0 whenever E does not hold, we note that W (D0 ) ≥ αϵ and Df0 = D′ . Therefore, the (β, C)-weak partial learner A will satisfy the hypotheses of the oracle from Fact 3.3 (with 1/2 − a = 1/C). Thus, B can be simulated giving a final error of errDf (h) ≤ optDf (H)/(1 − 2a) + ϵ = (1/2)optDf (H)/(1/2 − a) + ϵ = (C/2)optDf (H) + ϵ. This completes our proof.
4
Efficient Weak Partial Learning of Weakly Learnable Classes
By Theorem 3.2, to agnostically partially learn a hypothesis class H under logconcave distributions, it suffices to design an efficient weak partial learner. Recall that our focus is on concept classes H that are efficiently (k, ∆, β, C)-weakly learnable by an algorithm A. In particular, this means that so long as the effective distribution Df has marginals whose low degree central moments approximately agree with those of some logconcave distribution (and in particular, if they agree with Dx ’s central moments), then A will learn a hypothesis with β-advantage over Df . It is not hard to see that simply running A over the distribution Df is not a good strategy, as the moment information of (Df )x could significantly deviate from that of the requirement of A, even if 90% of the examples have non-zero labels. We will need to find a way to reduce to the case where these central moments do approximately match. Our basic strategy will be to find a direction in which our moments fail to match if one exists, and use this to partition space into two halfspaces on which the masses of Dx and (Df )x substantially disagree. Doing this iteratively, we produce finer and finer partitions of Rd on which Df becomes more and more concentrated. We show that eventually this procedure must terminate in a partition where almost all of the mass of D lies in regions where our moment matching assumption does apply. We can then use our (k, ∆, β, C)-weak learner on each region to get the desired result. Unfortunately, to even get started on this project, we need to be able to either certify that Dx and (Df )x have nearly matching central moments or to find a direction that exhibits this moment mismatch. This is itself a complicated algorithmic problem that we will put off solving until Section 5. For the moment, we will be satisfied by formally defining the tool that we need: Definition 4.1 (Moment Discrepancy Finder). For k ∈ Z+ , ∆ > 0, c, α ∈ (0, 1), we say that an algorithm A is a (k, ∆, c, α)-discrepancy finder if it satisfies the following performance guarantee: given sample access to a 1/2-isotropic logconcave distribution Dx over Rd and a distribution Dx′ , a conditional distribution of Dx over some event with probability mass at least α, if there exists w ∈ Sd−1 and j ∈ [k] such that Ex∼Dx [(w · x)j ] − Ex∼Dx′ [(w · x)j ] ≥ ∆, then with probability at least 99%, the algorithm outputs v ∈ Sd−1 and i ∈ [k] such that Ex∼Dx [(v · x)i ] − Ex∼Dx′ [(v · x)i ] ≥ c∆. Our main result in this section is the following. 15
Theorem 4.2 (Weak Learning+Discrepancy Finder→Weak Partial Learning). Let ϵ, η ∈ (0, 1), and let Aw be a (k, ∆, β, C)-weak learner for H with sample complexity Mw and time complexity Tw . Let Am be a (k, ∆, c, α)-discrepancy finder, for an appropriate value of α = ηϵOk,∆ (1) with sample complexity Mm and time complexity Tm . Then there is an algorithm A that satisfies the following: For every input distribution D over Rd × {±1, 0}, with Dx logconcave, W (D) > ϵ and optDf (H) < (1 − η)/C, then A draws at most N (Mw + Mm ) samples from D, runs in time at most N (Tw + Tm ), where 2
−2 (k log k+log(C/(c∆)))2k )
N = (c∆)−4k (k log k + log(C/(c∆)))4k (ηϵ)−O((c∆)
.
Algorithm A then outputs a hypothesis h such that errDf (h) ≤ 1/2 − Ω(ηβ) with probability at least 99%. As discussed, to prove Theorem 4.2, we will need to iteratively decompose Rd into smaller and smaller convex sets. In order to ensure that this procedure produces the desired results, we will need to assume that each split satisfies some conditions that force the distributions of D and Df across the two halves to differ sufficiently. In particular, we will formalize the condition we need in the following definition: Definition 4.3 (Good Split). Let D and D′ be two distributions over R such that D′ = DA for some event A, with PrD [A] ≥ α. We say that t ∈ R is a (k, τ, γ, ∆)-good split for D, D′ , if |t| < T := O(k log k + log(1/∆α)), and for R either {z ∈ R | z > t} or {z ∈ R | z < t}, one of the following properties holds: 1. |t| ≤ τ and |PrD [R] − PrD′ [R]| > γ. 2. R = {z ∈ R | z > t}, t > τ or R = {z ∈ R | z < t}, t < −τ , PrD [R] ≤ (PrD′ [R])4 and PrD′ [R] > |t|−2k . Not only does a good split allow one to subdivide the line into two sets on which the probabilities of D and D′ differ substantially, we show that if, in the case we are interested in, we can find a direction in which the moments of D and Df disagree substantially, that we can produce a good split in this direction.
Figure 2: Illustration of a good split. Lemma 4.4. Let D be a 1/2-isotropic logconcave distribution over R, A an event with probability α > 0. Let D′ be the conditional distribution of D over A. Suppose that Ez∼D [z k ] − Ez ′ ∼D′ [(z ′ )k ] > ∆, for some ∆ > 0 and k ∈ N. Then there exists t ∈ R that is a (k, τ, γ, ∆)-good split for D, D′ , with τ := max{(∆/20)−1/k , 10(k log k + log(C/∆))}, γ := τ −k ∆/100 , 16
where C is the constant from Fact A.2. Furthermore, there is an algorithm that on input k, ∆, α, oracle access to D and D′ , and δ > 0, draws poly(1/γ, 1/α, log(1/δ)) samples from D, runs in sample-polynomial time, and outputs a (k, τ, γ, ∆)-good split with probability at least 1 − δ. Lemma 4.4 says that if the lower order moments of D and D′ do not match, then a good split always exists, and we can efficiently find such a good split through a brute-force search. In particular, we want to remark that the existence of such a good split does not hold when D is an arbitrary distribution. In our proof, we show the existence of such a good split by making use of the fact that a logconcave distribution has a sub-exponential tail probability. The basic strategy of the proof is as follows. We know that D and D′ have some low order moment that has substantial disagreement. We note that as these moments can be expressed as suitable integrals of the cumulative density functions that there must be some t for which those cumulative densities differ. We have only to show that such t satisfy the particular conditions of a good split. We first note that since D has subexponential tails that the contribution to its moments from t with |t| ≫ k log(k) + log(1/∆α) is small enough that we can ignore these points. We then need to carefully analyze the integral over the remaining points to show that unless some t satisfies either condition 1 or 2 that the moment discrepancy will be less than what is promised. Proof of Lemma 4.4. We first show the existence of such a good split. To do this, suppose that for every |t| < τ , we have |Prz∼D [z ∈ R] − Prz ′ ∼D′ [z ′ ∈ R]| < 2γ. We will show that we can find some |t| ≤ O(k log k + log(1/(∆α))) that satisfies the second condition of a good split. We deal with the case where k is odd, and the case where k is even can be analyzed symmetrically. Notice that Z ∞ Z ∞ E [z k ] = Pr [z k > s]ds − Pr [z k < −s]ds z∼D z∼D z∼D 0 Z0 ∞ Z ∞ k−1 ksk−1 Pr [z < −s]ds. (1) = ks Pr [z > s]ds − z∼D
0
0
z∼D
We first show that those |z ′ | > T := 40(k log k + log(C/(∆α))) only contribute little to the kth moment of z ′ . By Fact A.2, we know that there is some universal constant C > 0 such that for every t > T, Pr [ z ′ > t] = Pr [|z| > t, A]/α ≤ Pr [|z| > t]/α ≤ Ce−t/2 /α.
z ′ ∼D′
This implies that Z ∞
z∼D
z∼D
ksk−1 ′Pr ′ [ z ′ > s]ds ≤ O kT k−1 exp(−T /2)/α ≤ ∆/100. z ∼D
T
On the other hand, since for every t, |t| < τ , |Prz∼D [|z| > t] − Prz ′ ∼D′ [|z ′ | > t]| < γ, we have Z τ k−1 ′ ks Pr [z > s] − ′Pr ′ [z > s] ds ≤ τ k γ ≤ ∆/100, z∼D z ∼D Z0 τ k−1 ′ ks Pr [z < −s] − ′Pr ′ [z < −s] ds ≤ τ k γ ≤ ∆/100. z ∼D
z∼D
0
By (1), we know that Z |s|∈[τ,T ]
ksk−1 Pr [z > s] − ′Pr ′ [z ′ > s] ds ≥ ∆/2. z ∼D
z∼D
17
(2)
Assuming that for every t ∈ [τ, T ], Prz ′ ∼D′ [|z ′ | > t] < t−2k , would imply that Z T ks
k−1
τ
Z T
′
Pr [ z > s]ds ≤
z ′ ∼D′
ks−(k+1) ds/10 = τ −k ≤ ∆/10.
τ
On the other hand, Z T τ
ksk−1 Pr [|z| > s]ds ≤ C z∼D
Z T
ksk−1 e−s/2 ds ≤ 2Cτ k−1 exp(−τ /2) ≤ ∆/10.
τ
Combining these with the equivalent equations for negative s imply that the left hand side of (2) is at most 2∆/5, which is a contradiction. This implies that there is some t with |t| ∈ [τ, T ] such that Prz ′ ∼D′ [|z ′ | > t] > t−2k . In particular, since t > τ > 10(k log k + log(C)), we know that Prz∼D [|z| > t] ≤ Ce−t/2 ≤ (Prz ′ ∼D′ [|z ′ | > t])4 . This shows that there is always a (k, τ, γ, ∆)-good split. In fact, reviewing these calculations, we see that there exists a t that forms a good split so that either in case 1, we have the difference in probabilities at least 2γ or in case 2, we have that PrD′ [R] > (1.1)|t|−2k and PrD [R] < (PrD′ [R]/1.1)4 . This means that in order to find a good split, it suffices to estimate the tail probabilities Prz∼D [z > t] and Prz ′ ∼D′ [z ′ > t] to error T −8k /10 for all t. However, a VC dimension argument says that this is accomplished by taking the empirical distribution over O(T 16k ) samples. We next give an overview of how to make use of the discrepancy finding algorithm together with Lemma 4.4. Recall that the (k, ∆, β, C)-weakly learning algorithms Aw work if the input distribution (after some suitable affine transformation) approximately matches each of its first k moments with some approximately isotropic logconcave distribution. Thus, unless there is such a large moment discrepancy, we can simply run this algorithm. If there is a discrepancy, this can be detected by our discrepancy finder, which will also demonstrate a particular direction v in which the moments fail to match. It will then be the case that ⟨v, D⟩ and ⟨v, Df ⟩ will be real random variables with a moment mismatch to which we can apply Lemma 4.4 to find a good split. This will allow us to subdivide Rd into two halfspaces so that the restrictions of D to each halfspace will have somewhat different weights. From here we produce an iterative decomposition. We begin with a single subdivision consisting of all of Rd . Then iteratively for each subdivision R that (Df )x assigns enough mass we run our discrepancy finding algorithm on D and Df conditioned on R. If it finds no discrepancy, we run our weak learner on that region. Otherwise, our discrepancy finder has found a moment discrepancy along some direction and we can run Lemma 4.4 to find a good split to subdivide R. This idea is summarized in Algorithm 1. We give an overview of the analysis of Algorithm 1, before giving the full proof. The analysis will follow two parts. Firstly, we show that the number of rounds of the algorithm is bounded. For this, we note that for each round that we did not terminate, we must have subdivided at least one region in the previous round. Thus, the total number of rounds is at most |Ut |. On the other hand, whenever we use a good split for a region R, the resulting regions R1 and R2 will have PrDx [Ri ] not too much smaller than PrDx [R]. Since Pr(x,y)∼Df [x ∈ R] could not have been less than ξ (or we would not have considered R for subdivision), this means that the mass Dx assigns to each region must be bounded below. This in turn gives an upper bound on the number of regions and rounds. In the second part, we need to show that the returned hypothesis has reasonably large advantage. We note that for any region R in our final partition with Pr(x,y)∼Df [x ∈ R] ≥ ξ, we must have small central moment discrepancies and so in any such region where opt < 1/C, our weak learner will 18
Algorithm 1 k-MomentDecisionTree (Constructs A decision tree as a weak hypothesis) 1: Input: Sample access from D, minimum weight parameter η > 0, accuracy parameter ϵ ∈ (0, 1),
moment discrepancy ∆ > 0 and advantage β > 0, access to (k, ∆, β, C)-weakly learning algorithm Aw and (k, ∆, c, α)-discrepancy finder Am with α = ηϵCk,∆ , where Ck,∆ is a large enough constant given k and ∆. 2: Output: ĥ : weak hypothesis for Df and U , a partition of Rd . 3: Let τ, γ be parameters in the statement of Lemma 4.4 as a function of c∆ and k. ′
2
for C ′ a sufficiently large constant. 5: Define T as in the statement of Definition 4.3 as a function of c∆, k and α = ξ. 6: Let U0 = {∅}, U1 = {Rd }, t = 1. 7: while Ut ̸= Ut−1 do 8: Ut+1 = ∅. 9: for R ∈ Ut do Let DR be the conditional distribution of D over R, normalizing to 1/2-isotropic position. 10: 11: if (Pr(x,y)∼Df [x ∈ R] < ξ) then add R to Ut+1 12: else 13: run Am over DR and (DR )f to get a direction u ∈ Sd−1 such that 4: Let ξ = (ηϵ/2)C /γ
E(x,y)∼DR (u · x)i − E(x,y)∼(DR )f (u · x)i > c∆, for an i ∈ [k]. 14: if u is not returned by Am then add R to Ut+1 15: else 16: find a (i, τ, γ, c∆)-good split for (u·x), (u·x′ ), where x ∼ (DR )x and x′ ∼ ((DR )f )x and add R1 , R2 , the two regions split from R to Ut+1 . 17: t = t + 1. 18: for R ∈ Ut do 19: If Pr(x,y)∼Df [x ∈ R] ≥ ξ, run Aw on Df conditioned on x ∈ R. Estimate the error of this hypothesis to within β/3 and if the result is less than 1/2 − 2β/3, let hR be the returned hypothesis. If Pr(x,y)∼Df [x ∈ R] < ξ or the error of the returned hypothesis is too large, let hR be a random function. 20: Return the weak hypothesis ĥ(x) = hR (x) if x ∈ R, for R ∈ Ut , and the partition U = Ut .
19
return a hypothesis with advantage at least β. For the remaining regions, our random hypothesis will have error at most 1/2. We therefore need to establish that the total mass of the low weight regions is small. In particular, we need the total mass of these regions to be noticeably smaller than η, so that as long as optP < (1 − η)/C, there will still be some heavy regions with opt < 1/C. To do this, we instead bound R∈Ut Pr(x,y)∼Df [x ∈ R]1−2s for some small, positive constant s. This in turn can be bounded by considering the potential function X Φt := ( Pr [x ∈ R] Pr [x ∈ R])1/2−s . R∈Ut
(x,y)∼Df
(x,y)∼D
In particular, we show that this potential is non-increasing so long as s is at most a small multiple of γ 2 . As Φ1 = 1, this provides an appropriate bound on the small mass regions. We summarize the above properties of the partition U output by Algorithm 1 as Lemma 4.5 and use it to prove Theorem 4.2. Lemma 4.5. For k ∈ Z+ , ϵ, η, c ∈ (0, 1) and ∆ > 0, Let T, γ, τ, and ξ be as in Algorithm 1. If Algorithm 1 is run on a distribution D over Rd × {±1, 0}, with Dx logconcave with W (D) > ϵ, then upon termination, with probability at least 99%, the final partition U of Rd satisfies: 1. |U| ≤ O(T 2k /(c∆ξϵ)). 2. For every R ∈ U with Pr(x,y)∼Df [x ∈ R] > ξ, for every u ∈ Sd−1 and for every i ∈ [k] E(x,y)∼DR [(u · x)i ] − E(x,y)∼(DR )f [(u · x)i ] ≤ ∆. 3.
P
R∈B Pr(x,y)∼Df [x ∈ R] ≤ η/2, where B = {R ∈ U | Pr(x,y)∼Df [x ∈ R] ≤ ξ}.
Proof of Lemma 4.5. We start by showing the first item in the statement that |U| ≤ O(T 2k /(c∆ξϵ)). For each time step t, let R ∈ Ut . If R ̸∈ Ut−1 , it must be the case, where R is split from some R′ ∈ Ut−1 using a (i, τ, γ, c∆) good split, with i ∈ [k]. This implies that Pr(x,y)∼Df [x ∈ R′ ] > ξ and Pr(x,y)∼D [x ∈ R′ ] > ϵξ. By the definition of an (i, τ, γ, c∆) good split, either PrDx [R | R′ ] > γ or PrDx [R | R′ ] > T −2k . Since c∆T −2k < γ, in the first case, we have PrDx [R] > c∆T −2k PrDx [R′ ] P > c∆T −2k ξϵ. In the second case, PrDx [R] ≥ ϵ Pr(Df )x [R] > ϵT −2k Pr(Df )x [R′ ] > T −2k ξϵ. Since R∈Ut Pr(x,y)∼D [x ∈ R] = 1 for each time step t, we know that |U | ≤ O(T 2k /(c∆ξϵ)). Next, we show the second item in the statement. Let R ∈ U be a region with Pr(Df )x [R] > ξ. Notice that by the definition of Am , if there is a direction u ∈ Sd−1 and some i ∈ [k] such that E(x,y)∼DR (u · x)i − E(x,y)∼(DR )f (u · x)i > ∆, then some direction w will be output and R will be split into two regions, which contradicts the fact that Algorithm 1 terminates. Finally, we show the third item in the statement. To do this, we define a potential function X
Φt :=
R∈Ut
1/2−s Pr [x ∈ R]
(x,y)∼D
Pr
[x ∈ R]
.
(x,y)∼Df
We show that for the choice of s = γ 2 /10, Φt+1 ≤ Φt for all t. It suffices to show that for any R ∈ Ut that is split into regions R1 , R2 , 1/2−s
Pr [x ∈ R] (x,y)∼D
Pr (x,y)∼Df
[x ∈ R]
≥
X i=1,2
20
Pr [x ∈ Ri ]
(x,y)∼D
Pr (x,y)∼Df
1/2−s [x ∈ Ri ]
To simplify the notation, we denote by a := Pr(x,y)∼D [x ∈ R1 | x ∈ R] and b := Pr(x,y)∼Df [x ∈ R1 | x ∈ R]. Notice that X i=1,2
1 −s 2
Pr [x ∈ Ri ]
(x,y)∼D
Pr (x,y)∼Df
[x ∈ Ri ]
=
1 −s 2
Pr [x ∈ R] (x,y)∼D
[x ∈ R]
Pr
1
(ab)1/2−s + ((1 − a)(1 − b)) 2 −s
(x,y)∼Df
1 We next show that under an (i, τ, γ, c∆)-good split, (ab)1/2−s + ((1 − a)(1 − b)) 2 −s ≤ 1. We prove this by considering cases for a good split. In the first case in the definition of (i, τ, γ, ∆)-good split, we have |a − b| > γ. In this case, we have 1 −s 1 −s ! 2 2 1 a + b a − b a + b a − b −s (ab)1/2−s + ((1 − a)(1 − b)) 2 = ( )2 − ( )2 + (1 − )2 − ( )2 2 2 2 2 1 1 −s −s 1 a−b 2 2 1 − γ2 2 ≤2 −( ) ≤2 ≤ 1. 4 2 4 Here in the first inequality, we use the fact that, for fixed value of (a − b)/2, the summation is maximized when (a+b)/2 = 1/2; while in the second inequality, we use the condition that |a − b| > γ. In the last inequality, we use the choice of s ≤ γ 2 /10. In the second case, by the definition of (i, τ, γ, c∆)-good split, we have a ≤ b4 . Notice that b < 1/10, otherwise we are in the first case. We have 1 1 1 (ab)1/2−s + ((1 − a)(1 − b)) 2 −s = (ab) 2 −s + (1 − a − b + ab) 2 −s ≤ b5(1/2−s) + 1 − (1/2 − s)(a + b − ab) ≤ 1 − (1/2 − s)b + 2b5(1/2−s) < 1 . Here, the first inequality follows that for z ∈ (0, 1), and p < 1, (1 − z)p ≤ 1 − pz, and the second inequality follows the bound a ≤ b4 , b ≤ 1/10. So, we have Φt+1 ≤ Φt for all t. Using this, we know that Φ1 = 1 ≥
X R∈Bt
1/2−s Pr [x ∈ R]
(x,y)∼D
≥
Pr
Pr [y ̸= 0]
1/2−s X
(x,y)∼D
R∈Bt
≥
[x ∈ R]
(x,y)∼Df
Pr [y ̸= 0]
R∈Bt
Pr
[x ∈ R]
(x,y)∼Df
1/2−s X
(x,y)∼D
1−2s
Pr
[x ∈ R] ξ −2s ,
(x,y)∼Df
which gives us X R∈Bt
Pr
(x,y)∼Df
[x ∈ R]
s−1/2
≤
Pr [y ̸= 0] (x,y)∼D 2
where the last inequality holds when ξ = (ηϵ/2)1/2s = (ηϵ/2)O(1/γ ) . 21
ξ 2s ≤ η/2,
With Lemma 4.5 at hand, we can immediately prove Theorem 4.2. Proof of Theorem 4.2. We first show the correctness of Algorithm 1 by showing that it outputs a hypothesis with Ω(ηβ) advantage with respect to Df . Let B = {R ∈ U | Pr(x,y)∼Df [x ∈ R] ≤ ξ}. We denote by G = U \ BP and denote by M ⊆ G the set of R, where a random binary function hR is assigned. We show that R∈M Pr(x,y)∼Df [x ∈ R] is not too large. By Item 2 in Lemma 4.5, it holds for every R ̸∈ B and u ∈ Sd−1 and for every i ∈ [k], E(x,y)∼DR (u · x)i − E(x,y)∼(DR )f (u · x)i ≤ ∆. If A fails to output a weak hypothesis over R, it must be the case, where we have Pr(x,y)∼Df [h∗ (x) ̸= yP| x ∈ R] > 1/C, where h∗ is the hypothesis in H that achieves optDf (H). Now suppose that R∈M Pr(x,y)∼Df [x ∈ R] > (1 − η), then we have errDf (h∗ ) ≥
X R∈M
Pr (x,y)∼Df
[x ∈ R]
Pr
[h∗ (x) ̸= y | x ∈ R] > (1 − η)/C ,
(x,y)∼Df
which gives a contradiction to the fact that opt P P Df ≤ (1 − η)/C. By Item 3 of Lemma 4.5, R∈B Pr(x,y)∼Df [x ∈ R] ≤ η/2. Thus, we have R∈G\M Pr(x,y)∼Df [x ∈ R] > η/2. Since for each R ∈ G \ M, we have Pr(x,y)∼Df [hR (x) ̸= y | R] < 1/2 − β/3, (and the error on all other regions is 1/2) we know that errDf (ĥ) ≤ 1/2 − Ω(ηβ). Next, we bound the sample complexity and the time complexity of Algorithm 1. Observe that every time Algorithm 1 makes a split, it adds one more region to the partition Ut . This implies Algorithm 1 will terminate after making |U| − 1 splits. By Item 1 of Lemma 4.5, it will run Aw , Am and the algorithm for finding a good split at most O(T 2k /(c∆ξϵ)) times for regions R created by Algorithm 1. Since Pr(x,y)∼D [x ∈ R] > ξϵ and Pr(x,y)∼Df [x ∈ R] > ξ, an example drawn from −2
DR , (DR )f can be done by drawing (ϵξ)−1 = (ηϵ)−O(γ ) examples from D. So, each call to Aw draws (ϵξ)−1 Mw samples from D and runs in (ϵξ)−1 Tw time. Similarly, each call to Am draws (ϵξ)−1 Mm samples from D and runs for (ϵξ)−1 Tm time. Each call to the algorithm for finding a good split takes poly(ξ −1 ) sample and time. Thus, the sample complexity of Algorithm 1 is O(T 2k /(c∆ξ 2 ϵ))(Mw + Mm ) and the time complexity of Algorithm 1 is O(T 2k /(c∆ξ 2 ϵ))(Tw + Tm ). 2 Recall that γ = c∆(k log k +log(C/c∆))−k , ξ = (ηϵ)O(1/γ ) and T = O(k log k +log(1/∆ξ)). This 2 −2 2k gives T 2k /(c∆ξ 2 ϵ2 ) = N = (c∆)−4k (k log k + log(C/(c∆)))4k (ηϵ)−O((c∆) (k log k+log(C/(c∆))) ) .
5
Finding Moment Discrepancies under Logconcave Distributions
By Theorem 4.2, an important step towards a weak learner for agnostic partial learning (Definition 2.7), is to design a moment discrepancy finder (Definition 4.1). For the simplest case of k = 2, one can leverage mean estimation and singular-value decomposition to achieve this goal. Unfortunately, for k > 3, this task appears challenging in general. For example, the straightforward way to achieve this goal requires approximating eigenvectors of higher-order moment tensors, which is NP-hard [HL13] in general. We instead show that if the distribution Dx is logconcave and (Df )x is the conditional distribution 2 over an event A with probability α there is a (k, ∆, 2−O(k ) , α)-discrepancy finder that runs in −1 polyk,∆ (d)2polylogk,∆ (α ) time. Specifically, the main algorithmic result of this section is the following.
22
Theorem 5.1 (Moment Discrepancy Finder for Logconcave Distributions). There is an algorithm with the following performance guarantee. Given sample access to a 1/2-isotropic logconcave distribution Dx over Rd , oracle access to an event A with PrDx [A] = α, k ∈ Z+ and ∆ ∈ (0, 1), the algorithm O(k) draws M = dO(k) α−2 (log(1/α)/∆)2 examples from Dx , runs in time 2O(k)
poly(M ) + 2(log(1/α)/∆) and satisfies the following:
1. With probability at least 99%, it either outputs ⊥, or outputs a vector v ∈ Sd−1 such that 2 Ex∼Dx [(v · x)i ] − Ex∼(Df )x [(v · x)i ] ≥ 2−O(k ) ∆, for some i ∈ [k]. 2. If there exists w ∈ Sd−1 and i ∈ [k] such that Ex∼Dx [(w · x)i ] − Ex∼(Df )x [(w · x)i ] ≥ ∆, where (Df )x is the conditional distribution of Dx over A, the algorithm outputs v ∈ Sd−1 with probability at least 99%. Before going to the technical analysis needed to prove Theorem 5.1, we provide an overview of the algorithm. Our first step is to show that the discrepancy between the higher moment tensors of D and Df is in some sense small. For this, we note by the Carbery-Wright concentration inequality (Fact A.10), one can show that for any degree-k polynomial p(x), Ex∼Dx [p(x)] − Ex∼(Df )x [p(x)] is not too large. This implies (see Lemma 5.7), that there must be a degree-k polynomial Q(x), with L2 -norm at most O(logk (1/α)) under Dx , such that for every degree k polynomial p(x), we have Ex∼Dx [p(x)] − Ex∼(Df )x [p(x)] = Ex∼Dx [Q(x)p(x)]. Given that the difference between the higher moments is in some sense “small”, our plan will be to find a low dimensional subspace V that captures any possible directions of large discrepancy. We can then conclude with an exhaustive search over V . For the purpose of motivation, we begin by assuming that Dx is a standard Gaussian distribution. In this case, we can expand Q(x) in the Hermite basis, yielding a sequence of tensors T0 , . . . , Tk , with small Frobenius norm so that for every v ∈ Sd−1 , we can write Ex∼Dx [Q(x)(v · x)k ] as a linear combination of the Ti · v⊗i for i ∈ [k]. If we flatten each tensor Ti and view it as a bilinear form i−1 Rd × Rd → R, we can then find singular vectors of each bilinear form that correspond to large singular values. These singular vectors span a subspace V with dimension polyk (log(1/α)/∆) such that Ex∼Dx [Q(x)(v · x)k ] can be approximated as a linear combination of Ex∼Dx [Q(x)(v′ · x)i ], where v′ is the projection of the unit vector v onto V , plus an error of at most ∆/2. Then in time exponential in dim(V ), we can find such a direction in V near maximal moment discrepancy, which gives an algorithm with sample complexity poly(1/α) and time complexity quasi-polynomial with respect to 1/α. However, the above approach heavily makes use of properties of Gaussian distributions, such as moments in orthogonal directions being independent, which do not hold for a general logconcave distribution. Our plan is still to make use of the above idea of dimension reduction, but with a relaxed goal. In Q particular, we would like to find a subspace V such that supu1 ,...,u(k) ∈Sd−1 Ex∼Dx [Q(x) kj=1 (u(j) ·x)]] is at most some constant multiple of the maximum when u1 , . . . , u(k) are taken from V , plus ∆/2. If such a subspace V is found, then we can brute force search over V , to find a direction with moment discrepancy. We achieve this goal through two steps. In the first step, Lemma 5.4, wePobserve that given any polynomial Q(x), the linear function Ex∼Dx [Q(x)p(x)] can be written as ki=0 Ti · Ex∼Dx [∇i p(x)]. By making use of the recent progress on KLS conjecture [KL25], we are able to show in Lemma 5.3 that the Frobenius norms of these tensors T1 , . . . , Tk are not large. By flattening these tensors as a bilinear form and finding singular 23
vectors of each bilinear form that correspond to large singular values, weQare able to find a subspace V1 , such that if u1 , . . . , u(k) are all orthogonal to V1 , then Ex∼Dx [Q(x) kj=1 (u(j) · x)] must be very small. The second step is to recursively build the target subspace using the subroutine in the first step. (i) (i) Given any k unit vectors u1 , . . . , u(k) , we can write each u(i) = uV1 + uV ⊥ . So, we can expand 1 Q Ex∼Dx [Q(x) kj=1 (u(j) · x)] into a linear combination of 2k terms, each of which is the expectation Q (j) (j) of Q(x) kj=1 (v(j) · x), where v(j) is either uV1 or uV ⊥ . We know if v1 , . . . , v(k) are all orthogonal 1 Q to V1 , then Ex∼Dx [Q(x) kj=1 (v(j) · x)] must be very small. This implies that during the analysis, (1) (1) (N ) be a basis for we can without loss of generality assume PNthat u(i) ∈ V1 . Specifically, let g , . . . , g (1) the subspace V1 , we can write u = i=1 ai g . This implies that E [Q(x)
x∼Dx
k Y
(u(j) · x)] =
j=1
N X i=1
ai E [Q(x)(g(i) · x) x∼Dx
k Y
(u(j) · x)].
j=2
Notice that if we apply the subroutine in the first step to each of the Q(x)(g(i) · x) and denote by the of the found subspaces as V2 , then if u(j) ⊥ V1 ⊕ V2 for j = 2, . . . , k. then Qkspan (j) Ex∼Dx [Q(x) j=1 (u · x)] must be very small. As a result, if we recursively run this approach for k times, it must case that the final subspace V approximately maintains the maximum of Qk be the (j) Ex∼Dx [Q(x) j=1 (u · x)]. We now give a roadmap of this section. In Section 5.1, we will provide technical lemmas that will be used in our analysis based on the recent progress on KLS conjecture. In Section 5.2, we will give formal analysis of the dimension reduction approach we discussed above. Finally, in Section 5.3, we will make use of the dimension reduction method to give our discrepancy finding algorithm and present the proof of Theorem 5.1.
5.1
Useful Technical Facts
To begin with, we have the following Poincaré inequality for isotropic logconcave distributions, which follows from recent progress on thin-shell bounds for isotropic logconcave distributions. Lemma 5.2. Let Dx be a 1/2-isotropic logconcave distribution over Rd and p : Rd → R be a degree-k polynomial. Then it holds Varx∼Dx [p(x)] ≤ O((log2 d) Ex∼Dx [∥∇p(x)∥22 ]). Proof of Lemma 5.2. We without loss of generality assume Dx is isotropic. To see this, let µ = Ex∼Dx [x] and Σ be the covariance matrix of x. Then x′ = Σ−1/2 (x − µ) is isotropic. Denote by Dx′ , the distribution of x′ and write g(x′ ) = p(Σ1/2 x′ + µ). We have Varx∼Dx [p(x)] = Varx′ ∼Dx′ [g(x′ )] 2
and Ex′ ∼Dx′ [∥∇g(x′ )∥22 ] = Ex′ ∼Dx′ [ Σ1/2 ∇p(Σ1/2 (x′ + µ)) 2 ] ≤ 2 Ex∼Dx [∥∇p(x)∥22 ]. By the Poincaré inequality [LV18], we know that there is a constant C(D) > 0 such that for every polynomial p(x), we have Varx∼Dx [p(x)] ≤ C(D) E [∥∇p(x)∥22 ]. x∼Dx
By Theorem 1.5 in [Mil09] and Theorem 1.1 in [Eld13], there is a universal constant C > 0 such that we have C(D) ≤ C log d
d X σ2 i
i=1
24
i
.
(3)
√ Here, σi2 = supDx Ex∼Dx [(∥x∥2 − i)2 ], where the supremum is taken over all isotropic logconcave distributions over Ri . By Theorem 1.1 in [KL25], there is a universal constant c > 0 such that σi2 < c, ∀i. Thus, by (3), we get Varx∼Dx [p(x)] ≤ O(log2 d) E [∥∇p(x)∥22 ]) . x∼Dx
This completes the proof. Using Lemma 5.2, we establish the following result that bounds the L2 norm of a polynomial p in terms of the norm of its gradient under a logconcave distribution Dx . Lemma 5.3. Let Dx be a 1/2-isotropic logconcave distribution over Rd and let p : Rd → R be a degree-k polynomial. Denote by F (p) := (Ex∼Dx [∇i p(x)])ki=0 , where ∇i p(x) is the i-th order derivative tensor of p. Then Ex∼Dx [p2 (x)] ≤ O(log d)2k ∥F (p)∥2F . Proof of Lemma 5.3. We prove Lemma 5.3 using an induction on k. If k = 0, we have Ex∼Dx [p2 (x)] = ∥F (p)∥2F . Suppose the statement holds for k − 1, we show this for k. By Lemma 5.2, for some universal constant C > 0, we have E [p2 (x)] = E [p(x)]2 + Varx∼Dx [p(x)]
x∼Dx
x∼Dx
≤ E [∇0 p(x)]2 + C log2 d E [∥∇p(x)∥22 ] x∼Dx
x∼Dx
0
2
2
= E [∇ p(x)] + C log d x∼Dx
≤ E [∇0 p(x)]2 + C 2k−1 log2k d x∼Dx
E [(v · ∇p(x))2 ]
E
v∼N (0,I) x∼Dx
E
[∥F (v · ∇p(x))∥2F ]
v∼N (0,I)
≤ O(log d)2k ∥F (p)∥2F . Here the second inequality follows from the induction on the degree k − 1 polynomial v · ∇p(x).
5.2
Novel Dimension-Reduction Approach for Logconcave Distributions
In this subsection, we design and analyze a new dimension-reduction approach to obtain our discrepancy finding algorithm. The key module of our dimension-reduction approach is the following result. Lemma 5.4 (Effective Subspace Identification). There is an algorithm that, given sample access to any 1/2-isotropic logconcave distribution Dx over Rd , has the following performance guarantee. For any given parameters m, k ∈ N, ϵ, δ ∈ (0, 1), and for any degree m-polynomial Q : Rd → R with |Ex∼Dx [Q(x)]| < ϵ(dk)−O(k) ∥Q(x)∥Dx ,2 , the algorithm draws M = poly(dk , 2O(k log k+m) , 1/ϵ, log(1/δ)) samples from Dx , runs in poly(M ) time, and outputs a subspace V of dimension 2O(k log k) log2k (d)/ϵ2 (i) k such that with probability at least 1−δ the following holds: for h everyQcollection of iunit vectors {u }i=1 and j ∈ [k], that are perpendicular to V , we have Ex∼Dx Q(x) ji=1 (u(i) · x) < ϵ ∥Q(x)∥Dx ,2 . Proof of Lemma 5.4. We show that Algorithm 2 satisfies the statement. To thisLend, we define the i following linear map from Pk —the space of degree-k polynomials over Rd —to ki=0 sym(Rd ), the space of vectors, whose ith entry is an ith order symmetric tensor, k i F (p) := E [∇ p(x)] . x∼Dx
25
i=0
Algorithm 2 EffectiveSubspaceIdentifying 1: Input: Sample access to Dx , accuracy parameter ϵ ∈ (0, 1), confidence parameter δ ∈ (0, 1),
degree m-polynomial Q(x) with a small mean, degree parameter k 2: Output: V , a low-dimensional subspace
√
3: Let η = ϵ2−O(k log k) ∥Q(x)∥Dx ,2 and η ′ = ∥Q(x)∥Dx ,2 d−k ϵ/(2 4: For a degree-k polynomial p, define F (p) :=
k!).
k Ex∼Dx [∇i p(x)] i=0 .
5: For each monomial xζ of degree at most k, where ζ is the multi index, use empirical mean estima-
tion to find µζ ∈ R and a sequence of symmetric tensors Zζ such that µζ − Ex∼Dx [Q(x)xζ ] < η ′ /4 and Zζ − F (xζ ) F ≤ O(η ′ /(C k logk (d) ∥Q∥Dx ,2 )). P (i) 6: Find tensor T̂1 , . . . , T̂k such that T̂i ≤ 2C k logk (d) ∥Q∥Dx ,2 , and µζ − ki=1 T̂i · Zζ ≤ F
η ′ /2, for every ζ, with |ζ| ≤ k, using convex programming. i−1 7: For each T̂i , treat it as a bilinear form over Rd × sym(Rd ) and compute the singular vectors v(i,1) , . . . , v(i,l) ∈ Rd of T̂i with corresponding singular value at least η. 8: Return V , the subspace spanned by these singular vectors. We F (p) is an invertible linear map. To see this, consider any polynomial p(x) = Pk claim that ⊗i such that F (p) = 0. Notice that ∇k p(x) = k!A . Since F (p) = 0, we know that A · x i k i=0 ∇k p(x) = 0, which implies Ak = 0. By induction, we know that Ai = 0, i ∈ [k] and thus p(x) = 0. So, F (p) is an invertible linear map. We consider the function over Pk , G(p) := Ex∼Dx [Q(x)p(x)] = Ex∼Dx [Q(x)F −1 ◦F (p)] which is a i i linear functional over sym(Rd ). This implies that there exist tensors Ti ∈ sym(Rd ), for i = 0, . . . , k, such that E [Q(x)p(x)] =
x∼Dx
k X
Ti · E [∇i p(x)] .
i=0
x∼Dx
In particular, |T0 | < ϵ(dk)−O(k) ∥Q(x)∥Dx ,2 , because by setting p(x) = 1, |Ex∼Dx [Q(x)]| < ϵ(dk)−O(k) ∥Q(x)∥Dx ,2 . This implies that for every monomial xζ , with degree at most k, it holds Ex∼Dx [xζ ]T0 < η ′ . We claim that ∥Ti ∥F ≤ C k logk (d) ∥Q∥Dx ,2 for i ∈ [k]. Suppose this is not correct, since F (p) is an invertible linear map, we choose p(x) such that F (p) = (Ti )ki=0 . By Lemma 5.3, we have E [Q(x)p(x)] ≤ ∥Q∥Dx ,2 ∥p∥Dx ,2 ≤ C k logk d ∥F (p)∥F ∥Q∥Dx ,2 .
x∼Dx
On the other hand, E [Q(x)p(x)] =
x∼Dx
k X i=0
i
Ti · E [∇ p(x)] = x∼Dx
k X
∥Ti ∥2F .
i=0
Thus, we have ∥F (p)∥F ≤ C k logk d ∥Q∥Dx ,2 , which contradicts the fact that ∥F (p)∥F > C k logk d ∥Q∥Dx ,2 . Suppose that we have found T̂1 , . . . , T̂k such that for every T̂i , T̂i
F
≤ 2C k logk (d) ∥Q∥Dx ,2
and for every monomial xζ with degree at most degree k, where ζ is a multi-index, we have P Ex∼Dx [Q(x)xζ ] − ki=1 T̂i · Ex∼Dx [∇i xζ ] ≤ η ′ . Notice that such a set of tensors always exists due to the existence of T0 , . . . , Tk . To complete the proof, we first show that we can efficiently find the desired subspace V through these tensors and then analyze the complexity of finding these tensors. 26
i−1
For each T̂i , we treat it as a bilinear form over Rd × sym(Rd
) and compute the singular vectors
v(i,1) , . . . , v(i,l) ∈ Rd of T̂i with corresponding singular value at least η. Since ℓ ≤ T̂i
2 F
/η 2 , and
T̂i ≤ 2C k logk (d) ∥Q(x)∥Dx ,2 , we know that the dimension of V is at most 2O(k log k) log2k (d)/ϵ2 . F We claim that V satisfies the statement of Lemma 5.4. Q Let u(1) , . . . , u(k) ⊥ V be unit vectors and let p(x) = ji=1 (u(i) · x). We have E [Q(x)p(x)] ≤
x∼Dx
k X
x∼Dx
i=1
=
k X k X
u
(j)
i−1
· T̂i · E [∇ x∼Dx
k X k X i=1 j=1
i−1
E [∇
x∼Dx
T̂i · E [∇i p(x)] − E [Q(x)p(x)] x∼Dx
i=1
i=1 j=1
≤η
k X
T̂i · E [∇i p(x)] +
(j)
x∼Dx
k X
· x)] +
p(x)/(u
T̂i · E [∇i p(x)] − E [Q(x)p(x)] x∼Dx
i=1
p(x)/(u
(j)
· x)]
+ F
k X
T̂i · E [∇i p(x)] − E [Q(x)p(x)] . x∼Dx
i=1
We next bound the term Ex∼Dx [∇i−1 p(x)/(u(j) · x)] F = Ex∼Dx [∇i−1 have E [∇i−1
x∼Dx
Y (u(ℓ) · x)] ℓ̸=j
≤ k!
E [
x∼Dx
F
≤ k!
X
Y
S⊆[k]\{j} |S|=i−1
i=1 j=1
O
x∼Dx
Q
(ℓ) · x)] ℓ̸=j (u
F
. We
u(ℓ) ]
ℓ∈S F
Y k−1 E [ (u(ℓ) · x)] ≤ k! (2(k − i))k−i . x∼Dx i−1 ℓ̸∈S
Here, the first inequality follows from the fact that sym follows from Fact A.9. This implies that k X k X
(u(ℓ) · x)sym
S⊆[k]\{j} ℓ̸∈S |S|=i−1
X
x∼Dx
E [∇i−1 p(x)/(u(j) · x)]
x∼Dx
N
≤ k!k F
(ℓ) ≤ 1 and the second inequality ℓ∈S u F
k X k−1 i−1
i=1
= k!k
(2(k − i))k−i
k−1 X
k−1 (2i)i i
i=0 2 2 k
≤ k!k (2k ) = 2O(k log(k)) . On the P other hand, we notice that we can expand p(x) as a linear combination of monomials, p(x) = ζ cζ xζ . By linearity, we have k X i=1
T̂i · E [∇i p(x)] − E [Q(x)p(x)] = x∼Dx
X
x∼Dx
k X
cζ
! T̂i · E [∇i xζ ] − E [Q(x)xζ ] x∼Dx
i=1
ζ
x∼Dx
v u !2 uX X k u T̂i · E [∇i xζ ] − E [Q(x)xζ ] ≤ ∥c∥2 t ζ
≤
√
k!dk η ′ . 27
i=1
x∼Dx
x∼Dx
Here, in the second inequality, we use the fact that the coefficient vector c = (cζ ) comes from √ Q expanding ji=1 (u(i) · x) and has ℓ2 -norm at most k!. By the choice of η and η ′ , we have |Ex∼Dx [Q(x)p(x)]| ≤ ϵ ∥Q∥Dx ,2 . To conclude the proof, it remains to upper bound the sample complexity of finding the tensors T̂1 , . . . , T̂k . We know that for each monomial xζ , by Fact A.9 and Fact A.10, there is some constant C > 0 such that r E [Q2 (x)(xζ )2 ] ≤ E [Q4 (x)] E [(xζ )4 ] ≤ C 2m (8k)4k ∥Q∥2Dx ,2 . x∼Dx
x∼Dx
x∼Dx
By Chebyshev’s inequality, we can estimate some µζ ∈ R such that µζ − Ex∼Dx [Q(x)xζ ] < η ′ /4 with dO(k) 2O(k log k+m) /ϵ2 examples from Dx . Furthermore, denote by Sζ the set of indices that are involved in xζ , for every i, we have X Y O 2 E [∥∇i xζ ∥2F ] ≤ (k!)2 E (eℓ · x)sym eℓ x∼Dx x∼Dx F S⊆Sζ ℓ̸∈S |S|=i
≤ (k!)2
X S⊆Sζ |S|=i
k log k
≤2
E [
x∼Dx
Y
ℓ∈S
(eℓ · x)2 ]
ℓ̸∈S
k (2C(k − i))2(k−i) . i (i)
(i)
< By Chebyshev’s inequality, we can estimate a tensor Zζ such that Zζ − Ex∼Dx [∇i xζ ] F √ 2 η ′ /(C k ∥Q∥Dx ,2 4 k) using O (Ck)k log2k (d) Ex∼Dx [ ∇i xζ F ]/(η ′ )2 examples from Dx . This (i)
implies that Z = (Zζ )ki=0 is η ′ /(C k ∥Q∥Dx ,2 4 logk (d)) close to F (xζ ) in Frobenius norm. ≤ 2C logk (d) ∥Q∥Dx ,2 for all By the triangle inequality, any tensors T̂1 , . . . , T̂k such that T̂i F P P (i) i ∈ [k], and µζ − ki=0 T̂i · Zζ ≤ η ′ /2 must satisfy Ex∼Dx [Q(x)xζ ] − ki=1 T̂i · Ex∼Dx [∇i xζ ] ≤ P η ′ , for every monomial xζ . Since Ex∼Dx [Q(x)p(x)] = ki=1 Ti · Ex∼Dx [∇i p(x)], we know that such a set of tensors exists due to T1 , . . . , Tk and thus we can find T̂1 , . . . , T̂k through convex programming. Furthermore, the total number of examples used by Algorithm 2 is dO(k) 2O(k log k+m) /ϵ2 . Using Lemma 5.4 as a subroutine, we give an algorithm that recursively calls Lemma 5.4 to build a low-dimensional subspace V that approximately preserves the maximum of the quantity Q Ex∼Dx [Q(x) kj=1 (u(j) · x)], when u(1) , . . . , u(k) are taken from V . Specifically, we establish the following. Lemma 5.5. There is an algorithm with the following performance guarantee. Given sample access to a 1/2-isotropic logconcave distribution Dx , parameters m, k ∈ N, ϵ, δ ∈ (0, 1), and any degree m-polynomial Q : Rd → R, it draws M = poly(dk , Ck Nk,m (ϵ), log(1/δ)) examples from Dx over Rd , runs in poly(M ) time, and outputs a subspace V of dimension Nk,m (ϵ) such that with probability at least 1 − δ, Sk,Rd (Q) ≤ Ck Sk,V (Q) + ϵ ∥Q∥Dx ,2 ,
28
where for k ∈ N, subspace V ⊆ Rd and a function Q, we denote Sk,V (Q) := sup
sup
E [Q(x)
0≤i≤k u(1) ,...,u(i) ∈V ∩Sd−1 x∼Dx
i Y
(u(j) · x)] .
j=1
2
O(k)
For m, k ∈ N and for ϵ ∈ (0, 1), Ck = 2O(k ) and Nk,m (ϵ) = (2O(k+m) logk (d)/ϵ)2
.
Algorithm 3 LowSubspaceFinding (Find a low dimensional subspace that preserves discrepancy) 1: Input: Sample access from Dx , accuracy parameter ϵ ∈ (0, 1), confidence parameter δ ∈ (0, 1),
degree m-polynomial Q(x), k-degree parameter 2: Output: V , a low-dimensional subspace 3: If k = 0, Return ∅ 4: Let U (0) = ∅ and ϵ0 = ϵ 5: for i = 1, . . . , k do
Let Gj = {g(j1) , . . . , g(jNj ) } be a standard basis for U (j) , for j ≤ i − 1 7: for g = (g1 , . . . , gi−1 ), where Q gj ∈ Gj do 8: Define Fg (x) = Q(x) i−1 j=1 (gj · x) p 9: Estimate Qg ∈ R such that |Qg − Ex∼Dx [Fg (x)]| < (dk)−O(k) ϵi−1 Var[Fg (x)]. 10: Apply Algorithm 2 to Fg (x) − Qg with dimension k − i + 1 and error parameter ϵi−1 /2 to get a subspace Ug 6:
Let U (i) be the subspace with dimension Ni spanned by all the Ug found in the ith iteration 12: Let ϵi = (2k C m Ni )−1 ϵi−1 /2. 13: Return V the subspace spanned by U (i) , i ∈ [k].
11:
Proof of Lemma 5.5. For the purpose of analysis, we will extend a degree m polynomial to a tensor-valued polynomial. Specifically, such a function P maps Rd to Rd1 ×···×dℓ and each entry Pζ of P is a degree-m polynomial. For an ℓ-order tensor T ∈ Rd1 ×···×dℓ , define ∥T∥∗ := supv(1) ∈S d1 −1 ,...,v(ℓ) ∈S dℓ −1 T · ⊗ℓj=1 v(j) . For k ∈ N and subspace V ⊆ Rd , and a ℓ-order tensor valued function P , define Sk,V (P ) = sup
sup
E [P (x)
0≤i≤k u(1) ,...,u(k) ∈V ∩Sd−1
x∼Dx
i Y
(u(j) · x)]
j=1
. ∗
Notice that in the ith iteration of the algorithm, if we write Q(i−1) = (Fg ), for g = (g1 , . . . , gi−1 ), gj ∈ Gj as a i − 1-order tensor, then, we can write Q(i) as a i-order tensor, for each g = (g1 , . . . , gi−1 ), (i) Qg = (Fg (x)(g (i1) · x), . . . , Fg (x)(g (iNi ) · x)), where g i1 , . . . , g iNi is the standard basis of U (i) . In particular, under this notation, we have Q(x) = Q(0) . We will show by induction that for j = 0, . . . , k, the subspace V (j) spanned by U (k) , . . . , U (k−j+1) satisfies Sj,Rd (Q(k−j) ) ≤ Cj Sj,V (j) (Q(k−j) ) + ϵk−j
Q(k−j)
Notice that if this is true, then for j = k, we have Sk,Rd (Q) ≤ Ck Sk,V (Q) + ϵ ∥Q∥Dx ,2 . 29
F Dx ,2
.
The base case j = 0 holds trivially because for every subspace V ′ , we have S0,V ′ (Qk ) = Ex∼Dx [Q(k) ] ∗ . Suppose this holds for j = k − 1, show this for j = k. Let u(1) , . . . , u(i) be i unit vectors in Rd , where i ≤ k. We write u(j) = a(j) + b(j) , where (j) a = projU (1) u(j) and b(j) = proj(U (1) )⊥ u(j) . Then, we have E [Q(x)
x∼Dx
i Y
(u(j) · x)] ≤
j=1
X S⊆[i]
E [Q(x)
x∼Dx
Y
(b(j) · x)
j̸∈S
Y
(a(j) · x)] .
j∈S
We upper bound each term in the above summation. Recall that |Q∅ − Ex∼Dx [Q(x)]| < 2−O(k log k) ϵ1 ∥Q∥Dx ,2 . If S = ∅, then we have E [Q(x)
x∼Dx
Y
Y
(b(j) · x)
j̸∈S
(a(j) · x)] =
i Y
E [Q(x)
x∼Dx
j∈S
=
j=1
E [Q∅
x∼Dx
≤ |Q∅ |
(b(j) · x)]
i Y
(b(j) · x) + (Q(x) − Q∅ )
j=1
E [
x∼Dx
i Y
(b(j) · x)]
j=1
i Y
(j)
(b
· x)] +
j=1
E [(Q(x) − Q∅ )
x∼Dx
i Y
(b(j) · x)]
j=1
i
≤ (2i) |Q∅ | + ϵ0 ∥Q∥Dx ,2 /2 , where the last inequality follows by Fact A.9 and the definition of U (1) . In the rest of the proof, we focus Q on the case Q where S ̸= ∅, which implies there is at least one a(j) that appears in the product j̸∈S (b(j) · x) j∈S (a(j) · x). Without loss of generality, we assume Q Q it is a(1) and denote by MS (x) = (a(1) · x)−1 j̸∈S (b(j) · x) j∈S (a(j) · x) the remaining part of the P 1 product. We write a(1) = N g∈G1 cg g under the basis G1 . Then, we have E [Q(x)
x∼Dx
Y j̸∈S
(b(j) · x)
Y
(a(j) · x)] =
j∈S
X g∈G1
=
X g∈G1
cg E [Q(x)(g · x)MS (x)] x∼Dx
E [c · Q(1) (x)MS (x)] ,
x∼Dx
where c = (cg )g∈G1 . We notice that for every polynomial p(x), we have sup
|Q(x)(v · x)p(x)| =
v∈U (1) ∩Sd−1
sup
v · Q(1) (x)p(x) = Q(1) (x)p(x)
v∈U (1) ∩Sd−1
∗
.
By induction, we have ≤ Sk−1,Rd (Q(1) ) ∗ r 2 (1) ≤ Ck−1 Sk−1,V (k−1) (Q ) + ϵ1 E [ Q(1) (x) F ] x∼Dx r 2 ≤ Ck−1 Sk,V (Q) + ϵ1 E [ Q(1) (x) F ] .
E [Q(x)(a(1) · x)MS (x)] ≤
x∼Dx
E [Q(1) (x)MS (x)]
x∼Dx
x∼Dx
30
(4)
Here, the last inequality follows from (4). By Fact A.10, for some universal constant C > 0, X X 2 (1) Q (x) = E [(Q(x)(g(i) · x))2 ] = E [Q(x)2 (g · x)2 ] E x∼Dx
F
g∈G1
x∼Dx
x∼Dx
g∈G1
v u N r u X 4 E Q(x) t E [( (g(i) · x)2 ])2 ≤ N12 C 2m ∥Q∥2Dx ,2 . ≤ x∼Dx
x∼Dx
i=1
Thus, we get E [Q(x)(a(1) · x)MS (x)] ≤ Ck−1 Sk,V (Q) + ϵ1 N1 C m ∥Q∥Dx ,2 ,
x∼Dx
which implies E [Q(x)
x∼Dx
i Y
(u(j) · x)] ≤ (2k Ck−1 + 2O(k log k) )Sk,V (Q) + (2k C m N1 ϵ1 + ϵ0 /2) ∥Q(x)∥Dx ,2
j=1
≤ Ck Sk,V (Q) + ϵ ∥Q(x)∥Dx ,2 , 2
where we use our choice that Ck = 2k Ck−1 + 2O(k log k) = 2O(k ) and ϵ1 ≤ (N1 C m )−1 ϵ0 /2. To complete the proof, we bound the dimension of the subspace V and the complexity of the Qi−1 algorithm. Notice that in the ith iteration of the algorithm, we run Algorithm 2 Ti = j=1 dim(U (j) ) times with parameter ϵi−1 /2. By Lemma 5.4, it follows that in the ith iteration, each time we run Algorithm 2, it draws Mi = dO(k) 2O(k log k+m) /ϵ2i−1 examples from D, runs in poly(Mi ) time, and outputs a subspace U (g) 2k of dimension 2O(k log k) log (d) /ϵ2i−1 . So, in the ith iteration, the total number of examples we draw 2k from D is Ti Mi , the running time is Ti poly(Mi ) and dim(U (i) ) = Ti 2O(k log k) log (d) /ϵ2i−1 . Since ϵ0 = ϵ and ϵi = (2k C m Ni )−1 ϵi−1 /2 for i ∈ [k], we get the dimension of V is at O(k) most Nk,m (ϵ) = (2O(k+m) logk (d)/ϵ)2 and the sample/time complexity of the algorithm is poly(dk , Ck Nk,m (ϵ), log(1/δ)). Remark 5.6. We remark that the dimension of V found by Lemma 5.5 has a polylog(d) factor dependence on the dimension d. Such a dependence appears because Lemma 5.3 has a polylog(d) factor dependence. If the KLS conjecture holds, then we can get an improved version of Lemma 5.3 without the dependence on d, which implies we can remove the dependence of polylog(d) in Lemma 5.5. However, for our application, we will see later that we can recursively apply Lemma 5.5 to the discovered subspace V to reduce the polylog(d) dependence to log log(d) dependence.
5.3
From Dimension Reduction to Moment Discrepancy Finding
In this section, we will apply Lemma 5.5 to find a direction w along which Dx and (Df )x have mismatched moments. To begin with, we will specify the polynomial function Q(x) we want to use. Lemma 5.7. There is an algorithm such that, given sample access to a logconcave distribution Dx over Rd , oracle access to an event A with PrDx [A] = α, and parameters k ∈ N, ϵ, δ ∈ (0, 1), it draws poly(dk , 1/ϵk , log(1/δ), 1/α) samples from Dx , runs in sample-polynomial time, and outputs a degreek polynomial Q : Rd → R with ∥Q∥Dx ,2 ≤ O(logk (1/α)) + ϵ, such that with probability at least 1 − δ, for every degree at most k polynomial p : Rd → R, it holds Ex∼Dx [Q(x)p(x)] − Ex∼(Df )x [p(x)] ≤ ϵ ∥p(x)∥Dx ,2 , where (Df )x is the conditional distribution of Dx over event A. 31
Proof of Lemma 5.7. We first show the existence of such a polynomial. Define an inner product over the space of polynomial functions over Rd as ⟨p, q⟩Dx := Ex∼Dx [pq] as well as ∥·∥Dx ,2 , the norm induced by the inner product, and denote by Pk the subspace of all polynomials with degree at most k over Rd . Under the inner product ⟨p, q⟩Dx , define Q∗ (x) := projPk 1{A}/α. Notice that for every polynomial p(x) with at most degree k, [p(x)] = E [p(x)1{A}/α] = E [Q∗ (x)p(x)] ,
E
x∼Dx
x∼(Df )x
x∼Dx
where the last equation uses the fact that ⟨Q∗ (x) − 1{A}/α, p(x)⟩Dx = 0. Furthermore, we have ∥Q∗ (x)∥Dx ,2 =
sup
⟨p(x), Q∗ (x)⟩Dx =
p∈Pk ,∥p∥Dx ,2 =1
sup
E [p(x)1{A}/α] .
p∈Pk ,∥p∥Dx ,2 =1 x∼Dx
For r ≥ 2, let r′ = (1 − r−1 )−1 . By Hölder’s inequality, we have ′
α−1 E [p(x)1{A}] ≤ α−1 E [pr (x)]1/r E [1{A}r ]1/r x∼Dx
x∼Dx
=α
−1/r
′
x∼Dx
r
E [p (x)]
x∼Dx
1/r
≤ α−1/r (Cr)k .
Here, in the last inequality, we use Fact A.10. By choosing r = O(log(1/α)), we get ∥Q∗ (x)∥Dx ,2 ≤ O(logk (1/α)). It suffices to find a polynomial Q(x) ∈ Pk such that ∥Q − Q∗ ∥Dx ,2 < ϵ. To do this, solve the polynomial regression problem that finds a polynomial Q ∈ Pk such that E [(Q(x) − 1{A}/α)2 ] ≤ min
x∼Dx
E [(p(x) − 1{A}/α)2 ] + ϵ2
p(x)∈Pk x∼Dx
= E [(Q∗ (x) − 1{A}/α)2 ] + ϵ2 , x∼Dx
which needs poly(dk /(αϵ)) sample from Dx , using standard sample complexity analysis of linear regression (see, e.g., [BM02].) Notice that E [(Q(x) − Q∗ (x) + Q∗ (x) − 1{A}/α)2 ] = E [(Q(x) − Q∗ (x))2 ] + E [(Q∗ (x) − 1{A}/α)2 ] .
x∼Dx
x∼Dx
x∼Dx
This means the solution of the polynomial regression gives a polynomial Q(x) ∈ Pk such that ∥Q(x) − Q∗ (x)∥Dx .2 ≤ ϵ and ∥Q∥Dx ,2 ≤ O(logk (1/α)) + ϵ. Furthermore, for every polynomial p(x) ∈ Pk , we have E [Q(x)p(x)] −
x∼Dx
E
[p(x)] =
x∼(Df )x
E [(Q(x) − Q∗ (x))p(x)] ≤ ϵ ∥p(x)∥Dx ,2 .
x∼Dx
With Lemma 5.5 and Lemma 5.7 at hand, we are able to directly prove Theorem 5.1. Proof of Theorem 5.1. By Fact A.9, we know that for every w ∈ Sd−1 , (w · x)i Dx ,2 ≤ (Ck)k , 2
for i ∈ [k] So, by applying Lemma 5.7 with ϵ1 = 2−O(k ) ∆ over Dx and A we can find a degree k-polynomial Q(x′ ) with ∥Q(x)∥Dx ,2 ≤ O(logk (1/α)) such that for every unit vector w ∈ Sd−1 , and i ∈ [k] E [Q(x)(w · x)i ] −
x∼Dx
E x∼(Df )x
32
2
[(w · x′ )i ] ≤ 2−O(k ) ∆.
Algorithm 4 MismatchFinding (Finding a direction with a moment discrepancy) 1: Input: Sample access from D, event A, degree k, parameter ∆. 2: Output: v ∈ Sd−1 or ⊥, indicating D and Df have nearly matched moments. 2
3: Apply Lemma 5.7 to Dx and A with parameter ϵ1 = 2−O(k ) ∆ and degree k to get a degree
k-polynomial Q(x). 4: Run Algorithm 3 with input Q(x) − 1, degree k and parameter ϵ = O(∆ log−k (1/α)) to get a subspace U (U ) 5: Let Dx be the distribution of projU (x) 2 (U ) 6: Apply Lemma 5.7 to Dx and A with parameter ϵ = 2−O(k ) log−k (1/α)∆ and degree k to get a degree k-polynomial Q′ (x). 7: Run Algorithm 3 with input polynomial Q′ (x) − 1, degree k and parameter ϵ = 2 2−O(k ) log−k (1/α)∆ to get a subspace V . 8: Run a brute-force search over V to find a vector v ∈ Sd−1 such that 2 Ex∼Dx [(v · x)i ] − Ex∼Df [(v · x)i ] > 2−O(k ) ∆, for some i ∈ [k]. 9: If such a vector is not found, then return ⊥, otherwise return v. Q Consider the k-symmetric linear form f (v(1) , . . . , v (k) ) = Ex∼Dx [(Q(x) − 1) ki=1 (v(i) · x)]. By [BS71], for every subspace V , supv(1) ,...,v(k) ∈V ∩Sd−1 f (v(1) , . . . , v (k) ) = supv∈V ∩Sd−1 f (v, . . . , v). By applying Lemma 5.5 on Q(x) − 1 with distribution Dx , we find a subspace U with dimension O(k) (2O(k) logk (1/α) logk (d)/∆)2 , such that 2
E [(Q(x) − 1)(w · x)k )] ≤ 2O(k ) sup
sup
w∈Sd−1 x∼Dx
E [(Q(x) − 1)(v · x)i )] + ∆/100.
sup
i∈[k] v∈U ∩Sd−1 x∼Dx
If there is some w ∈ Sd−1 such that Ex∼Dx [(w · x)k ] − Ex∼(Df )x [(w · x)k ] > ∆, there exists a unit 2
vector u ∈ U and i ∈ [k] such that Ex∼Dx [(Q(x) − 1)(u · x)i )] ≥ 2−O(k ) ∆ and thus E [(u · x)i ] −
x∼Dx
2
[(u · x)i ] ≥ 2−O(k ) ∆.
E x∼(Df )x
(U )
(U )
Denote by Dx the distribution of a = projU x and Df over A. For every u ∈ U and i ∈ [k], we have E [(u · x)i ] −
x∼Dx
E
[(u · x)i ] =
[(u · a)i ] −
E (U )
x∼(Df )x
(U )
the conditional distribution of Dx [(u · a)i ].
E (U )
a∼Dx
a∼(Df
)x
(U )
(U )
Since Dx is a 1/2-isotropic logconcave distribution, by applying Lemma 5.7 to Dx with ϵ2 = 2 2−O(k ) ∆, we can find a degree k-polynomial Q′ (a) with ∥Q′ ∥D(U ) ,2 ≤ O(logk (1/α)) such that for x every unit vector w ∈ U and i ∈ [k], E (U )
a∼Dx
[Q′ (a)(w · a)i )] −
E
2
[(w · a)i ] ≤ 2−O(k ) ∆.
(U )
a∼Df
(U )
By applying Lemma 5.5 on Q′ (a) − 1 and distribution Dx 2 O(k) (2O(k ) logk (1/α) logk log(d)/∆)2 such that sup
E
(U ) w∈U,∥w∥2 =1 a∼Dx
2
[(Q′ (a) − 1)(w · a)k )] ≤ 2O(k ) sup
sup
we find a subspace V with dimension
E
(U ) i∈[k] v∈V,∥v∥2 =1 a∼Dx
33
2
[(Q′ (a) − 1)(v · a)i )] + 2−O(k ) ∆.
2
Since there exists a unit vector u ∈ U such that Ex∼Dx [(Q(x) − 1)(u · x)k )] ≥ 2−O(k ) ∆, we know 2 that there exists a unit vector v ∈ V such that Ex∼Dx [(Q′ (x) − 1)(v · x)i )] ≥ 2−O(k ) ∆ and thus 2
E [(v · x)i ] − E [(v · x)i ] > 2−O(k ) ∆ .
x∼Dx
x∼Df
By running a brute force search over V , we find such a vector v. In particular, if no such vector v is output, then it must be the case that for every w ∈ Sd−1 , Ex∼Dx [(w · x)k ] − Ex∼Df [(w · x)k ] < ∆. Finally, we upper bound the sample and time complexity of the algorithm. In Algorithm 4, we 2 run Algorithm 3 and Lemma 5.7 twice. Each run of Lemma 5.7 takes poly(2(k ) dk /(α∆)) sample O(k) and time. Each run of Algorithm 3 takes at most dO(k) (2O(k) logk (1/α) logk (d)/∆)2 sample and 2) O(k) k k O(k time. Finally, since the final found subspace V has dimension (2 log (1/α) log log(d)/∆)2 , 2O(k)
2
the brute force search takes time 2O(k log(1/∆) dim(V )) = 2(log(1/α) log log(d)/∆) . Thus, the alO(k) O(k) gorithm draws dO(k) (log(1/α) log(d)/∆)2 sample and runs in dO(k) (log(1/α) log(d)/∆)2 + 2(log(1/α) log log(d)/∆)
6
2O(k)
time.
Proof of Theorem 2.8 and Testable Learning Extensions
In this section, we put together results established in the previous sections to complete the proof of Theorem 2.8 and also provide our testable learning extensions. Proof of Theorem 2.8. By Theorem 5.1, for any α, ϵ ∈ (0, 1) and for any fixed constant c(k, ∆) ≥ 1, 2 there is a (k, ∆, 2−O(k ) , (αϵ)c(k,∆) )-discrepancy finder Am for Dx and (Df )x , with sample complexity −1 dO(k) polyk,∆ ((αϵ)−1 ) and time complexity dO(k) 2polylogk,∆ ((αϵ) ) , whenever W (D)—the weight of D over Rd × {0, ±1}—is at least (αϵ)c(k,∆) . Let ϵ′ = 9ϵ/10. Let D be any distribution Rd × {0, ±1} with weight (αϵ′ ) and Dx a logconcave distribution. By Theorem 4.2, applied with η = ϵ/20 and Am as the discrepancy finder, it follows that whenever optDf (H) ≤ (1 − η)/C, Algorithm 1 draws dO(k) polyk,∆ ((αϵ)−1 ) samples from D, −1
runs in poly(dk )2polylogk,∆ ((αϵ) ) time and with probability at least 99% outputs a hypothesis ĥ with errDf (ĥ) ≤ 1/2−Ω(βη). In other words, there is a (Ω(ϵβ), C/(1−η))-weak partial learner for H under −1 Dx with sample complexity dO(k) polyk,∆ ((αϵ)−1 ) and time complexity poly(dk )2polylogk,∆ ((αϵ) ) . By Theorem 3.2, it follows that by calling the weak partial learner Õ((ϵβ)−2 /ϵ′ ) times, we obtain a hypothesis ĥ with errDf (ĥ) ≤ CoptDf (H)/(2(1 − η)) + ϵ′ . Without loss of generality, we assume that (C/2)optDf (H) ≤ 1/2; otherwise, the guarantee is vacuous. This implies that errDf (ĥ) ≤ CoptDf (H)/(2(1 − η)) + ϵ′ ≤ (C/2)optDf (H) + 2η + ϵ′ ≤ (C/2)optDf (H) + ϵ , where the last inequality follows by our choice of ϵ′ . This concludes the proof of Theorem 2.8. Testable Learning The algorithm establishing Theorem 2.8 automatically gives an algorithm with the same complexity that succeeds in the testable learning framework [RV23], for any fixed logconcave distribution. Before we state our relevant theorem, we start with the definition of testable learning. Definition 6.1 (Testable Agnostic Partial Learning under Logconcave Distributions). Let H be a class of Boolean (i.e., {±1}-valued) functions over Rd . Let D be a distribution over Rd × {±1, 0} and Df be the conditional distribution of D over the event E := {(x, y) | y = ̸ 0}. The error of 34
h : Rd → {±1} is defined as errDf (h) = Pr(x,y)∼Df [h(x) ̸= y] and let optDf (H) := inf h∈H errDf (h). Given a set of i.i.d. examples S drawn from D and parameters ϵ, δ ∈ (0, 1), a testable learner with respect to a given base distribution DB over Rd can either reject S or accept and output a hypothesis ĥ : Rd → {±1}. Further, the following conditions must be met: 1. (Soundness.) With probability at most δ, the learner accepts but outputs a hypothesis ĥ, such that errDf (ĥ) > F (optDf (H)) + ϵ, for some function F : (0, 1) → (0, 1). 2. (Completeness.) Whenever Dx = DB , for some known logconcave distribution DB over Rd , the learner will accept with probability at least 1 − δ. For short, we say such a learner testably learns H with respect to DB to error F (optDf (H)) + ϵ with probability 1 − δ. Our extension of Theorem 2.8 to the testable learning setting is as follows. Theorem 6.2 (Testable Agnostic Partial Learning). Consider the task of testable agnostic partial learning H under logconcave distributions. Suppose that H is (k, ∆, β, C)-weakly learnable by an algorithm A with sample complexity m and time complexity T . Then there is a testable agnostic partial learning algorithm for H with respect to a logconcave distribution DB with the following guarantee: given any ϵ ∈ (0, 1) and sample access to any distribution D over Rd × {0, ±1} of weight W (D) ≥ α and sample access to DB , the algorithm draws (1/β 2 ) dO(k) polyk,∆ (1/(αϵ)) m samples from D and DB , runs in time (1/β 2 ) dO(k) 2polyk,∆ (log(1/(αϵ)) T , and testably learns H with respect to DB to error (C/2)optDf (H) + ϵ with probability at least 99%. Our algorithm for Theorem 6.2 will be essentially the same as the algorithm for Theorem 2.8 with the following modification. In the process of running Algorithm 1, we compute a partition of space so that (if our distributional hypotheses are satisfied) almost all of the mass of (Df )x lies in regions where the central moments of (Df )x and DB approximately match (as is certified by our discrepancy finder). For the testable learning setting, as a high-level idea, we will essentially run Algorithm 1 identically, except every time we draw a sample from Dx , we draw it from DB , and we stop the algorithm after using an appropriate amount of time and samples. If a partition is generated successfully before we stop the algorithm, then it is likely that we can get a weak partial hypothesis using this partition; otherwise, we just reject. In particular, if Dx = DB , we will accept with high probability, as the input is the same as the one in the standard learning setting. To formalize the above intuition, we will define a testable discrepancy finder as follows. Definition 6.3 ((k, ∆, c)-Testable Discrepancy Finder). For k ∈ Z+ , ∆ > 0, c, ∈ (0, 1), we say that an algorithm A is a (k, ∆, c)-testable discrepancy finder for Dx , if it satisfies the following performance guarantee: given sample access to a 1/2-isotropic logconcave distribution Dx over Rd and a distribution Dx′ over Rd , and accuracy parameter ϵ ∈ (0, 1/2) and weight parameter α ∈ (0, 1), it either rejects or accepts. With probability at least 99% over the sample access, if it accepts, it will output a distribution Dm over Rd , with dTV (Dm , Dx′ ) < ϵ, and a direction v ∈ Sd−1 and i ∈ [k] such that Ex∼Dx [(v · x)i ] − Ex∼Dm [(v · x)i ] ≥ c∆, if there exists w ∈ Sd−1 and j ∈ [k] such that Ex∼Dx [(w · x)j ] − Ex∼Dm [(w · x)j ] ≥ ∆. Furthermore, if Dx′ is a conditional distribution of Dx over some event with mass at least α, with probability at least 99%, the algorithm will accept. Lemma 6.4. For every 1/2-isotropic logconcave distribution Dx over Rd , for every k ∈ Z+ , ∆ ∈ (0, 1), 2 there is a (k, ∆, 2−O(k ) ) testable discrepancy finder for Dx with sample complexity dO(k) polyk,∆ (1/(αϵ)) and time complexity poly(dk /ϵ)2polylogk,∆ (1/α) . 35
Proof of Lemma 6.4. By Lemma 5.5, Lemma 5.7 and Theorem 5.1, suppose there is a degree k polynomial Q(x) with ∥Q∥DB ,2 ≤ O(logk (1/α)), such that |Ex∼DB [Q(x)p(x)] − Ex∼Dm [p(x)]| ≤ Q 2 2−O(k ) ∆ for every degree k polynomial p(x) of the form p(x) = ki=1 (w(i) · x), where w(i) ∈ Sd−1 , then Algorithm 4 with such a function Q, will output in time dO(k) 2polylogk,∆ (1/α) , a direction v ∈ Sd−1 and i ∈ [k] such that Ex∼DB [(v · x)i ] − Ex∼Dm [(v · x)i ] ≥ c∆, if there exists w ∈ Sd−1 and j ∈ [k] such that Ex∼DB [(w · x)j ] − Ex∼Dm [(w · x)j ] ≥ ∆. Given sample access to Dx′ , we will first use poly(1/(αϵ)) example to check if Prx∼Dx′ [∥x∥2 > √ 100C log(1/αϵ) d] < αϵ/100. If not, we will simply reject. Since DB is a 1/2-isotropic logconcave √ √ distribution, it follows from Fact C.2 that for t > 1, we have Prx∼DB [∥x∥2 > Ct d] < exp(−t d), which implies that if Dx′ is a conditional distribution of DB over some event with mass α, then √ Prx∼Dx′ [∥x∥2 > 100C log(1/αϵ) d] < αϵ/100 and we will not reject with high probability at this step. Notice that the distribution Dm defined as Dx′ conditioned over examples with norm ∥x∥2 < √ r := 100C log(1/αϵ) d satisfies dTV (Dm , Dx′ ) < ϵ. To complete the proof, it suffices to find a Q function discussed above. By Lemma 5.7, if Dx′ is a conditional distribution of DB over an event with mass α, such a function Q exists. So, it suffices to find such a polynomial Q using only sample O(k) . We will use linear program to find the coefficient (q ) of access to Dm and DP B . Let Bd,k = d ζ ζ ζ polynomial Q(x) = ζ qζ x , with ∥Q∥DB ≤ O(logk (1/α)) such that for each monomial xζ , E [Q(x)xζ ] −
x∼DB
2
−1 −O(k ) E [xζ ] ≤ Bd,k 2 ∆.
x∼Dm
Qk
(i) · x) =
X
2
Notice that suppose this holds, then for every polynomial p(x) = E [Q(x)p(x)] −
x∼DB
Here, we use the fact that
P
2
−1 −O(k ) E [p(x)] ≤ Bd,k 2 ∆
x∼Dm
ζ |aζ | ≤ d
i=1 (w
ζ ζ aζ x , we have
P
|aζ | ≤ 2−O(k ) ∆.
ζ
O(k) . The above linear program can be built by using samples 2
−1 −O(k ) from DB and Dm to estimate Ex∼DB [xζ ] and Ex∼Dm [xζ ] to error Bd,k 2 ∆/4. We remark that if such a function Q(x) is not found, then we can just reject. Since DB is logconcave, for 2 each monomial, we can take the empirical mean of xζ using 2−O(k ) poly(dk /∆) examples to do this 2 estimation. Since x ∼ Dm has bounded norm r, we know that we can take rO(k) 2O(k ) poly(dk /∆) examples from Dm , we can estimate the expectation of xζ to the desired accuracy. This completes the proof.
Proof of Theorem 6.2. We run the algorithm in Theorem 2.8 with a modified version of Algorithm 1. Let T, γ, τ, and ξ be as in Algorithm 1. Every time Algorithm 1 draws an example from Dx , instead, we draw it from DB . Every time Algorithm 1 calls a discrepancy finder for (DR )x and ((DR )f )x over some region R, we will call a (k, ∆, c)-testable discrepancy finder for (DB ) |R with input distribution ((DR )f )x with parameter weight parameter ξϵ and accuracy parameter ϵ′ = (c∆ξ 2 ϵ2 )/T 2k . We will terminate the algorithm mutually and reject if its running time exceeds dO(k) 2polyk,∆ (1/ϵ) or draws more than dO(k) polyk,∆ (1/ϵ) samples or it stops because the testable discrepancy finder rejects or a good split is not found. P If a partition U is output, we will check if R∈B Pr(x,y)∼Df [x ∈ R] ≤ η/2, where B = {R ∈ U | Pr(x,y)∼Df [x ∈ R] ≤ ξ}. We will reject if it is not the case, and otherwise we will run the weak learner over each region R with Pr(x,y)∼Df [x ∈ R] > ξ over the distribution output by the testable discrepancy finder. Since the distribution (DR )m output by the testable discrepancy finder has TV distance at most ϵ′ , over all such regions R, we only throw away at most ξ fraction of the mass. 36
Furthermore, by the definition of the testable discrepancy finder, for every R ∈ U, with Pr(x,y)∼Df [x ∈ R] > ξ, it holds for every u ∈ Sd−1 and for every i ∈ [k], Ex∼(DB )R (u · x)i − E(x,y)∼(DR )m (u · x)i ≤ ∆, which implies that the modified version of Algorithm 1 will output a hypothesis with Ω(ηβ) advantage over Df . Thus, the algorithm used for Theorem 2.8, will succeed. Furthermore, since the testable discrepancy finder will accept with a high probability when Dx = DB , we know that the whole testable learning algorithm will accept when Dx = DB with a high probability.
7
Algorithmic Applications to Concrete Hypothesis Classes
In this section, we give algorithmic applications of Theorem 2.8 to several fundamental families of multi-index models. Organization of This Section In Section 7.1, we will give basic technical lemmas that will be used for designing algorithms in this section. In Section 7.2, we introduce a generic family of concept classes that can be partially learned using Theorem 2.8. Specifically, we show that a wide range of “smooth” K-MIMs H have an efficient (ℓ, ∆, β, C)-weak learner, where the parameters ℓ, ∆, β, C only depend on geometric properties of the underlying class. This implies that any such family of smooth MIMs admits an agnostic partial learner under logconcave distributions with sample complexity polyK,∆ (d, 1/ϵ) and computational complexity polyK,∆ (d)2polylogK,∆ (1/ϵ) . We remark that the parameters (ℓ, ∆, β, C) for the weak learning algorithm above could be qualitatively quite large, if they are derived directly from the underlying geometric properties of the class. To rectify this, in Section 7.3, we show that MIMs that admit low-degree L1 -sandwiching polynomials can be learned to any constant factor approximation using our framework. As a corollary of this result, in Section 7.4, we obtain such a constant factor approximation for agnostically learning functions of halfspaces and low-dimensional low-degree PTFs. In Section 7.5, we use a refinement of our framework to obtain improved learning algorithms for agnostic partial learning of halfspaces under logconcave distributions. Finally, in Section 7.6, we leverage these algorithms to obtain efficient and robust learners for multiclass linear classification.
7.1
Basic Tools for Weak Learning Algorithms
In this subsection, we give some basic tools that we will use in the following subsections. By Theorem 2.8, given a hypothesis class H, to design an agnostic partial learner under logconcave distributions, it suffices to design an efficient (k, ∆, β, C)-weak learner for it. Our weak learner makes use of the following simple framework. Given a distribution D over Rd × {±1}, if we can find a real-valued function g(x) such that E(x,y)∼D [yg(x)] is non-trivial, then we can sample a random threshold t ∈ [−1, 1] such that errD (sign(g(x)−t)) has small error with non-trivial probability. To formally formulate this framework, we give the following lemma. Lemma 7.1. Let D be a distribution over Rd × {±1}, and let H be a hypothesis class over Rd . Let h∗ ∈ H be such that errD (h∗ ) = opt = inf h∈H errD (h). For a real-valued function p : Rd → R and β > 0, the following holds. 1. If Ex∼Dx [h∗ (x)p(x)] > β and opt < β 2 (Ex∼Dx [p2 (x)])−1 /16, then E(x,y)∼D [yp(x)] > β/2. 2. If E(x,y)∼D [yp(x)] > β, then the function g(x) : Rd → [−1, 1], defined by 2 −1 g(x) = proj[−1,1] βp(x)( E [p (x)]) /4 , x∼Dx
37
(5)
satisfies E(x,y)∼D [yg(x)] > Ω(β 2 /(Ex∼Dx [p2 (x)])). Proof of Lemma 7.1. The first item of the statement follows from the inequalities below E
[yp(x)] =
(x,y)∼D
[h∗ (x)p(x)] +
E (x,y)∼D
[(y − h∗ (x))p(x)]
E (x,y)∼D
[h∗ (x)p(x)] − 2 E [1{y ̸= h∗ (x)} |p(x)|] (x,y)∼D r ≥ E [h∗ (x)p(x)] − 2 opt E [p(x)2 ] > β − β/4 = 3β/4.
≥
E
(x,y)∼D
x∼Dx
(x,y)∼D
Here, in the first inequality, we use the fact that h∗ takes values in {±1}. The second inequality follows from Hölder’s inequality. The third inequality follows from the assumption that opt < β 2 (Ex∼Dx [p2 (x)])−1 /4. In the rest of the proof, we prove the second item of the statement. Let W := 4(Ex∼Dx [p2 (x)])/β. We have E
[yg(x)] =
(x,y)∼D
E
[yg(x)1{|p(x)| < W }] +
(x,y)∼D
[yg(x)1{|p(x)| > W }].
E (x,y)∼D
By the choice of W , we have [yg(x)1{|p(x)| > W }] ≤ Pr [|p(x)| > W ] ≤ E [p2 (x)]/W 2 ≤ β 2 /(16( E [p2 (x)])).
E
x∼Dx
(x,y)∼D
x∼Dx
x∼Dx
Here the first inequality follows from the fact that |yg(x)| ≤ 1 and the second inequality follows from Markov’s inequality. Furthermore, E
[yp(x)1{|p(x)| < W }] =
(x,y)∼D
E
[yp(x)] −
(x,y)∼D
≥
E
[yp(x)1{|p(x)| > W }]
E (x,y)∼Dx
[yp(x)] −
(x,y)∼D
r
E [p2 (x)] Pr [|p(x)| > W ]
x∼Dx
x∼Dx
≥ β − β/2 = β/2 , which implies by the definition of g(x) that E
[yg(x)1{|p(x)| < W }] ≥ 3β 2 /(16( E [p2 (x)])). x∼Dx
(x,y)∼D
So, we conclude that g(x) : Rd → [−1, 1] satisfies E(x,y)∼D [yg(x)] > Ω(β 2 /(Ex∼Dx [p2 (x)])). Lemma 7.1 shows the following: For an agnostic learning problem, suppose we have some real-valued function p(x) such that the correlation Ex∼Dx [h∗ (x)p(x)] is non-trivial, where h∗ (x) is the hypothesis in the target class that achieves the optimal error. Then, as long as opt is reasonably small, we can find a function g(x) with values in [−1, 1] such that it has non-trivial correlation with respect to the noisy label y. Once such a [−1, 1]-valued function g(x) is found, we can easily round it to a Boolean function as a weak hypothesis over the noisy distribution D. Fact 7.2. Let X be a domain of examples and let D be a distribution over X × {±1}. Let g(x) : X → [−1, 1] such that Ex∼D [yg(x)] > γ, then Et∼[−1,1] [errD (sign(g(x) − t))] < (1 − γ)/2.
38
Proof of Fact 7.2. To simplify the notation, let gt (x) = sign(g(x) − t), t ∈ [−1, 1]. Fix an example (x, y) ∈ X × {±1}. If y = 1, then we have Prt∼[−1,1] [gt (x) ̸= y] = (1 − g(x))/2, while if y = −1, then we have Prt∼[−1,1] [gt (x) ̸= y] = (1 + g(x))/2. This implies that for every example (x, y), we have Prt∼[−1,1] [gt (x) ̸= y] = (1 − yg(x))/2. Thus, we have E t∼[−1,1]
7.2
[errD (gt )] =
E
Pr [gt (x) ̸= y] =
(x,y)∼D t∼[−1,1]
E (x,y)∼D
1 − yg(x) 1−γ ≤ . 2 2
Generic Family of MIMs
By Lemma 7.1 and Fact 7.2, to get an efficient weak learning algorithm for a class H under a distribution D, it suffices to show that when the moment information of the marginal distribution is close to that of some logconcave distribution, then we can efficiently find a polynomial with non-trivial correlation with respect to the optimal hypothesis. Based on this observation, we show that a broad family of MIMs that satisfies a natural “smoothness” condition can be efficiently weakly learned. Specifically, we introduce the following generic family of MIMs. Definition 7.3 ((K, η)-good Multi-Index Models). We say that a family of Boolean functions H on Rd is a (K, η)-good class of Multi-Index Models if it satisfies the following properties: 1. H is a family of K-Multi-index models (K-MIMs). That is, for every h ∈ H there is a Kdimensional subspace V ⊂ Rd such that h(x) = h(projV (x)). Equivalently, there is a class of Boolean functions G over RK such that for every h ∈ H there exists g ∈ G and a matrix W ∈ RK×d with WW⊤ = IK×K so that h(x) = g(Wx). 2. Every g ∈ G, such that h(x) = g(Wx) for some h ∈ H, satisfies the following condition: For every ellipsoid E = E(u, A), in RK , there is a ball E ′ = E(v, A/η) such that E ′ ⊆ E and g(x) has a constant sign over E ′ . Intuitively, any function in a (K, η)-good class of MIMs has a reasonably smooth decision boundary, so that the classification of points will not change too frequently within a small ball. As a concrete example, consider the class of halfspaces—a basic class of 1-MIMs. Given any interval I ⊆ R and any one-dimensional linear threshold function, one can always find a subinterval I ′ ⊆ I, with half of the length, such that examples in I ′ have the same sign. This means the class of halfspaces is a (1, 1/2)-good class of MIMs. Our main learning result for (K, η)-good classes of MIMs is the following theorem. Theorem 7.4 (Agnostic Partial Learning of Good MIMs). Let H be a (K, η)-good class of MIMs over Rd . There is an algorithm such that for every distribution D over Rd × {0, ±1} with Dx logconcave and W (D) ≥ α, given ϵ ∈ (0, 1), it draws (dℓ)O(ℓ) polyK,η (1/(αϵ)) samples from D, runs in (dℓ)O(ℓ) 2polyK,η (log(1/(αϵ)) time, where ℓ = exp((K/η)O(K) ), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ exp(O(ℓ log ℓ))optDf (H) + ϵ . By Theorem 2.8, to prove Theorem 7.4, it suffices to design an efficient weak learner for any (K, η)-good class of MIMs H. To achieve this, we establish the following technical lemma, that gives a basic condition under which a general hypothesis class H can be efficiently weakly learned.
39
Figure 3: Generic Geometric Concept Class Lemma 7.5. Let H be a hypothesis class over Rd and Dx′ be an arbitrary 1/2-isotropic logconcave distribution over Rd . Suppose that for every h ∈ H, the following statement is satisfied: there is a polynomial p : Rd → R with zero mean under Dx′ such that either (i) if h(x) = P 1, then > γ, or Q p(x) i (ii) if h(x) = −1, then p(x) < −γ. If each polynomial p has the form p(x) = i ci ℓj=1 (w(ij) · x) P P Qℓ i (ij) d−1 (ij) with ℓi ≤ ℓ, w ∈ S , and max · x) ′ ≤ B, then there is an i |ci | , i |ci | j=1 (w Dx ,2 d algorithm with the following guarantee. For any distribution D over R × {±1} such that for every
w ∈ Sd−1 and i ∈ [2ℓ], Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] ≤ ∆ ≤ γB −1 2−O(ℓ) , with optD (H) < O((γ/B)2 ), the algorithm draws poly(dℓ , B/γ) examples from D, runs in time poly(dℓ , B/γ), and outputs a hypothesis ĥ such that errD (ĥ) < 1/2 − Ω((γ/B)2 ) with probability at least 99%. Roughly speaking, the condition in Lemma 7.5 assumes that each function h ∈ H has a one-sided approximation by a mean-zero low-degree polynomial p, which can be written as a sum of products of linear functions with small L2 -norms under a logconcave distribution Dx′ . Specifically, this means that Ex∼Dx′ [p(x)] = 0 and whenever h(x) = 1, it must be the case that p(x) > γ > 0. The structure of p(x) implies that if x is drawn from Dx , a distribution that approximately matches moments with Dx′ , the mean and the L2 norm of p(x) will not change too much. This implies if we take h(x) to be the optimal hypothesis, then, under Dx , h(x) and p(x) must have non-trivial correlation—because Ex∼Dx [h(x)p(x)] ≈ Ex∼Dx [(h(x) + 1)p(x)]. By Lemma 7.1, this implies that there is some low-degree polynomial that has non-trivial correlation with the label y, if optD (H) is sufficiently small. Therefore, we can run a simple polynomial regression subroutine to find such a good polynomial and turn it into a weak hypothesis. Proof of Lemma 7.5. Let h∗ ∈ H be the hypothesis, such that errD (h∗ ) = opt and let p(x) be a degree ℓ polynomial in the statement for h∗ . Without loss of generality, we assume that when
40
h∗ (x) = 1, p(x) > γ. Since Ex∼Dx′ [p(x)] = 0, we know that under Dx , we have E [p(x)] =
X
x∼Dx
ci E [ x∼Dx
i
≤
X
|ci |
E [
X
(w
(ij)
· x)] − E ′ [ x∼Dx
j=1
x∼Dx
i
≤ (2e)ℓ
ℓi Y
ℓi Y
(w
(ij)
ℓi Y
j=1
· x)] − E ′ [ x∼Dx
j=1
(w(ij) · x)]
ℓi Y
(w(ij) · x)]
j=1
|ci | ∆ ≤ O(γ).
i
Here, we use the fact that when Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] ≤ ∆ for every w ∈ Sd−1 and Qi Qi P i ∈ [2ℓ], Ex∼Dx [ ℓj=1 (w(ij) · x)] − Ex∼Dx′ [ ℓj=1 (w(ij) · x)] ≤ (2e)ℓ ∆, when ℓij ≤ ℓ. This implies that E [h∗ (x)p(x)] = E [(h∗ (x) + 1)p(x)] − E [p(x)]
x∼Dx
x∼Dx
x∼Dx
∗
≥ E [(h (x) + 1)p(x)] − γ/20. x∼Dx
Notice that if Prx∼Dx [h∗ (x) = 1] < 1/3, then a constant polynomial p− (x) ≡ −1 satisfies the statement. So, we can assume that Prx∼Dx [h∗ (x) = 1] > 1/3. This implies that E [h∗ (x)p(x)] ≥ γ/3 − γ/20 ≥ γ/6.
x∼Dx
On the other hand, we have
∥p∥Dx ,2 ≤
X i
|ci |
ℓi Y
ℓi Y X ≤ O |ci | (w(ij) · x)
(w(ij) · x)
j=1
i
Dx ,2
j=1
= O(B). ′ ,2 Dx
By Lemma 7.1, it follows that when opt < O((γ/B)2 ), we have E(x,y)∼D [yp(x)] > γ/8. Using polynomial regression [KKMS08], we can draw poly(dℓ /γ) examples from D, run in poly(dℓ /γ) time, and compute a polynomial p̂ such that E(x,y)∼D [y p̂(x)] > Ω(γ) and Ex∼Dx [p̂2 (x)] ≤ O(B). By Lemma 7.1 and Fact 7.2, we can round the computed polynomial p̂(x) into a Boolean function ĥ(x) such that errD (ĥ) ≤ 1/2 − Ω((γ 2 /B 2 )). This completes the proof of Lemma 7.5. To prove Theorem 7.4, it suffices to show that any (K, η)-good class of MIMs H satisfies the assumption given by Lemma 7.5, which automatically gives a weak learning algorithm. Formally, we give Lemma 7.6 below. Lemma 7.6. Let H be a (K, η)-good MIM family over Rd . There is an algorithm A that draws (dℓ)O(ℓ) examples, runs in (dℓ)O(ℓ) time and (2ℓ, exp(−ℓ log ℓ), exp(−O(ℓ log ℓ)), exp(O(ℓ log ℓ)))-weakly learns H with probability at least 99%, where ℓ = exp(O(K 8 /α4 )) and α = η K 2−O(K log K) . Before we proceed with the proof of the above lemma, we note that Theorem 7.4 is a direct corollary of Theorem 2.8 and Lemma 7.6. We give the intuition behind Lemma 7.6. Since the value of a function h ∈ H at a point x only depends on the projection of x onto some K-dimensional subspace V , for a given logconcave distribution Dx′ , we will instead consider the distribution x′ ∼ DxV , the projection of x onto V , 41
which is still logconcave. By the anti-concentration property of logconcave distributions, points within a ball centered at the mean of DxV have density at least 2−O(K) . By the goodness of H, after a proper affine transformation, there is a ball of volume η O(K) in this region with negative sign and thus contains a box S within the ball with (η/K)O(K) volume. This implies that the box S has non-trivial probability mass under DxV . We will construct a polynomial p(x′ ) that always upper bounds the indicator 1{x′ ̸∈ S} and is close to it in L1 norm under DxV . This implies that the polynomial p′ (x′ ) = p(x′ ) − Ex′ ∼DxV [p(x′ )] is slightly larger than 0, whenever x′ is positive. To get such a polynomial, we will make use of the following result from [KKM13] which gives a low-degree construction of a pair of polynomials that “sandwich” any function of halfspaces. Theorem 7.7. [Theorem 15 in [KKM13]] Let Dx be any logconcave distribution in Rd , and let f (x) = g(h1 (x), . . . , hm (x)) : Rd → {0, 1} be a function of m halfspaces, where hi (x) = sign(w(i) · x + ti ). For every ϵ > 0, there is a pair of polynomials pu , pl with degree exp(O(m2 /ϵ)4 ), such that for every x ∈ Rd , pl (x) ≤ f (x) ≤ pu (x), and Ex∼Dx [ pu (x) − pl (x) ] ≤ ϵ. Finally, since the constructed polynomial p′ (x′ ) is a low-degree Q polynomial over a K-dimensional subspace V , we can expand each monomial of p′ in a form of i (w(i) · x), where w(i) is a standard basis vector of V . This implies that we can control the size of p′ as a function that only depends on K. Therefore, H satisfies the condition of Lemma 7.5, and we obtain a weak learning algorithm for H. We give the proof of Lemma 7.6 below. Proof of Lemma 7.6. Let L : Rd → Rd , be any invertible affine transformation. By the definition of a good MIM, we know that if H is (K, η)-good, then HL := {h(Lx) | h ∈ H} is also (K, η)-good. It suffices to give an algorithm such that for every input distribution D, if there is an 1/2-isotropic logconcave distribution that has low-degree moments approximately matching with Dx and optD (H) is small, then we can get a weak hypothesis over D. Let Dx′ be any 1/2-isotropic logconcave distribution. Let h(x) ∈ H such that h(x) = h(projV (x)), where V is a K-dimensional subspace. Write h(x) = g(Wx), for g ∈ G and W ∈ RK×d such that WW⊤ = IK×K . (V ) Denote by Dx the distribution of x′ = Wx for x ∼ Dx′ and by µ = Ex′ ∼D(V ) [x′ ]. Notice that x
(V )
Dx is a 1/2-isotropic logconcave distribution over RK . Without loss of generality, assume that µ = 0. Let B = BK−1 (0, 1/18). Since H is (K, η)-good, we know that there is some B ′ = BK−1 (v, η/9) such that B ′ ⊆ B and for every x′ ∈ B ′ , we have g(x′ ) ≡ 1 or g(x′ ) ≡ −1. Without loss of generality, we assume g(x′ ) ≡ −1. Let S ⊆ B ′ be the largest box contained in B ′ . We will next lower bound Prx′ ∼D(V ) [x′ ∈ S]. x
Notice that the largest box contained in BK−1 (0, 1/18) has volume 2−O(K log K) , which implies that Vol(S) ≥ η K 2−O(K log K) . By Fact A.1, we know that for every x′ ∈ S, the density DxV (x′ ) ≥ 2−8K . This implies that Z (V ) Pr [x′ ∈ S] = Dx (x′ )dx′ ≥ 2−8K Vol(S) ≥ η K 2−O(K log K) . (V )
x′ ∼Dx
S
Notice that the box S is an intersection of 2K halfspaces. By Theorem 7.7, there is a polynomial p(x′ ) with degree ℓ = exp(O(K 8 /α4 )) such that p(x′ ) ≤ 1{x′ ∈ S},
E (V ) x′ ∼Dx
[ 1{x′ ∈ S} − p(x′ ) ] ≤ α.
42
Since Prx′ ∼D(V ) [x′ ∈ S] ≥ η K 2−O(K log K) , by setting α = Prx′ ∼D(V ) [x′ ∈ S]/2, the polynomial x x p′ (x′ ) = Ex′ ∼D(V ) [p(x′ )] − p(x′ ) satisfies p′ (x′ ) > α for every x′ ̸∈ S. In particular, since g(x′ ) = −1 x for every x′ ∈ S, we know that p′ (x′ ) > α, when g(x′ ) = 1. In particular, we have p′ (Wx) > α whenever h(x) = 1 and Ex∼Dx′ [p′ (Wx)] = 0. Let w(1) , . . . , w(K) be the row vectors of W. Then we have ′
p (Wx) =
X
ci
i
ℓi Y
(w(j) · x) ,
j=1
with ℓi ≤ ℓ, for all i. Since Ex′ ∼D(V ) [|p′ (x′ )|] ≤ 2α, it follows from Fact A.12 that x
X i
|ci |
ℓi Y
(w(j) · x)
j=1
≤ exp(O(ℓ log ℓ))
E
[ p′ (x′ ) ] = exp(O(ℓ log ℓ)).
(V ) x′ ∼Dx
′ ,2 Dx
Let B = exp(O(ℓ log ℓ)). By Lemma 7.5, we have that when the input distribution D has its marginal distribution Dx approximately matching the moments of Dx′ , we can weakly learn H in time (dℓ)O(ℓ) , when Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] ≤ ∆ ≤ αB −1 2−O(ℓ) = exp(−O(ℓ log ℓ)) and opt ≤ (α/B)2 = exp(−O(ℓ log ℓ)). This completes our proof.
7.3
Weak Agnostic Learning via Sandwiching Polynomials
Although Theorem 7.4 gives agnostic partial learning algorithms for a broad class of MIMs under logconcave distributions, the parameters of the (k, ∆, β, C)-weak learner that we derive from the geometry of H are not good in general. As a result, the final learning algorithm only gives a reasonable hypothesis when opt is very small. In this section, we show that if a hypothesis class H admits low-degree L1 sandwiching polynomial approximation, then we are able to perform agnostic partial learning for such a hypothesis class to error (1 + c)opt, for any desired constant c > 0, with much better complexity. We formulate the class of functions we are interested in as follows. Definition 7.8 (MIM Classes with Low-Degree L1 -Sandwiching Polynomials). Let H be a hypothesis class over Rd and let ℓ : (0, 1] → Z+ be an integer-valued function. We say that H is a K-MIM that admits degree-ℓ L1 sandwiching polynomials, if the following conditions hold. 1. H is a family of K-Multi-index models (K-MIMs). That is, for every h ∈ H there is a Kdimensional subspace V ⊂ Rd such that h(x) = h(projV (x)). Equivalently, there is a class of Boolean functions G over RK such that for every h ∈ H there exists g ∈ G and a matrix W ∈ RK×d with WW⊤ = IK×K so that h(x) = g(Wx). 2. For any c ∈ (0, 1), for every g ∈ G, for every logconcave distribution Dx over RK , there is a pair of degree ℓ(c)-polynomials pl , pu such that for every x′ ∈ RK pl (x′ ) ≤ g(x′ ) ≤ pu (x′ ),
E [ pu (x′ ) − pl (x′ ) ] ≤ c.
x′ ∼Dx
Our main result of this subsection is the following theorem.
43
Theorem 7.9 (L1 -sandwiching Polynomial Approximation Implies QPTAS). Let H be a hypothesis class over Rd and let ℓ : (0, 1] → Z+ be an integer-valued function. If H is a family of K-MIMs that admits degree-ℓ L1 sandwiching polynomials, then there is an algorithm such that for every input distribution D over Rd × {0, ±1} of weight at least α, with logconcave marginal, for every c, ϵ ∈ (0, 1), it draws (dℓ)O(ℓ) polyK,c (1/(αϵ)) examples from D, runs in (dℓ)O(ℓ) 2polyK,c (log(1/(αϵ)) time, where ℓ = ℓ(c/6), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (1 + c)optDf (H) + ϵ. By Theorem 2.8, to prove Theorem 7.9, the central technical lemma we need is that any MIM that admits low-degree sandwiching polynomials is weakly learnable. Lemma 7.10. Let H be a hypothesis class over Rd and let ℓ : (0, 1] → Z+ be an integer-valued function. If H is a family of K-MIMs that admits degree-ℓ L1 sandwiching polynomials, then there is an algorithm such that for every c ∈ (0, 1) and for every input distribution D over Rd ×{±1} such that there is some 1/2-isotropic logconcave distribution Dx′ over Rd that satisfies for every unit vector w and i ∈ [2ℓ], Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < ∆ < exp(−O(Kℓ log ℓ)) with optD (H) ≤ (1 − c)/2, where ℓ = ℓ(c/3), it draws poly((ℓd)ℓ /c2 ) examples from D, runs in poly((ℓd)ℓ /c2 ) time and outputs a hypothesis ĥ with error errD (ĥ) < 1/2 − c2 exp(−O(ℓ log ℓ)) with probability at least 99%. We sketch the pseudo-code of the weak learning algorithm in Algorithm 5. Algorithm 5 PolynomialWeakLearning (Weak learning using a polynomial) Sample access to D, diameter parameter B > 0, advantage parameter β, degree of polynomial ℓ. 2: Output: ĥ : weak hypothesis over D.
1: Input:
3: h+ (x) := 1, h− (x) := −1, C := {h+ , h− }
e O(ℓ) B 2 /β 4 ). 4: Draw S ∼ D m , where m = O(d 5: Find a degree-ℓ polynomial p(x) maximizing
1 P 2 (x,y)∈S p(x) ≤ O(B), (x,y)∈S yp(x) subject to m
P
using convex programming. βp(x) 6: g(x) = proj[−1,1] . CB 7: for i ∈ [O(B 2 /β 2 )] do
Sample t′ uniformly from [−1, 1] and define hi (x) := sign(g(x) − t′ ) 9: C ← C ∪ {hi (x)} ′ e 2 /β 4 ). 10: Draw S ′ ∼ D m , where m′ = O(B P 11: return ĥ := argminh∈C (x,y)∈S ′ 1{h(x) ̸= y}. 8:
Intuitively, if h∗ is the optimal hypothesis in H, then E(x,y)∼D [h∗ (x)y] > c. Then, E(x,y)∼D [pu (x)y] is at most Ex∼Dx [pu (x) − pl (x)] far from E(x,y)∼D [h∗ (x)y]. Since the sandwiching polynomials only depend on the projection of x onto some k-dimensional subspace V , we can upper bound the sizes of these polynomials as a function of k. As a result, as long as Dx approximately matches its low-degree moment with some logconcave distribution Dx′ , Ex∼Dx [pu (x) − pl (x)] is close to Ex∼Dx′ [pu (x) − pl (x)]. This implies that E(x,y)∼D [pu (x)y] is at least Ω(c), which gives us a weak hypothesis, whenever opt < (1 − c)/2. Proof of Lemma 7.10. Let Dx′ be a 1/2-isotropic logconcave distribution. Let h∗ (x) be the optimal hypothesis in H such that errD (h∗ (x)) = opt = optD (H). Let V be a K dimensional subspace such (V ) that h∗ (x) = h(projV (x)). Write h∗ (x) = g(Wx), with WW⊤ = IK×K . We denote by Dx the distribution of x′ = Wx, x ∼ Dx′ 44
We notice that E(x,y)∼D [g(x′ )y] = E(x,y)∼D [h∗ (x)y] = 1 − 2opt > c. Let pu (x′ ), pl (x′ ) be upper and lower polynomials for g(x′ ) E
[ pu (x′ ) − pl (x′ ) ] ≤ c/3.
(V ) x′ ∼Dx
We write pu (x′ ) =
′ α l ′ |α|≤ℓ aα (x ) and p (x ) =
′ α |α|≤ℓ bα (x ) .
P
P
Since Ex′ ∼D(V ) [|pu (x′ )|] ≤ 2 and x
Ex′ ∼D(V ) [ pl (x′ ) ] ≤ 2, by Fact A.12, we have x
1/2 1/2 X X |aα |2 E [(x′ )2α ] ≤ exp(O(kℓ log ℓ)), |bα |2 E [(x′ )2α ] ≤ exp(O(Kℓ log ℓ)). |α|≤k
x∼Dx
x∼Dx
|α|≤k
Since Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < ∆, for w ∈ Sd−1 and i ∈ [2ℓ], we have E [pu (x′ )] − E ′ [pu (x′ )] =
x∼Dx
x∼Dx
X
aα ( E [(x′ )α ] − E ′ [(x′ )α ]) x∼Dx
α
≤
X
x∼Dx
|aα | ( E [(x′ )α ] − E ′ [(x′ )α ]) x∼Dx
α
≤ (2e)ℓ
X
x∼Dx
|aα | ∆ ≤ c/6 .
α
Similarly, we have E [pl (x′ )] − E ′ [pl (x′ )] =
x∼Dx
x∼Dx
X
bα ( E [(x′ )α ] − E ′ [(x′ )α ]) x∼Dx
α
≤
X
x∼Dx
|bα | ( E [(x′ )α ] − E ′ [(x′ )α ]) x∼Dx
α
≤ (2e)ℓ
X
x∼Dx
|bα | ∆ ≤ c/6 .
α
This implies that E (x,y)∼D
[h∗ (x)y] −
E
[pu (Wx)y] ≤
(x,y)∼D
E
[pu (Wx) − pl (Wx)]
(x,y)∼D
≤
E
[|pu (x′ ) − pl (x′ )|] + c/3 ≤ 2c/3 ,
(V ) x′ ∼Dx
which gives us E(x,y)∼D [ypu (Wx)] > c/3. By Fact A.10, we have Ex∼Dx′ [(pu (x))2 ] ≤ exp(ℓ log ℓ). Using polynomial regression [KKMS08], we can draw poly((ℓd)ℓ /c2 ) examples from D and run in poly((ℓd)ℓ ) time to find a polynomial p̂ such that E(x,y)∼D [y p̂(x)] > c/6 and Ex∼Dx [p̂2 (x)] ≤ exp(O(ℓ log ℓ)). By Lemma 7.1 and Fact 7.2, we can round the computed polynomial p̂(x) into a Boolean function ĥ(x) such that errD (ĥ) ≤ 1/2 − c2 exp(−O(ℓ log ℓ)). With Lemma 7.10, we can immediately obtain the proof of Theorem 7.9. Proof of Theorem 7.9. Notice that for every invertible affine transformation L : Rd → Rd , the class HL := {h(Lx) | h ∈ H} is also a family of K-MIMs that admits degree-ℓ L1 sandwiching polynomials. 45
This implies that in order to show that the class H is (ℓ, exp(−O(Kℓ log ℓ)), c exp(−O(ℓ log ℓ)), C)weakly learnable, we only need to show that given distribution D over Rd × {±1}, such that Dx is close to some 1/2-isotropic logconcave distribution Dx′ , and optD (H) is small, we can produce a weak hypothesis. For every h ∈ H, such that h(x) = g(Wx), with g ∈ G, let x′ = Wx. Then, we have h(x) = g(x′ ). By definition of ℓ, for every logconcave distribution Dx′ over Rk , and for every a ∈ (0, 1), there is a pair of polynomials pu and pl with degree ℓ(a) such that pl (x′ ) ≤ g(x′ ) ≤ pu (x′ ),
E [|pu (x′ ) − pl (x′ )|] ≤ a .
′ x∼Dx
For every c ∈ (0, 1), by choosing C = 2(1 + c), we have C/2 = (1 + c). By Lemma 7.10, there is an algorithm A such that given a distribution D over Rd ×{±1}, with optD (H) < 1/C = (1−c/(1+c))/2, it draws poly((ℓd)ℓ /c2 ) examples from D, runs in poly((ℓd)ℓ /c2 ) time and outputs a hypothesis ĥ with error errD (ĥ) < 1/2 − c2 exp(−O(ℓ log ℓ)) with probability at least 99%, whenever there is some 1/2-isotropic logconcave distribution Dx′ over Rd that satisfies Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < exp(−O(Kℓ log ℓ)). Here ℓ = ℓ(c/(3(1 + c))) ≤ ℓ(c/6). This means the class H is (2ℓ, exp(−O(Kℓ log ℓ)), c2 exp(−O(ℓ log ℓ)), C)-weakly learnable. By Theorem 2.8, There is an algorithm such that for every distribution D over Rd × {0, ±1}, such that Dx is a logconcave distribution, and W (D) ≥ α, and for every ϵ, c ∈ (0, 1), it draws (dℓ)O(ℓ) polyK,c (1/(αϵ)) samples, runs in (dℓ)O(ℓ) 2polyK,c (log(1/(αϵ)) time, where ℓ = ℓ(c/6), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (1 + c)optDf (H) + ϵ.
7.4
Quasi-PTAS for Agnostic Partial Learning of Multi-index Models
As an important application of Theorem 7.9, we obtain a quasi-polynomial time approximation scheme (QPTAS) for a broad class of MIMs. The main tool we use is the polynomial approximation theory developed in [KKM13], which gives low-degree L1 sandwiching polynomials for a broader class of MIMs. We state this theorem as follows. Theorem 7.11 (Extension of Theorem 6 in [KKM13]). Let Dx be an isotropic logconcave distribution over Rd and let f : Rd → {0, 1}. For every ϵ, δ > 0, there is a pair of polynomials pl , pu of degree ℓ = exp(O(d4 /δ 4 + d2 log2 (d/ϵ))), such that pl (x) ≤ f (x) ≤ pu (x),
E [ pu (x) − pl (x) ] ≤ ϵ + 2 Pr [Sδ ],
x∼Dx
x∼Dx
where Sδ = {u ∈ Rd | ∃v ∈ Rd : ∥u − v∥2 ≤ δ, f (u) ̸= f (v)}. We remark that the original statement in [KKM13], only claims a slightly weaker guarantee— namely, that there is a degree-ℓ polynomial p such that ∥p − f ∥Dx ,1 is bounded. However, obtaining L1 -sandwiching polynomials with qualitatively the same degree is implicitly implied from the proof. We refer to Appendix C for the details. Given Theorem 7.11, the QPTAS can be obtained immediately as a corollary of Theorem 7.9. For example, by Theorem 7.7, the class of functions of K halfspaces, n o HK,d = h(x) = g(h1 (x), . . . , hK (x)) | g : {±1}K → {±1}, hi (x) = sign(w(i) · x + ti ), i ∈ [K] admits exp(O(K 8 /c4 ))-degree L1 -sandwiching polynomials, which immediately implies Theorem 7.12.
46
Theorem 7.12 (QPTAS for Agnostically Learning Functions of Halfspaces). There is an algorithm that for any distribution D over Rd × {0, ±1} with Dx logconcave and W (D) ≥ α has the following performance guarantee. Given K ∈ Z+ and ϵ, c ∈ (0, 1), the algorithm draws (dℓ)O(ℓ) polyK,c (1/(αϵ)) samples from D, it runs in (dℓ)O(ℓ) 2polyK,c (log(1/(αϵ)) time, where ℓ = exp(O(K 2 /c)4 )), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (1 + c)optDf (HK ) + ϵ. A similar bound can also be obtained for the class of low-dimensional and low-degree Polynomial Threshold Functions (PTFs), defined as n o PK,m = h(x) = sign(p(Wx)) | W ∈ RK×d , WW⊤ = IK×K , p : RK → R, deg(p) ≤ m . Theorem 7.13 (QPTAS for Agnostically Learning Low-Dimensional PTFs). There is an algorithm that for any distribution D over Rd × {0, ±1} with Dx logconcave and W (D) ≥ α has the following performance guarantee. Given K, m ∈ Z+ and ϵ, c ∈ (0, 1), the algorithm draws (dℓ)O(ℓ) polyK,m,c (1/(αϵ)) samples from D, it runs in (dℓ)O(ℓ) 2polyK,m,c (log(1/(αϵ)) time, where ℓ = exp(O(mK 2Õ(K) logK (1/c)/c)4 )), and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ (1 + c)optDf (PK,m ) + ϵ. Theorem 7.13 can be seen as a direct corollary of Theorem 7.11 and the result by [Lot15], which gives an explicit bound on the volume of examples in Rd that are δ-close to the zero set of a low-degree polynomial. We refer to Appendix C for details.
7.5
Agnostically Learning Partial Linear Classifiers
In this section, we study the problem of agnostic partial learning halfspaces under logconcave distributions. Let H = {hw,t (x) = sign(w · x + t) | w ∈ Sd−1 , t ∈ R} denote the class of halfspaces on Rd . By Theorem 7.12, H already admits an agnostic partial learner that achieves (1 + c)opt + ϵ error, for any desired constant c > 0, with complexity (ℓd)ℓ 2polyc (log(1/ϵ)) , with ℓ = exp(O(1/c4 )). The generic approach establishing this bound leads to a a polynomial dependence of fairly large degree in the sample and computational complexities, as it requires sufficiently accurate sandwiching polynomials. e In this section, we give agnostic partial learners for halfspaces that achieve error O(opt Df (H)) + ϵ and O(optDf (H)) + ϵ with quantitatively much better complexities. Formally, we establish the following result. Theorem 7.14. There is an algorithm such that for every distribution D over Rd × {0, ±1} such that Dx is logconcave and W (D) ≥ α, for every ϵ ∈ (0, 1), it draws O(d4 ) poly(1/(αϵ)) samples, runs in poly(d)2poly(log(1/(αϵ)) time and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ O(optDf (H)) + ϵ. An implication of Theorem 7.14 is that to achieve O(opt) + ϵ error for halfspace learning, we can avoid using the framework of polynomial approximation, which requires the algorithm to compute higher moment tensor of the marginal distribution, but only make use of information from the first four moments of the marginal distribution. Although this observation gives us reasonably good sample complexity, that is polynomial with respect to all input parameters, since we need to invoke Theorem 5.1 for our learner, this prevents us from getting a fully-polynomial time algorithm. Our second main result in this section shows that by making use of the first two moments of the marginal distribution, we can learn halfspaces within error log8 (1/α))Õ(optDf (H)) + ϵ in fully-polynomial time. 47
Theorem 7.15. There is an algorithm such that for every distribution D over Rd × {0, ±1} such that Dx logconcave and W (D) ≥ α, for every ϵ ∈ (0, 1), it draws O(d2 ) poly(1/(αϵ)) samples, runs in poly(d, 1/(αϵ)) time and outputs a hypothesis ĥ such that with probability at least 99%, errDf (ĥ) ≤ O(log8 (1/(αϵ))optDf (H) + ϵ. Remark 7.16. We remark that if optDf (H) ≤ ϵ, errDf (ĥ) ≤ log8 (1/α)Õ(optDf (H)) + ϵ. On the other hand, if optDf (H) > ϵ, we can choose to run the algorithm by with ϵ′ = Θ(optDf (H)), which gives errDf (ĥ) ≤ log8 (1/α)Õ(optDf (H)) + ϵ. To prove the above two theorems, we will prove the following structural result (Lemma 7.17). Roughly speaking, if the first four moments of the marginal distribution Dx are close to those of some logconcave distribution, then for every halfspace, at least a constant fraction of the examples are a constant distance from its decision boundary. On the other hand, if Dx only has its first two moments close to some logconcave distribution Dx′ , but it can be seen as a conditional distribution of Dx′ over some event with mass α, then at least Ω(log−4 (1/α)) fraction of the examples are far from its decision boundary. Lemma 7.17. Let Dx be a distribution over Rd . Then the following holds. 1. Suppose that there is some 1/2-isotropic logconcave distribution Dx′ , such that for a unit vector w ∈ Sd−1 and i ∈ [4], Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < 1/64, then for every halfspace of the form h(w,t) (x) = sign(w · x + t), Prx∼Dx [|w · x + t| > 1/4] > 1/C, for some universal constant C > 1. 2. Suppose that there is some 1/2-isotropic logconcave distribution Dx′ , such that for a unit vector w ∈ Sd−1 , for i ∈ [2], Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < 1/64, and Dx is a conditional distribution of Dx′ over some event A such that Prx∼Dx′ [A] = α, then for every halfspace of the form h(w,t) (x) = sign(w · x + t), Prx∼Dx [|w · x + t| > 1/4] > Ω(log−4 (1/α)). Proof of Lemma 7.17. Fix a halfspace h(w,t) (x) = sign(w · x + t). Since Dx′ is a mean-zero, 1/2 isotropic logconcave distribution, by Fact A.9, we have Ex∼Dx′ [(w·x)2 ] ≤ 5/2 and Ex∼Dx′ [(w·x)4 ] ≤ c for some constant c > 1. Let ∆ = 1/64. We consider two cases for the threshold t. In the first case, we assume |t| > 4. By Chebyshev’s inequality and the moment assumption on Dx , we have Prx∼Dx [|w · x| > 3] ≤ (2.5 + ∆)/9 ≤ 1/3. This implies that with probability at least 2/3, we have |w · x| < 3. Since |t| > 4, if |w · x| < 3, it must be the case, where |w · x + t| > 1. This implies that with probability at least 2/3, |w · x + t| > 1. In the second case, we assume |t| < 4. By Paley–Zygmund’s inequality, we have for every θ ∈ (0, 1), " # r (Ex∼Dx [(w · x + t)2 ])2 Pr |w · x + t| > θ E [(w · x + t)2 ] ≥ (1 − θ)2 . (6) x∼Dx x∼Dx Ex∼Dx [(w · x + t)4 ] We will next lower bound Ex∼Dx [(w · x + t)2 ] and upper bound Ex∼Dx [(w · x + t)4 ] through the moment information of w · x. Denote by µw := Ex∼Dx′ [w · x], Since |t| < 4, we have E [(w · x + t)2 ] = E [(w · x − µw )2 + (t + µw )2 + 2(t + µw )(w · x − µw )] ≥ 1/8.
x∼Dx
x∼Dx
Since Ex∼Dx [(w · x)2 ] ∈ [1/2 − ∆, (5/2) + ∆], by Hölder’s inequality, we have r r E [(w · x)3 ] ≤ E [(w · x)2 ] E [(w · x)4 ] ≤ ((5/2) + ∆) E [(w · x)4 ]. x∼Dx
x∼Dx
x∼Dx
48
x∼Dx
If Ex∼Dx [(w · x)4 ] − Ex∼Dx′ [(w · x)4 ] < 1/64, then we have E [(w · x + t)4 ] = E [(w · x)4 + t4 + 6(w · x)2 t2 + 4t(w · x)3 + 4t3 (w · x)] ≤ C ′ ,
x∼Dx
x∼Dx
for some constant C ′ > 1. Combine with (6), with θ = 1/2, we have Prx∼Dx [|w · x + t| > 1/4] ≥ 1/C, for some C > 1. This proves item 1. To prove item 2, by Lemma 5.7,we know that there is a degree-4 polynomial Q(x), with Ex∼Dx′ [Q2 (x)] ≤ O(log8 (1/α)) such that E [(w · x)4 ] = E ′ [Q(x)(w · x)4 ] ≤
x∼Dx
r
x∼Dx
E [Q2 (x)] E ′ [(w · x)8 ] ≤ O(log4 (1/α)),
′ x∼Dx
x∼Dx
which implies E [(w · x + t)4 ] = E [(w · x)4 + t4 + 6(w · x)2 t2 + 4t(w · x)3 + 4t3 (w · x)] ≤ O(log4 (1/α)).
x∼Dx
x∼Dx
Combine with (6), with θ = 1/2, we have Prx∼Dx [|w · x + t| > 1/4] ≥ Ω(log−4 (1/α)). With Lemma 7.1 and Lemma 7.17, we can immediately obtain weak learning algorithms for learning halfspaces. We summarize our weak learning algorithm as Algorithm 6. Algorithm 6 HalfspaceWeakLearning (Weak learning halfspaces under structured distributions) 1: Input: Sample access to D, diameter parameter B > 0, advantage parameter β. 2: Output: ĥ : weak hypothesis over D. 3: h+ (x) := 1, h− (x) := −1, C := {h+ , h− } 4: Draw S ∼ D m a set of m = Õ(dB 4 /β 4 ) i.i.d. examples from D 5: Find w ∈ Bd−1 , t ∈ [−B, B] that maximize
P
(x,y)∈S (y(w · x + t)) through linear regression and
define F (x) := w· x + t. βF (x) 6: g(x) = proj[−1,1] 16B 2 : Rd → [−1, 1] 7: for i ∈ [O(B 2 /β 2 )] do
Sample t′ uniformly from [−1, 1] and define hi (x) := sign(g(x) − t′ ) 9: C ← C ∪ {hi (x)} 10: Draw S ′ ∼ D m a set of m = Õ(dB 4 /β 4 ) i.i.d. examples from D P 11: return ĥ := argminh∈C (x,y)∈S ′ 1{h(x) ̸= y}. 8:
We first show that there is a polynomial time (4, 1/64, Ω(1), O(1))-weak learner for the class of halfspaces, which immediately implies Theorem 7.14 using Theorem 2.8. Lemma 7.18. There is an algorithm A that draws O(d) examples, runs in poly(d) time and (4, 1/64, Ω(1), O(1))-weakly learns the class of halfspaces with probability 99%. Proof of Lemma 7.18. Since the class of halfspaces is closed under affine transformations, we show that by setting the input parameter B = O(1), Algorithm 6 outputs a weak hypothesis with Ω(1) advantage in poly(d) time. Let D be the input distribution over Rd ×{±1}. Let Dx′ , be a 1/2-isotropic logconcave distribution, such that for any unit vector w ∈ Sd−1 and, Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < 1/64, i ∈ [4]. Let hw∗ ,t∗ = sign(w∗ · x + t∗ ) be the halfspace such that errD (hw∗ ,t∗ ) = opt < 1/C, for some constant
49
C > 1. We first show that if |t∗ | > 4, then a constant hypothesis h+ (x) = 1 or h− (x) = −1 must have a constant advantage. Without loss of generality, we assume that t∗ > 4. By assumption and Chebyshev’s inequality, we have Pr [hw∗ ,t∗ (x) = −1] = Pr [w∗ · x < −4] ≤ 1/4.
x∼Dx
x∼Dx
Since opt < 1/C, we know that Pr(x,y)∼D [y = −1] ≤ Prx∼Dx [hw∗ ,t∗ (x) = −1] + opt < 2/5. This implies that h+ has 1/10 advantage over D. So, in the rest of the proof, we will assume |t∗ | < 4. By Lemma 7.17, we know that Prx∼Dx [|w∗ · x + t∗ | > 1/4] > 1/C ′ , for some universal constant ′ C . Let F ∗ (x) = w∗ · x + t∗ , then Ex∼Dx [hw∗ ,t∗ (x)F ∗ (x)] > 1/(4C ′ ). By the assumption on the moment information of Dx , and |t∗ | < 4, we know that Ex∼Dx [(F ∗ (x))2 ] < O(1). By Lemma 7.1, we know that when opt < 1/C, for some constant C > 1, we have E(x,y)∼D [yF ∗ (x)] > 2β, for some β > 1/C. Thus, using standard sample complexity analysis of linear regression (see, e.g., [BM02],) by running a linear regression over m = Õ(d/β 2 ) examples drawn from D, we are able to find an affine function F (x) = w · x + t, w ∈ Bd−1 , |t| ≤ 4, such that E(x,y)∼D [yF (x)] ≥ E(x,y)∼D [yF ∗ (x)] − β ≥ β. By Lemma 7.1 and Fact 7.2, we know that using F (x) and a random threshold t′ sampled uniformly from [−1, 1], we can find a boolean function hi (x) that has Ω(1) advantage with respect to D, with probability Ω(1). Thus, by randomly sampling t′ , Ω(1) times, Algorithm 6 finds such a weak hypothesis with high probability. Thus, by running a standard hypothesis testing approach, Algorithm 6 outputs a weak hypothesis as the statement. Combining Lemma 7.18 and Theorem 2.8, we immediately get a quasi-polynomial time algorithm that agnostically learns a partial halfspace to O(opt) + ϵ error under any logconcave distribution and prove Theorem 7.14. We remark that the quasi-polynomial time of the algorithm is due to the use of a quasi-polynomial time moment discrepancy finder Algorithm 4 for the 4th moment. If we have a faster algorithm for finding moment discrepancies, then the time complexity of the learning algorithm in Theorem 7.14 can be improved. On the other hand, since we can always efficiently find the moment discrepancies for the first two moments through mean estimation and singular value decomposition, we will give a polynomial time algorithm for agnostic partial learning halfspaces with Õ(opt) + ϵ error. To begin with, we give the weak learning algorithm for agnostic learning halfspaces under assumptions on their first two moments. Lemma 7.19. Let D be a distribution over Rd × {±1} such that there is a 1/2-isotropic logconcave distribution Dx′ , such that Ex∼Dx [(w · x)i ] − Ex∼Dx′ [(w · x)i ] < 1/64, for i ∈ [2] and Dx is a conditional distribution of Dx′ over some event A such that Prx∼Dx′ [A] = α. Let opt = inf h∈H errD (h), where H is the class of halfspaces. Suppose opt < c0 log−8 (1/α), for a sufficiently small constant c0 > 0, then Algorithm 6 draws poly(d, log(1/α)) examples from D, runs in poly(d, log(1/α)) time and outputs a hypothesis ĥ such that errD (ĥ) < 1/2 − polylog−1 (1/α) with probability at least 99%. Proof of Lemma 7.19. Let hw∗ ,t∗ be the optimal halfspace under D. We first show that if |t∗ | > 4, then a constant hypothesis h+ (x) = 1 or h− (x) = −1 must have a constant advantage. Without loss of generality, we assume that t∗ > 4. By assumption and Chebyshev’s inequality, we have Pr [hw∗ ,t∗ (x) = −1] = Pr [w∗ · x < −4] ≤ 1/4 .
x∼Dx
x∼Dx
50
Since opt < log−8 (1/α), we know that Pr(x,y)∼D [y = −1] ≤ Prx∼Dx [hw∗ ,t∗ (x) = −1] + opt < 2/5. This implies that h+ has 1/10 advantage over D. So, in the rest of the proof, we will assume |t∗ | < 4. By Lemma 7.17, we know that Prx∼Dx [|w∗ · x + t∗ | > 1/4] > 1/Ω(log4 (1/α)). Letting F ∗ (x) = ∗ w · x + t∗ , we have Ex∼Dx [hw∗ ,t∗ (x)F ∗ (x)] > 1/Ω(log4 (1/α)). By the assumption on the moment information of Dx , and |t∗ | < 4, we know that Ex∼Dx [(F ∗ (x))2 ] < O(1). By Lemma 7.1, since Ex∼Dx [h∗ (x)F ∗ (x)] ≥ Ω(log−4 (1/α)) and Ex∼Dx [(F ∗ (x))2 ] ≤ O(1), we know that when opt ≤ c0 (1 + log(1/α))−8 for some sufficiently small universal constant c0 > 0, it holds E(x,y)∼D [yF ∗ (x)] ≥ 2β, where β = Ω((1 + log(1/α))−4 ). Thus, by the same linear regression argument, we find an affine function F (x) = w · x + t satisfying E(x,y)∼D [yF (x)] ≥ β. By the corrected clipping step in Algorithm 6 and Fact 7.2, we obtain a weak hypothesis with advantage Ω(β 2 ) = Ω((1 + log(1/α))−8 ). Proof of Theorem 7.15. We will use Algorithm 6 as the weak learning algorithm Aw and singularvalue decomposition as a moment discrepancy finding algorithm Am used in Algorithm 1. We notice that given any 1/2-isotropic logconcave distribution Dx with weight α ∈ (0, 1), Am is a (2, 1/64, 1/2) discrepancy finder for the distribution Dx and (Df )x with sample complexity poly(d/α) and time complexity poly(d/α). For every α ∈ (0, 1) and ϵ ∈ (0, 1), let D be any distribution over Rd × {±1, 0}, with Dx a logconcave distribution, W (D) ≥ αϵ and optDf (H) < 1/Ω(log8 (1/(αϵ))). Denote by U, the partition generated by Algorithm 1, after it terminates. By Lemma 4.5, we know that there is a constant a > 0, such that the choice of ξ = (αϵ)a satisfies the following property. P Let B = {R ∈ U | Pr(x,y)∼Df [x ∈ R] ≤ ξ}. Then, R∈B Pr(x,y)∼Df [x ∈ R] ≤ 1/10. We denote by G = U \ B and denote by M ⊆ G the set of R, where a random binary function hR is assigned. By definition, for each R ∈ G, we have Pr(x,y)∼Df [x ∈ R] > ξ. This implies that the weight of DR is at least (αϵ)1+a . P We show that R∈M Pr(x,y)∼Df [x ∈ R] is small. By Lemma 7.19, for each R ∈ M, we have [h∗ (x) ̸= y | x ∈ R] > Ω(log−8 (1/(αϵ))),
Pr (x,y)∼Df
P where h∗ is the hypothesis in H that achieves optDf . Now suppose that R∈M Pr(x,y)∼Df [x ∈ R] > 1/2, then we have X errDf (h∗ ) ≥ Pr [x ∈ R] Pr [h∗ (x) ̸= y | x ∈ R] > Ω(log−8 (1/(αϵ))), R∈M
(x,y)∼Df
(x,y)∼Df
which gives a contradiction to the fact that optDf <P1/Ω(log8 (1/(αϵ))), for a sufficiently small implicit constant in the noise bound. Thus, we have R∈G\M Pr(x,y)∼Df [x ∈ R] > 2/5. Since for each R ∈ G \ M, we have Pr(x,y)∼Df [hR (x) ̸= y | R] < 1/2 − Ω(log−8 (1/(αϵ))), we know that errDf (ĥ) ≤ 1/2 − Ω(log−8 (1/(αϵ))). As a summary, for every α ∈ (0, 1) and ϵ ∈ (0, 1), let D be any distribution over Rd × {±1}, with Dx a logconcave distribution, W (D) ≥ αϵ, and optDf (H) < 1/Ω(log8 (1/(αϵ))), Algorithm 1 runs in poly(d/(αϵ)) time and outputs a hypothesis ĥ with error at most 1/2 − Ω(log−8 (1/(αϵ))). By Theorem 3.2, we know that every distribution D over Rd × {0, ±1}, such that Dx is a logconcave distribution, and Pr(x,y)∼D [y ̸= 0] ≥ α, for every ϵ ∈ (0, 1), we can call Algorithm 1 16 e log (1/(αϵ)) times to get a hypothesis with error at most O log8 (1/(αϵ))optD (H) + ϵ . O ϵ
f
51
Remark 7.20 (Polynomial-time testable learning). The algorithm of Theorem 7.15 extends to the testable setting by supplementing the first two moment checks with a fourth-moment upper bound test. This additional check is necessary because matching the first two moments alone does not certify the consequence of conditioning used in Lemma 7.19. We follow the truncation and rejection rules of Section 6. In each cell of the partition, let P denote the reference logconcave distribution, let Q denote the truncated effective marginal used for all moment checks, and let ρ lower-bound its conditioning weight. Set L = log(e/ρ), ϕ(x) = x ⊗ x, and Mν = Ex∼ν [ϕ(x)ϕ(x)⊤ ], for a distribution ν. We estimate MQ and MP to sufficiently small operator errors O(1) and O(L−4 ), respectively, and cQ ⪯ CL4 M cP + I. Completeness follows from Hölder’s inequality and Fact A.10, which reject unless M 2 4 give Ex∼Q [p ] ≤ CL Ex∼P [p2 ] for every quadratic polynomial p when Q is obtained by conditioning or thinning P with weight at least ρ. Conversely, acceptance certifies Ex∼Q [(w · x)4 ] = O(L4 ) for every unit vector w, by applying the matrix inequality to w ⊗ w. For the bounded-threshold optimal affine score F ∗ = w∗ · x + t∗ considered in Lemma 7.19, the first two moment conditions and this fourth-moment bound imply ∥F ∗ ∥L1 (Q) ≥ ∥F ∗ ∥3L2 (Q) /∥F ∗ ∥2L4 (Q) = Ω(L−2 ). Thus, Lemma 7.1 yields Boolean advantage Ω(L−4 ) whenever the local optimal error is at most cL−4 , using its correlation-dependent clipping g(x) = clip[−1,1] (c′ L−2 F (x)) in Algorithm 6. The additional test involves matrices of dimension d2 ; boundedness of the truncated samples and the reference moment bounds permit their estimation and comparison in polynomial time. Consequently, the degree-two partitioning and boosting arguments give a testable learner with the same error guarantee and polynomial sample and time complexity.
7.6
Agnostic Multiclass Linear Classification via Partial Linear Classification
In this section, we consider the problem of agnostic partial learning of multiclass linear classifiers under logconcave distributions. In a multiclass classification problem, the label of an example is not from {±1}, but from [K] for some K > 2. A natural paradigm for solving a multiclass classification task is to reduce the problem to binary classification. Roughly speaking, for every pair of labels (i, j), we want to learn a hypothesis hij to tell whether an example is more likely to have label i or label j. By combining these binary classifiers, we obtain a reasonably robust multiclass classifier. We remark that even though Dx might be a well-behaved distribution, if we consider examples whose labels lie in {i, j}, their marginal distribution can be significantly different from the underlying distribution on the entire space; e.g., a Gaussian or logconcave , under which efficient learning algorithms were previously known in the literature. Fortunately, our notion of agnostic partial learning provides a direct way to address this technical issue. As concrete applications, for multiclass linear classification, we give a fully-polynomial time algorithm that achieves error Õ(Kopt) + ϵ over any logconcave distribution. Furthermore, we show that by allowing the runtime to become quasi-polynomial in K/ϵ, we can get an algorithm with error O(K)opt + ϵ. As an important application of agnostic partial linear classification, we give the first quasipolynomial and polynomial time algorithm for agnostic multiclass linear classification under logconcave distribution. To begin with, we introduce the learning problem formally. Definition 7.21 (Agnostic Partial Learning Multiclass Linear Classifiers). Let K ∈ Z+ , K ≥ 2. Define MK,d = {hW (x) : Rd → [K] | hW (x) = argmaxi∈[K] (Wi · (x, 1)), W ∈ Rd+1×K } be the class of K-class linear classifier(K-MLC). Let D be a distribution over Rd × [K] ∪ {0} such that Dx is logconcave. Denote by Df the conditional distribution of D over the event E := {(x, y) | y ̸= 0}. Let h : Rd → [K] be a multiclass classifier and define errDf (h) = Pr(x,y)∼Df [h(x) ̸= y]. Denote by optDf (MK,d ) = inf h∈MK,d errDf (h). Given a set of i.i.d. sample access to D, and parameter ϵ, δ ∈ (0, 1), the goal of an algorithm is to output a hypothesis ĥ such that with probability at least 52
1 − δ, errDf (ĥ) ≤ F (optDf (MK,d )) + ϵ for some function F : (0, 1) → (0, 1). The main result of this section is the following theorem. Theorem 7.22 (Agnostic Partial Learning K-MLC under Logconcave Distributions). Consider the problem of agnostic partial learning multiclass linear classifiers under logconcave distributions. 1. There is an algorithm A such that for every input distribution D over Rd × {[K] ∪ {0}}, with W (D) ≥ α such that Dx is a logconcave distribution, it draws poly(dK/(αϵ)) samples from D, runs in poly(d)2polylog(K/(αϵ)) time and outputs a hypothesis ĥ : Rd → [K], such that with probability at least 99%, errDf (ĥ) < O(KoptDf (MK,d )) + ϵ, where MK,d is the family of K-class linear classifiers. 2. There is an algorithm A such that for every input distribution D over Rd × {[K] ∪ {0}}, with W (D) ≥ α such that Dx is logconcave, it draws poly(dK/(αϵ)) samples from D, runs in poly(dK/(αϵ)) time and outputs a hypothesis ĥ : Rd → [K], such that with probability at least 99%, errDf (ĥ) < O(log8 (K/(αϵ)))(KoptDf (MK,d )) + ϵ, where MK,d is the class of K-class linear classifier. Algorithm 7 MulticlassReduction (Multiclass classification using binary classification) 1: Input: Sample access from D, accuracy parameter ϵ > 0, halfspace learning algorithm A. 2: Output: ĥ : Rd → [K] hypothesis over D. 3: for i, j ∈ [K], i < j do
Define Dij over Rd × {i, j, 0} sampled as follows. Draw (x, y) ∼ D, if y ∈ {i, j}, return (x, y), otherwise, return (x, 0) 5: Run A over input distribution Dij with accuracy parameter ϵ and get hypothesis ĥij : Rd → {i, j} and set ĥji = ĥij (If the rate of seeing label i, j is small, return an arbitrary classifier) P 6: Return hypothesis ĥ(x) = argmaxi∈[K] s(x, i), where s(x, i) = j̸=i 1{ĥij (x) = i}.
4:
Our algorithm for learning multiclass linear classifiers is obtained via a simple reduction to the binary case. As already noted, our reduction crucially leverages our partial learning framework. Lemma 7.23 (Reduction of MLC to Binary Linear Classification). Suppose there is an algorithm A for the problem of agnostic partial learning the class of halfspaces H, such that for every input distribution D over Rd × {±1, 0} and ϵ ∈ (0, 1), it draws M (ϵ) examples, runs in T (ϵ) time and outputs a hypothesis ĥb : Rd → {±1} with errD (ĥb ) < C(ϵ)(optD (H)) + ϵ, where C(ϵ) > 0 is some constant that only depends on ϵ. Then there is an algorithm for the problem of agnostic partial learning of multiclass linear classifiers such that for every input distribution D × {[K] ∪ {0}} and ϵ ∈ (0, 1), it draws O(K 2 M (ϵ)) examples, runs in O(K 2 T (ϵ)) time and outputs a hypothesis ĥ : Rd → [K] such that errD (ĥ) ≤ KC(ϵ)(optD (MK,d )) + K 2 ϵ. Proof of Lemma 7.23. We show that Algorithm 7 satisfies the statement of Lemma 7.23. The sample and time complexities of Algorithm 7 follow directly. In the rest of the proof, we establish the correctness of Algorithm 7. Let hW be any multiclass linear classifier. For every i = ̸ j ∈ [K], let hij (x) = sign((Wi −Wj )·(x, 1)) be a halfspace. Notice that for every x and i ∈ [K], hW (x) = i if and only if hij (x) = 1, for all j ̸= i. To simplify the notation, we will also treat the label of hij in {i, j}, where hij (x) = i if and only if the halfspace predicts +1. 53
For every i = ̸ j, we define distribution Dij over Rd × {i, j, 0} that is sampled in the following way. Draw (x, y) ∼ D, if y ∈ {i, j}, return (x, y), otherwise return (x, 0). Let h∗ = hW ∗ be the multiclass linear classifier that achieves optimal error opt over D and let h∗ij = sign((Wi∗ − Wj∗ ) · (x, 1)). For each pair of i ̸= j, we have errDij (h∗ij ) =
Pr [h∗ij (x) ̸= y, y ∈ {i, j}] X = Pr [h∗ij (x) ̸= y, h∗ (x) = r, y ∈ {i, j}] (x,y)∼D
r∈[K]
≤
(x,y)∼D
Pr [h∗ (x) = i, y = j] + (x,y)∼D
(x,y)∼D
= optij + optji +
X
X
Pr [h∗ (x) = j, y = i] +
r̸∈{i,j}
Pr [h∗ (x) = r, y ∈ {i, j}] (x,y)∼D
(optr,i + optr,j ),
r̸∈{i,j}
where optr,i = Pr(x,y)∼D [h∗ (x) = r, y = i] This implies by running A over Dij , it draws M (ϵ) examples, P runs in T (ϵ) time, and outputs a hypothesis ĥij such that errDij (ĥij ) ≤ C(ϵ)(optij + optji + r̸∈{i,j} (optr,i + optr,j )) + ϵ. Using the O(K 2 ) learned ĥij , we define the function ĥ as follows. For each x and each i ∈ [K], P we define s(x, i) = j̸=i 1{ĥij (x) = i} and return ĥ(x) = argmaxi∈[K] s(x, i). We have errD (ĥ) =
K X j=1
=
Pr [ĥ(x) ̸= y, y = j] ≤ (x,y)∼D
1 X 2
(i,j):i̸=j
K X X j=1 i̸=j
Pr [ĥji (x) ̸= j, y = j]
(x,y)∼D
Pr [ĥij (x) ̸= y, y ∈ {i, j}]
(x,y)∼D
X 1 X ≤ C(ϵ)(optij + optji + (optr,i + optr,j )) + ϵ 2 (i,j):i̸=j r̸∈{i,j} K X K X K X K X X X 1 1 optr,i + optr,j + K 2 ϵ ≤ C(ϵ) 2 2 i=1 j=1 r̸=i
i=1 j=1 r̸=j
≤ KC(ϵ)(optD (MK,d )) + K 2 ϵ, P where the last inequality holds by the fact that (i,j):i̸=j optij = opt. We now make use of Lemma 7.23 to prove Theorem 7.22. Proof of Theorem 7.22. Recall that for every hypothesis h : Rd → [K] and for every D over Rd × [K] ∪ {0}, the global error satisfies that errDf (h) = errD (h)/W (D). Since W (D) ≥ α, this implies that for some ϵ′ that we will choose later, if we get a hypothesis such that errD (ĥ) ≤ KC(ϵ′ )(optD (MK,d )) + K 2 ϵ′ errDf (ĥ) ≤ KC(ϵ′ )(optDf (MK,d )) + K 2 ϵ′ /α. By Lemma 7.23, by setting ϵ′ = αϵ/K 2 , suppose we have an algorithm that under every distribution D′ over Rd × {0, ±1}, output a boolean hypothesis hb : Rd → {±1}, such that errD′ (hb ) ≤
54
C(ϵ′ )(optD′ (H)) + ϵ′ , which means errDf′ (hb ) ≤ C(ϵ′ )(optD′ (H)) + (ϵ/K 2 ). then Algorithm 7, gives f
a hypothesis ĥ such that errDf (ĥ) ≤ KC(ϵ′ )(optDf (MK,d )) + ϵ. This implies that by running the algorithm in Theorem 7.14 and Theorem 7.15 O(K 2 ) times, we can get a hypothesis ĥ, with error err(ĥ) = O(KoptDf (MK,d ))+ϵ and err(ĥ) = O(log8 (K/(αϵ)))(KoptDf (MK,d ))+ ϵ, respectively. This concludes the proof of Theorem 7.22. AI Discloure The authors proved all theorems and wrote all proofs in this work. The version submitted to FOCS 2026 in early April was prepared entirely without AI input. AI was used only during the subsequent preparation of this full version to audit the existing proofs and algorithms for minor errors and edge cases, and to identify typographical errors. The authors reviewed the feedback and incorporated minor corrections. AI was not used to derive any results or construct any proofs.
References [ABL17]
P. Awasthi, M. F. Balcan, and P. M. Long. The power of localization for efficiently learning linear separators with noise. J. ACM, 63(6):50:1–50:27, 2017.
[AK18]
L. M. Arutyunyan and E. D. Kosov. Deviation of polynomials from their expectations and isoperimetry. 2018.
[APS26]
J. Alman, S. Patel, and R. A. Servedio. Learning functions of halfspaces. 2026, 2603.08700. URL https://arxiv.org/abs/2603.08700.
[AV06]
R. Arriaga and S. Vempala. An algorithmic theory of learning: Robust concepts and random projection. Machine learning, 63:161–182, 2006.
[BK97]
A. Blum and R. Kannan. Learning an intersection of a constant number of halfspaces over a uniform distribution. Journal of Computer and System Sciences, 54(2):371–380, 1997.
[BM02]
P. L. Bartlett and S. Mendelson. Rademacher and gaussian complexities: Risk bounds and structural results. Journal of machine learning research, 3(Nov):463–482, 2002.
[BS71]
J. Bochnak and J. Siciak. Polynomials and multilinear mappings in topological vectorspaces. Studia Mathematica, 39(1):59–76, 1971.
[CW01]
A. Carbery and J. Wright. Distributional and lˆ q norm inequalities for polynomials over convex bodies in rˆ n. Mathematical research letters, 8(3):233–248, 2001.
[Dan16]
A. Daniely. Complexity theoretic limitations on learning halfspaces. In Proceedings of the 48th Annual Symposium on Theory of Computing, STOC 2016, pages 105–117, 2016.
[DIKZ25]
I. Diakonikolas, G. Iakovidis, D. M. Kane, and N. Zarifis. Robust learning of multi-index models via iterative subspace approximation. In 66th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2025, Sydney, Australia, December 14-17, 2025, pages 2231–2239. IEEE, 2025. 55
[DIM26]
I. Diakonikolas, G. Iakovidis, and M. Ma. Polynomial-time robust multiclass linear classification under gaussian marginals. arXiv preprint arXiv:2605.21428, 2026.
[DKLZ24]
I. Diakonikolas, D. M. Kane, S. Liu, and N. Zarifis. Testable learning of general halfspaces with adversarial label noise. In The Thirty Seventh Annual Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 1308–1335. PMLR, 2024.
[DKM24]
I. Diakonikolas, D. Kane, and M. Ma. Active learning of general halfspaces: Label queries vs membership queries. Advances in Neural Information Processing Systems, 37:49180–49213, 2024.
[DKPZ21]
I. Diakonikolas, D. M. Kane, T. Pittas, and N. Zarifis. The optimality of polynomial regression for agnostic learning under gaussian marginals in the SQ model. In Proceedings of The 34th Conference on Learning Theory, COLT, 2021.
[DKR23]
I. Diakonikolas, D. Kane, and L. Ren. Near-optimal cryptographic hardness of agnostically learning halfspaces and relu regression under gaussian marginals. In International Conference on Machine Learning, pages 7922–7938. PMLR, 2023.
[DKS18]
I. Diakonikolas, D. M. Kane, and A. Stewart. Learning geometric concepts with nasty noise. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pages 1061–1073, 2018.
[DKTZ22]
I. Diakonikolas, V. Kontonis, C. Tzamos, and N. Zarifis. Learning general halfspaces with adversarial label noise via online gradient descent. In International Conference on Machine Learning, pages 5118–5141. PMLR, 2022.
[DMRT25a] I. Diakonikolas, M. Ma, L. Ren, and C. Tzamos. Learning intersections of two margin halfspaces under factorizable distributions. In N. Haghtalab and A. Moitra, editors, The Thirty Eighth Annual Conference on Learning Theory, 30-4 July 2025, Lyon, France, Proceedings of Machine Learning Research, pages 1472–1530. PMLR, 2025. [DMRT25b] I. Diakonikolas, M. Ma, L. Ren, and C. Tzamos. Statistical query hardness of multiclass linear classification with random classification noise. In International Conference on Machine Learning, pages 13693–13712. PMLR, 2025. [Eld13]
R. Eldan. Thin shell implies spectral gap up to polylog via a stochastic localization scheme. Geometric and Functional Analysis, 23(2):532–569, 2013.
[Fel10]
V. Feldman. Distribution-specific agnostic boosting. In Proceedings of Innovations in Computer Science, pages 241–250, 2010.
[FJS81]
J. H. Friedman, M. Jacobson, and W. Stuetzle. Projection Pursuit Regression. J. Am. Statist. Assoc., 76:817, 1981.
[FS97]
Y. Freund and R. Schapire. A decision-theoretic generalization of on-line learning and an application to boosting. Journal of Computer and System Sciences, 55(1):119–139, 1997.
[Gav03]
D. Gavinsky. Optimally-smooth adaptive boosting and application to agnostic learning. Journal of Machine Learning Research, 4(May):101–117, 2003. 56
[GWBL20] S. Garg, Y. Wu, S. Balakrishnan, and Z. Lipton. A unified view of label shift estimation. In Advances in Neural Information Processing Systems, volume 33, pages 3290–3300. Curran Associates, Inc., 2020. [HL93]
P. Hall and K.-C. Li. On almost Linearity of Low Dimensional Projections from High Dimensional Data. The Annals of Statistics, 21(2):867 – 889, 1993.
[HL13]
C. J. Hillar and L.-H. Lim. Most tensor problems are np-hard. Journal of the ACM (JACM), 60(6):1–39, 2013.
[Hub85]
P. J. Huber. Projection Pursuit. The Annals of Statistics, 13(2):435 – 475, 1985.
[Kea98]
M. J. Kearns. Efficient noise-tolerant learning from statistical queries. Journal of the ACM, 45(6):983–1006, 1998.
[KK09]
A. Kalai and V. Kanade. Potential-based agnostic boosting. In Advances in Neural Information Processing Systems 22: 23rd Annual Conference on Neural Information Processing Systems 2009, pages 880–888, 2009.
[KKM13]
D. Kane, A. Klivans, and R. Meka. Learning halfspaces under log-concave densities: Polynomial approximations and moment matching. In Conference on Learning Theory, pages 522–545. PMLR, 2013.
[KKMS08]
A. Kalai, A. Klivans, Y. Mansour, and R. Servedio. Agnostically learning halfspaces. SIAM Journal on Computing, 37(6):1777–1805, 2008.
[KL25]
B. Klartag and J. Lehec. Thin-shell bounds via parallel coupling. arXiv preprint arXiv:2507.15495, 2025.
[KLT09]
A. R. Klivans, P. M. Long, and A. K. Tang. Baum’s algorithm learns intersections of halfspaces with respect to log-concave distributions. In 13th International Workshop, RANDOM 2009, pages 588–600, 2009.
[KOS04]
A. Klivans, R. O’Donnell, and R. Servedio. Learning intersections and thresholds of halfspaces. Journal of Computer & System Sciences, 68(4):808–840, 2004.
[KS04]
A. Klivans and R. Servedio. Learning intersections of halfspaces with a margin. In Proceedings of the 17th Annual Conference on Learning Theory,, pages 348–362, 2004.
[KS08]
S. Khot and R. Saket. On hardness of learning intersection of two halfspaces. In Proc. 40th Annual ACM Symposium on Theory of Computing (STOC), pages 345–354, 2008.
[Lat11]
R. Latałaa. Order statistics and concentration of lr norms for log-concave vectors. Journal of Functional Analysis, 261:681–696, 2011.
[Li91]
K.-C. Li. Sliced inverse regression for dimension reduction. Journal of the American Statistical Association, 86(414):316–327, 1991.
[Lot15]
M. Lotz. On the volume of tubular neighborhoods of real algebraic varieties. Proceedings of the American Mathematical Society, 143(5):1875–1889, 2015.
[LV07]
L. Lovász and S. Vempala. The geometry of logconcave functions and sampling algorithms. Random Structures & Algorithms, 30(3):307–358, 2007. 57
[LV18]
Y. T. Lee and S. S. Vempala. The kannan-lov\’asz-simonovits conjecture. arXiv preprint arXiv:1807.03465, 2018.
[LWS18]
Z. Lipton, Y.-X. Wang, and A. Smola. Detecting and correcting for label shift with black box predictors. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 3122–3130. PMLR, 10–15 Jul 2018.
[Mil09]
E. Milman. On the role of convexity in isoperimetry, spectral gap and concentration. Inventiones mathematicae, 177(1):1–43, 2009.
[MP68]
M. Minsky and S. Papert. Perceptrons: an introduction to computational geometry. MIT Press, Cambridge, MA, 1968.
[MT94]
W. Maass and G. Turan. How fast can a threshold gate learn? In S. Hanson, G. Drastal, and R. Rivest, editors, Computational Learning Theory and Natural Learning Systems, pages 381–414. MIT Press, 1994.
[NDRT13]
N. Natarajan, I. S. Dhillon, P. K. Ravikumar, and A. Tewari. Learning with noisy labels. In C. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K. Weinberger, editors, Advances in Neural Information Processing Systems, volume 26, 2013.
[Nov62]
A. Novikoff. On convergence proofs on perceptrons. In Proceedings of the Symposium on Mathematical Theory of Automata, volume XII, pages 615–622, 1962.
[Pao12]
G. Paouris. Small ball probability estimates for log-concave measures. Transactions of the American Mathematical Society, 364(1):287–308, 2012.
[Ros58]
F. Rosenblatt. The Perceptron: a probabilistic model for information storage and organization in the brain. Psychological Review, 65:386–407, 1958.
[RV23]
R. Rubinfeld and A. Vasilyan. Testing distributional assumptions of learning algorithms. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, pages 1643–1656, 2023.
[SB14]
S. Shalev-Shwartz and S. Ben-David. Understanding Machine Learning - From Theory to Algorithms. Cambridge University Press, 2014.
[Ser03]
R. Servedio. Smooth boosting and learning with malicious noise. Journal of Machine Learning Research, 4:633–648, 2003.
[Sha04]
A. Shadrin. Twelve proofs of the markov inequality. Approximation theory: a volume dedicated to Borislav Bojanov, pages 233–298, 2004.
[She09]
A. Sherstov. The intersection of two halfspaces has high threshold degree. In Proc. 50th IEEE Symposium on Foundations of Computer Science (FOCS), 2009.
[SKP+ 20]
H. Song, M. Kim, D. Park, Y. Shin, and J.-G. Lee. Learning from noisy labels with deep neural networks: A survey. IEEE Transactions on Neural Networks and Learning Systems, pages 1–29, 2020.
[STC00]
J. Shawe-Taylor and N. Cristianini. An introduction to support vector machines. Cambridge University Press, 2000. 58
[Tie23]
S. Tiegel. Hardness of agnostically learning halfspaces from worst-case lattice problems. In The Thirty Sixth Annual Conference on Learning Theory, COLT 2023, volume 195 of Proceedings of Machine Learning Research, pages 3029–3064. PMLR, 2023.
[Val84]
L. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134–1142, 1984.
[Vap98]
V. Vapnik. Statistical Learning Theory. Wiley-Interscience, New York, 1998.
[Vem10a]
S. Vempala. Learning convex concepts from gaussian distributions with PCA. In 51th Annual IEEE Symposium on Foundations of Computer Science, FOCS, pages 124–130, 2010.
[Vem10b]
S. Vempala. A random-sampling-based algorithm for learning intersections of halfspaces. J. ACM, 57(6):32:1–32:14, 2010.
[WLT18]
R. Wang, T. Liu, and D. Tao. Multiclass learning with partially corrupted labels. IEEE Transactions on Neural Networks and Learning Systems, 29(6):2568–2580, 2018.
[Xia08]
Y. Xia. A multiple-index model and dimension reduction. Journal of the American Statistical Association, 103(484):1631–1640, 2008.
[XTLZ02]
Y. Xia, H. Tong, W. K. Li, and L. Zhu. An adaptive estimation of dimension reduction space. Journal of the Royal Statistical Society Series B: Statistical Methodology, 64(3):363–410, 2002.
59
Appendix A
Probability Lemmas
Fact A.1 (Theorem 5.14 in [LV07]). Let f (x) be the density function of an isotropic logconcave distribution in Rd . For every x, with ∥x∥ ≤ 1/9, it holds f (x) ≥ 2−9d∥x∥ f (0) and f (x) ≥ 2−7d . Fact A.2 (Lemma 5.7 in [LV07]). Let Dx be an isotropic logconcave distribution over Rd and let w ∈ Sd−1 be a unit vector. There is a constant C > 0 such that for every t > 0, Prx∼Dx [|w · x| > t] < Ce−t . Fact A.3 ([Pao12]). Let Dx be an isotropic logconcave distribution over Rd , then for fixed constant ϵ ∈ (0, 1) h √ i Pr ∥x∥2 < ϵ d ≤ exp (−Ω(d)) . x∼Dx
Fact A.4 (Theorem 13 in [LV18]). Let Dx be an isotropic logconcave distribution over Rd and let g : Rd → R be an L-Lipschitz function, then for t > 0, Pr g(x) − E [g(x)] > Lt ≤ exp (−Ω(ψD t)) , x∼Dx
x∼Dx
where ψD is the Cheeger constant of Dx . As an implication of Fact A.4, we have the following tail bound for the Lp norm of a random vector drawn from an isotropic logconcave distribution. Fact A.5 (Theorem 8 in [Lat11]). Let Dx be an isotropic logconcave distribution over Rd . For p ≥ 2 and t > 1, it holds h i Pr ∥x∥p > C(p)td1/p ≤ exp(−td1/p ), x∼Dx
where C(p) is a universal constant that only depends on p. Fact A.6 (Theorem 1.1 in [AK18]). Let Dx be an isotropic logconcave distribution over Rd and p(x) : Rd → R be a polynomial with degree at most k. Then, for t > 1, it holds √ Pr [|p(x)| > e(4t)k ∥p∥2 ] ≤ e−t . x∼Dx
Fact A.7 (Theorem 8 in [CW01]). There is a universal constant C > 0 such that for Dx , an isotropic logconcave distribution over Rd and for p(x) : Rd → R, a polynomial with degree k and for ϵ > 0, it holds Pr [|p(x)| < ϵ] ≤ Ck
x∼Dx
ϵ1/k . Ex∼Dx [p2 (x)]1/2k
Fact A.8. Let D be a distribution on Rd × {0, ±1}, such that Dx is an isotropic logconcave distribution. There is a constant C such that for S(x, y) an event over Rd × {0, ±1} and w ∈ Sd−1 a unit vector, it holds e E [|w · x| 1{S(x, y)}] ≤ C Pr [S(x, y)] log . Pr(x,y)∼D [S(x, y)] (x,y)∼D (x,y)∼D 60
Proof of Fact A.8. Let Z := w · x. Then, Z is also an isotropic logconcave distribution. For z ∈ R, we denote by z+ := max{z, 0}. Notice that for every z, s ∈ R, we have |z| ≤ s + (|z| − s)+ . This implies for every s ∈ R, we have [|w · x| 1{S(x, y)}] ≤
E (x,y)∼D
Pr [S(x, y)]s + (x,y)∼D
=
E (x,y)∼D Z ∞
Pr [S(x, y)]s + (x,y)∼D
≤
[(|Z| − s)+ ]
Pr[|Z| > r]dr Z
s
Pr [S(x, y)]s + Ce
−s
,
(x,y)∼D
where the last inequality follows Fact A.2. By taking s = log(C/ Pr(x,y)∼D [S(x, y)]), we get e E [|w · x| 1{S(x, y)}] ≤ C Pr [S(x, y)] log . Pr(x,y)∼D [S(x, y)] (x,y)∼D (x,y)∼D
Fact A.9. Let D be an isotropic logconcave distribution over Rd and u(1) , . . . , u(k) be k unit vectors in Rd . Then, k Y E [ (u(i) · x)] ≤ (2k)k .
x∼D
i=1
Proof of Fact A.9. By Hölder’s inequality and Lemma 33 in [LV18], we have E [
x∼Dx
Y k k Y Y k (u(i) · x)] ≤ E [ u(i) · x ]1/k ≤ 2k = (2k)k . i=1
x∼Dx
i=1
ℓ̸∈S
Fact A.10 (Theorem 7 in [CW01]). There is a constant C > 0 such that for every logconcave distribution D and for every polynomial p(x) with degree k, 0 < r < q < ∞ ( E [|p(x)|q/k ])1/q ≤ C x∼D
max(q, 1) ( E [|p(x)|r/k ])1/r . max(r, 1) x∼D
In particular Ex∼D [p(x)ℓ ] ≤ (Cℓ)ℓk Ex∼D [p(x)2 ]ℓ/2 , ∀ℓ > 2, Ex∼D [p(x)ℓ ] ≤ (Cℓ)ℓk Ex∼D [p(x)]ℓ , ∀ℓ > 1 P Fact A.11. Let D be a 1/2-isotropic logconcave distribution over R and let p(x) = ℓ0 ci xi : R → R be a degree ℓ polynomial, then ℓ X
|ci | ≤ (Cℓ)ℓ E [|p(x)|]. x∼D
i=0
Proof of Fact A.11. Let µ = Ex∼D and let D(x) be the density function of D. By Theorem 5.14 in [LV07], we know that D(µ) > 2−8 and for every x = µ + z, |z| < 1/9, we have D(x) > 2−9 . Let I = [µ − 1/9, µ + 1/9]. This implies that Z Z 9 |p(x)| dx ≤ 2 |p(x)| D(x)dx ≤ 29 E [|p(x)|]. I
x∼D
I
61
We center I, by taking y = x − µ, and I ′ = [−1/9, 1/9]. Then, we have Z Z |p(y + µ)| dy = |p(x)| dx ≤ 29 E [|p(x)|]. I′
x∼D
I
Notice that cj = p(j) (0)/(j!). By Markov’s inequality [Sha04], we have p(j) (0) ≤ (Ck)k max[−1,1] |p(x)| ≤ R (C ′ k)k [−1,1] |p(x)| dx. This gives ℓ X
|ci | ≤ (Cℓ)ℓ E [|p(x)|] . x∼D
i=0
Fact A.12. Let Dx be a 1/2 isotropic logconcave distribution on Rd . Let p(x) = polynomial of degree at most k, where each α is a multi index. Then X
2
|cα |
|α|≤k
where Cd,k ≤
d+k k
P
|α|≤k cα x
α be a
1/2
2α
≤ Cd,k
E [x ]
x∼Dx
E [|p(x)|],
x∼Dx
(Ck)Cdk dk/2 27d .
Proof of Fact A.12. The case k = 0 is immediate, so assume k ≥ 1. We first assume that Dx has mean zero. Its covariance matrix Σ satisfies 1 3 I ⪯ Σ ⪯ I. 2 2 Let f denote the density of Dx , and let Mf = supx∈Rd f (x). By Theorem 5.14(a),(b) of Lovász– Vempala, the source of Fact A.1, applied to Σ−1/2 x, we have f (v) ≥ 2−d f (0) whenever ∥v∥2 ≤ 1/18,
Mf ≤ 22d+4 f (0). M
f ≤ 23d+4 . Let r = d−1/2 /18 and Qr = [−r, r]d . Thus, for every v ∈ Qr , f (v) We first show that sup |p(v)| ≤ 25d (4e)k E [|p(x)|].
x∼Dx
v∈Qr
(7)
Fix v ∈ Qr and t ∈ [1/2, 1]. By logconcavity, 1−t
f ((1 − t)v + tx) ≥ f (v)
t
f (x) ≥
f (v) Mf
1−t f (x).
Consequently, the density of (1 − t)v + tx, for x ∼ Dx , is pointwise at most t−d
Mf f (v)
1−t
f ≤ 2(5/2)d+2 f ≤ 25d f.
It follows that E
x∼Dx
|p((1 − t)v + tx)| ≤ 25d E [|p(x)|]. x∼Dx
62
(8)
Let tj = 1/2 + j/(2k), for j = 0, . . . , k. Lagrange interpolation at these points gives, for every univariate polynomial P of degree at most k, P (0) =
k X
λj P (tj ),
λj =
j=0
Y 0≤i≤k i̸=j
−ti . tj − t i
Moreover, k X
|λj | ≤ (2k)k
j=0
k X j=0
(4k)k 1 = ≤ (4e)k . j!(k − j)! k!
Applying this identity to P (t) = p((1 − t)v + tx), taking expectations over x ∼ Dx , and using (8), we obtain k X |p(v)| ≤ |λj | E |p((1 − tj )v + tj x)| ≤ 25d (4e)k E [|p(x)|]. x∼Dx
j=0
x∼Dx
This proves (7). P We next rescale Qr to [−1, 1]d . For u ∈ Rd , define q(u) = p(ru). Then q(u) = |α|≤k cα r|α| uα , and (7) implies Z |q(u)| du ≤ 2d sup |p(v)| ≤ 26d (4e)k E [|p(x)|].
[−1,1]d
(9)
x∼Dx
v∈Qr
Let M ∈ R(k+1)×(k+1) be the matrix Z 1 Mij = ti+j dt,
i, j = 0, . . . , k.
−1
This matrix is positive definite, hence invertible. For i = 0, . . . , k, define ψi (t) = Then Z 1 k X ψi (t)tj dt = (M −1 )im Mmj = δij . −1
Pk
j=0 (M
−1 ) tj . ij
m=0
Also, ∥ψi ∥∞ ≤ (C1 k)C1 k , where the norm is over [−1, 1] and C1 > 0 is universal. For completeness, if Pj is the jth Legendre polynomial normalized by Pj (1) = 1, then ψi (t) =
k X 2j + 1 j=0
2
[si ]Pj (s) Pj (t).
The bounds ∥Pj ∥∞ ≤ 1 and |[si ]Pj (s)| ≤ 4j give the claimed estimate. Q For a multi-index α = (α1 , . . . , αd ), define Ψα (u) = dm=1 ψαm (um ). For |α|, |β| ≤ k, we have Z
β
u Ψα (u) du = [−1,1]d
Therefore, cα r|α| =
R
d Z 1 Y m=1 −1
uβmm ψαm (um ) dum = δαβ .
[−1,1]d q(u)Ψα (u) du. Since ∥Ψα ∥∞ ≤ (C1 k)
C1 dk , (9) gives
|cα |r|α| ≤ (C1 k)C1 dk 26d (4e)k E [|p(x)|]. x∼Dx
63
d+k k
There are N =
such multi-indices. Since r < 1 and |α| ≤ k, it follows that X X |cα |r|α| |cα | ≤ r−k |α|≤k
|α|≤k
≤ N (C1 k)C1 dk 26d (4e)k r−k E [|p(x)|] x∼Dx
C2 dk k/2 6d
≤ N (C2 k)
d
2
E [|p(x)|],
(10)
x∼Dx
where C2 > 0 is universal. To conclude the proof, letP Dx have an arbitrary mean µ satisfying ∥µ∥2 ≤ 1/2. Set z = x − µ, and write pe(z) = p(z + µ) = |β|≤k aβ zβ . The distribution of z is mean-zero and logconcave, with covariance between I/2 and 3I/2. Applying (10) gives X |aβ | ≤ N (C2 k)C2 dk dk/2 26d E [|p(x)|]. x∼Dx
|β|≤k
Since p(x) =
P
|β|≤k aβ (x − µ)
X |α|≤k
β , the binomial theorem implies
|cα | ≤
X |β|≤k
|aβ |
d Y
(1 + |µj |)βj ≤ (3/2)k
j=1
X
|aβ |.
|β|≤k
Finally, Fact A.9, applied after centering and scaling each one-dimensional marginal, together 1/2 with Holder’s inequality, gives Ex∼Dx [x2α ] ≤ (C3 k)k , |α| ≤ k, for a universal constant C3 > 0. Combining the preceding bounds, we obtain 1/2 X X d+k 2 2α k |cα | E [x ] ≤ (C3 k) |cα | ≤ (Ck)Cdk dk/2 27d E [|p(x)|], x∼Dx x∼Dx k |α|≤k
|α|≤k
for a sufficiently large universal constant C > 1. This concludes the proof.
B
Omitted Details from Section 3
In this section, we supply the details omitted from Section 3. We prove the following consequence of Theorem 3.5 in [Fel10], making explicit the smoothness property used in Fact 3.3. Fact B.1 (Corollary of Theorem 3.5 in [Fel10]). Let 0 ≤ a < 1/2 and 0 < β ≤ 1/2, and let d H ⊆ {±1}R . Suppose that A is an algorithm such that, for every distribution D over Rd × {±1} satisfying optD (H) ≤ 1/2 − a, it draws m examples, runs in time T , and outputs a Boolean hypothesis g satisfying errD (g) ≤ 1/2 − β with probability at least 99%. Here optD (H) := inf h∈H errD (h). Then there is an algorithm B that, for every distribution D over Rd × {±1} and every ϵ > 0, e −2 /ϵ) calls to A, runs in time poly(T, β −1 , ϵ−1 ), and outputs a Boolean hypothesis ĥ with makes O(β the following simultaneous guarantees, with probability at least 99%: errD (ĥ) ≤
optD (H) + ϵ, 1 − 2a
and every call to A is on a distribution D′ obtained by accepting an example (x, y) ∼ D with an explicit probability q(x, y) ∈ [0, 1] satisfying ED [q] ≥ ϵ. In particular, Dx′ (dx) = w(x)Dx (dx)
for some w : Rd → [0, 1/ϵ]. 64
Proof of Fact 3.3. We will be consistent with the notations used in [Fel10]. We may assume 0 < ϵ < 1, and fix sign(0) = 1. For a ∈ R, define P1 (a) = a if |a| ≤ 1 and P1 (a) = sign(a) otherwise. Furthermore, define R(a) = a2 if |a| ≤ 1 and R(a) = 2 |a| − 1 otherwise. We list several properties of P1 and R, which are proved in [Fel10]. For every Boolean function f and distribution D, it holds 1. ED [R(f )] = 1 and, for every real-valued function ϕ, ED [R(f − ϕ)] ≥ 0. 2. For h, g : Rd → [−1, 1], if ⟨P1 (f − h), g⟩D ≥ 2γ, then E[R(f − (h + γg))] ≤ E[R(f − h)] − 3γ 2 . D
D
3. For every real-valued h : Rd → R, ED [R(f − P1 (h))] ≤ ED [R(f − h)]. We describe the algorithm used in [Fel10] here. Denote by f (x) = ED [y | x], for each x ∈ Rd . We first prove the claim when f is Boolean; the general case is discussed below. We describe the algorithm with exact expectations and condition on all promised weak-learning calls succeeding; estimation and confidence amplification are discussed at the end. We initialize h0 ≡ 0. In each time step t ≥ 0, we maintain a function ht : Rd → [−1, 1] and, whenever Nt > 0, define a distribution Dt as follows: (Dt )x (x) = Dx (x) |P1 (f (x) − ht (x))| /Nt , Nt = ∥P1 (f − ht )∥D,1 , and Dt (y = f (x) | x) = 1. Set ∆′ = ϵ. Before callingA, if ⟨P1 (f − ht ), −sign(ht )⟩D > ϵ/2, we perform the balancing update ht+1 = P1 ht − (ϵ/4)sign(ht ) and proceed to the next time step. Otherwise, if errD (sign(ht )) ≤ ∆′ , we output sign(ht ) and terminate. If neither condition holds, we run A over Dt . If a weak hypothesis gt : Rd → {±1} satisfying errDt (gt ) ≤ 1/2 − β is returned, we update ht+1 = P1 (ht + βNt gt ). If no such hypothesis is returned, we output sign(ht ) and terminate. In particular, since Nt ≥ errD (sign(ht )), every call to A satisfies Nt > ∆′ = ϵ. Notice that this implies there is a weight function wt : Rd → [0, 1/ϵ] such that (Dt )x (x) = Dx (x)wt (x). For each time step t at which a weak hypothesis is used, we have E[P1 (f − ht )gt ] = E[|P1 (f − ht )| f gt ] = E [f gt ]Nt ≥ 2βNt . D
D
Dt
Since Nt = ED [|P1 (f − ht )|] ≥ ED [R(f − ht )]/3, this gives E[R(f − ht+1 )] ≤ E[R(f − ht )] − 3(βNt )2 D
D
≤ E[R(f − ht )](1 − β 2 Nt ) D
≤ E[R(f − ht )](1 − β 2 ∆′ ). D
Each balancing update also decreases the potential, by at least 3ϵ2 /16, by the second and third properties above. Thus there are O(ϵ−2 ) balancing updates, and these updates make no calls to −2 ′ −1 ′ A. The displayed multiplicative decrease implies that after at most O β (∆ ) log(2/∆ ) weaklearner updates, the potential is at most ∆′ . By the definition of R, this implies errD (sign(ht )) ≤ ED [R(f − ht )] ≤ ∆′ , so the algorithm terminates before another weak-learning call. To conclude the proof, it remains to analyze termination when a weak hypothesis is not returned. On the success event specified above, this implies that, for every h∗ ∈ H, E [f h∗ ] < 2a,
Dt
equivalently 65
E[h∗ P1 (f − ht )] < 2aNt . D
This gives, for every h∗ ∈ H, Nt = E[f P1 (f − ht )] = E[h∗ P1 (f − ht )] + E[(f − h∗ )P1 (f − ht )] ≤ 2aNt + 2errD (h∗ ). D
D
D
Taking the infimum over h∗ ∈ H, we obtain Nt ≤ 2optD (H)/(1 − 2a). Moreover, the balancing test ensures ⟨P1 (f − ht ), −sign(ht )⟩D ≤ ϵ/2. Consequently, errD (sign(ht )) =
1 1 Nt + ϵ/2 optD (H) ϵ E[|f − sign(ht )|] = E[P1 (f − ht )(f − sign(ht ))] ≤ ≤ + . 2D 2D 2 1 − 2a 4
Together with the stopping rule ∆′ = ϵ, this proves the desired error guarantee in both termination cases. For a general distribution D, apply the same analysis on the space of labeled pairs (x, y), with Boolean target f (x, y) = y, while every hypothesis still depends only on x. The weak learner receives x as its input and y as its label. The reweighted distribution is sampled by accepting (x, y) ∼ D with probability |P1 (y − ht (x))|. Its feature marginal has weight wt (x) =
1 1 ED [|P1 (y − ht (x))| | x] ≤ ≤ , Nt Nt ϵ
Nt = E[|P1 (y − ht (x))|]. D
All preceding identities and potential inequalities remain valid. Finally, the tests can be implemented with fresh estimates and constant slack. Estimate the balancing correlation, the error, and Nt to accuracy ϵ/8. Use an estimated balancing threshold 3ϵ/8 with balancing step ϵ/8, and stop when the estimated error is at most 7ϵ/8. After balancing, the true balancing correlation is at most ϵ/2. The identity 2errD (sign(ht )) = Nt + E[P1 (y − ht (x))(−sign(ht (x)))] D
then ensures Nt > ϵ whenever the error test continues. Estimate each weak hypothesis’s correlation bt − ϵ/8). under Dt to accuracy β/4, accept it when the estimate is at least 7β/4, and use step size β(N Every promised successful output passes this test, and every accepted output has true correlation bt − ϵ/8 ≤ Nt on a call, these changes affect the potential decreases at least 3β/2. Since 3Nt /4 ≤ N only by constant factors. Repeating A independently a logarithmic number of times per round, allocating failure probabilities to all fresh estimates, and imposing sufficiently large polynomial caps on the updates and rejection-sampling requests gives all the claimed guarantees simultaneously with probability at least 99%. Invocations of A may also be capped at their stated time and sample e −2 /ϵ) and the running time is poly(T, β −1 , ϵ−1 ). bounds. The total number of calls to A is O(β
C
Omitted Details from Section 7
C.1
Omitted Proof of Extended Theorem 6 in [KKM13]
In this section, we give the proof of the following extension of Theorem 6 in [KKM13]. Theorem C.1 (Extension of Theorem 6 in [KKM13]). Let Dx be an isotropic logconcave distribution over Rd and let f : Rd → {0, 1}. For every ϵ, δ ∈ (0, 1), there is a pair of polynomials pl , pu of degree ℓ = exp(O(d4 /δ 4 ) + d2 log2 (d/ϵ)), such that pl (x) ≤ f (x) ≤ pu (x),
E [|pu (x) − pl (x)|] ≤ ϵ + 2 Pr [Sδ ],
x∼Dx
x∼Dx
where Sδ = {u ∈ Rd | ∃v ∈ Rd : ∥u − v∥2 ≤ δ, f (u) ̸= f (v)}. 66
We will make use of the following facts proved in [KKM13]. Fact C.2. Let Dx be an isotropic logconcave distribution over Rd , for every R > 0, Prx∼Dx [∥x∥2 > R] ≤ 2O(d) exp(−R/32). Fact C.3. Let f (x) : Rd → R be c-smooth, which means there is some c > 0 such that for every k and for every u ∈ Sd−1 , ∇ku f , the k-th order derivative of f in u direction satisfies ∇ku f ∞ ≤ ck . Then for every positive k, N , there is a degree k2N -polynomial p such that (f (x))N − p(x) ≤ P −1 N 2j k /(2j k)!. Furthermore, for any isotropic logconcave distribution D , E(x) = N x j=0 2 (2c ∥x∥2 ) ∥E(x)∥Dx ,1 ≤ 2N 2O(d) 2−k . Proof of Theorem C.1. We construct the polynomial pu and pl can be constructed by symmetry. Recall that Sδ = {u ∈ Rd | ∃v ∈ Rd : ∥u − v∥2 ≤ δ, f (u) ̸= f (v)}. The construction of pu will depend on several parameters that will be determined later: c > 0, a small constant, k, N ∈ Z+ , large even integers, and R ≥ 1 aQsuitably large√number. For c > 0, we define ρc (x) = di=1 sinc(cxi / d), where√ sinc(z) = sin(z)/z for z = ̸ 0, and sinc(0) = 1. By [KKM13], ρc (x) is c-smooth, and when ∥x∥2 ≤ c−1 d, we have ρc (x) = exp(−Θ(c2 ∥x∥22 /d)). N , where C > 0 is a normalization constant For an even R integer N ∈ Z+ , we define r(x) = Cρdc (x) d/2 such that Rd r(x)dx = 1. By [KKM13], C = O(c N ). Following the construction of [KKM13], we choose c = 1/256. For R > 0, we define f ∗ (x) = 1 if ∥x∥2 < R + δ/2 and x ∈ Sδ/2 ∪ {x | f (x) = 1}, and f ∗ (x) = 0 otherwise. We define s(x) := r ∗ f ∗ : Z s(x) = f ∗ (u)r(x − u)du. Rd
We notice that 0 ≤ s(x) ≤ 1 for every x. For every x with ∥x∥2 ≤ R and f (x) = 1, we have Z Z ∗ s(x) = f (u)r(x − u)du + f ∗ (u)r(x − u)du. u:∥u−x∥2 ≥δ/2
u:∥u−x∥2 <δ/2
Following [KKM13], we choose N = max{O(d4 /δ 4 ), O(d2 log2R(d/ϵ))} as a sufficiently large even R integer so that u:∥u∥ ≥δ/2 r(u)du < ϵ/16. Such a choice implies u:∥u−x∥ <δ/2 r(x − u)du > 1 − ϵ/16. 2 2 We claim that for every u with ∥u − x∥2 < δ/2, we have f ∗ (u) = 1. For any such u, either f (u) = 1 or u ∈ Sδ/2 . Since ∥u∥2 < R + δ/2, by definition of f ∗ , we have f ∗ (u) = 1. This implies that s(x) ≥ 1 − ϵ/16 if ∥x∥2 ≤ R and f (x) = 1. So, for every x with ∥x∥2 ≤ R, we have f (x) ≤ s(x) + ϵ/16. We next design a polynomial p(x) to approximate s(x). Since ρc (x) is c-smooth, by Fact C.3, for every u ∈ Rd , there is a polynomial pu (x) with degree at most k2N such that |pu (x) − r(x + u)| ≤ CE(x), where E is the nonnegative polynomial in Fact C.3. R Define p(x) = B(R+δ/2) p−u (x)f ∗ (u)du. Since f ∗ is supported on B(R + δ/2), we have Z |p(x) − s(x)| ≤
(p−u (x) − r(x − u))f ∗ (u)du ≤ AE(x),
B(R+δ/2)
where A := C Vol(B(R + δ/2)) ≤ C(O(R))d . By choosing k = O(N + d log N + d log R + log(1/ϵ)) as a sufficiently large even integer, Fact C.3 gives A ∥E∥Dx ,1 ≤ ϵ/16. 67
We choose P (x) := p(x) + AE(x) + ϵ/16 + (∥x∥2 /R)2t for some positive integer t that will be chosen later. If ∥x∥2 ≤ R, then P (x) ≥ s(x) + ϵ/16 ≥ f (x). If ∥x∥2 > R, then P (x) ≥ 1, since p(x) + AE(x) ≥ s(x) ≥ 0. So, pu := P satisfies pu (x) ≥ f (x) for every x ∈ Rd . It remains to upper bound ∥pu − f ∥Dx ,1 . We have ∥pu − f ∥Dx ,1 ≤ ∥s − f ∥Dx ,1 + 2A ∥E∥Dx ,1 + ϵ/16 + (∥x∥2 /R)2t Dx ,1 . We notice that unless ∥x∥2 > R or x ∈ Sδ , we have |s(x) − f (x)| < ϵ/16. Indeed, if ∥x∥2 ≤ R and x ∈ / Sδ , then for every u with ∥u − x∥2 < δ/2, we have f (u) = f (x) and u ∈ / Sδ/2 : otherwise, the triangle inequality would give a point within distance δ of x with a different function value. Since ∥u∥2 < R + δ/2, this implies f ∗ (u) = f (x), and hence Z |s(x) − f (x)| ≤ r(x − u)du < ϵ/16. u:∥u−x∥2 ≥δ/2
Otherwise, |s(x) − f (x)| ≤ 1. This implies that ∥s − f ∥Dx ,1 ≤ Pr [x ∈ Sδ ] + Pr [∥x∥2 > R] + ϵ/16. x∼Dx
x∼Dx
By integrating the logconcave norm-tail bound Prx∼Dx [∥x∥2 > u] ≤ 2O(d) e−u/32 , we obtain 1/(2t) 2t E [∥x∥2 ] ≤ C0 (d + t) x∼Dx
for a universal constant C0 ≥ 1. We choose t = ⌈log2 (16/ϵ)⌉ , R = 2C0 (d+t), so that (∥x∥2 /R)2t Dx ,1 ≤ 2−2t ≤ ϵ/16. By Markov’s inequality, this also gives Prx∼Dx [∥x∥2 > R] ≤ ϵ/16. Therefore, ∥pu − f ∥Dx ,1 ≤ Pr [x ∈ Sδ ] + 6ϵ/16 ≤ Pr [x ∈ Sδ ] + ϵ/2. x∼Dx
x∼Dx
Applying the same construction to 1−f gives an upper polynomial peu for 1−f ; define pl := 1− peu . Since Sδ (1 − f ) = Sδ (f ), we obtain pl ≤ f ≤ pu pointwise and E [pu (x) − pl (x)] ≤ 2 Pr [x ∈ Sδ ] + ϵ.
x∼Dx
x∼Dx
Both polynomials have degree at most max{k2N , 2t} = exp O d4 /δ 4 + d2 log2 (d/ϵ) . This concludes the proof.
C.2
Omitted Details from Theorem 7.13
In this section, we provide omitted details from Theorem 7.13. To do this, we will show that under any isotropic logconcave distribution, the probability that a point is δ-close to the decision boundary is small. Such a result can be derived from the work [Lot15]. Fact C.4 (Theorem 1.1 in [Lot15]). Let p(x) be a degree m ≥ 1 polynomial in Rd and let S = {x ∈ Rd | p(x) = 0}. Assume that ∇p(x) ̸= 0 for every x ∈ S. Let D′ be the uniform distribution over a ball Bd−1 (u, R). Then, for every 0 < δ ≤ R, d−1 X d Pr ′ inf ∥x − v∥2 ≤ δ ≤ 4 (2mδ/R)1+i (1 + δ/R)d−1−i x∼D v∈S 1+i i=0
≤ 8dm2d−1 (m + 1)d−1 δ/R. 68
Lemma C.5. Let p(x) be a polynomial of degree at most m ≥ 1 in Rd and let Dx be an isotropic logconcave distribution over Rd . For δ ∈ (0, 1/2), let Sδ = {u ∈ Rd | ∃v ∈ Rd : ∥u − v∥2 ≤ δ, sign(p(u)) ̸= sign(p(v))}. Then, for some universal constant C > 1, e d−1 Pr[Sδ ] ≤ (Cdm)d δ log . Dx δ Proof of Lemma C.5. If p is constant, the statement is immediate. Otherwise, let S = {x : p(x) = 0}. By continuity, Sδ ⊆ {x : dist(x, S) ≤ δ}. To handle a possibly singular zero set S, choose positive regular values aj ↓ 0 of p2 , and let Sj = {x : p(x)2 = aj }. The preceding fact applies to each Sj with degree at most 2m. Every v ∈ S satisfies dist(v, Sj ) → 0: every neighborhood of v contains a point where p2 > 0, and continuity along the connecting segment gives the claim. Applying the fact with radius δ + η, using Fatou’s lemma, and then letting η ↓ 0 therefore gives the same bound for S, with m replaced by 2m. This replacement is absorbed into the constants below. Let f denote the density of Dx . We use the standard bounds √ √ sup f (x) ≤ (C0 d)d , Vol(Bd−1 (0, 1)) ≤ (C0 / d)d , x∈Rd
where C0 > 0 is universal. Thus, for every fixed R >
√
d, we have
Pr [x ∈ Sδ ] ≤ Pr [∥x∥2 > R] + Pr [∥x∥2 ≤ R, x ∈ Sδ ]
x∼Dx
x∼Dx
x∼Dx
≤ Pr [∥x∥2 > R] + sup f (x) Vol(Sδ ∩ Bd−1 (0, R)) x∼Dx
x∈Rd ≤ Pr [∥x∥2 > R] + C1d Rd−1 (m + 1)d−1 dmδ, x∼Dx
for a universal constant √ C1 > 1. By choosing R = d log(2e/δ), the logconcave tail bound gives √ Pr [∥x∥2 > R] ≤ exp(1 − R/ d) = δ/2. x∼Dx
Consequently, √ 2e d−1 e d−1 δ d Pr[Sδ ] ≤ + C1 d log (m + 1)d−1 dmδ ≤ (Cdm)d δ log , Dx 2 δ δ for some universal constant C > 1.
69
Related documents
- Augmented Functional Random Forests: Classifier Construction and Unbiased Functional Principal Components Importance through Ad-Hoc Conditional Permutations#1070659
- Learning Dynamics of Logits Debiasing for Long-Tailed Semi-Supervised Learning#818754
- Learning Dynamics of Logits Debiasing for Long-Tailed Semi-Supervised Learning#808762
- Improving decision reliability in transport safety engineering through a machine learning-based model.#431044
- FIRE: Multi-fidelity Regression with Distribution-conditioned In-context Learning using Tabular Foundation Models#1343498
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive