Manuscript Offprint
arXiv:2611.05114Beyond Multi-Index Models: Learning Intersections of Degree-2 PTFs
Learning Intersections of Degree-2 PTFs
Ilias Diakonikolas* University of Wisconsin-Madison ilias@cs.wisc.edu
Daniel M. Kane† University of California, San Diego dakane@ucsd.edu
Mingchen Ma‡ University of Wisconsin-Madison mingchen@cs.wisc.edu
Lisheng Ren§ University of Wisconsin-Madison lren29@wisc.edu
Trung Tran University of California, San Diego trt023@ucsd.edu
Abstract
We give an algorithm for PAC learning intersections of degree-2 polynomial threshold functions over under the standard Gaussian distribution. Our algorithm achieves classification error using time and samples. For every fixed , this is polynomial in and quasipolynomial in , improving over the running time of the standard polynomial regression approach. To our knowledge, our result is the first to obtain a dimension exponent independent of the accuracy parameter, even for . We complement our algorithmic result with a lower bound showing that the complexity dependence of is unavoidable for any Statistical Query learning algorithm.
Lifting the input to the space of linear and quadratic features turns the target into an intersection of halfspaces. This suggests the classical approach of using the first two labeled moments to reduce the learning problem to at most dimensions. In the lifted space, however, these moments can reveal nothing about the relevant subspace. Our starting point is a Gaussian comparison theorem showing that, when the defining quadratics are sufficiently regular, the labeled moments needed for subspace recovery are approximately preserved. To handle arbitrary defining quadratics, we establish a new structural result showing that every direction with significant resampling influence can be detected through degree- Hermite moments. These results allow us to efficiently identify influential directions and reduce the problem to learning regular intersections through an adaptive restriction procedure, yielding an initial algorithm with running time .
To improve the exponential dependence on , we develop a two-stage dimension-reduction approach that avoids the costly adaptive partitioning procedure. After identifying a subspace containing all directions with significant influence, we use a generalized notion of regularity and Gaussian comparison to recover the remaining relevant quadratic features through a new derivative-based moment operator. Together, the recovered features support an intersection that closely approximates the target. Combining these ingredients with a robust Hinge loss minimization method gives our quasipolynomial-time learning algorithm.
*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 ONR Award number N00014-25-1-2268. §Supported in part by NSF Medium Award CCF-2107079 and ONR Award number N00014-25-1-2268.
Contents 1 Introduction 1 1.1 Our Results and Technical Contributions . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Technical Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2 Preliminaries and Notations 13 3 Gaussian Approximation via Regularity 15 3.1 Gaussian Moment Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Gaussian Subspace Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3 Learning Regular Intersections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4 Reduction to the Regular Case using Randomness 28 5 Certificate Polynomial for Intersections of k Degree-2 PTFs 32 5.1 Boundary Operator and Weighted Decision Boundary . . . . . . . . . . . . . . . . . 32 5.2 Certificate Polynomials for Generic Instance and Root Decompositions . . . . . . . . 35 5.3 Analysis for Double Roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 5.4 Robust Factorization of Quadratic Polynomials under Gaussian Distribution . . . . . 39 5.5 Completing the Construction of Certificate Polynomials . . . . . . . . . . . . . . . . 52 6 Efficient Correlation Finding through Influence Matrix 62 7 A Tree-Based Algorithm for Learning Intersections of PTFs 64 8 Polynomial Approximation with Hinge Loss 71 9 Improved Complexity through Dimension Reduction and Hinge Loss Optimization 81 9.1 Subspace Recovery through Gaussian Comparison . . . . . . . . . . . . . . . . . . . . 82 9.2 Proof of Theorem 9.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 10 Statistical Query Lower Bound 93
1 Introduction
We study the problem of PAC learning intersections of degree-2 polynomial threshold functions (PTFs) under the Gaussian distribution. A degree-2 PTF is a Boolean function obtained by thresholding a polynomial of degree at most two. An intersection of such functions labels a point positive if it satisfies all quadratic inequalities. When the defining polynomials are affine, this is the well-studied problem of learning intersections of halfspaces [KP96, BK97, KS04, Vem10a, APS26, PV26]. Quadratic thresholds capture pairwise interactions between coordinates and include basic geometric concepts such as balls and ellipsoids. Intersections of quadratic PTFs also describe nonconvex regions, such as spherical shells.
Efficient algorithms are known for learning halfspaces and PTFs of fixed degree, even in the distribution-free setting [Ros58, MT94], and for learning generalized linear and single-index models under suitable assumptions [KKSK11]. For a single quadratic PTF, it suffices to solve a linear program after lifting the examples to quadratic features. For an intersection, a negative example tells us only that at least one of the defining inequalities failed. Even for two halfspaces, polynomial-time distribution-free PAC learning remains a tantalizing open problem. In fact, [APS26] recently gave the first subexponential-time algorithm for this case; see also [PV26].
This open problem has motivated the study of intersections of halfspaces under structured input distributions. Efficient algorithms are known for intersections of a constant number of halfspaces under the uniform distribution on a ball [BK97], Gaussian distributions [Vem10a, DKS18], and logconcave distributions when the bounding hyperplanes pass through the mean [Vem10b]. Finding a small set of relevant linear directions is also central to recent work on learning multi-index models (MIMs) under Gaussian inputs; see, e.g., [ABAM23, DIKZ25, DIKR25, DLB25].
A MIM is a function of the form , where and the number of indices is small compared to . The function is called the link function. Beyond intersections of halfspaces, MIMs also include many important function classes, such as shallow ReLU networks of bounded width [DKKZ20, CKM21, CDG23, DK24, CN24] and multiclass linear classifiers [DIKZ25, DMRT25b]. We refer the reader to [BH25] for a survey.
Despite their broad applicability, multi-index models (MIMs) impose a specific form of low-dimensional structure: the target function must depend only on a small number of linear projections of the input. The restriction to linear indices matters even for functions of a single quadratic feature. For example, consider the spherical shell
The label depends on a single quadratic feature, , but no projection onto a proper linear subspace of determines it; existing guarantees for low-dimensional MIMs do not directly give useful learning guarantees for a function like this.
The shell example points to a broader research direction beyond MIMs: which functions of a few unknown nonlinear features can be learned efficiently under Gaussian inputs? See [BH25, Nic26] for discussion. From the perspective of learning geometric concepts, intersections of quadratic PTFs are arguably the most natural starting point. Consider the well-studied problem of learning intersections of halfspaces. If we keep the link function fixed and increase the degree of the defining polynomials from one to two, we obtain precisely the class studied here. The target then has the form
so the target depends on only quadratic features, even though it may require linear indices. The difficulty is to find useful quadratic features from labels that reveal only whether all inequalities hold. To see where the linear case differs, consider an intersection of halfspaces under Gaussian inputs. Its label depends only on the projection onto the span of its normal vectors. Estimates of the first two labeled moments (aka degree at most 2 Chow parameters), and , can be used to find a subspace of dimension such that an intersection with all its normal vectors in approximates the target to error . Searching over intersections in the recovered subspace gives, for example, a running time of , where is the ambient dimension and the exponent of is a universal constant independent of and [Vem10a, DKS18].
This reduction does not directly extend to quadratic PTFs: even a single quadratic inequality need not be determined by the projection onto any proper linear subspace. One might instead lift the examples to the -dimensional space of quadratic features, where the target becomes an intersection of halfspaces. However, the lifted distribution is not Gaussian. Its coordinates are dependent, and the distributional properties used by the existing subspace-recovery algorithms no longer hold. Choosing an orthonormal Hermite basis makes these coordinates uncorrelated, but does not resolve this obstruction.
For arbitrary intersections of quadratic PTFs, the standard general-purpose (and the only known) approach is low-degree polynomial regression [KOS08]. Combining the Gaussian surface-area bound for PTFs [Kan11] with the realizable learning guarantee of [KOS08] gives a polynomial-regression algorithm for this class with running time . Thus, even for , the exponent of the dimension depends polynomially on . This leaves the following basic question:
For every fixed , can intersections of degree-2 PTFs be learned under the Gaussian distribution in time , for some function independent of ?
The above question allows arbitrary dependence on ; it only asks that the exponent of be independent of the accuracy parameter. Our main result answers it affirmatively, with quasipolynomial dependence on .
Definition 1.1 (Intersections of degree-2 PTFs). For , let be the class of functions of the form , where each is a polynomial of degree at most two.
Definition 1.2 (PAC learning under the Gaussian distribution). Let be an unknown distribution over with marginal , and suppose that almost surely for some . Given i.i.d. sample access to , an accuracy parameter , and a confidence parameter , the goal is to output a hypothesis such that, with probability at least , . The hypothesis need not belong to .
Our main algorithmic result is the following; see Theorem 9.1 for the formal statement and proof. For simplicity, we state the bound for constant confidence.
Theorem 1.3 (Main algorithmic result). There is an algorithm that PAC learns under the standard Gaussian distribution to error with probability at least 99%, using samples and time.
°Each quadratic PTF has Gaussian surface area , so an intersection of such PTFs has Gaussian surface area . The realizable learning bound of [KOS08, Theorem 25] is for a class with Gaussian surface area at most .
Here the constant implicit in may depend on . For every fixed , the running time is polynomial in and quasipolynomial in . Already for , this gives time, whereas polynomial regression gives . Our algorithm is improper: it learns quadratic features and outputs a hypothesis of the form
where is a polynomial and the number of learned quadratic features is bounded by a function of and . Thus, the output is a single PTF (whose degree may be larger than two).
Remark 1.4. In Theorem 7.1, we also develop a different learning algorithm with time complexity , whose output hypothesis is a decision tree of intersections of quadratic PTFs. We refer the reader to Section 7 for details.
We also prove a lower bound in the Statistical Query (SQ) model [Kea98], that qualitatively matches the complexity of our algorithm for constant error . In the SQ model, the learner accesses the labeled distribution through approximate expectations of bounded query functions. The following theorem shows that a linear dependence on in the dimension exponent is necessary for SQ algorithms; see Theorem 10.2 for the formal statement and proof.
Theorem 1.5 (SQ lower bound). Fix a constant . For sufficiently large as a function of and , any SQ algorithm that learns under the standard Gaussian distribution to error at most , with success probability at least , must either use a query of tolerance at most or make at least queries.
Thus, the dependence of our upper bound is essentially optimal in the SQ framework, where complexity accounts for both the number of queries and their inverse tolerance. This gives a computational distinction from intersections of halfspaces. In the realizable Gaussian setting, the moment-based algorithms for halfspace intersections can be implemented using statistical queries and tolerance , with a universal exponent of [Vem10a, DKS18]. Our SQ lower bound already holds when all the defining quadratics depend on the same unknown linear projection. It leaves open whether the running time can be polynomial in both and for every fixed .
Technical contributions. Beyond our learning guarantees, we develop a collection of structural and algorithmic tools that may be useful for other learning problems involving nonlinear features under Gaussian inputs. Our approach combines Gaussian analysis, algebraic arguments, spectral methods, and polynomial approximation. Specifically, we highlight the following:
- Low-degree certificates for directional influence. We develop a framework for analyzing the directional dependence of Boolean functions and constructing the corresponding low-degree certificate through their Gaussian-weighted decision boundaries. By restricting a Boolean function to Gaussian lines, we show (Lemma 5.7) that nontrivial resampling influence along a direction implies a nontrivial amount of Gaussian-weighted boundary mass along that direction. We further introduce a Gaussian boundary operator (Definition 5.2) that, through integration by parts, expresses the correlation between the Boolean function and a polynomial in terms of the change signed values of the polynomial at these decision boundaries (Lemma 5.6). This provides a systematic way to translate information about the changes in a Boolean function into polynomial
The first two labeled moments can be estimated by bounded statistical queries after truncating the Gaussian tails. The subsequent search over a finite cover only requires estimates of classification error; see [DKS18, Section 5.1].
correlations. For intersections of quadratic PTFs, we develop a quantitative construction of such certificates, showing that any direction with nontrivial resampling influence admits a polynomial witness of degree with nontrivial correlation. (Sections 5-6.)
-
Robust algebraic tools for degenerate decision boundaries. We develop quantitative structural techniques for analyzing degenerate polynomial decision boundaries, which allow the boundary-based certificate framework to work without separation or genericity assumptions. Our key approach combines algebraic tools, including discriminants and resultants, with Gaussian anti-concentration to translate approximate root degeneracies on a nontrivial fraction of Gaussian slices into global small-norm polynomial relations. In particular, we establish structural simplifications for nearly double roots (Subsection (5.3)) and a robust factorization theorem (Lemma 5.19) for nearly shared roots. These structural alternatives allow us to simplify the defining intersection and construct polynomial certificates without imposing separation or genericity assumptions on its decision boundaries. (Section 5.3-5.5.)
-
Generalized regularity and Gaussian comparison. We develop a generalized notion of regularity (Definition 3.1) for quadratic polynomials relative to a subspace , allowing arbitrary dependence on while controlling the residual quadratic features in directions orthogonal to . We show (Theorem 4.1) that an intersection with sufficiently small resampling influence outside can be approximated by one satisfying this regularity condition, even when its original defining polynomials are highly irregular. Under this generalized regularity condition, we establish a Gaussian comparison result (Lemma 3.3) that replaces the residual quadratic features by linear Gaussian features while preserving their dependence on . Together, these results provide a framework for extending moment-based learning techniques from linear Gaussian models to nonlinear polynomial features.
-
Derivative-based subspace recovery in polynomial feature spaces. We develop new structural techniques for recovering relevant directions in a space of quadratic polynomial features. Unlike standard subspace recovery, the feature space we consider consists of residual linear, mixed, and quadratic terms, whose coordinates are not jointly Gaussian and do not admit the usual notion of directional differentiation. To overcome this difficulty, we first establish a structural result (Lemma 9.2) for intersections of PTFs in an idealized Gaussian model, showing that influential directions in the residual feature space can be certified by low-degree polynomial correlations. We then introduce a new differential operator for quadratic features and its adjoint under Gaussian measure (Lemma 9.4 and Lemma 9.5), allowing us to approximate the corresponding directional derivative correlations using labeled moments of the original input distribution. Under our generalized regularity condition, this yields a bilinear form that approximates an operator of rank at most . Consequently, spectral methods recover a low-dimensional space of quadratic features sufficient for learning the target, without requiring identification of the original defining polynomials.
-
Robust polynomial approximation and hinge-loss minimization. Building on polynomial approximation techniques for learning intersections of margin halfspaces [KS04], we develop a robust version suitable for intersections of quadratic PTFs under Gaussian inputs. Specifically, we construct polynomial approximations with simultaneously small expected hinge loss and controlled Gaussian norm, while preserving the quadratic feature space of the target. The norm bound allows us to control the additional loss introduced by errors in the recovered feature representation. Consequently, we can learn over an approximately correct feature space through convex hinge-loss minimization.
1.2 Technical Overview
Subspace Recovery for Intersections of Halfspaces. We first recall the approach for learning intersections of halfspaces under a Gaussian distribution. Although learning intersections of halfspaces under general marginal distributions is a challenging problem, whose computational complexity is far from being understood (even for the case of ), the Gaussian distribution has nice structural properties that enable efficient algorithms; see, e.g., [BK97, Vem10a, DKS18].
Specifically, consider an instance of an intersection of halfspaces . and let be the (at most) -dimensional subspace spanned by . The intuition is that if we look at the correlation between and the first two moments of the marginal distribution, and , then for every , is orthogonal to and has 0 eigenvalue along , because is independent of . On the other hand, if heavily depends on a unit direction , then either or will be large.
As a result, if we take to be the subspace spanned by and the eigenvectors of corresponding to its eigenvalues of largest absolute value, then there must be an instance whose defining vectors are in , close to .
As a result, if we brute-force search over , we solve the learning problem in time. In fact, as shown in [DKS18], even if the input distribution is corrupted by a small amount of nasty noise, we can still use the same method to learn a good hypothesis from the noisy distribution.
Polynomial Regularity and Gaussian Comparison. Given the discussion above, when working with an intersection of PTFs, , a natural attempt would be to use polynomial features. For a Gaussian distribution, we choose to use , where each coordinate of is a normalized Hermite polynomial with degree at most 2, so that the coordinates are orthogonal under the inner product defined under the Gaussian distribution. Under this feature basis, any . The idea is that if is Gaussian distributed, then we can apply the same algorithm above to search for good parameters and return the corresponding intersections of PTFs. Unfortunately, this is not true, and the distribution of is far from a Gaussian distribution. However, inspired by techniques developed in pseudo-randomness literature [DKN10, DHK10, DDS14], for a nice linear function , , which corresponds to some quadratic function , is approximately Gaussian when . We call a degree-2 polynomial to be -regular, if for every unit vector , , where is called the influence of along the direction. Equivalently, if we consider a quadratic function , then the regularity condition is equivalent to saying that is small and is small. In fact, if , are all regular for some sufficiently small , then the regularity condition guarantees that the distribution of , approximates a Gaussian replacement vector , where is a standard Gaussian vector. To see why this helps us, we prove a Gaussian comparison lemma (Lemma 3.3) that for any smooth function and every direction , ,
That is to say, if the defining polynomials of , are sufficiently regular, then the moment information and structure of the polynomial threshold function is sufficiently close to an instance of intersection of halfspaces in under a Gaussian distribution, with the same defining vectors. Then we can simply treat an intersection of PTFs as its Gaussian replacement for the analysis. As a result, we can directly run the robust learning algorithm from [DKS18] over to efficiently learn a hypothesis with error depending on the regularity parameter .
Randomized Error and Extracting Influential Directions. Unfortunately, there is no guarantee that our defining polynomials will be regular, and so our Gaussian comparison lemma may fail to hold. There are two possible reasons why this might be the case.
On the one hand, it is possible that the polynomials that we chose to represent are irregular, but that another choice would not have been. For example, suppose contains a defining polynomial , which is highly irregular. On the other hand, since always holds, we can remove it from and find an equivalent representation for the target function. In fact, consider an irregular polynomial . Since a bad direction must either correlate well with the linear part of , or have large norm under the bilinear form defined by the quadratic part, we can find a low dimensional subspace (spanned by the linear part and the top few eigenvectors of the quadratic form) that is responsible for all of the bad directions. If we are allowed to remove the dependence on this subspace (for example, by replacing this component of the input by a random constant), then we can reduce to the regular case. Our goal is to apply this procedure to each defining polynomial so that the resulting polynomials are regular and the intersection they define is close to .
However, to achieve this without introducing much error, we need to know that re-randomizing the input of along a low-dimensional subspace is unlikely to change the output. This will hold so long as is not heavily influenced by any particular direction (as we can change the input on a subspace by changing it one coordinate at a time). To quantify this influence, we introduce the notion of randomized error along a direction as
\mathrm{R a n d}_{f}(\mathbf{v})=\mathop{\bf E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}_{\mathbf{v}^{\perp}})}\left[\mathop{\bf P}_{\mathbf{r}}_{z,z^{\prime}\sim\mathcal{N}(0,1)}[f(\mathbf{w}+z\mathbf{v})\neq f(\mathbf{w}+z^{\prime}\mathbf{v})]\right].As we show in Theorem 4.1, if is small for every direction , then must be close to a -regular instance up to a small error.
Unfortunately, sometimes will have directions of large influence, in which case the irregularity of its representation will be intrinsic. In particular, there may be some directions with reasonably large. In such a case, no matter how we represent it, some of the defining polynomials of will have large influence in the -direction. To deal with this issue, we will actually need to handle these directions separately. The hope is that with sample access to , we can directly identify these directions , with being nontrivial large. To do this, we show that a direction will have large influence on only if it has large influence on the low-degree part of (Theorem 5.1). In particular, letting be the degree--part of for a large enough multiple of , we show that for any direction with that it must hold that . In particular, this means that defining the influence matrix as , that any influential direction for will have relatively large. Hence, taking to be the subspace spanned by the most significant eigenvectors of , we can efficiently find a subspace so that for all orthogonal to , is very small (see Theorem 6.2). By Theorem 5.1, if has no large eigenvalues, then has no direction of large resampling influence. If is large for some unit vector , then has a large eigenvalue, and a top eigenvector gives a direction of large influence on the low-degree part of .
Certificate Polynomial Construction. We now explain the main ideas behind our main structural result (Theorem 5.1). Specifically, we show that for an intersection of degree-2 PTFs , if a direction has , then there must be some and a unit-norm polynomial over such that
and . In other words, as long as is non-trivially large, then must have a non-trivial correlation with a normalized polynomial of degree at most , with no-constant-in- component.
To give the intuition behind Theorem 5.1, we decomposed the target function according to the value . Fix a direction and write , where . For each fixed , the restriction is a one-dimensional union of intervals with at most decision boundaries. Furthermore, if , we show in Lemma 5.7 that these boundaries have total Gaussian-weighted mass at least .
As is a step function, directly computing correlations with will be difficult. However, this means that is a sum of -functions and much easier to work with. Furthermore, the operator is adjoint to the derivative operator over the Gaussian distribution. Namely, for functions and , we have . Applying this with , we get
where denotes the set of decision boundaries of and is the sign change of at boundary . Thus, our goal is to construct a low-degree polynomial whose value at each boundary has the same sign as the corresponding change in . Furthermore, using the polynomial has the advantage that the integral over direction of is . Thus, this construction will naturally produce functions with no constant-in--component.
For a generic intersection, such a polynomial has a simple construction. Writing , consider . At every decision boundary, the sign of agrees with the direction of the jump, implying that the inner product is always non-negative. Furthermore, if the derivative of the active polynomial and the values of all other defining polynomials are bounded away from zero, then the boundary contributes a nontrivial positive amount to the correlation. However, this argument can still fail to provide a good lower bound if has pairs of roots that are very close to each other—either due to some of the having (approximate) double roots or some pairs approximately sharing roots.
To handle these degeneracies, we develop several structural tools that combine algebraic techniques with Gaussian concentration and anti-concentration to establish quantitative structural dichotomies. Our starting point is that, after fixing , each defining polynomial becomes a univariate quadratic whose coefficients are low-degree polynomials in . This allows us to use the discriminant to analyze nearly double roots and the resultant to analyze nearly shared roots. Importantly, both quantities are themselves low-degree polynomials in , so Gaussian anti-concentration allows us to convert their smallness on a nontrivial fraction of slices into a global small--norm condition. These conditions enable us to derive global structural results to simplify the defining polynomials.
For nearly double roots, we establish a dichotomy (Subsection (5.3)): either such roots occur too infrequently to contribute significantly to the Gaussian-weighted decision boundary, or the corresponding threshold function can be approximated by a function independent of the direction. For nearly shared roots, we develop a robust factorization argument (Subsection (5.4)) showing that either one polynomial is nearly independent of , the two polynomials are nearly proportional, or they can be approximated by polynomials sharing a common affine factor. In particular, if several defining polynomials both contain some affine function as a linear factor, then this common affine factor allows us to construct a new certificate using the factors of the defining polynomials (Lemma 5.24). In either case, if the roots are close, these structural alternatives allow us to simplify the defining intersection, up to a controlled approximation error, whenever the generic certificate does not yield sufficient correlation.
Finally, we combine these tools through an iterative construction to find the desired certificate polynomial (Subsection (5.5)). Starting from the target function , at each step, we either obtain a certificate with nontrivial correlation or replace the current intersection by a simpler one by introducing a small error. Importantly, after each replacement we reconsider the actual decision boundaries of the new intersection, since the previous boundaries need not be preserved. By the structural results for nearly double roots and nearly shared roots that we derived above, each unsuccessful step removes or decomposes a defining quadratic or identifies approximately proportional affine factors, so only changes are possible. By carefully controlling the accumulated approximation error and simplifying multiple constraints together, we obtain the correlation guarantee of Theorem 5.1.
A Time Learning Algorithm. The technical ingredients developed thus far are already enough to give us a learning algorithm for intersections of degree-2 PTFs with complexity dependence. As discussed above, our goal is to remove the dependence on the directions that have high influence on , by randomizing the input along those directions. Naively, one would simply compute the high influence subspace for and then condition on the projection onto (or more precisely, divide into tiny bins and consider separately the samples that project onto each bin, effectively removing the dependence on the -direction). Unfortunately, there is no guarantee that conditioning on the projection to will not cause there to be new directions of large influence. So instead we must apply this procedure adaptively. After restricting to a bin, we re-run our algorithm for finding one high influence direction, and if we find one, we condition further by partitioning the bin into many small bins along the found direction. Intuitively, we maintain a tree rooted at the target function , whose leaves form a partition of . Each node of the tree is associated with an intersection of PTFs, obtained by freezing the input value of the instance at its parent node along a single direction through the above branching process.
It remains to show that this procedure actually terminates in a reasonable number of steps. To do this, we consider the norm of the low-degree Hermite projection of . Specifically, suppose that we branch along a direction and get a series of functions , with frozen to be different values. Since the influence of the low-degree part of must be large and since conditioning on the direction effectively decreases the degree of this component, we will have that (where is the Hermite projection of of degree at most ) is strictly less than its average over the . Since this sum is never more than , for , the branching operation will terminate after at most rounds. Using Markov's inequality, we can show that the tree has many leaves. Furthermore, most of the leaf functions will have no directions of large influence, so as discussed above, we may approximate it by an intersection of regular PTFs. Since these polynomials do behave like Gaussians, we may employ the ideas of [DKS18] to find a low-dimensional space of degree-2 polynomials that nearly contains the defining polynomials of our intersection. We can then find these via a brute force search. As a result, by running the learning algorithm for regular instances times, we learn a decision tree, with each leaf associated with an intersection of PTFs that is close to the target function .
Improved Algorithm via Hinge Loss Minimization. Unfortunately, the tree-based algorithm developed above has a running time that depends exponentially on a polynomial in , since it repeatedly partitions the Gaussian space along influential directions. To improve this exponential dependence, we draw inspiration from prior works (see, e.g., [KS04]) that study learning intersections of halfspaces with -margin. Roughly speaking, if all examples have unit norm and are -far from every decision boundary of an intersection of halfspaces , then there exists a polynomial of degree such that for every example in the support of the distribution.
So, a linear programming approach that runs in time can output a single PTF that is close to . This approach has two shortcomings. First, such an algorithm has no tolerance to label noise. Second, it does not work under any continuous distribution, where examples can be arbitrarily close to the decision boundary. In fact, if we treat our target function as an intersection of halfspaces in , defined by , then there is no similar known way for us to use some polynomial approximation-based algorithm with degree poly .
In Section 8, we give a polynomial approximation that does not require a margin assumption. For every intersection of quadratic PTFs, there is a polynomial of degree such that
Here for . Our construction is based on rational approximations of the sign function. By combining these rational approximations and clearing their positive denominators, we obtain a polynomial that has a large margin away from the decision boundaries. Gaussian anti-concentration and tail bounds then allow us to control its expected hinge loss and norm. Since hinge loss is convex in the polynomial coefficients, we can learn such a polynomial efficiently using stochastic convex optimization over the space of monomials. Importantly, we show that the sign of the learned polynomial is -close to the target function .
However, directly performing this optimization over all degree- polynomials in would require time, which is even less desirable than our previous time algorithm. The reason is that the search space has too large a dimension. Suppose instead that we are given a low-dimensional subspace such that the target function can be represented as an intersection of quadratic PTFs with defining polynomials in . Then by running the hinge loss minimization algorithm over , we get a time algorithm. Unfortunately, such a subspace is not available to us. And even if we do have one such a subspace, we can usually only promise that some intersection of PTFs from the subspace is close to , which means the hinge loss minimization algorithm has to tolerate label noise. In fact, due to the norm bound of the approximate polynomial, we need a much stronger approximation guarantee than hinge loss error to make the algorithm noise tolerant. If , then the additional hinge loss incurred by a polynomial of norm at most can be bounded by . Thus, it suffices to find a space that contains an intersection with error . Our goal is to find such a space with dimension at most , while maintaining a running time of times a quasipolynomial function of .
A Two-Stage Dimension Reduction Approach. To achieve this, we develop a two-stage dimension-reduction procedure in Section 9. In the first stage, we apply Theorem 5.1 and Theorem 6.2 to find a subspace of dimension , such that has sufficiently small randomized error along every direction orthogonal to . Writing , where and . For each defining polynomial , we write
where is a quadratic function that only depends on , and has no components in , while is the vector of coefficients of . However, finding such a subspace does not mean that the target is close to an intersection supported only on . Although every individual direction has small randomized error, the directions in may still collectively have a significant influence on the target. In terms of the above decomposition, this means that the residual polynomials cannot simply be discarded. On the other hand, the space spanned by polynomials of the form might still have dimension . As a result, we need a second stage of dimension reduction to find a low-dimensional subspace of that captures the influence of these residual polynomials .
The central idea that we use for this second stage of dimension reduction is based on a more general notion of regularity and Gaussian comparison lemma developed in Section 3. Specifically, let be a subspace. We say that a quadratic polynomial is regular, if for every unit vector . In other words, the full regularity condition can be seen as a special case of regularity, where we take . Unlike the tree-based algorithm, the -regularity condition allows us to flexibly keep the dependence on instead of fixing its value. In fact, the regularity condition guarantees that the distribution of , , approximates its Gaussian replacement . This allows us to perform our analysis over a Gaussian model, where we replace each by , for an independent standard Gaussian vector in the residual coefficient space. The resulting function
is an intersection of halfspaces in for every fixed . As we show in Lemma 3.4, if are all regular, then for any smooth function ,
Suppose that given sample access to , we would like to identify directions in -space that are important for . In fact, by Theorem 4.1, the property of ensures that must be sufficiently close to an instance that is -regular. So, if this can be done, then the intuition is that we could potentially make use of the Gaussian comparison techniques to identify the subspace spanned by the . For each fixed , the first two labeled moments in suffice to find a subspace on which an intersection of halfspaces approximates , as in [DKS18]. Unfortunately, applying this idea directly would require being able to take measurements conditional on , which can only be approximated using exponential in samples. However, the nice structure of still makes it possible to achieve this goal by using many moments. Specifically, in Lemma 9.2 we show that for every direction in the space that has non-trivial influence on , there exists a polynomial of degree such that is non-trivially large. This gives a bilinear form with input and polynomial . In fact, using integration by parts,
we know that such a bilinear form has at most non-zero singular values. Thus, taking the subspace spanned by the top singular vectors of the bilinear form, we find all directions in space that are important to .
However, some additional work is needed to apply these ideas. First, we need to ensure that the Gaussian comparison techniques developed in Section 3 suffice to imply large singular values of the aforementioned bilinear form. This is a particular issue as we only have a comparison for functions of the form , not an arbitrary smooth function support over . Second, we work with a space of polynomials of the form and have access only to labeled examples . Our bilinear form involves a directional derivative along in the Gaussian replacement space, and it is not clear how to define the corresponding operation on . We address these two issues separately.
First, the certificate polynomial that we developed in Lemma 9.2 is a sum of products of the defining polynomials , not an arbitrary polynomial. Thus, each term in the summation of the bilinear form (1) actually has the desired form of . Let be a smooth approximation of . It suffices to construct a bilinear form such that
uniformly over unit residual coefficient directions and unit-norm polynomials of degree at most . Let be the span of the top left singular vectors of . Then is close to an intersection whose defining polynomials lie in
It remains to address the second issue of how to build such a . The observation is that under the Gaussian distribution , which means that the behavior of can be simulated through standard polynomial multiplication under the Gaussian distribution. The hope is that if we replace by in the multiplication, then this would satisfy our purpose. In fact, using standard integration by parts,
In Lemma 9.4, if we denote by , then under our regularity condition, we actually have that is sufficiently close to and can be used as . But since we do not have direct access to and cannot compute its gradients or Hessian, we still need an equivalent representation of that can be directly computed from samples. That is, we want to find some operator such that . Such an operator can be reverse-engineered using integration by parts. In Lemma 9.5, we show that , satisfies this property. Thus, we can find a subspace of polynomials, where an intersection of degree-2 PTFs supported on it is sufficiently close to .
Finally, we apply the hinge-loss minimization algorithm of Section 8 over the recovered space . Since
and we only need polynomials of degree in a basis of , the resulting feature space has dimension at most . Combining the two dimension-reduction stages with hinge-loss minimization gives our final learning algorithm with running time .
Extensions and Open Problems. A natural open question is whether our quasipolynomial dependence on can be improved to polynomial dependence for every fixed , yielding a running time of . It is a plausible conjecture that such an algorithm is possible. A second direction concerns higher-degree PTFs. Our hinge-loss approach extends to intersections of degree- PTFs under the standard Gaussian distribution, yielding a -time learning algorithm for any fixed degree . It remains open whether our structural and dimension-reduction machinery can be generalized beyond degree two to obtain a running time polynomial in , with an exponent depending only on and and not on . More broadly, it would be interesting to identify natural regularity or complexity conditions on the link function under which functions of the form , with quadratic , can be learned efficiently, and to understand which of our techniques extend beyond the intersection structure.
1.3 Related Work
Learning intersections of halfspaces. Understanding the computational complexity of learning intersections of halfspaces is one of the central problems in computational learning theory. In the distribution-free setting, various computational hardness results have been established, such as hardness of proper learning [BR88, KS08], representation-based hardness [She10, She13], cryptographic and Statistical Query hardness on learning a super-constant number of halfspaces [KS07, KS09, Dan16, Tie24]. However, whether an intersection of two halfspaces can be learned in polynomial time in the distribution-free setting remains open. Motivated by this challenge, a line of work has focused on designing learning algorithms under structured distributions, such as learning two homogeneous halfspaces under symmetric distributions [Bau90], low-weighted intersections [KOS04], learning under margin assumptions [KS04] and under factorizable distributions [DMRT25a]. In particular, under the uniform distribution or Gaussian distributions, efficient learning algorithms are known for learning an intersection of a constant number of halfspaces [BK97, Vem10a]. These algorithms can also be made robust against adversarial noise [DKS18]. Under more general logconcave distributions, [Vem10b] gives similar algorithms for learning intersections of homogeneous halfspaces, and more recently [DKM26] gave approximate agnostic learners for functions of constantly many halfspaces under general logconcave marginals.
Multi-index models and beyond. The moment-based subspace recovery method for learning intersections of halfspaces has also inspired a rich line of work on the complexity of learning functions of a small number of linear projections (MIMs) under structured distributions, such as shallow ReLU networks [DKKZ20, CDG 23, DK24], multiclass linear classifiers [DMRT25b, DIM26] and general multi-index models [ABAM23, DLB25, DIKZ25, DIKR25]. In particular, [DIKZ25, DIKR25, DKM26] give general frameworks for robustly learning multi-index models under Gaussian and logconcave distributions. We also refer to [BH25] for a recent survey.
Beyond multi-index models, little is known about efficient learning with multiple nonlinear features. Recent works have made initial progress on learning structured hierarchical functions using 3-layer neural networks, including functions of a single polynomial feature [NDL23, WNL24] and polynomial functions of multiple quadratic features [FWNL25]. These guarantees rely on structural and nondegeneracy assumptions on the underlying features and link functions and do not extend to intersections of quadratic PTFs. In contrast, our work develops structural and algorithmic tools for learning intersections of arbitrary quadratic PTFs without additional assumptions.
Regularity and pseudorandomness for PTFs. A substantial line of work has developed regularity, decomposition, and Gaussian approximation techniques for analyzing low-degree polynomial threshold functions; see, e.g., [DHK 10, DSTW10, MZ10, DDS14, DS14]. A recurring theme is to separate the structured components of the defining polynomials from sufficiently regular components. These techniques have played an important role in deterministic approximate counting and pseudorandomness, including for arbitrary Boolean functions of multiple PTFs [DKN10, DDS14]. In our setting, the defining polynomials are unknown. We must recover, from labeled examples, a space of quadratic features that supports an accurate approximation to the target. Our Gaussian comparison controls the labeled moments used to recover this space.
AI Disclosure. The main framework and algorithmic results of this paper were developed by the authors. In particular, the authors independently established Theorem 7.1 and developed the hinge-loss minimization framework of Section 8. The authors also observed that combining this framework with a suitable dimension-reduction method could improve the running time to .
To achieve this improvement, the authors first investigated an approach based on a stronger regularity lemma and showed that it does not hold in the required generality. The authors subsequently interacted with GPT-6 Astra to explore alternative dimension-reduction strategies. These interactions led to an initial version of the approach using a slightly weaker notion of regularity, underlying Section 9. The authors then substantially simplified and refined this approach, established its connection to the framework they had previously developed, and obtained the final algorithm and analysis presented in the paper.
During manuscript preparation, GPT-6.1 was also used to improve the clarity of the exposition, check local proof arguments, and identify errors in calculations in earlier drafts.
Organization of the Paper. In Section 2, we list basic notations used throughout the paper. In Section 3, we introduce the notion of -regularity for quadratic polynomials and develop a Gaussian comparison lemma based on the regularity condition. In Section 4, we show that any intersection of degree two PTFs who has no high influence directions in must be close to a regular instance. In Section 5, we show our main structural result that a direction with high influence on the target function must have influence on its low degree part. In Section 6, we develop an efficient algorithm to find these high-influence directions using the structural result. In Section 7, we develop a time learning algorithm based on the developed technical ingredients. In Section 8, we develop a robust hinge loss minimization algorithm that will be used to improve the dependence on . In Section 9, we develop a two-stage dimension reduction method and complete the main learning algorithm. In Section 10, we provide a matching SQ lower bound.
2 Preliminaries and Notations
Notations Let , we use to denote . We use the convention for and for . When passing between -valued and -valued functions, we use the correspondence , with inverse . Thus, in either convention, membership in an intersection is represented by the label 1. The notation allows the implicit constant to depend on . We use for an unspecified polynomial dependence whose degree and constants may depend on . In a positive lower bound with argument , this denotes a quantity of the form for positive constants depending only on . For , quasipoly denotes a bound of the form .
We use small boldface characters for vectors and capital bold characters for matrices and tensors. For and , denotes the -th coordinate of . Let be a subspace. We use to denote its orthogonal complement, and use to denote the projection of onto subspace . We will also use for short to denote . We use to denote the unit sphere over .
Unless otherwise specified, function norms are taken under the standard Gaussian distribution on the relevant space. For a function , we write . For vectors, denotes the Euclidean norm; for matrices, and denote the operator and Frobenius norms, respectively. For convenience, we will also use to denote norm.
Boolean Functions and Randomized Error
Definition 2.1 (Randomized Error). Let be a Boolean function and let be a unit vector. We define the randomized error of along direction to be
where .
Intuitively, quantifies the error of under Gaussian distribution when we rerandomize the direction along but fix the other directions. We give the following proposition of the randomized error.
Proposition 2.2. Let be a Boolean function and let be a unit vector. Then,
where .
Proof of Proposition 2.2. We first fix . Since are independent Gaussian, we have
Since w is independent of z, by taking the expectation over w, we have
□
Definition 2.3 (Layer Decomposition). Let be a function. Let be a unit vector and let . We define the one dimensional function as . For a polynomial , we also use to denote .
Hermite polynomials. For each integer , let denote the normalized probabilists' Hermite polynomial of degree r, with positive leading coefficient. In particular, , , and . These polynomials satisfy
For a multi-index , write and define . The polynomials form an orthonormal basis for the space of square-integrable functions under , and has total degree .
Definition 2.4 (Hermite Projection). Let , and be a subspace. We denote by the space of polynomials supported on with degree no more than . Let be a function. We denote by to be the projection of onto the space spanned by Hermite polynomials with degree no larger than .
Gaussian polynomial inequalities. For , we write . We will use the following Gaussian polynomial inequalities throughout.
Fact 2.5 (Gaussian hypercontractivity, see, e.g., [O'D14, Chapter 11]). Let be a polynomial of degree at most . For every real , . In particular, there are universal constants such that if , then, for every , .
Fact 2.6 (Gaussian anti-concentration [CW01, Theorem 8]). There is a universal constant such that the following holds. Let be an integer and let be a nonzero polynomial of degree at most . For every and , .
Fact 2.7 (Gaussian product-norm bounds). For every pair of nonnegative integers , there are constants , depending only on , such that for all polynomials of degrees at most , respectively.
Proof of Fact 2.7. By Cauchy–Schwarz and Fact 2.5, .
For the lower bound, the claim is immediate if either polynomial is constant. Otherwise, Fact 2.6 provides constants , depending only on , such that
With probability at least 1/2, both complementary inequalities hold. Hence , which proves the lower bound.
3 Gaussian Approximation via Regularity
In this section, we develop Gaussian comparison tools that allow us to reduce the learning of regular intersections of degree-2 PTFs to learning intersections of halfspaces under Gaussian distributions. The starting observation is that every degree-2 polynomial can be represented as a linear function of the degree-1 and degree-2 Hermite features. Thus, replacing the lifted feature vector by a standard Gaussian vector transforms an intersection of degree-2 PTFs into an intersection of halfspaces, for which powerful dimension-reduction techniques are available. The main challenge is to justify this replacement in a way that preserves the information needed for learning. In particular, we need to show that the relevant low-degree moments are preserved sufficiently well to recover a useful subspace, and that a subspace capturing the Gaussian surrogate also yields a good approximation to the original target.
Our comparison results are developed in a more general setting that will also be useful in later sections. Specifically, we consider -regular polynomials, which may have unrestricted dependence on a fixed subspace but satisfy regularity conditions in the orthogonal directions. The Gaussian replacement then preserves the original coordinates in and acts only on the remaining polynomial contributions. The fully regular case corresponds to . We first establish the moment-comparison and subspace-transfer guarantees in this general setting. We then specialize to the fully regular case and combine these results with the Gaussian halfspace recovery algorithm of [DKS18] to obtain an efficient learner for regular intersections of degree-2 PTFs.
Definition 3.1 (()-regularity). Let , let be a subspace, and let be a polynomial of degree at most two. For a unit vector , define its directional influence by . We say that is -regular if for every unit vector . We call -regular when it is -regular.
Regularity ensures that no input direction has a large influence relative to the total variance. In the fully regular case, an orthogonal change of coordinates expresses the centered polynomial as a sum of independent terms, each contributing only a small fraction of the polynomial's variance. This gives a central-limit intuition for approximating the polynomial by a Gaussian with the same mean and variance.
Notation and Gaussian replacement. Throughout this section, for , we use and to denote its components in and , respectively, so that . Polynomial norms are taken under the corresponding standard Gaussian distribution. Let , where , be the vector of normalized Gaussian Hermite polynomials of degrees one and two. These features have mean zero and satisfy .
Every polynomial of degree at most two has a decomposition
where , is linear, and is symmetric. Here , so the remaining terms have conditional mean zero given . The following fact translates regularity into bounds on these coefficients.
Fact 3.2 (Coefficient bounds from regularity). Suppose is -regular, and let . Then the coefficients in the decomposition above satisfy , , and . Moreover, .
Proof of Fact 3.2. For every unit vector , differentiating the decomposition and using the independence of and gives , where the inequality follows from regularity. Taking suprema over unit vectors yields the coefficient bounds. Finally, Gaussian orthogonality gives , proving the last bound.
Let be the subspace of residual coefficient vectors. We can therefore write for a unique . Throughout this section, we use , independent of , for the Gaussian replacement vector. Define the Gaussian replacement of by . The same vector is used for all , preserving the pairwise covariances of the residual contributions. For an intersection for all , write for all for its Gaussian surrogate. When , each is constant, and is an intersection of halfspaces under a standard Gaussian distribution.
3.1 Gaussian Moment Comparison
We now derive the Hermite moment comparison, treating m = 0, 1, 2 in turn.
Lemma 3.3 (Gaussian Hermite moment comparison). Let , and let have the decompositions and Gaussian replacements defined above. For every , assume that and that the coefficient norms , , and are all at most . Let be a function for .
For an integrable function of , define . Then, for every unit vector and every ,
where is the normalized univariate Hermite polynomial of degree , and , , .
The role of the comparison is easiest to see in the fully regular case . The Gaussian surrogate is then an intersection of halfspaces, whose first two labeled moments provide the information needed for subspace recovery. To compare these moments, we work with a smooth function of the defining polynomials and consider its correlations with the Hermite weights , for . These capture the expectation and the directional first and centered second moments, respectively. Our goal is to show that regularity preserves these quantities under Gaussian replacement, with error controlled by and the derivatives of .
We first establish the smooth comparison below, corresponding to the case without a Hermite weight. We gradually replace the residual polynomial contributions by a Gaussian vector with the same covariance, keeping the variables in V unchanged. After Gaussian integration by parts, the matching covariance terms cancel, and regularity controls the remaining error. To compare the first and second moments, we use integration by parts again to express the weighted expectations in terms of derivatives of , up to similarly small errors, and apply the smooth comparison to these derivatives. When V is nontrivial, the conditional centering in the statement removes the contribution of the squared probe that depends only on the retained variables. The probe itself need not be regular, since the small factors controlling the errors come from the defining polynomials.
Lemma 3.4 (Gaussian comparison). Let satisfy the assumptions of Lemma 3.3, and use the same notation. Let be a function such that . Then
Proof of Lemma 3.4. To prove Lemma 3.4, we keep the variables in unchanged and gradually replace the residual terms by a Gaussian vector with the same covariance. Throughout, we use the assumptions and notation of Lemma 3.3. For , define , where is an independent standard Gaussian vector, and set and . The two expectations in the lemma are and . Therefore, to bound , it suffices for us to bound for all . We will apply Gaussian integral by parts on and then show that the expression we get can be bounded by regularity.
For convenience, write , , and , and . Then . Define
Thus is the common covariance matrix of the centered vectors and . Unless otherwise indicated, expectations below are over the independent Gaussian vectors .
Fact 3.5 (Integration-by-parts identity). For every , .
Proof of Fact 3.5. Differentiating with respect to t gives
For fixed , Gaussian integration by parts gives . For the quadratic terms, this follows by applying the identity with ; the resulting constant term is canceled by .
Holding fixed, apply this identity with . Since , the chain rule gives . Similarly, holding fixed and integrating by parts in , we obtain . Substituting these identities into proves the claim.
These operations are justified by Gaussian moment bounds, since bounded second derivatives imply that and its first derivatives have at most quadratic and linear growth, respectively.
Fact 3.6 (Regularity bound). For every , where is a universal constant.
Proof. Since and , we have . In particular, . Expanding the discrepancy gives
For a standard Gaussian vector and any square matrix , . Using this identity and independence of and , we obtain
The final bounds use , the coefficient bounds above, and . The triangle inequality and Cauchy–Schwarz prove the claim.
By Facts 3.5 and 3.6, |H'(t)| \leq \frac{1}{2}D_2(F) \sum_{i,j=1}^k \mathbf{E}[\|\Gamma_{ij} - \Sigma_{ij}|$$ \leq Ck^2\tau D_2(F) . Integrating over, using continuity at the endpoints, gives, as desired.
We now prove Lemma 3.3 using the unweighted comparison established above. The case m = 0 follows directly from Lemma 3.4. For m = 1, 2, Gaussian integration by parts removes the Hermite weights, leaving derivatives of and remainder terms controlled by the coefficient bounds. We then apply Lemma 3.4 to these derivatives to obtain the desired comparison.
Proof of Lemma 3.3. For convenience, write , and let and .
Case . There is no Hermite weight in this case, so we apply Lemma 3.4 directly to .
Since and , Lemma 3.4 gives .
18
Case $m=1$. We first use integration by parts to remove the Hermite factor, obtaining first derivatives of $\psi$ and a remainder controlled by regularity. We then apply Lemma 3.4 to these first derivatives. Write $r = \mathbf{v} \cdot \Phi_2(\mathbf{x})$, $\widetilde{r} = \mathbf{v} \cdot \mathbf{z}$ and $c_i = \mathbf{v} \cdot \boldsymbol{\theta}_i$. Since $\mathbf{v} \in S_V$, we can writer=\mathbf{a}{\mathbf{v}}(\mathbf{u})^{\top}\mathbf{y}+\mathbf{y}^{\top}\mathbf{B}{\mathbf{v}}\mathbf{y}-\mathrm{t r}(\mathbf{B}{\mathbf{v}}),\qquad\mathbf{a}{\mathbf{v}}(\mathbf{u})=\mathbf{b}{\mathbf{v}}+\mathbf{L}{\mathbf{v}}^{\top}\mathbf{u},
where $\mathbf{B}_{\mathbf{v}}$ is symmetric. In particular, $\mathbf{E}[r\mid\mathbf{u}]=0$, so $\mathcal{P}_{V}[h_{1}(r)]=r$. The normalization $\|\mathbf{v}\|_{2}=1$ gives $\|\mathbf{b}_{\mathbf{v}}\|_{2}^{2}+\|\mathbf{L}_{\mathbf{v}}\|_{F}^{2}+2\|\mathbf{B}_{\mathbf{v}}\|_{F}^{2}=\mathbf{E}[r^{2}]=1$. Consequently, $\mathbf{E}_{\mathbf{u}}[\|\mathbf{a}_{\mathbf{v}}(\mathbf{u})\|_{2}^{2}]\leq1$, $|c_{i}|\leq\|\boldsymbol{\theta}_{i}\|_{2}\leq1$. Also write $\mathbf{a}_{i}(\mathbf{u})=\mathbf{b}_{i}+\mathbf{L}_{i}^{\top}\mathbf{u}$, so that $\nabla_{\mathbf{y}}p_{i}=\mathbf{a}_{i}(\mathbf{u})+2\mathbf{A}_{i}\mathbf{y}$. We establish the first-moment expansion for a general smooth function $F: \mathbb{R}^k \to \mathbb{R}$, so that we can also use it in the case $m = 2$. For fixed $\mathbf{u}$, Gaussian integration by parts gives $\mathbf{E}_{\mathbf{y}}[rg(\mathbf{y})] = \mathbf{E}_{\mathbf{y}}[(\mathbf{a}_{\mathbf{v}}(\mathbf{u}) + \mathbf{B}_{\mathbf{v}}\mathbf{y})^\top \nabla_{\mathbf{y}} g(\mathbf{y})]$. Applying this identity to $g(\mathbf{y}) = F(\mathbf{P})$, define\Gamma_{\mathbf{v}i}=(\mathbf{a}{\mathbf{v}}(\mathbf{u})+\mathbf{B}{\mathbf{v}}\mathbf{y})^{\top}(\mathbf{a}{i}(\mathbf{u})+2\mathbf{A}{i}\mathbf{y}),\qquad\Delta_{i}=\Gamma_{\mathbf{v}i}-c_{i}.
Since $\mathbf{E}[\Gamma_{\mathbf{v}i}] = c_i$, we obtain\mathbf{E}[r F(\mathbf{P})]=\sum_{i=1}^{k}c_{i}\mathbf{E}[\partial_{i}F(\mathbf{P})]+\mathcal{R}_{1}(F),
where $\mathcal{R}_1(F) = \sum_{i=1}^k \mathbf{E}[\Delta_i \partial_i F(\mathbf{P})]$. To bound the remainder, expand\Delta_{i}=\mathbf{a}{\mathbf{v}}(\mathbf{u})^{\top}\mathbf{a}{i}(\mathbf{u})-\mathbf{E}{\mathbf{u}}[\mathbf{a}{\mathbf{v}}(\mathbf{u})^{\top}\mathbf{a}{i}(\mathbf{u})]+\left(2\mathbf{A}{i}\mathbf{a}{\mathbf{v}}(\mathbf{u})+\mathbf{B}{\mathbf{v}}\mathbf{a}{i}(\mathbf{u})\right)^{\top}\mathbf{y}+2\big(\mathbf{y}^{\top}\mathbf{B}{\mathbf{v}}\mathbf{A}{i}\mathbf{y}-\mathrm{t r}(\mathbf{B}{\mathbf{v}}\mathbf{A}_{i})\big).
\left|\Delta_{i}\right|{L{2}}\leq\left|\mathbf{L}{i}\mathbf{b}{\mathbf{v}}+\mathbf{L}{\mathbf{v}}\mathbf{b}{i}\right|{2}+\sqrt{2}\left|\mathbf{L}{\mathbf{v}}\mathbf{L}{i}^{\top}\right|{F}+2\left|\mathbf{A}{i}\right|{\mathrm{o p}}+\left|\mathbf{B}{\mathbf{v}}\mathbf{b}{i}\right|{2}+\left|\mathbf{B}{\mathbf{v}}\mathbf{L}{i}^{\top}\right|{F}+2\sqrt{2}\left|\mathbf{B}{\mathbf{v}}\mathbf{A}{i}\right|_{F}\leq C\tau.
The last inequality follows from the normalization of $\mathbf{v}$ and the assumptions $\|\mathbf{b}_i\|_2, \|\mathbf{L}_i\|_{\mathrm{op}}, \|\mathbf{A}_i\|_{\mathrm{op}} \leq \tau$. Therefore, $|\mathcal{R}_1(F)| \leq C k \tau D_1(F)$. On the Gaussian side, integration by parts in $\mathbf{z}$ gives $\mathbf{E}[\widetilde{r}\psi(\widetilde{\mathbf{P}})] = \sum_{i=1}^{k} c_i \mathbf{E}[\partial_i \psi(\widetilde{\mathbf{P}})]$. Combining this identity with the first-moment expansion,\left|\mathbf{E}[r\psi(\mathbf{P})]-\mathbf{E}[\widetilde{r}\psi(\widetilde{\mathbf{P}})]\right|\leq\sum_{i=1}^{k}|c_{i}|\left|\mathbf{E}[\partial_{i}\psi(\mathbf{P})]-\mathbf{E}[\partial_{i}\psi(\widetilde{\mathbf{P}})]\right|+C k\tau D_{1}(\psi).
Applying Lemma 3.4 to each $\partial_i\psi$, and using $|c_i| \leq 1$, bounds this byC k^{3}\tau D_{3}(\psi)+C k\tau D_{1}(\psi)\leq C k^{3}\tau\operatorname*{m a x}{1\leq j\leq3}D{j}(\psi).
Case $m=2$. Conditional centering removes the $\mathbf{u}$-dependent variance of the probe. We then apply integration by parts and reuse the first-moment expansion to reduce the comparison to second derivatives of $\psi$, which are handled by Lemma 3.4. Let $s(\mathbf{u}) = \mathbf{E}_{\mathbf{y}}[r^{2}] = \|\mathbf{a}_{\mathbf{v}}(\mathbf{u})\|_{2}^{2} + 2 \|\mathbf{B}_{\mathbf{v}}\|_{F}^{2}$. Since $\mathbf{E}[r^{2}] = 1$, $\mathcal{P}_{V}[h_{2}(r)] = \frac{r^{2} - s(\mathbf{u})}{\sqrt{2}}$. Apply the integration-by-parts identity from the previous case to $g(\mathbf{y}) = r\psi(\mathbf{P})$. Since\left(\mathbf{a}{\mathbf{v}}+\mathbf{B}{\mathbf{v}}\mathbf{y}\right)^{\top}\nabla_{\mathbf{y}}r=s(\mathbf{u})+3\mathbf{a}{\mathbf{v}}^{\top}\mathbf{B}{\mathbf{v}}\mathbf{y}+2\big(\mathbf{y}^{\top}\mathbf{B}{\mathbf{v}}^{2}\mathbf{y}-\mathrm{t r}(\mathbf{B}{\mathbf{v}}^{2})\big),
\mathbf{E}[(r^{2}-s(\mathbf{u}))\psi(\mathbf{P})]=\sum_{i}\mathbf{E}[r\Gamma_{\mathbf{v}i}\partial_{i}\psi(\mathbf{P})]+\mathbf{E}[J_{\mathbf{v}}\psi(\mathbf{P})], \tag{2}
where $J_{\mathbf{v}} = 3\mathbf{a}_{\mathbf{v}}(\mathbf{u})^{\top}\mathbf{B}_{\mathbf{v}}\mathbf{y} + 2\big(\mathbf{y}^{\top}\mathbf{B}_{\mathbf{v}}^{2}\mathbf{y} - \mathrm{tr}(\mathbf{B}_{\mathbf{v}}^{2})\big)$. For the first term in (2), write $\Gamma_{vi} = c_i + \Delta_i$ and apply the first-moment expansion to $F = \partial_i \psi$. This gives\sum_{i}\mathbf{E}[r\Gamma_{\mathbf{v}i}\partial_{i}\psi(\mathbf{P})]=\sum_{i,j}c_{i}c_{j}\mathbf{E}[\partial_{i}\partial_{j}\psi(\mathbf{P})]+\sum_{i}c_{i}\mathcal{R}{1}(\partial{i}\psi)+\sum_{i}\mathbf{E}[r\Delta_{i}\partial_{i}\psi(\mathbf{P})].
By the bound on $\mathcal{R}_1$ above and $|c_i| \leq 1$, $|\sum_i c_i \mathcal{R}_1(\partial_i \psi)| \leq C k^2 \tau D_2(\psi)$. Also, Cauchy-Schwarz gives\left|\sum_{i}\mathbf{E}[r\Delta_{i}\partial_{i}\psi(\mathbf{P})]\right|\leq D_{1}(\psi)\sum_{i}|r|{L{2}}|\Delta_{i}|{L{2}}\leq C k\tau D_{1}(\psi).
\mathbf{E}[J_{\mathbf{v}}\psi(\mathbf{P})]=\sum_{i}\mathbf{E}\left[(3\mathbf{a}{\mathbf{v}}+2\mathbf{B}{\mathbf{v}}\mathbf{y})^{\top}\mathbf{B}{\mathbf{v}}\nabla{\mathbf{y}}p_{i}\partial_{i}\psi(\mathbf{P})\right].
The normalization of $\mathbf{v}$ implies $\mathbf{E}[\|3\mathbf{a}_{\mathbf{v}} + 2\mathbf{B}_{\mathbf{v}}\mathbf{y}\|_2^2] \leq C$, while the coefficient bounds give\mathbf{E}[|\mathbf{B}{\mathbf{v}}\nabla{\mathbf{y}}p_{i}|{2}^{2}]=|\mathbf{B}{\mathbf{v}}\mathbf{b}{i}|{2}^{2}+\left|\mathbf{B}{\mathbf{v}}\mathbf{L}{i}^{\top}\right|{F}^{2}+4\left|\mathbf{B}{\mathbf{v}}\mathbf{A}{i}\right|{F}^{2}\leq C\tau^{2}.
Therefore, Cauchy-Schwarz yields $|\mathbf{E}[J_{\mathbf{v}}\psi(\mathbf{P})]| \leq C k \tau D_1(\psi)$. Combining these estimates establishes the second-moment expansion\mathbf{E}[(r^{2}-s(\mathbf{u}))\psi(\mathbf{P})]=\sum_{i,j}c_{i}c_{j}\mathbf{E}[\partial_{i}\partial_{j}\psi(\mathbf{P})]+\mathcal{R}_{2}(\psi),
with $|\mathcal{R}_2(\psi)| \leq C\big(k\tau D_1(\psi) + k^2\tau D_2(\psi)\big)$. On the Gaussian side, applying integration by parts twice gives\mathbf{E}[\psi(\widetilde{\mathbf{P}})h_{2}(\widetilde{r})]=\frac{1}{\sqrt{2}}\sum_{i,j}c_{i}c_{j}\mathbf{E}[\partial_{i}\partial_{j}\psi(\widetilde{\mathbf{P}})].
Applying Lemma 3.4 to each $\partial_i \partial_j \psi$, and using $|c_i| \leq 1$, bounds the difference between the two second Hermite moments byC\big(k\tau D_{1}(\psi)+k^{2}\tau D_{2}(\psi)+k^{4}\tau D_{4}(\psi)\big)\leq C k^{4}\tau\operatorname*{m a x}{1\leq j\leq4}D{j}(\psi).
This proves the claimed bound for m = 2. ### 3.2 Gaussian Subspace Transfer Having compared the moments of the two models, we next show how a subspace recovered for the Gaussian surrogate can be used to approximate the original target. The following lemma shows that, if $\tilde{f}(\mathbf{z}, \mathbf{G})$ has small randomized error in every unit direction of $S_V$ orthogonal to a subspace $W \subseteq S_V$, then $f(\mathbf{x})$ is close to an intersection whose residual coefficient vectors lie in $W$, while allowing unrestricted degree-2 dependence on $\mathbf{z}$. The approximation error is controlled by $\tau$ and the directional randomized error. This provides the approximation guarantee needed to restrict the hypothesis search after recovering $W$ in the Gaussian model. Lemma 3.7 (Gaussian subspace transfer). Let $\tau, V, p_1, \ldots, p_k$ satisfy the assumptions of Lemma 3.3, and use the same notation. Define $f(\mathbf{x}) = \mathbf{1}\{p_1(\mathbf{x}) \geq 0, \ldots, p_k(\mathbf{x}) \geq 0\}$, and $f(\mathbf{x}_V, \mathbf{z}) = \mathbf{1}\{q_i(\mathbf{x}_V) + \boldsymbol{\theta}_i \cdot \mathbf{z} \geq 0$ for all $i \in [k]\}$. Let $\delta \in [0,1]$, and let $W \subseteq S_V$ be a subspace such that $\operatorname{Rand}_f(\mathbf{w}) \leq \delta$ for every unit vector $\mathbf{w} \in W^\perp$ where $W^\perp$ is taken within $S_V$. Then there exists an intersection $g(\mathbf{x}) = \mathbf{1}\{g_1(\mathbf{x}) \geq 0, \ldots, g_k(\mathbf{x}) \geq 0\}$ such that $g_i \in P_{\leq 2}(V) \oplus \{\mathbf{u} \cdot \Phi_2(\mathbf{x}) : \mathbf{u} \in W\}$ for every $i \in [k]$, where $P_{\leq 2}(V)$ denotes the space of polynomials of degree at most two depending only on $\mathbf{x}_V$, such that $\operatorname{Pr}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)}[f(\mathbf{x}) \neq g(\mathbf{x})] \leq C k^C (\delta + \tau)^{1/20}$, for a universal constant $C > 1$. Proof of Lemma 3.7. Throughout this proof, $C_k$ denotes a positive quantity bounded by $C k^C$ for a universal constant $C > 1$; its value may increase from line to line. We prove $\operatorname{Pr}[f(\mathbf{x}) \neq g(\mathbf{x})] \leq C_k (\delta + \tau)^{1/20}$. The hypothesis says that, in the Gaussian model, $W$ captures almost all the label information beyond $\mathbf{x}_V$. Our goal is to obtain an approximation whose residual coefficients lie in $W$ and then use the same coefficients in the original model. Direct projection into $W$ need not preserve the coefficient bounds required for Gaussian comparison. We therefore first find a controlled coefficient span, retain the part of that span almost contained in $W$, and perform Gaussian comparison before making the final projection. We use two standard estimates. First, if $P, Q$ are degree-at-most-two polynomials of a standard Gaussian input, $\|P\|_2 \geq 1/2$, and $\|P - Q\|_2 \leq s$, then\mathbf{Pr}[\mathbf{1}{P \geq 0} \neq \mathbf{1}{Q \geq 0}] \leq C s^{2/5}. \tag{3}
Indeed, degree-two Gaussian anticoncentration and Markov's inequality give, for $t > 0$,\mathbf{Pr}[\mathbf{1}{P \geq 0} \neq \mathbf{1}{Q \geq 0}] \leq \mathbf{Pr}[|P| \leq t] + \mathbf{Pr}[|P - Q| > t] \leq C \sqrt{t} + \frac{s^2}{t^2}.
Taking $t = s^{4/5}$ proves the claim for $s > 0$; the case $s = 0$ is immediate. Second, Lemma 3.4 implies the following comparison for disagreement probabilities. For a joint tuple of $2k$ defining polynomials whose $L_2$ norms lie in $[1/2, 1]$ and whose residual coefficient bounds are at most $\rho$, the disagreement probability of the two corresponding intersections differs between the original and Gaussian models by at most $C_k \rho^{1/5}$. The claim is immediate when $\rho = 0$, and follows from the trivial bound 1 when $\rho \geq 1/2$, after increasing $C_k$. Suppose $0 < \rho < 1/2$. First normalize each polynomial by its positive $L_2$ norm, which increases its coefficient bounds by at most a factor of two. Smooth each threshold on a scale $t$. If $A, B \in [0,1]$ are the resulting smooth approximations to the two intersections, then $A + B - 2AB$ smoothly approximates their disagreement indicator and has second partial derivatives bounded by $Ct^{-2}$ for a universal constant $C$, since the undifferentiated factors lie in $[0,1]$. Anticoncentration and a union bound give smoothing error in each model at most $Ck\sqrt{t}$, since the Gaussian replacement preserves each polynomial's $L_2$ norm and is itself a degree-at-most-two polynomial of Gaussian variables. Applying Lemma 3.4 to the $2k$ normalized polynomials bounds the smooth comparison error by $Ck^2 \rho t^{-2}$. Taking $t = \rho^{2/5}$ gives a total bound of $Ck^2 \rho^{1/5}$. Write proj$_U$ for orthogonal projection onto a coefficient subspace $U$. Let $\epsilon = \delta + \tau$, and fix a sufficiently small universal constant $c \in (0, 2^{-8})$. We may assume that $\epsilon \leq ck^{-2}$. Otherwise, $1 \leq c^{-1/20} k^{1/10} \epsilon^{1/20}$, so the trivial error bound 1 gives the required conclusion with a polynomial prefactor in $k$. Choose parameters $a, b \in (0, 1/2)$, to be specified at the end. Step 1: Spectrally truncate the residual coefficient vectors. Although each $\boldsymbol{\theta}_i$ has small residual coefficients, a unit vector in their span can require a large linear combination of the $\boldsymbol{\theta}_i$'s when these vectors nearly cancel. We remove the directions responsible for this poor conditioning. These directions have little total weight in the defining polynomials, so removing them changes the target only slightly. Fact 3.8 (Spectral truncation). Let $\Theta : \mathbb{R}^k \to S_V$, $\Theta \alpha = \sum_{i=1}^k \alpha_i \theta_i$, $M = \Theta \Theta^\top$, and let $T$ be the eigenspace of $M$ with eigenvalues at least $a^2$. Then $\|\theta_i - \mathrm{proj}_T \theta_i\|_2 \leq a$ for every $i \in [k]$. Moreover, for every unit vector $\mathbf{v} \in T$, writing\mathbf{v}\cdot\Phi_{2}(\mathbf{x})=\mathbf{b}{\mathbf{v}}^{\top}\mathbf{x}{\perp}+\mathbf{x}{V}^{\top}\mathbf{L}{\mathbf{v}}\mathbf{x}{\perp}+\mathbf{x}{\perp}^{\top}\mathbf{A}{\mathbf{v}}\mathbf{x}{\perp}-\mathrm{t r}(\mathbf{A}_{\mathbf{v}}),
\max\left{|\mathbf{b}{\mathbf{v}}|{2},|\mathbf{L}{\mathbf{v}}|{\mathrm{op}},|\mathbf{A}{\mathbf{v}}|{\mathrm{op}}\right}\leq\frac{\sqrt{k}\tau}{a}.
Proof of Fact 3.8. By the definition of $T$, $\|(\mathbf{I} - \mathrm{proj}_T)\Theta\|_{\mathrm{op}} \leq a$. Applying this operator to each coordinate vector of $\mathbb{R}^k$ proves the first claim. Every unit $\mathbf{v} \in T$ has a representation $\mathbf{v} = \Theta \alpha$ with $\|\alpha\|_2 \leq a^{-1}$, obtained from the singular value decomposition of $\Theta$ restricted to the retained singular directions. The maps taking a residual coefficient vector to its $\mathbf{b}, \mathbf{L}, \mathbf{A}$ coefficients are linear. The triangle inequality and Cauchy–Schwarz therefore give\max\left{|\mathbf{b}{\mathbf{v}}|{2},|\mathbf{L}{\mathbf{v}}|{\mathrm{op}},|\mathbf{A}{\mathbf{v}}|{\mathrm{op}}\right}\leq\tau\sum_{i}|\alpha_{i}|\leq\sqrt{k}\tau|\alpha|_{2}\leq\frac{\sqrt{k}\tau}{a}.
\boldsymbol{\theta}{i}^{0}=\mathrm{p r o j}{T}\boldsymbol{\theta}{i},\qquad p{i}^{0}(\mathbf{x})=q_{i}(\mathbf{x}{V})+\boldsymbol{\theta}{i}^{0}\cdot\Phi_{2}(\mathbf{x}).
Let $f^0(\mathbf{x}) = \mathbf{1}\{p_i^0(\mathbf{x}) \geq 0$ for all $i \in [k]\}$. Let $\widetilde{p}_i^0(\mathbf{u}, \mathbf{z}) = q_i(\mathbf{u}) + \boldsymbol{\theta}_i^0 \cdot \mathbf{z}$ and let $\widetilde{f}^0$ be the corresponding Gaussian intersection. Orthogonality of the Hermite features gives $\|p_i - p_i^0\|_2 \leq a$, and the same bound holds in the Gaussian model. Consequently, (3) and a union bound imply\mathbf{P r}[f\neq f^{0}]\leq C_{k}a^{2/5},\qquad\mathbf{P r}[\widetilde{f}\neq\widetilde{f}^{0}]\leq C_{k}a^{2/5}. \tag{4}
Also, since the residual features have conditional mean zero given $\mathbf{x}_{V}$,n_{i}^{2}:=\left|p_{i}^{0}\right|{2}^{2}=\left|q{i}\right|{2}^{2}+\left|\boldsymbol{\theta}{i}^{0}\right|{2}^{2}=1-\left|\boldsymbol{\theta}{i}-\boldsymbol{\theta}{i}^{0}\right|{2}^{2}\geq1-a^{2}. \tag{5}
Write $\mathbf{u} = \mathbf{x}_V$, and let $\mathbf{z}, \mathbf{z}' \sim \mathcal{N}(0, \mathbf{I}_{S_V})$ be independent of each other and of $\mathbf{u}$. Let $U = \text{span}\{\text{proj}_{W^\perp} \boldsymbol{\theta}_i : i \in [k]\} \subseteq W^\perp$, and let $\mathbf{v}_1, \ldots, \mathbf{v}_r$ be an orthonormal basis of $U$, where $r = \dim U \leq k$. The function $\widetilde{f}(\mathbf{u}, \mathbf{z})$ depends on the $W^\perp$ component of $\mathbf{z}$ only through its projection onto $U$. Resampling the coordinates along $\mathbf{v}_1, \ldots, \mathbf{v}_r$ one at a time and applying a union bound therefore gives\mathbf{P r}\left[\widetilde{f}(\mathbf{u},\mathbf{z})\neq\widetilde{f}(\mathbf{u},\mathrm{p r o j}{W}\mathbf{z}+\mathrm{p r o j}{W^{\perp}}\mathbf{z}^{\prime})\right]\leq\sum_{j=1}^{r}\mathrm{R a n d}{\widetilde{f}}(\mathbf{v}{j})\leq r\delta\leq k\delta.
Both $\mathbf{z}$ and $\mathrm{proj}_{W}\mathbf{z} + \mathrm{proj}_{W^{\perp}}\mathbf{z}'$ are standard Gaussian. Applying (4) at both endpoints and using another union bound gives\mathbf{P r}\left[\widetilde{f}^{0}(\mathbf{u},\mathbf{z})\neq\widetilde{f}^{0}(\mathbf{u},\mathrm{p r o j}{W}\mathbf{z}+\mathrm{p r o j}{W^{\perp}}\mathbf{z}^{\prime})\right]\leq\eta,\qquad\eta:=k\delta+C_{k}a^{2/5}. \tag{6}
Here and below, constants denoted by $C_{k}$ may increase from line to line. Step 2: Retain the directions of $T$ almost contained in $W$. A direction of $T$ that lies substantially outside $W$ is substantially disturbed by rerandomizing $W^{\perp}$. Since this rerandomization rarely changes the label, the target has little dependence on such directions. The following fact makes this statement quantitative. Fact 3.9 (Gaussian resampling onto a nearby subspace). Let $T, W$ be subspaces of a finite-dimensional Euclidean space $S$. Let $\mathbf{z}, \mathbf{z}'$ be independent standard Gaussians on $S$, and let $\mathbf{u}$ be independent of them. Suppose $H(\mathbf{u}, \mathbf{z}) \in \{0,1\}$ depends on $\mathbf{z}$ only through $\operatorname{proj}_T \mathbf{z}$, and\mathbf{P r}[H(\mathbf{u},\mathbf{z})\neq H(\mathbf{u},\operatorname{p r o j}{W}\mathbf{z}+\operatorname{p r o j}{W^{\perp}}\mathbf{z}^{\prime})]\leq\eta.
Let $E \subseteq T$ be the eigenspace of $K = \operatorname{proj}_T \operatorname{proj}_W \operatorname{proj}_T: T \to T$ with eigenvalues at least $1 - b^2$. Then every $\mathbf{e} \in E$ satisfies $\|\mathbf{e} - \operatorname{proj}_W \mathbf{e}\|_2 \leq b \|\mathbf{e}\|_2$. Moreover, if $\mathbf{c}$ is an independent standard Gaussian on $T \cap E^\perp$, then\mathbf{P r}[H(\mathbf{u},\mathbf{z})\neq H(\mathbf{u},\operatorname{p r o j}_{E}\mathbf{z}+\mathbf{c})]\leq\frac{\eta}{b^{2}}.
Proof of Fact 3.9. Choose an orthonormal eigenbasis $\mathbf{e}_1, \ldots, \mathbf{e}_r$ of $K$, with eigenvalues $\lambda_j \in [0,1]$. In this basis,\mathrm{proj}{T}\mathbf{z}\qquad\mathrm{and}\qquad\mathrm{proj}{T}(\mathrm{proj}{W}\mathbf{z}+\mathrm{proj}{W^{\perp}}\mathbf{z}^{\prime})
are standard Gaussian vectors with cross-covariance $\mathrm{diag}(\lambda_1, \ldots, \lambda_r)$. For fixed u, expand H in the normalized multivariate Hermite basis:H\left(\mathbf{u},\sum_{j=1}^{r}s_{j}\mathbf{e}{j}\right)=\sum{\alpha\in\mathbb{N}^{r}}\widehat{H}{\mathbf{u}}(\alpha)H{\alpha}(\mathbf{s}).
Because $H$ is Boolean, disagreement probability equals expected squared difference. Orthogonality and the Gaussian Hermite correlation identity give\mathbf{P r}[H(\mathbf{u},\mathbf{z})\neq H(\mathbf{u},\operatorname{p r o j}{W}\mathbf{z}+\operatorname{p r o j}{W^{\perp}}\mathbf{z}^{\prime})]=2\sum_{\alpha}\left(1-\prod_{j=1}^{r}\lambda_{j}^{\alpha_{j}}\right)\mathbf{E}{\mathbf{u}}[\widehat{H}{\mathbf{u}}(\alpha)]^{2}. \tag{7}
Let $J = \{j : \lambda_j < 1 - b^2\}$, so that $T \cap E^\perp$ is spanned by the $\mathbf{e}_j$ with $j \in J$. Independently replacing precisely these coordinates gives disagreement probability $2 \sum_{\alpha: \exists j \in J, \alpha_j > 0} \mathbf{E}_{\mathbf{u}}[\widehat{H}_{\mathbf{u}}(\alpha)]^2$. For each term in this sum, $1 - \prod_j \lambda_j^{\alpha_j} \geq b^2$. Comparison with (7) proves the resampling bound. Finally, for $\mathbf{e} \in E$,|\mathbf{e}-\operatorname{p r o j}{W}\mathbf{e}|{2}^{2}=|\mathbf{e}|{2}^{2}-\langle\mathbf{e},K\mathbf{e}\rangle\leq b^{2}|\mathbf{e}|{2}^{2},
which proves the first claim. If $T = \{0\}$, both conclusions are immediate. Apply Fact 3.9 to $H = \widetilde{f}^{0}$, using (6). Write $B = T \cap E^{\perp}$ and\boldsymbol{\theta}{i}^{E}=\mathrm{p r o j}{E}\boldsymbol{\theta}{i}^{0},\qquad\boldsymbol{\theta}{i}^{B}=\mathrm{p r o j}{B}\boldsymbol{\theta}{i}^{0}.
For an independent standard Gaussian $\mathbf{c}$ on $B$, define $\widetilde{r}_i(\mathbf{u}, \mathbf{z}, \mathbf{c}) = q_i(\mathbf{u}) + \boldsymbol{\theta}_i^B \cdot \mathbf{c} + \boldsymbol{\theta}_i^E \cdot \mathbf{z}$, and let $\widetilde{h}(\mathbf{u}, \mathbf{z}, \mathbf{c}) = \mathbf{1}\{\widetilde{r}_i(\mathbf{u}, \mathbf{z}, \mathbf{c}) \geq 0$ for all $i \in [k]\}$. The fact gives\mathbf{P r}[\widetilde{f}^{0}(\mathbf{u},\mathbf{z})\neq\widetilde{h}(\mathbf{u},\mathbf{z},\mathbf{c})]\leq\frac{\eta}{b^{2}}. \tag{8}
Thus we have removed the directions of T outside E at a controlled cost. The remaining residual directions are both controlled by Fact 3.8 and close to W. Step 3: Transfer while the coefficients still lie in the controlled span. We now return to the original Hermite features, defining $r_i(\mathbf{x}, \mathbf{c}) = q_i(\mathbf{x}_V) + \boldsymbol{\theta}_i^B \cdot \mathbf{c} + \boldsymbol{\theta}_i^E \cdot \Phi_2(\mathbf{x})$, and $h(\mathbf{x}, \mathbf{c}) = \mathbf{1}\{r_i(\mathbf{x}, \mathbf{c}) \geq 0$ for all $i \in [k]\}$. It is important to keep $\mathbf{c}$ random during this step. Fixing $\mathbf{c}$ prematurely could make some defining polynomials nearly zero in $L_2$, preventing a uniform anticoncentration bound. Keeping $\mathbf{c}$ random preserves their norms:\begin{align*}|r_{i}|{L{2}(\mathbf{x},\mathbf{c})}^{2}&=|q_{i}|{2}^{2}+\left|\boldsymbol{\theta}{i}^{B}\right|{2}^{2}+\left|\boldsymbol{\theta}{i}^{E}\right|{2}^{2}\&=n{i}^{2}\in[1-a^{2},1].\end{align*}
(9) Treat the coordinates of $\mathbf{c}$ as additional retained Gaussian input coordinates, enlarging $V$ to $V' = V \oplus B_{\mathbf{c}}$, where $B_{\mathbf{c}}$ denotes this added coordinate space. Then $q_i(\mathbf{x}_V) + \boldsymbol{\theta}_i^B \cdot \mathbf{c}$ is a degree-at-most-two polynomial on that enlarged subspace. The residual coefficient vectors of the joint tuple $(p_1^0, \ldots, p_k^0, r_1, \ldots, r_k)$ are $\boldsymbol{\theta}_i^0$ and $\boldsymbol{\theta}_i^E$, respectively. They lie in $T$ and have Euclidean norm at most one. By Fact 3.8, all their coefficient bounds are at most $\sqrt{k}\tau/a$. Embedding these residuals in the enlarged Hermite feature space introduces only zero coefficients on the additional features involving $\mathbf{c}$. By (5) and (9), the $L_2$ norms of all $2k$ polynomials lie in $[1/2,1]$. Applying the error comparison bound to their joint disagreement event, and then using (8), gives\mathbf{P r}{\mathbf{x},\mathbf{c}}[f^{0}(\mathbf{x})\neq h(\mathbf{x},\mathbf{c})]\leq\frac{\eta}{b^{2}}+C{k}\left(\frac{\tau}{a}\right)^{1/5}. \tag{10}
Indeed, with the choices $a=\epsilon^{3/4}$ and $b=\epsilon^{1/8}$ made below, our smallness assumption ensures $a,b\in(0,1/2)$. Normalization increases the residual coefficient bounds by at most a factor of two, and\frac{2\sqrt{k}\tau}{a}\leq 2\sqrt{k}\epsilon^{1/4}\leq 2c^{1/4}<1.
Thus the normalized tuple satisfies the assumptions of Lemma 3.4. Step 4: Move the coefficients into $W$ and fix the extra Gaussian. We have completed Gaussian comparison while the residual coefficients remain in $E$. It remains to move these coefficients into $W$. This last move is small in coefficient norm, so it can be handled directly by sign stability. Set\mathbf{w}{i}=\operatorname{p r o j}{W}\boldsymbol{\theta}{i}^{E},\qquad g{i}(\mathbf{x},\mathbf{c})=q_{i}(\mathbf{x}{V})+\boldsymbol{\theta}{i}^{B}\cdot\mathbf{c}+\mathbf{w}{i}\cdot\Phi{2}(\mathbf{x}),
g_{\mathbf{c}}(\mathbf{x})=\mathbf{1}{g_{i}(\mathbf{x},\mathbf{c})\geq 0\mathrm{f o ra l l~}i\in[k]}.
\mathbf{P r}{\mathbf{x},\mathbf{c}}[f(\mathbf{x})\neq g{\mathbf{c}}(\mathbf{x})]\leq C_{k}\left[a^{2/5}+\frac{\delta+a^{2/5}}{b^{2}}+\left(\frac{\tau}{a}\right)^{1/5}+b^{2/5}\right].
a=\epsilon^{3/4},\qquad b=\epsilon^{1/8},\qquad\epsilon=\delta+\tau.
The four terms are bounded, respectively, by $\epsilon^{3/10}$, $\epsilon^{3/4} + \epsilon^{1/20}$, $\epsilon^{1/20}$, and $\epsilon^{1/20}$. Hence $\mathbf{Pr}_{\mathbf{x},\mathbf{c}}[f(\mathbf{x}) \neq g_{\mathbf{c}}(\mathbf{x})] \leq C_k \epsilon^{1/20}$. Finally, averaging over $\mathbf{c}$ gives a deterministic $\mathbf{c}_*$ with the same error bound over $\mathbf{x}$. Let $g = g_{\mathbf{c}_*}$. Since $\boldsymbol{\theta}_i^B \cdot \mathbf{c}_*$ is a constant and $\mathbf{w}_i \in W$, every defining polynomial satisfiesg_{i}(\cdot,\mathbf{c}{*})\in P{\leq 2}(V)\oplus{\mathbf{w}\cdot\Phi_{2}(\cdot):\mathbf{w}\in W}.
This proves the required conclusion. ### 3.3 Learning Regular Intersections We now specialize to the fully regular case $V=\{0\}$ and combine the preceding results with the moment-based dimension reduction of [DKS18] to obtain a learning algorithm for regular intersections. The algorithm estimates the first two labeled moments in the lifted feature space. The moment comparison in Lemma 3.3 shows that these estimates approximate the corresponding moments of the Gaussian surrogate. The Gaussian recovery guarantee then yields a coefficient subspace $W$ of dimension at most $k$, outside which the surrogate has small directional randomized error. By Lemma 3.7, the original target admits a good approximation by an intersection supported on $W$. We complete the algorithm by searching over a finite net of such intersections and selecting a hypothesis using independent validation samples. Theorem 3.10 (Efficiently Learning a Regular Instance). There is an algorithm with the following guarantee. Let $d, k \geq 1$ be integers and let $\epsilon \in (0, 1/2)$. Let $D$ be a distribution over $\mathbb{R}^d \times \{0,1\}$ with marginal $D_{\mathbf{x}} = \mathcal{N}(0, \mathbf{I}_d)$. Suppose there exists an intersection $f(\mathbf{x}) = \mathbf{1}\{p_1(\mathbf{x}) \geq 0, \ldots, p_k(\mathbf{x}) \geq 0\}$, where each $p_i$, $i \in [k]$, is a polynomial of degree at most two and is individually $(\tau, \{0\})$-regular, where $\tau \leq \left(\frac{\epsilon}{k}\right)^c$, $\mathbf{Pr}_{(\mathbf{x},y) \sim D}[f(\mathbf{x}) \neq y] \leq \left(\frac{\epsilon}{k}\right)^c$ and $c$ is a sufficiently large universal constant. Then given $k, \epsilon$ and i.i.d. sample access to $D$, the algorithm uses $d^{O(1)}(k/\epsilon)^{O(k^2)}$ time and sample complexity and with probability at least $2/3$ outputs a hypothesis $h: \mathbb{R}^d \to \{0,1\}$ with error $\mathbf{Pr}_{(\mathbf{x},y)\sim D}[h(\mathbf{x}) \neq y] \leq \epsilon$. Proof. We analyze Algorithm 1. The proof uses Lemma 3.3 to compare the estimated moments with their Gaussian counterparts and Lemma 3.7 to transfer the resulting subspace approximation to the original distribution. Let\nu=\underset{(\mathbf{x},y)\sim D}{\mathbf{Pr}}[f(\mathbf{x})\neq y],\qquad N=d(d+3)/2.
Replacing identically zero defining polynomials by 1 and rescaling the others by positive constants, assume that $\|p_i\|_2 = 1$ for every $i \in [k]$. Writep_{i}(\mathbf{x})=c_{i}+\boldsymbol{\theta}{i}\cdot\Phi{2}(\mathbf{x}),\qquad\widetilde{f}(\mathbf{z})=\mathbf{1}{c_{i}+\boldsymbol{\theta}_{i}\cdot\mathbf{z}\geq0\mathrm{f o r~a l l}i\in[k]}.
Here $\mathbf{z} \sim \mathcal{N}(0, \mathbf{I}_N)$. Fact 3.2 supplies the coefficient bounds required by Lemmas 3.3 and 3.7 with $V = \{0\}$. Define\boldsymbol{\mu}=\mathbf{E}{\mathbf{z}}[\widetilde{f}(\mathbf{z})\mathbf{z}],\qquad M=\mathbf{E}{\mathbf{z}}[\widetilde{f}(\mathbf{z})(\mathbf{z}\mathbf{z}^{\top}-\mathbf{I}_{N})],\qquad T=[\boldsymbol{\mu}\ M].
Let $\widehat{\mu}$, $\widehat{M}$, and $\widehat{T}$ be the estimates computed by the algorithm. We compare $\widehat{T}$ with $T$ by bounding the contributions of Gaussian replacement, label disagreement, and sampling error. Recall that $\lambda = (\epsilon/k)^A$. Smoothing the thresholds in Lemma 3.3 and applying Gaussian anticoncentration bounds the Gaussian-comparison error by $k^{O(1)}\tau^{\Omega(1)}$, with universal exponents. Algorithm 1 RegularLearning 1: Input: $d, k, \epsilon$, and i.i.d. sample access to $D$. 2: Output: A hypothesis $h: \mathbb{R}^d \to \{0,1\}$. 3: Set $N = d(d+3)/2$, $\lambda = (\epsilon/k)^A$, and $r = (\epsilon/(Ck))^{5/2}$, for sufficiently large universal constants $A, C$. 4: Using fresh samples, estimate\mathbf{E}{(\mathbf{x},y)\sim D}[y\Phi{2}(\mathbf{x})]\quad\text{and}\quad\mathbf{E}{(\mathbf{x},y)\sim D}[y(\Phi{2}(\mathbf{x})\Phi_{2}(\mathbf{x})^{\top}-\mathbf{I}_{N})]
by $\widehat{\mu}$ and $\widehat{M}$, with Euclidean and operator norm errors at most $\lambda/6$, respectively, and joint failure probability at most $1/6$. 5: Form $\widehat{T} = [\widehat{\mu} \quad \widehat{M}]$. Let $W$ be the span of its top $\min\{k, N\}$ left singular vectors, and compute an orthonormal basis $\mathbf{v}_1, \ldots, \mathbf{v}_m$ of $W$. 6: Construct an $r$-net $\mathcal{N}$ of the unit Gaussian $L_2$ sphere in\mathcal{Q}{W}=\mathrm{span}{1,\mathbf{v}{1}\cdot\Phi_{2},\ldots,\mathbf{v}{m}\cdot\Phi{2}},
\mathcal{H}={\mathbf{x}\mapsto\mathbf{1}{q_{i}(\mathbf{x})\geq 0\text{ for all }i\in[k]}:q_{1},\ldots,q_{k}\in\mathcal{N}}.
8: Draw an independent validation sample $\{(\mathbf{x}^{(j)}, y^{(j)})\}_{j=1}^{n_{\mathrm{val}}}$, where $n_{\mathrm{val}} = \lceil C\epsilon^{-2}\log(12|\mathcal{H}|) \rceil$. 9: Return: A hypothesis\widehat{h}\in\arg\min_{h\in\mathcal{H}}\frac{1}{n_{\mathrm{val}}}\sum_{j=1}^{n_{\mathrm{val}}}\mathbf{1}{h(\mathbf{x}^{(j)})\neq y^{(j)}}.
The label disagreement contributes $O(\sqrt{\nu})$: for every unit vector $\mathbf{v}$, Gaussian hypercontractivity gives|\mathbf{v}\cdot\Phi_{2}|{2}=1,\qquad|(\mathbf{v}\cdot\Phi{2})^{2}-1|_{2}=O(1),
so Cauchy-Schwarz bounds the perturbations of the two moment blocks in Euclidean and operator norm, respectively. The entries of the observed moment blocks have universally bounded variance. Entrywise median-of-means estimates with accuracy $\lambda/(6N)$ therefore give the accuracies required by the algorithm using poly$(d,1/\lambda)$ time and samples. With probability at least 5/6, we consequently have\left|\widehat{T}-T\right|_{\mathrm{op}}\leq k^{O(1)}\tau^{\Omega(1)}+O(\sqrt{\nu})+\lambda/3\leq\lambda,
where the last inequality holds when the constant $c$ in the theorem is sufficiently large. Let $W$ be the subspace computed by the algorithm. Since $\widetilde{f}$ depends only on the projection onto $\operatorname{span}\{\boldsymbol{\theta}_1,\ldots,\boldsymbol{\theta}_k\}$, the range of $T$ lies in this subspace. Hence $\operatorname{rank}(T)\leq k$, and $\|\operatorname{proj}_{W^\perp}T\|_{\operatorname{op}}\leq 2\lambda$. It follows that, for every unit $\mathbf{v}\in W^\perp$, the correlation of $\widetilde{f}$ with any centered, normalized univariate polynomial of degree at most two in $\mathbf{v}\cdot\mathbf{z}$ is $O(\lambda)$. By [DKS18, Proposition 5.2],\operatorname{Rand}{\widetilde{f}}(\mathbf{v})\leq O\left(k^{4/11}\lambda^{1/11}\log^{2/11}(2k/\lambda)\right)=:\delta{0}.
Lemma 3.7 therefore gives an intersection $g$ whose defining polynomials belong to\mathcal{Q}{W}=\mathbb{R}\oplus{\mathbf{w}\cdot\Phi{2}:\mathbf{w}\in W},
\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq g(\mathbf{x})]\leq k^{O(1)}(\delta_{0}+\tau)^{1/20}\leq\epsilon/4.
Choosing $A$ sufficiently large and then $c$ sufficiently large ensures this inequality. It remains to show that the candidate family $\mathcal{H}$ contains a good hypothesis. Since $\mathbf{v}_1,\ldots,\mathbf{v}_m$ are orthonormal coefficient vectors, the polynomials $1,\mathbf{v}_1\cdot\Phi_2,\ldots,\mathbf{v}_m\cdot\Phi_2$ are orthonormal under $\mathcal{N}(0,\mathbf{I}_d)$. Thus the Euclidean coefficient net used by the algorithm is an $r$-net in Gaussian $L_2$ norm. Since $m\leq k$, $|\mathcal{H}|\leq (C/r)^{k(k+1)}$. Normalize the nonzero defining polynomials of $g$, replacing zero constraints by 1. The sign-stability estimate from the proof of Lemma 3.7 shows that rounding these polynomials to the net changes the intersection on a set of probability at most $C k r^{2/5}$. The algorithm's choice $r=(\epsilon/(C k))^{5/2}$ therefore ensures that $\mathcal{H}$ contains a hypothesis $h_0$ with\mathbf{P r}{(\mathbf{x},y)\sim D}[h{0}(\mathbf{x})\neq y]\leq\mathbf{P r}{\mathbf{x}}[f(\mathbf{x})\neq g(\mathbf{x})]+\mathbf{P r}{\mathbf{x}}[g(\mathbf{x})\neq h_{0}(\mathbf{x})]+\nu\leq 3\epsilon/4,
where the probabilities over $\mathbf{x}$ are under $\mathcal{N}(0,\mathbf{I}_{d})$. Conditioned on the preceding samples, the family $\mathcal{H}$ is fixed and the validation samples are independent. Hoeffding's inequality and a union bound imply that, with probability at least 5/6, every candidate's empirical error differs from its true error by at most $\epsilon/8$. The empirical minimizer returned by the algorithm therefore has true error at most $\epsilon/4$ above that of $h_0$, and hence at most $\epsilon$. The overall success probability is at least 2/3. Moment estimation and subspace recovery take poly$(d,k/\epsilon)$ time, while $|\mathcal{H}|=(k/\epsilon)^{O(k^2)}$. The claimed time and sample bounds follow. $\square$ ## 4 Reduction to the Regular Case using Randomness In this section, we show that if the randomized error is sufficiently small along every direction orthogonal to $V$, then the target is close to an intersection whose defining polynomials are $(\tau, V)$-regular. The intuition for this is simple. We write each original defining polynomial as $q_i(\mathbf{x}) = q_i(\mathbf{z}, \mathbf{w}) = a_i(\mathbf{z}) + (b_i + L_i^\top \mathbf{z})^\top \mathbf{w} + \mathbf{w}^\top \mathbf{A}_i \mathbf{w} - \mathrm{tr}(\mathbf{A}_i)$, where $\mathbf{z} = \mathrm{proj}_V(\mathbf{x})$ and $\mathbf{w} = \mathrm{proj}_{V^\perp}(\mathbf{x})$. We call $(b_i + L_i^\top \mathbf{z})^\top \mathbf{w} + \mathbf{w}^\top \mathbf{A}_i \mathbf{w} - \mathrm{tr}(\mathbf{A}_i)$ the remainder of $q_i$. Notice that a remainder consists of a linear term $b_i \cdot \mathbf{w}$, a mixed term $(L_i^\top \mathbf{z}) \cdot \mathbf{w}$ and a pure quadratic term defined by $\mathbf{A}_i$. We select the subspace $U \subseteq V^\perp$ to be the subspace spanned by all $b_i$, right singular vectors of $L_i$ corresponding to large singular values and large eigenvectors of $\mathbf{A}_i$. The intuition here is that if we fix the component of $\mathbf{x}$ in $U$ at some fixed point. Now the mixed term of the resulting polynomial has no large singular values and the quadratic term of it has no large eigenvalues. In fact, combining the fact that every direction in $V^\perp$ has a tiny randomized error and Gaussian anti-concentration, we are able to show that there exists a choice of the coordinates in $U$ such that the resulting intersection is close to the original one and each defining polynomial has a not too small norm. However, this does not imply regularity yet, because the resulting polynomial could have new large linear terms. To deal with this, we apply the same idea above but only find a fix along the subspace spanned by these $k$ linear terms. As a result, the residual linear coefficient vectors and the operator norms of the residual mixed and quadratic coefficient matrices are small, while each resulting polynomial has a nonnegligible Gaussian $L_2$ norm. With our parameter choices, we distinguish two cases. If the variance is sufficiently large relative to the residual coefficient bounds, the directional-influence identity in the proof of Fact 3.2 gives $(\tau, V)$-regularity. Otherwise, the variance is small compared with the squared $L_2$ norm, so the polynomial has a nonnegligible mean. Chebyshev's inequality then shows that its threshold function is close to a constant. Theorem 4.1 (Regular approximation from small randomized error). There is a universal constant $C > 1$ such that the following holds. Let $k \geq 1$, $\epsilon, \tau \in (0,1)$, and let $V \subseteq \mathbb{R}^d$ be a subspace. Suppose that $f: \mathbb{R}^d \to \{0,1\}$ is an intersection of at most $k$ degree-2 PTFs and\mathrm{R a n d}{f}(\mathbf{v})\leq \alpha{k}(\epsilon,\tau):=\frac{\tau^{2}\epsilon^{2}}{C k^{12}},
for every unit vector $\mathbf{v} \in V^\perp$. Then there are $k' \leq k$ polynomials $q_1, \ldots, q_{k'}$ of degree at most two such that $g(\mathbf{x}) = \mathbf{1}\{q_1(\mathbf{x}) \geq 0, \ldots, q_{k'}(\mathbf{x}) \geq 0\}$ satisfies $\mathbf{P r}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)}[f(\mathbf{x}) \neq g(\mathbf{x})] \leq \epsilon$, and each $q_i$ is $(\tau, V)$-regular. We first give two facts about random restrictions. The first allows us to choose the second set of directions after fixing the first set. Fact 4.2. Let $f, h: \mathbb{R}^d \to \{0,1\}$ be Boolean functions. For every unit vector $\mathbf{v} \in \mathbb{R}^d$, we have\mathrm{R a n d}{h}(\mathbf{v})\leq \mathrm{R a n d}{f}(\mathbf{v})+2\mathop{\bf P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq h(\mathbf{x})].
Moreover, let $U$ be a subspace with orthonormal basis $\mathbf{v}_1, \ldots, \mathbf{v}_m$. For $\mathbf{z} \in U$, define $f_{\mathbf{z}}(\mathbf{x}) = f(\mathbf{z} + \mathrm{proj}_{U^\perp}\mathbf{x})$. Then\mathop{\bf E}{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I}{U})}\left[\mathop{\bf P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq f_{\mathbf{z}}(\mathbf{x})]\right]\leq\sum_{j=1}^{m}\mathrm{R a n d}{f}(\mathbf{v}{j}).
Proof of Fact 4.2. Let $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$ and $s \sim \mathcal{N}(0, 1)$ be independent, and set $\mathbf{x}' = \text{proj}_{\mathbf{v}^\perp} \mathbf{x} + s\mathbf{v}$. By a union bound,\begin{aligned}\mathrm{Rand}{h}(\mathbf{v})&=\mathbf{Pr}{\mathbf{x},s}[h(\mathbf{x})\neq h(\mathbf{x}^{\prime})]\&\leq\mathbf{Pr}{\mathbf{x},s}[h(\mathbf{x})\neq f(\mathbf{x})]+\mathbf{Pr}{\mathbf{x},s}[f(\mathbf{x})\neq f(\mathbf{x}^{\prime})]+\mathbf{Pr}{\mathbf{x},s}[f(\mathbf{x}^{\prime})\neq h(\mathbf{x}^{\prime})]\&=\mathrm{Rand}{f}(\mathbf{v})+2\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq h(\mathbf{x})],\end{aligned}
where the last equality uses that both $\mathbf{x}$ and $\mathbf{x}'$ are standard Gaussians. For the second claim, draw $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$ and $\mathbf{z} \sim \mathcal{N}(0, \mathbf{I}_U)$ independently, and replace the coordinates of $\mathbf{x}$ along $\mathbf{v}_1, \ldots, \mathbf{v}_m$ one at a time by those of $\mathbf{z}$. At each step, the input is standard Gaussian, and the probability that the label changes at step $j$ is $\text{Rand}_f(\mathbf{v}_j)$. Taking a union bound over the $m$ steps proves the claim. The next lemma ensures that the defining polynomials do not become too small in $L_{2}$ after fixing the coordinates. Lemma 4.3. There is a universal constant $K \geq 1$ such that the following holds. Let $p : \mathbb{R}^d \to \mathbb{R}$ be a nonzero polynomial of degree at most two, and let $U \subseteq \mathbb{R}^d$ be a subspace. For $\mathbf{z} \in U$, define $p_{\mathbf{z}}(\mathbf{x}) = p(\mathbf{z} + \text{proj}_{U^\perp} \mathbf{x})$. Then, for every $\kappa \in (0,1)$,\mathbf{P r}{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I}{U})}[|p_{\mathbf{z}}|{2}<\kappa|p|{2}]\leq K\sqrt{\kappa}.
Proof of Lemma 4.3. Define $Q(\mathbf{z}) = \mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_{U^\perp})}[p(\mathbf{z} + \mathbf{w})^2]$. Then $Q$ is a nonnegative polynomial of degree at most four, $Q(\mathbf{z}) = \|p_{\mathbf{z}}\|_2^2$, and $\mathbf{E}_{\mathbf{z} \sim \mathcal{N}(0, \mathbf{I}_U)}[Q(\mathbf{z})] = \|p\|_2^2$. By the Carbery-Wright inequality for degree-4 polynomials,\mathbf{P r}{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I}{U})}[Q(\mathbf{z})<\kappa^{2}|p|_{2}^{2}]\leq K(\kappa^{2})^{1/4}=K\sqrt{\kappa}.
f(\mathbf{x})=\mathbf{1}{p_{1}(\mathbf{x})\geq0,\ldots,p_{k}(\mathbf{x})\geq0},\qquad|p_{i}|_{2}=1\quad\mathrm{f o re v e r y}i\in[k].
\alpha=\frac{\tau^{2}\epsilon^{2}}{C k^{12}},\qquad\kappa=(4K k)^{-2},\qquad\delta^{2}=\frac{\tau^{2}\epsilon\kappa^{4}}{200k^{2}}.
In particular, $\delta \in (0,1)$. Write $W = V^\perp$, and, for $\mathbf{z} \in V$ and $\mathbf{w} \in W$, decomposep_{i}(\mathbf{z}+\mathbf{w})=a_{i}(\mathbf{z})+\mathbf{b}{i}^{\top}\mathbf{w}+\mathbf{z}^{\top}\mathbf{L}{i}\mathbf{w}+\mathbf{w}^{\top}\mathbf{A}{i}\mathbf{w}-\mathrm{t r}(\mathbf{A}{i}),
where $\mathbf{L}_i: W \to V$ is linear and $\mathbf{A}_i: W \to W$ is symmetric. By Gaussian orthogonality,|\mathbf{b}{i}|{2}^{2}+|\mathbf{L}{i}|{F}^{2}+2|\mathbf{A}{i}|{F}^{2}\leq1. \tag{11}
First restriction. Let $U \subseteq W$ be the span, over all $i \in [k]$, of $\mathbf{b}_i$, the right singular vectors of $\mathbf{L}_i$ with singular value greater than $\delta$, and the eigenvectors of $\mathbf{A}_i$ with eigenvalue of absolute value greater than $\delta$. By (11), $m := \dim U \leq 3k\delta^{-2}$. Let $R = W \cap U^\perp$. By the choice of $U$, for every $i \in [k]$,\mathrm{proj}{R}\mathbf{b}{i}=0,\qquad|\mathbf{L}{i}\mathrm{proj}{R}|{\mathrm{op}}\leq\delta,\qquad|\mathbf{A}{i}\mathrm{proj}{R}|{\mathrm{op}}=|\mathrm{proj}{R}\mathbf{A}{i}|_{\mathrm{op}}\leq\delta. \tag{12}
For $\mathbf{t} \in U$, definep_{i,\mathbf{t}}(\mathbf{x})=p_{i}(\mathrm{p r o j}{V}\mathbf{x}+\mathbf{t}+\mathrm{p r o j}{R}\mathbf{x}),\qquad f_{\mathbf{t}}(\mathbf{x})=f(\mathrm{p r o j}{V}\mathbf{x}+\mathbf{t}+\mathrm{p r o j}{R}\mathbf{x}).
\mathbf{E}{\mathbf{t}\sim\mathcal{N}(0,\mathbf{I}{U})}\left[\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq f_{\mathbf{t}}(\mathbf{x})]\right]\leq m\alpha.
By Markov's inequality, with probability at least 3/4 over $\mathbf{t} \sim \mathcal{N}(0, \mathbf{I}_U)$, the inner probability is at most $4m\alpha$. Moreover, Lemma 4.3 and a union bound imply that\mathbf{P r}{\mathbf{t}\sim\mathcal{N}(0,\mathbf{I}{U})}[\exists i\in[k]:|p_{i,\mathbf{t}}|_{2}<\kappa]\leq k K\sqrt{\kappa}=1/4.
We can therefore fix $\mathbf{t} \in U$ such thate_{1}:=\mathop{\bf P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq f_{\mathbf{t}}(\mathbf{x})]\leq4m\alpha,\qquad|p_{i,\mathbf{t}}|_{2}\geq\kappa\quad\mathrm{f o re v e r y}i\in[k].
p_{i,\mathbf{t}}(\mathbf{z}+\mathbf{w})=a_{i,\mathbf{t}}(\mathbf{z})+\mathbf{b}{i,\mathbf{t}}^{\top}\mathbf{w}+\mathbf{z}^{\top}\mathbf{L}{i,R}\mathbf{w}+\mathbf{w}^{\top}\mathbf{A}{i,R}\mathbf{w}-\mathrm{t r}(\mathbf{A}{i,R}),
\mathbf{b}{i,\mathbf{t}}=2\mathrm{p r o j}{R}\mathbf{A}{i}\mathbf{t},\qquad\mathbf{L}{i,R}=\mathbf{L}{i}|{R},\qquad\mathbf{A}{i,R}=\mathrm{p r o j}{R}\mathbf{A}{i}|{R}.
The operators $\mathbf{L}_{i,R}$ and $\mathbf{A}_{i,R}$ have norm at most $\delta$, but $\mathbf{b}_{i,\mathbf{t}}$ need not be small. We remove these linear terms by a second restriction. Second restriction. LetH=\operatorname{s p a n}{\mathbf{b}_{i,\mathbf{t}}:i\in[k]}\subseteq R,\qquad S=R\cap H^{\perp}.
We have $\dim H \leq k$. Although $H$ depends on $\mathbf{t}$, we have already fixed $\mathbf{t}$. By Fact 4.2, for every unit $\mathbf{v} \in W$,\mathrm{R a n d}{f{\mathbf{t}}}(\mathbf{v})\leq\mathrm{R a n d}{f}(\mathbf{v})+2e{1}\leq\alpha+2e_{1}.
For $\mathbf{s} \in H$, definer_{i,\mathbf{s}}(\mathbf{x})=p_{i}(\mathrm{p r o j}{V}\mathbf{x}+\mathbf{t}+\mathbf{s}+\mathrm{p r o j}{S}\mathbf{x}),\qquad h_{\mathbf{s}}(\mathbf{x})=f(\mathrm{p r o j}{V}\mathbf{x}+\mathbf{t}+\mathbf{s}+\mathrm{p r o j}{S}\mathbf{x}).
Applying Fact 4.2 to $f_{t}$ and H, we obtain\mathop{\bf E}{\mathbf{s}\sim\mathcal{N}(0,\mathbf{I}{H})}\left[\mathop{\bf P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f_{\mathbf{t}}(\mathbf{x})\neq h_{\mathbf{s}}(\mathbf{x})]\right]\leq k(\alpha+2e_{1}).
Also, $\mathbf{E}_{\mathbf{s}\sim\mathcal{N}(0,\mathbf{I}_H)}[\|\mathbf{s}\|_2^2] = \dim H \leq k$. Applying Markov's inequality to these two quantities, and applying Lemma 4.3 to $p_{i,\mathbf{t}}$, we can fix $\mathbf{s} \in H$ such that\begin{align*}e_{2}&:=\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f_{\mathbf{t}}(\mathbf{x})\neq h_{\mathbf{s}}(\mathbf{x})]\leq4k(\alpha+2e_{1}),\|\mathbf{s}|{2}^{2}&\leq4k,\|r{i,\mathbf{s}}|{2}\geq\kappa|p{i,\mathbf{t}}|_{2}\geq\kappa^{2}\qquad for every i\in[k].\end{align*}
(13) Indeed, each of the first two conditions fails with probability at most 1/4, and the probability that any of the norm conditions fails is at most $kK\sqrt{\kappa}=1/4$. Fix such an $\mathbf{s}$, and write $r_{i}=r_{i,\mathbf{s}}$ and $h=h_{\mathbf{s}}$. The error after the two restrictions is bounded by\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[f(\mathbf{x})\neq h(\mathbf{x})]\leq e_{1}+e_{2}\leq(1+8k)e_{1}+4k\alpha\leq4(1+8k)m\alpha+4k\alpha\leq112k^{2}\delta^{-2}\alpha.
Regularity of the remaining polynomials. Since $\text{proj}_S \mathbf{b}_{i,\mathbf{t}} = 0$, the residual coefficients of $r_i$ are\widetilde{\mathbf{b}}{i}=2\mathrm{p r o j}{S}\mathbf{A}{i,R}\mathbf{s},\qquad\widetilde{\mathbf{L}}{i}=\mathbf{L}{i}|{S},\qquad\widetilde{\mathbf{A}}{i}=\mathrm{p r o j}{S}\mathbf{A}{i}|{S}.
\left|\widetilde{\mathbf{b}}{i}\right|{2}\leq4\delta\sqrt{k},\qquad\left|\widetilde{\mathbf{L}}{i}\right|{\mathrm{o p}}\leq\delta,\qquad\left|\widetilde{\mathbf{A}}{i}\right|{\mathrm{o p}}\leq\delta.
Every $r_i$ ignores the coordinates in $U \oplus H$. For a unit vector $\mathbf{v} \in V^\perp$, let $\mathbf{w} = \mathrm{proj}_S \mathbf{v}$. Using the coefficient identity from Fact 3.2, we obtain\begin{align*}\inf_{r_{i}}(\mathbf{v})&=\underset{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}{\mathbf{E}}[(\mathbf{v}\cdot\nabla r{i}(\mathbf{x}))^{2}]\&=(\widetilde{\mathbf{b}}{i}^{\top}\mathbf{w})^{2}+\left|\widetilde{\mathbf{L}}{i}\mathbf{w}\right|{2}^{2}+4\left|\widetilde{\mathbf{A}}{i}\mathbf{w}\right|_{2}^{2}\&\leq(16k+5)\delta^{2}\leq21k\delta^{2}.\end{align*}
Thus the second restriction introduces only small linear coefficients, and no further restriction is needed. It remains to compare this bound with the variance of $r_i$. Set $\lambda = \frac{\epsilon \kappa^4}{8k}$. If $\mathrm{Var}_{\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)}[r_i(\mathbf{x})] \geq \lambda$, let $q_i = r_i$. By the choice of $\delta$, for every unit $\mathbf{v} \in V^\perp$,\operatorname*{i n f}{q{i}}(\mathbf{v})\leq21k\delta^{2}\leq\tau^{2}\lambda\leq\tau^{2}\operatorname{V a r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[q_{i}(\mathbf{x})].
Therefore, $q_{i}$ is $(\tau,V)$-regular. Otherwise, let $\mu_i = \mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)}[r_i(\mathbf{x})]$. By (13),\mu_{i}^{2}=|r_{i}|{2}^{2}-\mathrm{V a r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[r{i}(\mathbf{x})]\geq\kappa^{4}-\lambda\geq\kappa^{4}/2>0.
Set $q_{i}=1$ if $\mu_{i}>0$ and $q_{i}=-1$ if $\mu_{i}<0$. This constant polynomial is $(\tau,V)$-regular. By Chebyshev's inequality,\begin{align*}\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}&[\mathbf{1}{r_{i}(\mathbf{x})\geq0}\neq\mathbf{1}{q_{i}\geq0}]\&\leq\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[\left|r_{i}(\mathbf{x})-\mu_{i}\right|\geq|\mu_{i}|!]\&\leq\frac{\mathrm{Var}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[r_{i}(\mathbf{x})]}{\mu_{i}^{2}}\leq\frac{2\lambda}{\kappa^{4}}=\frac{\epsilon}{4k}.\end{align*}
Let $g(\mathbf{x}) = \mathbf{1}\{q_i(\mathbf{x}) \geq 0$ for every $i \in [k]\}$. Combining the preceding bound on $\Pr_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)}[f(\mathbf{x}) \neq h(\mathbf{x})]$ with a union bound gives\mathop{\mathrm{Pr}}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}_d)}[f(\mathbf{x})\neq g(\mathbf{x})]\leq 112k^2\delta^{-2}\alpha+\epsilon/4.
Taking $C$ sufficiently large makes the first term in the preceding bound at most $\epsilon/2$, so the error is at most $3\epsilon/4 \leq \epsilon$. Finally, positive rescaling preserves both the threshold and $(\tau,V)$-regularity, so we may normalize every $q_i$ to have $L_2$ norm one. Constant-true constraints can be omitted, and an intersection containing a constant-false constraint can be represented by the single polynomial $-1$. If all constraints are omitted, use the single polynomial 1. Thus $g$ is an intersection of at most $k$ degree-2 PTFs, regular with respect to the original subspace $V$. $\square$ ## 5 Certificate Polynomial for Intersections of $k$ Degree-2 PTFs In this section, we develop the main structural result, Theorem 5.1, for intersections of degree-2 polynomial threshold functions. We show that given a Boolean function $f(\mathbf{x})$ that is a product of an intersection of $k$ degree-2 PTFs and any Boolean function $g(\mathbf{w})$ that is independent of a direction $\mathbf{v} \in \mathbb{R}^d$. Suppose the randomized error of $f$ along $\mathbf{v}$ is at least $\alpha$, then there is a certificate polynomial of degree at most $2k$ correlates with $f$. In particular, such a polynomial can be written as a product as one polynomial that only depends on $\mathbf{v}$ direction and one independent of $\mathbf{v}$ direction. As we show in Section 6, such a structure enables us to efficiently find such a direction $\mathbf{v}$. Theorem 5.1. Let $f(\mathbf{x}) = g(\mathbf{w})\mathbb{1}\{q_1(\mathbf{x}) \geq 0, \ldots, q_k(\mathbf{x}) \geq 0\} : \mathbb{R}^d \to \{0,1\}$, where for $i \in [k]$, $q_i$ is a degree-2 polynomial, $\mathbf{w} = \text{proj}_{\mathbf{v}^\perp}(\mathbf{x})$ and $g(\mathbf{w}) \in \mathbf{v}^\perp \to \{0,1\}$, $\mathbf{v} \in \mathbb{S}^{d-1}$. Suppose that $\text{Rand}_f(\mathbf{v}) \geq \alpha$, for some $\alpha \in (0,1)$, then there exists some $r \in [2k]$ and a polynomial $p(\mathbf{w}) : \mathbf{v}^\perp \to \mathbb{R}$, with $\|p\| = 1$ such that\mathop{\mathrm{E}}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})h{r}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]\geq \Omega(\alpha^{2^{O(k)}}),
and $r + \deg(p) \leq 2k$. To gain an intuition for why some degree $2k$ polynomial can correlate with such a function $f$, we fix some $\mathbf{w} \perp \mathbf{v}$ and treat $f(\mathbf{x})$ as a one-dimensional function along $\mathbf{v}$ direction. If $g(\mathbf{w}) = 1$, then $f(\mathbf{x})$ is the indicator of a union of at most $k+1$ intervals along the $\mathbf{v}$ direction, with at most $2k$ jump points. This implies that for such a fixed layer $\mathbf{w}$, a degree $2k$ polynomial along direction $\mathbf{v}$ that crosses the boundaries of these intervals has a correlation with $f$. However, such a construction does not imply a certificate polynomial required in Theorem 5.1, because if we average the correlation for such a polynomial over $\mathbf{w}$ spaces, the correlations can cancel with each other. Thus, some multiplies $p(\mathbf{w})$ is needed to avoid such a cancellation. Though, such an intuition does not directly give a way of constructing the required certificate, it motivates breaking down $f(\mathbf{x})$ into layers by fixing $\mathbf{w} \in \mathbf{v}^\perp$ and looking at the decision boundary of $f$ as a one-dimensional function along $\mathbf{v}$. We introduce the following operator that will be heavily used throughout this work. ### 5.1 Boundary Operator and Weighted Decision Boundary Definition 5.2 (Boundary Operator). Let $P$ be the class of polynomials over $\mathbb{R}^d$ and $\mathbf{v} \in \mathbb{S}^{d-1}$, we define the boundary operator $M_{\mathbf{v}}: P \to P$ as $M_{\mathbf{v}}(p) = (\mathbf{x} \cdot \mathbf{v})p - \partial_{\mathbf{v}}p$. Before presenting the properties of the boundary operator, we first give the following facts about one-dimensional Hermite polynomials as well as the derivative of one-dimensional Boolean functions. Fact 5.3. Let $k \in \mathbb{Z}_+$ and let $h_k(z) : \mathbb{R} \to \mathbb{R}$ be the 1D degree-k Hermite polynomial. Then the following identities hold.d h_{k}(z)/d z=\sqrt{k}h_{k-1}(z),\qquad z h_{k}(z)=\sqrt{k+1}h_{k+1}(z)+\sqrt{k}h_{k-1}(z).
Fact 5.4. Let $f: \mathbb{R} \to \{0,1\}$ be a step function with a set of finite jump points $S$. For every $s \in S$, define $\Delta_f(s) = \lim_{\tau \to 0^+} f(s + \tau) - \lim_{\tau \to 0^+} f(s - \tau)$. Then, in the sense of distributions, $df/dx = \sum_{s \in S} \Delta_f(s) \delta_s$, where $\delta_s$ is the Dirac delta distribution at $s$. The boundary operator has two important properties following Fact 5.3 that will be used for our proof. The first one is Fact 5.5. Fact 5.5. Let $p(\mathbf{x})\colon \mathbb{R}^d \to \mathbb{R}$ be a polynomial with degree $r$. Let $\mathbf{v} \in \mathbb{S}^{d-1}$. Write $p(\mathbf{x}) = \sum_{i=0}^r h_i(\mathbf{v} \cdot \mathbf{x}) M_i(\mathbf{w})$, where $\mathbf{w} = \text{proj}_{\mathbf{v} \perp}(\mathbf{x})$ and $M_i(\mathbf{w})$ is a polynomial over $\mathbf{w}$ with degree at most $r-i$. Then, $M_{\mathbf{v}} p(\mathbf{x}) = \sum_{i=0}^r \sqrt{i+1} h_{i+1}(\mathbf{v} \cdot \mathbf{x}) M_i(\mathbf{w})$. Roughly speaking, for every polynomial $p(\mathbf{x})$, the Hermite decomposition of $M_{\mathbf{v}}p$ has no term that is totally independent of the $\mathbf{v}$ direction. In other words, if $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}p(\mathbf{x})]\geq\beta$, then Fact 5.5 implies that there must be some $i\geq1$ such that $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})h_{i}(\mathbf{v}\cdot\mathbf{x})M_{i-1}(\mathbf{w})]\geq\beta/(r+1)^{3/2}$. Thus, to prove Theorem 5.1, it suffices to construct some certificate polynomial $p(\mathbf{x})$ such that $M_{\mathbf{v}}p$ has non-trivial correlation with $f$. The second property, Lemma 5.6 is an application of integration by parts. Roughly speaking, consider the correlation between a one-dimensional Boolean function $f(\mathbf{x})$ along direction $\mathbf{v}$, and a polynomial $M_{\mathbf{v}}p$ under a Gaussian distribution. The correlation can be written as the sum of the value of $p$ (up to the sign change of $f$) at every boundary point weighted by its Gaussian density. Lemma 5.6. Let $f: \mathbb{R}^d \to \{0,1\}$ be a Boolean function. For $\mathbf{v} \in \mathbb{S}^{d-1}$, write $\mathbf{x} = z\mathbf{v} + \mathbf{w}$, where $z = \mathbf{v} \cdot \mathbf{x}$ and $\mathbf{w} = \text{proj}_{\mathbf{v} \perp}(\mathbf{x})$. For every $\mathbf{w} \perp \mathbf{v}$, denote by $f_{\mathbf{w}}(z) = f(z\mathbf{v} + \mathbf{w})$. Then for every polynomial $p: \mathbb{R}^d \to \mathbb{R}$, it holds\mathop{\bf E}{z\sim\mathcal{N}(0,1)}[f{\mathbf{w}}(z)M_{\mathbf{v}}p(z\mathbf{v}+\mathbf{w})]=\mathop{\bf E}{z\sim\mathcal{N}(0,1)}[f{\mathbf{w}}^{\prime}(z)p(z\mathbf{v}+\mathbf{w})]
In particular, if $f_{\mathbf{w}}(z)$ is a step function with the set of finite jump points $S_{\mathbf{w}}$, then\mathop{\bf E}{z\sim\mathcal{N}(0,1)}[f{\mathbf{w}}(z)M_{\mathbf{v}}p(z\mathbf{v}+\mathbf{w})]=\sum_{s\in S_{\mathbf{w}}}\Delta_{f_{\mathbf{w}}}(s)p(s\mathbf{v}+\mathbf{w})\phi(s).
\begin{align*}\mathbf{E}{z\sim\mathcal{N}(0,1)}[f^{\prime}{\mathbf{w}}(z)p(z\mathbf{v}+\mathbf{w})]&=\int_{\mathbb{R}}f^{\prime}{\mathbf{w}}(z)p{\mathbf{w}}(z)\phi(z)dz=-\int_{\mathbb{R}}f_{\mathbf{w}}(z)(p_{\mathbf{w}}(z)\phi(z))^{\prime}\&=-\int_{\mathbb{R}}f_{\mathbf{w}}(z)(p^{\prime}{\mathbf{w}}(z)\phi(z)-zp{\mathbf{w}}(z)\phi(z))=\int_{\mathbb{R}}f_{\mathbf{w}}(z)(zp_{\mathbf{w}}(z)-p^{\prime}{\mathbf{w}}(z))\phi(z)\&=\mathbf{E}{z\sim\mathcal{N}(0,1)}[f_{\mathbf{w}}(z)M_{\mathbf{v}}p(z\mathbf{v}+\mathbf{w})].\end{align*}
If $f_{\mathbf{w}}(z)$ is a step function with finite jump points, then we have $f_{\mathbf{w}}^{\prime}(z)=\sum_{s\in S_{\mathbf{w}}}\Delta_{f_{\mathbf{w}}}(s)\delta_{s}(z)$, which gives\mathop{\bf E}{z\sim\mathcal{N}(0,1)}[f{\mathbf{w}}(z)M_{\mathbf{v}}p(z\mathbf{v}+\mathbf{w})]=\sum_{s\in S_{\mathbf{w}}}\Delta_{f_{\mathbf{w}}}(s)p(s\mathbf{v}+\mathbf{w})\phi(s).
Lemma 5.6 suggests if at every boundary point, the sign of $p$ matches with the sign of the derivative of $f$, then the correlation between $f$ and $M_{\mathbf{v}}p$ must be strictly positive. However, even if $\Delta_{f_{\mathbf{w}}}(s)p(s\mathbf{v}+\mathbf{w})>0$ is very large for every boundary point $s$, it does not implies $f(\mathbf{x})$ has a large correlation with $M_{\mathbf{v}}p$, because after weighted by $\phi(s)$, the whole sum could still be small. To give a quantitative lower bound for the correlation, we have to connect these weights with $\mathrm{Rand}_{f}(\mathbf{v})$. Specifically, we give the following lemma using the Gaussian isoperimetric inequality. Lemma 5.7. Let $f(\mathbf{x}):\mathbb{R}^d \to \{0,1\}$ be an intersection of $k$ degree-2 PTFs. Let $\mathbf{v} \in \mathbb{S}^{d-1}$ be a unit vector. For $\mathbf{w} \perp \mathbf{v}$, write $f_{\mathbf{w}}(s) = f(s\mathbf{v} + \mathbf{w}):\mathbb{R} \to \{0,1\}$ and let $S_{\mathbf{w}} \subseteq \mathbb{R}$ be the set of jump points of $f_{\mathbf{w}}$. There is a constant $C > 1$, such that for every $\alpha \in (0,1)$ and for every $\mathbf{v} \in \mathbb{S}^{d-1}$, if $\mathrm{Rand}_f(\mathbf{v}) > \alpha$, then\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\left[\sum{s\in S_{\mathbf{w}}}\phi(s)\right]>\alpha/C.
To prove Lemma 5.7, we will make use of the following 1-dimensional Gaussian isoperimetric inequality. Fact 5.8. Let $S \subseteq \mathbb{R}$ be a set such that $|\partial S| < \infty$. Denote by $p_S = \mathbf{Pr}_{z \sim \mathcal{N}(0,\mathbf{I})}[z \in S]$. Then\sum_{s\in\partial S}\phi(s)\geq\phi(\Phi^{-1}(p_{S})),
where $\phi$ is the density function of a 1-dimensional Gaussian distribution and $\Phi(t) = \int_{-\infty}^{t} \phi(z) dz$. Proof of Lemma 5.7. We first show that there exists a constant $c > 0$ such that for every $p \in [0,1]$, $\phi(\Phi^{-1}(p)) \geq cp(1-p)$. Without loss of generality, we assume that $p \leq 1/2$. Let $s \leq 0$ such that $\Phi(s) = p$. We show that $\phi(s) \geq cp(1-p)$. We consider two cases. If $|s| \leq 1$, then we have\phi(s)\geq\phi(1)\geq2\phi(1)/2\geq2\phi(1)p.
If $|s| > 1$, then it holds $\Phi(s) \leq \phi(s)/s$, which gives $\phi(s) \geq s\Phi(s) \geq p$. This implies that for every $p \in (0,1)$, it holds $\phi(\Phi^{-1}(p)) \geq 2\phi(1)p(1-p)$. By Fact 5.8, we know that\begin{aligned}\sum_{s\in S_{\mathbf{w}}}\phi(s)&\geq\phi(\Phi^{-1}(\underset{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}{\mathbf{Pr}}[f_{\mathbf{w}}(\mathbf{z})=1]))\&\geq2\phi(1)(\underset{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}{\mathbf{Pr}}[f_{\mathbf{w}}(\mathbf{z})=1])(1-\underset{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}{\mathbf{Pr}}[f_{\mathbf{w}}(\mathbf{z})=1])\&=2\phi(1)\mathbf{Var}{\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}[f{\mathbf{w}}(\mathbf{z})]\end{aligned}
\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\big[\sum{s\in S_{\mathbf{w}}}\phi(s)\big]\geq\phi(1)\mathrm{R a n d}_{f}(\mathbf{v})>\phi(1)\alpha.
Lemma 5.7 implies that if $\mathrm{Rand}_f(\mathbf{v})$ is large for some direction $\mathbf{v}$, then in expectation of weighted sum of $\phi(s)$ over the boundary points of $f_{\mathbf{w}}$ is not too small. This implies any $p$ such that $\Delta_{f_{\mathbf{w}}}(s)p(s\mathbf{v}+\mathbf{w})>0$ is non-trivially large for most of the boundary points; then $M_{\mathbf{v}}p$ can be used as the certificate polynomial. With this motivation, before giving the construction of our certificate polynomial, we first characterize the structure of boundary points of a one-dimensional intersection of PTF. Fact 5.9. Let $f(z) = \mathbb{1}\{p_1(z) \geq t_1, \ldots, p_k(z) \geq t_k\}$, where for $i \in [k]$, $p_i(z)$ is a 1 dimensional degree-2 polynomial and $t_i \in \mathbb{R}$, be an intersection of $k$ degree-2 PTFs over $\mathbb{R}$. Let $S$ be the set of jump points of $f$. Then $S$ satisfies the following properties. 1. For each $s \in S$, let $C_s = \{p_i \mid p_i(s) - t_i = 0, i \in [k]\}$, then $C_s \neq \emptyset$ and $p_i(s) - t_i > 0$ for every $p_i \notin C_s$. 2. For each $s \in S$, and for each $p_i \in C_s$ with $p'_i(s) \neq 0$, $\Delta_f(s) = \mathrm{sign}(p'_i(s))$. Proof of Fact 5.9. To prove the first item, we first suppose that $C_s = \emptyset$, which implies that $q_i(s) - t_i \neq 0$ for each $i \in [k]$. By continuity, there exists a neighborhood of $s$, such that for every $z$ in the neighborhood and for every $i \in [k]$, $\mathrm{sign}(q_i(z) - t_i) = \mathrm{sign}(q_i(s) - t_i)$. This means $f$ does not change its sign at $s$, which gives a contradiction. Similarly, assume there exists some $q_i \notin C_s$ such that $q_i(s) - t_i < 0$. Then there exists a neighborhood of $s$ such that for every $z$ in the neighborhood, $q_i(z) - t_i < 0$, which implies that $f(z) = 0$ and gives a contradiction. We next prove the second item. We first show that for every $q_i \in C_s$, either $q'_i(s) = 0$ or $\mathrm{sign}(q'_i(s)) = \mathrm{sign}(q'_j(s))$ for some other $q_j \in C_s$. Suppose not, then there exists $q_i, q_j \in C_s$ such that $q'_i(s)q'_j(s) < 0$. Since $q_i(s) - t_i = q_j(s) - t_j = 0$. By continuity, this implies that there exists a small neighborhood of $s$ such that $\mathrm{sign}(q_i(z) - t_i)\mathrm{sign}(q_j(z) - t_j) < 0$ for every $z$ in the neighborhood. This implies that $f$ has no sign change at $s$. Now since $q_i(s) - t_i > 0$, for every $q_i \notin C_s$ and $q'_i(s)$ has the same sign for $q_i \in C_s$, we know that $\Delta_f(s) = \mathrm{sign}(q'_i(s))$, for a $q'_i(s) \neq 0$. $\square$ ### 5.2 Certificate Polynomials for Generic Instance and Root Decompositions According to Fact 5.9, we know that once we fix some $\mathbf{w} \perp \mathbf{v}$, the decision boundaries of $f_{\mathbf{w}}$ is a collection of roots of the defining polynomials $q_i = p_i - t_i$. Furthermore, for each boundary point $s$, we can cluster these $k$ polynomials into two groups. The first group of polynomials has $s$ as their roots, and furthermore their derivatives at $s$ have the same sign of $\Delta_{f_{\mathbf{w}}}(s)$. The other group of polynomials are strictly positive at $s$. Based on this observation, we design a certificate polynomial, whose sign of value at every decision boundary of $f_{\mathbf{w}}$, for every $\mathbf{w}$, matches $\Delta_{f_{\mathbf{w}}}(s)$. Specifically, if we consider polynomial $Q_{\mathbf{v}}(\mathbf{x}) := \partial_{\mathbf{v}}(\prod_{i=1}^{k} q_{i}(\mathbf{x})) = \sum_{i=1}^{k} \prod_{j \neq i} q_{j}(\mathbf{x}) \partial_{\mathbf{v}} q_{i}(\mathbf{x})$, then at each $\mathbf{x} = s\mathbf{v} + \mathbf{w}$, where $s$ is a boundary of $f_{\mathbf{w}}$, each of the $k$ terms in the summation is either 0 or has the same sign as $\Delta_{f_{\mathbf{w}}}(s)$. In particular, if a boundary point $s$ is a root of a single $q_{i}$ and $q_{i}$ does not have a double root at $s$, then $Q_{\mathbf{v}}$ gives a strictly positive contribution to the correlation between $f$ and $M_{\mathbf{v}}Q_{\mathbf{v}}$. However, we need to derive a quantitative lower bound for the correlation in order to use it to design an algorithm. To do this, we introduce parameters $\eta_d, \eta_c \in (0,1)$. $\eta_d$ is used to quantify the derivative of $q_i$ at its root $s$. Intuitively, if $|\partial_{\mathbf{v}} q_i|$ is small at $s$ (and the coefficient of $z^2$ in $q_i(z\mathbf{v} + \mathbf{w})$) is bounded away from zero), then there should be another root of $q_i$ around $s$ and $s$ is approximately a double root of $q_i$. $\eta_c$ is used to quantify the value of $q_i$ at $s$, where $s$ is not a root of $q_i$ but a root of a different defining polynomial $q_j$. The intuition here is that if $|q_i|$ is tiny at $s$, then there must be a root of $q_i$ around $s$ and $s$ a an approximately root shared by both $q_i$ and $q_j$. Given this intuition, we can partition the boundary points $S_{\mathbf{w}}$ of $f_{\mathbf{w}}$ into three sets. Definition 5.10. Let $f(\mathbf{x}) = g(\mathbf{w}) \mathbb{1}\{p_1(\mathbf{x}) \geq t_1, \ldots, p_k(\mathbf{x}) \geq t_k\} : \mathbb{R}^d \to \{0,1\}$, where for $i \in [k]$, $p_i$ is a degree-2 polynomial with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$, $\mathbf{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1$, $t_i \in \mathbb{R}$ and $g(\mathbf{w}) : \mathbf{v}^\perp \to \{0,1\}$, $\mathbf{v} \in \mathbb{S}^{d-1}$. For every $\mathbf{w} \perp \mathbf{v}$, denote by $q^{(\mathbf{w})}(z) = q(z\mathbf{v} + \mathbf{w})$. For $i \in [k]$, denote by $q_i(\mathbf{x}) = p_i - t_i$ and $Q_{\mathbf{v}}(\mathbf{x}) = \partial_{\mathbf{v}}(\prod_{i=1}^k q_i)$, where $\mathbf{v} \in \mathbb{S}^{d-1}$. For $\eta_d, \eta_c \in (0,1)$, $\mathbf{w} \perp \mathbf{v}$, we define 1. $G_{\mathbf{w}}(\eta_{d},\eta_{c})\subseteq S_{\mathbf{w}}$ to be the set of jump points $s$ of $f_{\mathbf{w}}$ such that there exists some $i\in[k]$ such that $\left|(q_{i}^{(\mathbf{w})})^{\prime}(s)\right|\geq\eta_{d}$ and for every $j\neq i$, $q_{j}^{(\mathbf{w})}(s)\geq\eta_{c}$. 2. $B_{\mathbf{w}}(\eta_{d},\eta_{c})\subseteq S_{\mathbf{w}}$ to be the set of jump points $s$ of $f_{\mathbf{w}}$, such that there exists some $i\in[k]$, such that $q_{i}^{(\mathbf{w})}(s)=0$ but $\left|(q_{i}^{(\mathbf{w})})^{\prime}(s)\right|\leq\eta_{d}$. 3. $C_{\mathbf{w}}(\eta_{d},\eta_{c})=S_{\mathbf{w}}\setminus(G_{\mathbf{w}}(\eta_{d},\eta_{c})\cup B_{\mathbf{w}}(\eta_{d},\eta_{c}))$ By Lemma 5.7, we know that if $\text{Rand}_f(\mathbf{v})$ is non-trivially large, then $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum_{s\in G_{\mathbf{w}}(\eta_d,\eta_c)}\phi(s)+\sum_{s\in B_{\mathbf{w}}(\eta_d,\eta_c)}\phi(s)+\sum_{s\in C_{\mathbf{w}}(\eta_d,\eta_c)}\phi(s)]$ must be non-trivially large. By our above discussion, if the contribution from roots from $G_{\mathbf{w}}(\eta_d,\eta_c)$ is not too small, $M_{\mathbf{v}}Q_{\mathbf{v}}$ gives a nontrivially large correlation with respect to $f$. Formally, we give the following Lemma 5.11. Lemma 5.11 (Certificate Polynomials for Generic Intersections of PTFs). Let $f(\mathbf{x}) = g(\mathbf{w})\mathbb{1}\{p_1(\mathbf{x}) \geq t_1, \ldots, p_k(\mathbf{x}) \geq t_k\} : \mathbb{R}^d \to \{0,1\}$, where for $i \in [k]$, $p_i$ is a degree-2 polynomial with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$, $\mathbf{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1, t_i \in \mathbb{R}$ and $g(\mathbf{w}) : \mathbf{v}^\perp \to \{0,1\}$, $\mathbf{v} \in \mathbb{S}^{d-1}$ For $i \in [k]$, denote by $q_i(\mathbf{x}) = p_i - t_i$ and $Q_{\mathbf{v}}(\mathbf{x}) = \partial_{\mathbf{v}}(\prod_{i=1}^k q_i)$, where $\mathbf{v} \in \mathbb{S}^{d-1}$. For $\eta_d, \eta_c \in (0,1)$, $\mathbf{w} \perp \mathbf{v}$, define $G_{\mathbf{w}}(\eta_d, \eta_c) \subseteq S_{\mathbf{w}}$ such that for each $s \in G_{\mathbf{w}}(\eta_d, \eta_c)$, there exists some $i \in [k]$ such that $\left|(q_i^{(\mathbf{w})})^{\prime}(s)\right| \geq \eta_d$ and for every $j \neq i$, $q_j^{(\mathbf{w})}(s) \geq \eta_c$. Suppose that $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\sum_{s \in G_{\mathbf{w}}(\eta_d, \eta_c)} \phi(s)] \geq \alpha$, then\mathop{\bf E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}Q_{\mathbf{v}}(\mathbf{x})]\geq\eta_{d}\eta_{c}^{k-1}\alpha.
Proof of Lemma 5.11. For every $\mathbf{w} \perp \mathbf{v}$, denote by $f_{\mathbf{w}}(z) = f(z\mathbf{v} + \mathbf{w})$ and define $S_{\mathbf{w}} \subseteq \mathbb{R}$, the set of jump points of $f_{\mathbf{w}}$. Notice that $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}Q_{\mathbf{v}}(\mathbf{x})] = \mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\mathbf{E}_{z \sim \mathcal{N}(0,1)}[f_{\mathbf{w}}(z)M_{\mathbf{v}}Q_{\mathbf{v}}(z\mathbf{v} + \mathbf{w})]]$. By Lemma 5.6, we have\begin{align*}\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}Q_{\mathbf{v}}(\mathbf{x})]&=\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\mathbf{E}{z\sim\mathcal{N}(0,1)}[f_{\mathbf{w}}(z)M_{\mathbf{v}}Q_{\mathbf{v}}(z\mathbf{v}+\mathbf{w})]]\&=\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum{s\in S_{\mathbf{w}}}\Delta_{f_{\mathbf{w}}}(s)Q_{\mathbf{v}}(s\mathbf{v}+\mathbf{w})\phi(s)]\&=\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum{s\in S_{\mathbf{w}}}\sum_{i=1}^{k}(q_{i}^{(\mathbf{w})})^{\prime}(s)\prod_{j\neq i}q_{j}^{(\mathbf{w})}(s)\Delta_{f_{\mathbf{w}}}(s)\phi(s)].\end{align*}
By Fact 5.9, for every $s \in S_{\mathbf{w}}$ and for every $i \in [k]$, $(q_i^{(\mathbf{w})})^{\prime}(s) \prod_{j \neq i} q_j^{(\mathbf{w})}(s) \Delta_{f_{\mathbf{w}}}(s) \geq 0$. Furthermore, the strict inequality holds if and only if $(q_i^{(\mathbf{w})})^{\prime}(s) \neq 0$ and $q_j^{(\mathbf{w})}(s) > 0, j \neq i$, in which case, $(q_i^{(\mathbf{w})})^{\prime}(s) \Delta_{f_{\mathbf{w}}}(s) = \left|(q_i^{(\mathbf{w})})^{\prime}(s)\right|$. This implies that\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}Q_{\mathbf{v}}(\mathbf{x})]\geq\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum{s\in G_{\mathbf{w}}(\eta_{d},\eta_{c})}\sum_{i=1}^{k}\left|(q_{i}^{(\mathbf{w})})^{\prime}(s)\right|\prod_{j\neq i}q_{j}^{(\mathbf{w})}(s)\phi(s)]\geq\eta_{d}\eta_{c}^{k-1}\alpha.
Although for a generic good instance $f$, the simple construction of $Q_{\mathbf{v}}$ can be used as a certificate polynomial, $Q_{\mathbf{v}}$ can easily fail to give enough correlation for some very natural instance. For example, even if $f(\mathbf{x})$ is a simple intersection of two PTFs defined by $q_{1}(\mathbf{x}), q_{2}(\mathbf{x})$, the coefficients of $q_{1}, q_{2}$ could be approximately parallel, which implies almost no roots will be in $G_{\mathbf{w}}(\eta_d, \eta_c)$ and $M_{\mathbf{v}}Q_{\mathbf{v}}$ gives nearly zero correlation with respect to $f$. For larger $k$, the configuration of these $k$ polynomials can be even more complicated. Thus, the most challenging part of proving Theorem 5.1 will be to construct certificate polynomials that work even if no roots are generic good. Our proof will provide analysis for $B_{\mathbf{w}}(\eta_d, \eta_c)$ (double roots) and $C_{\mathbf{w}}(\eta_d, \eta_c)$ (commonly sharing roots) separately. In Subsection (5.3), we use the discriminant of a quadratic as a tool to analyze the case where double roots have enough Gaussian mass. In Subsection (5.4), we develop a robust factorization lemma for quadratic functions under Gaussian distribution and use it to analyze the case where commonly sharing roots have enough Gaussian mass. Finally, In Subsection (5.5), we combine all the techniques developed in Section 5 to prove Theorem 5.1. ### 5.3 Analysis for Double Roots Recall our discussion in the previous subsection, the generic polynomial that we construct will only give a tiny correlation, if a defining polynomial has a small derivative at its root. In this section, we provide analysis for this case. For a fixed polynomial $q(\mathbf{x})$, $\mathbf{v} \in \mathbb{S}^{d-1}$, and $\mathbf{w} \perp \mathbf{v}$, we consider the one dimensional $q^{(\mathbf{w})}(z) = q(z\mathbf{v} + \mathbf{w})$. The observation is that we can view $q^{(\mathbf{w})}(z)$ as a one-dimensional quadratic function along $\mathbf{v}$ direction, whose coefficients are polynomials in $\mathbf{w}$. Specifically, we can always write $q^{(\mathbf{w})}(z) = az^2 + b(\mathbf{w})z + c(\mathbf{w})$, where $\deg(b) \leq 1$ and $\deg(c) \leq 2$. Following elementary algebra, for $s$, a root of $q^{(\mathbf{w})}$, the square of the derivative of $q^{(\mathbf{w})}(s)$ is exactly equal to the discriminant of $q^{(\mathbf{w})}$. i.e. $\Delta(\mathbf{w}) := b(\mathbf{w})^2 - 4ac(\mathbf{w})$. This implies that if $\left|(q^{(\mathbf{w})})'(s)\right|$ is large, then $\Delta(\mathbf{w})$ must be large. On the other hand, if $\Delta(\mathbf{w})$ is small, then after normalization, the two roots of $q^{(\mathbf{w})}$ must be very close to each other, which implies that by introducing a small error, $\mathbb{1}\{q^{(\mathbf{w})} \geq 0\}$ is nearly 0 or 1. Although, such an analysis is for a single fixed $\mathbf{w}$, since $\Delta(\mathbf{w})$ is a polynomial of degree at most 2, Gaussian concentration and anti-concentration properties enable us to extend the analysis to all layers $\mathbf{w}$. Specifically, in Lemma 5.12, we show that is $\|\Delta(\mathbf{w})\|$ is not very small, then $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum_{s\in B_{\mathbf{w}}(\eta_d,\eta_c)}\phi(s)]$ must be very small and can be ignored. On the other hand, in Lemma 5.13, we show that if $\|\Delta(\mathbf{w})\|$ is small, then $\mathbb{1}\{q(\mathbf{x})\geq 0\}$ is close to some function $g(\mathbf{w})$ that only depends on $\mathbf{v}^\perp$ and thus can be removed from the intersection. Lemma 5.12. Let $p(\mathbf{x})$ be a degree-2 polynomial such that $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p(\mathbf{x})]=0$ and $\mathbf{Var}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p(\mathbf{x})]=1$. Let $t\in\mathbb{R}$ and $q(\mathbf{x}):=p(\mathbf{x})-t$. For $\mathbf{v}\in\mathbb{S}^{d-1}$, write $\mathbf{x}=z\mathbf{v}+\mathbf{w}$, where $z=\mathbf{v}\cdot\mathbf{x}$ and $\mathbf{w}=\mathrm{proj}_{\mathbf{v}^{\perp}}(\mathbf{x})$. For every $\mathbf{w}\perp\mathbf{v}$, denote by $q^{(\mathbf{w})}(z)=q(z\mathbf{v}+\mathbf{w})$. Write $q^{(\mathbf{w})}(z)=az^{2}+b(\mathbf{w})z+c(\mathbf{w})$, where $a\in\mathbb{R}$, $b(\mathbf{w})$, $c(\mathbf{w})$ are polynomial over $\mathbf{w}$, with $\deg(b)\leq1$ and $\deg(c)\leq2$. Let $\Delta(\mathbf{w})=b^{2}(\mathbf{w})-4ac(\mathbf{w})$. For every $\alpha\in(0,1/4)$ and $\eta_{d}\in(0,1)$, suppose that $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\Delta(\mathbf{w})^{2}]>\alpha$, then $\mathbf{Pr}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\exists s,q^{(\mathbf{w})}(s)=0,|(q^{(\mathbf{w})})'(s)|\leq\eta_{d}]\leq O(\eta_{d}/\alpha^{1/4})$. Proof of Lemma 5.12. Denote by $D(\mathbf{w},z)=(q^{(\mathbf{w})})'(z)$. For every $\mathbf{w}\perp\mathbf{v}$ and for every $z\in\mathbb{R}$, we have $D(\mathbf{w},z)=2az+b$ and thus $D^{2}(\mathbf{w},z)=4a^{2}z^{2}+b^{2}(\mathbf{w})+4ab(\mathbf{w})z$. If $q^{(\mathbf{w})}(z)=0$, then we haveD^{2}(\mathbf{w},z)=b^{2}-4a c(\mathbf{w})=\Delta(\mathbf{w}).
This implies that if $s_1, s_2$ are two roots of $q^{(\mathbf{w})}(z)$, then $\left|(q^{(\mathbf{w})})'(s_1)\right| = \left|(q^{(\mathbf{w})})'(s_2)\right| = \sqrt{\Delta(\mathbf{w})}$. This implies that\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\exists s,q^{(\mathbf{w})}(s)=0,\left|(q^{(\mathbf{w})})^{\prime}(s)\right|\leq\eta{d}]\leq\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[[\Delta(\mathbf{w})|\leq\eta{d}^{2}]\leq O(\sqrt{\eta_{d}^{2}/|\Delta(\mathbf{w})|})]\leq O(\eta_{d}/\alpha^{1/4}).
Lemma 5.13. Let $p(\mathbf{x})$ be a degree-2 polynomial such that $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p(\mathbf{x})]=0$ and $\mathbf{Var}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p(\mathbf{x})]=1$. Let $t\in\mathbb{R}$ and $q(\mathbf{x}):=p(\mathbf{x})-t$. For $\mathbf{v}\in\mathbb{S}^{d-1}$, write $\mathbf{x}=z\mathbf{v}+\mathbf{w}$, where $z=\mathbf{v}\cdot\mathbf{x}$ and $\mathbf{w}=\mathrm{proj}_{\mathbf{v}^{\perp}}(\mathbf{x})$. For every $\mathbf{w}\perp\mathbf{v}$, denote by $q(\mathbf{w})(z)=q(z\mathbf{v}+\mathbf{w})$. Write $q^{(\mathbf{w})}(z)=az^{2}+b(\mathbf{w})z+c(\mathbf{w})$, where $a\in\mathbb{R}$ and $b(\mathbf{w}),c(\mathbf{w})$ are polynomials over $\mathbf{w}$ with $\deg(b)\leq1$ and $\deg(c)\leq2$. Let $\Delta(\mathbf{w})=b(\mathbf{w})^{2}-4ac(\mathbf{w})$. For every $\alpha\in(0,1/4)$, suppose that $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}_{\mathbf{v}^{\perp}})}[\Delta(\mathbf{w})^{2}]\leq\alpha$. Then there exists a Boolean function $g:\mathbf{v}^{\perp}\to\{0,1\}$ such that\mathbf{P r}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[g(\mathbf{w})\neq\mathbb{1}{q(\mathbf{x})\geq0}]\leq\tilde{O}(\alpha^{1/16}).
Proof of Lemma 5.13. We first normalize $q$ rather than truncate the threshold $t$. Since $p$ has mean zero and variance one, $s := \|q\| = \sqrt{1 + t^2} \geq 1$. Replacing $q$ by $q/s$ replaces $a, b, c$ by $a/s, b/s, c/s$, respectively, and its discriminant by $\Delta/s^2$. This positive rescaling does not change $\mathbb{1}\{q \geq 0\}$, and $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_{\mathbf{v}^\perp})} \left[ \left( \frac{\Delta(\mathbf{w})}{s^2} \right)^2 \right] \leq \alpha$. Thus, reusing the same notation for the rescaled quantities, we may assume that $\|q\| = 1, \|\Delta\| \leq \alpha^{1/2}$. Set $\lambda = \alpha^{1/3}$. We consider two cases. In each case, we construct a polynomial $Q$ of degree at most two and a Boolean function $g(\mathbf{w})$ such that $\mathbb{1}\{Q(\mathbf{x}) \geq 0\} = g(\mathbf{w})$ almost surely and $\|q - Q\| \leq C\alpha^{1/6}$, where $C > 0$ is a universal constant. Case 1: $|a| \geq \lambda$. Completing the square givesq^{(\mathbf{w})}(z)=a\left(z+\frac{b(\mathbf{w})}{2a}\right)^{2}-\frac{\Delta(\mathbf{w})}{4a}.
Q(z\mathbf{v}+\mathbf{w}):=a\left(z+\frac{b(\mathbf{w})}{2a}\right)^{2},\qquad g(\mathbf{w}):=\mathbb{1}{a>0}.
Since $b$ is affine, $Q$ has degree at most two. Moreover, $a \neq 0$, so the square vanishes only on a Gaussian-null set. Hence $\mathbb{1}\{Q(\mathbf{x}) \geq 0\} = g(\mathbf{w})$ almost surely. Finally,|q-Q|=\frac{|\Delta|}{4|a|}\leq\frac{\alpha^{1/2}}{4\lambda}=\frac{1}{4}\alpha^{1/6}.
Case 2: $|a| < \lambda$. Define $d(\mathbf{w}) := c(\mathbf{w}) + a = \mathbf{E}_{z \sim \mathcal{N}(0,1)}[q(z\mathbf{v} + \mathbf{w})]$. Thenq(z\mathbf{v}+\mathbf{w})=a(z^{2}-1)+b(\mathbf{w})z+d(\mathbf{w}).
Gaussian orthogonality gives $1 = \|q\|^2 = 2a^2 + \|b\|^2 + \|d\|^2$. In particular, $\|d\| \leq 1$, and therefore\left|\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{\mathbf{v}^{\perp}})}[c(\mathbf{w})]\right|\leq|d|+|a|\leq1+|a|.
Using the discriminant identity $\Delta(\mathbf{w}) = b(\mathbf{w})^2 - 4ac(\mathbf{w})$, we obtain\begin{align*}|b|^{2}&=\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{\mathbf{v}^{\perp}})}[\Delta(\mathbf{w})]+4a\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{\mathbf{v}^{\perp}})}[c(\mathbf{w})]\&\leq|\Delta|+4\left|a\right|\Bigg|\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{\mathbf{v}^{\perp}})}[c(\mathbf{w})]\Bigg|\&\leq\alpha^{1/2}+4\left|a\right|(1+|a|)\&\leq\alpha^{1/2}+8\lambda,\end{align*}
where the last inequality uses $|a| < \lambda < 1$. SetQ(z\mathbf{v}+\mathbf{w}):=d(\mathbf{w}),\qquad g(\mathbf{w}):=\mathbb{1}{d(\mathbf{w})\geq0}.
|q-Q|^{2}=2a^{2}+|b|^{2}\leq2\lambda^{2}+\alpha^{1/2}+8\lambda\leq11\alpha^{1/3}.
Thus $\|q - Q\| \leq \sqrt{11}\alpha^{1/6}$, as required. Converting the perturbation into disagreement. In both cases, $\|q\| = 1$ and $\|q - Q\|^2 \leq C\alpha^{1/3}$. For every $u > 0$, Gaussian anticoncentration for degree-two polynomials and Markov's inequality give\begin{aligned}\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}&[\mathbb{1}{q(\mathbf{x})\geq0}\neq g(\mathbf{w})]\&=\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[\mathbb{1}{q(\mathbf{x})\geq0}\neq\mathbb{1}{Q(\mathbf{x})\geq0}]\&\leq\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[|q(\mathbf{x})|\leq u]+\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[|q(\mathbf{x})-Q(\mathbf{x})|\geq u]\&\leq C\sqrt{u}+\frac{|q-Q|^{2}}{u^{2}}\&\leq C\sqrt{u}+\frac{C\alpha^{1/3}}{u^{2}}.\end{aligned}
Taking $u = \alpha^{2/15}$ yields\mathbf{P r}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[\mathbb{1}{q(\mathbf{x})\geq0}\neq g(\mathbf{w})]\leq C\alpha^{1/15}.
□ Together, Lemma 5.12 and Lemma 5.13 imply that by selecting a proper threshold for $\|\Delta\|$, any defining quadratic polynomial of the target function either has nearly no roots in $B_{\mathbf{w}}(\eta_d, \eta_c)$ in expectation, or up to a small error, we can remove it from the intersection and absorb it into some function $g(\mathbf{w})$ that only depends on $\mathbf{w}$. This implies that if $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0, \mathbf{I})}[\sum_{s \in G_{\mathbf{w}}(\eta_d, \eta_c)} \phi(s)]$ is small, then most of the roots can be thought to be in $C_{\mathbf{w}}(\eta_d, \eta_c)$. In Subsection (5.4), we provide a systematic way to analyze and construct certificate polynomials in this case. ### 5.4 Robust Factorization of Quadratic Polynomials under Gaussian Distribution We now turn to the case where a significant portion of the decision boundary arises from roots that are approximately shared by multiple defining polynomials. As discussed in Subsection (5.3), we may assume that a defining polynomial has a not too small derivative at its roots for most of $\mathbf{w} \perp \mathbf{v}$. However, the generic certificate given by Lemma 5.11 will still give only arbitrarily small correlation, if at a root of one defining polynomial, some other polynomial has nearly zero value, even though the corresponding boundary contributes significantly to the randomized error. In Lemma 5.14, we show that in this case, the two polynomials must have roots that are sufficiently close to each other. However, this does not mean we can merge these commonly sharing roots naively into one root, because there dependence on $\mathbf{w}$ can be very complicated and even for a fixed $\mathbf{w}$, the arrangement of the $2k$ roots of the $k$ polynomials can be very complicated. Thus, to handle this case, we need a certificate that takes advantage of the structure of these nearly shared roots rather than treating them as separate boundaries. Our key observation is that if two polynomials have nearly sharing roots at a non-trivial fraction of layers, $\mathbf{w} \perp \mathbf{v}$, then the two polynomials must approximately share some global algebraic structures. Such an observation starts from Euclidean algorithms for finding a greatest common divisor for one-dimensional polynomials. Similar to the previous section, for each fixed $\mathbf{w} \perp \mathbf{v}$, and for each $i \in [k]$, we write $q_i^{(\mathbf{w})}(z) = a_i z^2 + b_i(\mathbf{w})z + c_i(\mathbf{w})$ as a univariate polynomial in $z$. Recall that two univariate polynomials have a common root if and only if their resultant (Definition 5.15) vanishes. This implies that if the resultant of $q_1^{(\mathbf{w})}(z)$, $q_2^{(\mathbf{w})}(z)$ is sufficiently small, we are able to find univariate affine polynomials $L, \ell_1, \ell_2$ such that $\left\|q_i^{(\mathbf{w})}(z) - L\ell_i\right\|$ is small. In fact, in Fact 5.17, we point out the resultant of $q_1^{(\mathbf{w})}$, $q_2^{(\mathbf{w})}$ as a function of $\mathbf{w}$ is a polynomial of degree at most 4. Thus, using Gaussian anti-concentration, in Lemma 5.18, we show that as long as $q_1, q_2$ have nearly shared roots on a non-trivial fraction of Gaussian layers, the $L_2$ norm of their resultant must be small. The hope is that we would like to show in this case we have multivariate affine functions $L, \ell_1, \ell_2$ such that $q_i \approx L\ell_i$. However, a direct application of Euclidean algorithm over these two polynomials does not imply this. Although the defining polynomials are univariate quadratics after fixing $\mathbf{w}$, their coefficients are themselves polynomials in $\mathbf{w}$. The Euclidean algorithm therefore naturally produces rational functions of $\mathbf{w}$, which need not correspond to low-degree polynomial factors in the original variables. Indeed, as we will mention later, even if two polynomials share a root on every slice, they need not have a common affine factor. This motivates our main technical result, Lemma 5.19, which gives a robust factorization lemma for two multivariate quadratics whose resultant is small. In Lemma 5.19, we show that when the resultant is sufficiently small, there are only three cases: either one quadratic is nearly independent of $\mathbf{v}$ direction, or the two quadratics are nearly parallel or they can be approximately factorized into the form of $L\ell_i$. If we are in the first two cases, then we can simply remove one defining polynomial from the intersection and work on the rest of the ones. In Subsection (5.5), we will show that once we find some $L$ using the factorization lemma that contributes enough mass for the boundary points, then we can use $L$ as a pivot to cluster the $k$ defining polynomials into two groups to construct a new certificate polynomials that bypass the difficulty of roots sharing. Root Distance and Resultants To begin with, we start by showing that for a given two quadratics, under suitable normalization, if one polynomial evaluates very small at a root of another polynomial, then it has a nearby root. Lemma 5.14. For $i \in [2]$, let $p_i : \mathbb{R}^d \to \mathbb{R}$ be a degree-2 polynomial with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$ and $\mathbf{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1$. For $i \in [2]$, denote by $q_i(\mathbf{x}) = p_i(\mathbf{x}) - t_i$, $t_i \in \mathbb{R}$. For $\mathbf{v} \in \mathbb{S}^{d-1}$, write $\mathbf{x} = z\mathbf{v} + \mathbf{w}$, where $z = \mathbf{v} \cdot \mathbf{x}$ and $\mathbf{w} = \text{proj}_{\mathbf{v} \perp}(\mathbf{x})$. For every $\mathbf{w} \perp \mathbf{v}$, denote by $q_i^{(\mathbf{w})}(z) = q_i(z\mathbf{v} + \mathbf{w})$. Let $s_1, s_2$ be two roots of $q_i^{(\mathbf{w})}(z)$, if exist and let $t \in \mathbb{R}$. Suppose that $|s_1 - t| \leq |s_2 - t|$. Let $\eta_d, \eta_c \in (0,1)$. Suppose that $\left|(q_i^{(\mathbf{w})})'(s_1)\right| \geq \eta_d$ and $\left|q_i^{(\mathbf{w})}(t)\right| \leq \eta_c$, then $|s_1 - t| \leq 2\eta_c/\eta_d$. Proof of Lemma 5.14. Write $q = q_i^{(\mathbf{w})}$. If $q$ is affine, then $|q(t)| = |q'(s_1)| |t - s_1| \geq \eta_d |t - s_1|$, which gives the desired bound. Otherwise, write $q(z) = a_i(z - s_1)(z - s_2)$. By the triangle inequality and the assumption $|s_1 - t| \leq |s_2 - t|$,|s_{1}-s_{2}|\leq|s_{1}-t|+|s_{2}-t|\leq2|s_{2}-t|.
Since $|q'(s_1)| = |a_i||s_1 - s_2|$, we obtain\begin{align*}\eta_{c}&\geq|q(t)|=|a_{i}||s_{1}-t||s_{2}-t|\&\geq\frac{1}{2}\left|q^{\prime}(s_{1})\right||s_{1}-t|\geq\frac{\eta_{d}}{2}|s_{1}-t|.\end{align*}
Thus $|s_1 - t| \leq 2\eta_c / \eta_d$. Next, we introduce the key concept, resultant that will be considered in the rest of the section. Definition 5.15 (Resultant). For $i \in [2]$, let $q_i(z) = \sum_{r=0}^{d_i} a_{ir} z^r : \mathbb{R} \to \mathbb{R}$. The resultant for $(q_i, q_j)$ is defined as $R(q_i, q_j) = a_{id_i}^{d_j} \prod_{t=1}^{d_i} q_j(r_t)$, where for $t \in [d_i]$, $r_t$ is the $t$th root (multiple roots and complex roots are also considered) of $q_i$. It is not hard to see that two polynomials have an exact same root if and only if their resultant is zero. Besides, resultant also has the following useful property that will be used in our analysis later. Fact 5.16. Let $q_i : \mathbb{R} \to \mathbb{R}$ be a polynomial, $i \in [2]$. Then $|R(q_1, q_2)| = |R(q_2, q_1)|$. The central property that will be used in our proof is that a resultant for 2 quadratics $q_{1}^{(\mathbf{w})}, q_{2}^{(\mathbf{w})}$ is always a polynomial in $\mathbf{w}$. Fact 5.17. Let $q_1, q_2 : \mathbb{R}^d \to \mathbb{R}$ be two polynomials with degree at most 2, then $R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})$ is a polynomial over $\mathbb{R}^d$ with degree at most 4. Furthermore, for $\mathbf{w} \perp \mathbf{v}$ and $i \in [2]$, write $q_i^{(\mathbf{w})} = a_i z^2 + b_i(\mathbf{w})z + c(\mathbf{w})$, where $a_i \in \mathbb{R}$, $b_i(\mathbf{w})$, $c_i(\mathbf{w})$ are polynomials over $\mathbf{w}$, with $\deg(b_i) \leq 1$ and $\deg(c_i) \leq 2$. Define polynomials over $\mathbf{w}$, $U(\mathbf{w}) = a_2 b_1(\mathbf{w}) - a_1 b_2(\mathbf{w})$ and $V(\mathbf{w}) = a_2 c_1(\mathbf{w}) - a_1 c_2(\mathbf{w})$. If $a_1 \neq 0$, thenR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=a_{1}^{\deg(q_{2})-2}(U(\mathbf{w})^{2}c_{1}(\mathbf{w})/a_{1}-U(\mathbf{w})V(\mathbf{w})b_{1}(\mathbf{w})/a_{1}+V^{2}(\mathbf{w})).
Proof of Fact 5.17. For $\mathbf{w} \perp \mathbf{v}$ and $i \in [2]$, write $q_i^{(\mathbf{w})} = a_i z^2 + b_i(\mathbf{w})z + c(\mathbf{w})$, where $a_i \in \mathbb{R}$, $b_i(\mathbf{w})$, $c_i(\mathbf{w})$ are polynomials over $\mathbf{w}$, with $\deg(b) \leq 1$ and $\deg(c) \leq 2$. Define polynomials over $\mathbf{w}$, $U(\mathbf{w}) = a_2 b_1(\mathbf{w}) - a_1 b_2(\mathbf{w})$ and $V(\mathbf{w}) = a_2 c_1(\mathbf{w}) - a_1 c_2(\mathbf{w})$. Notice thata_{2}q_{1}^{(\mathbf{w})}(z)-a_{1}q_{2}^{(\mathbf{w})}(z)=U(\mathbf{w})z+V(\mathbf{w}). \tag{14}
Case 1: $a_{1}\neq0$ In the first case, we consider the case where $a_{1}\neq0$, which implies that $q_{1}^{(\mathbf{w})}$ always has degree 2. Let $r_{1},r_{2}$ be two roots for $q_{1}^{(\mathbf{w})}$ and recall that $R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=a_{1}^{\deg(q_{2})}q_{2}^{(\mathbf{w})}(r_{1})q_{2}^{(\mathbf{w})}(r_{2})$. We consider three different cases. By (14), we know that $q_{2}^{(\mathbf{w})}(r_{i})=-a_{1}^{-1}(U(\mathbf{w})r_{i}+V(\mathbf{w}))$. This implies that\begin{align*}(U(\mathbf{w})r_{1}+V(\mathbf{w}))(U(\mathbf{w})r_{2}+V(\mathbf{w}))&=U(\mathbf{w})^{2}(r_{1}r_{2})+U(\mathbf{w})V(\mathbf{w})(r_{1}+r_{2})+V^{2}(\mathbf{w})\&=U(\mathbf{w})^{2}c_{1}(\mathbf{w})/a_{1}-U(\mathbf{w})V(\mathbf{w})b_{1}(\mathbf{w})/a_{1}+V^{2}(\mathbf{w}),\end{align*}
R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=a_{1}^{\deg(q_{2})-2}(U(\mathbf{w})^{2}c_{1}(\mathbf{w})/a_{1}-U(\mathbf{w})V(\mathbf{w})b_{1}(\mathbf{w})/a_{1}+V^{2}(\mathbf{w})). \tag{15}
Case 2: $a_{1}=0$, $b_{1}\neq0$ In this case, we know that the only root of $q_{1}^{(\mathbf{w})}$ is $r_{1}=-c_{1}(\mathbf{w})/b_{1}(\mathbf{w})$, which gives $R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=b_{1}(\mathbf{w})^{\deg(q_{2}^{(\mathbf{w})})}q_{2}^{(\mathbf{w})}(-c_{1}(\mathbf{w})/b_{1}(\mathbf{w}))$. By expanding $q_{2}^{(\mathbf{w})}$, we have three cases. If $a_{2}\neq0$, thenR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=a_{2}c_{1}^{2}(\mathbf{w})-b_{1}(\mathbf{w})b_{2}(\mathbf{w})c_{1}(\mathbf{w})+b_{1}^{2}(\mathbf{w})c_{2}(\mathbf{w}),
which has a degree at most 4. If $a_{2}=0$ but $b_{2}\neq0$, thenR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=b_{1}(\mathbf{w})c_{2}(\mathbf{w})-b_{2}(\mathbf{w})c_{1}(\mathbf{w}),
which has degree at most 3. If $a_{2}=0,b_{2}=0$, then $R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=c_{2}(\mathbf{w})$, which has a degree at most 2. Case 3: $a_{1}=0,b_{1}=0$ In this case, we always have $R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=c_{1}(\mathbf{w})^{\deg(q_{2})}$, which has degree at most 4. Using Fact 5.17, we next show that if there is a descent probability over $\mathbf{w}$ such that $\left|q_{j}^{(\mathbf{w})}\right|$ is small at a root of $q_{i}^{(\mathbf{w})}$, then it must be the case that $R(q_{i}^{(\mathbf{w})}, q_{j}^{(\mathbf{w})})$ has a small norm. Lemma 5.18. For $i \in [k]$, let $p_i(\mathbf{x})$ be a degree-2 polynomial with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$ and $\mathrm{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1$. Let $t_i \in \mathbb{R}$ and $q_i(\mathbf{x}) := p_i(\mathbf{x}) - t_i$. Let $f(\mathbf{x}) = \mathbb{1}\{q_1(\mathbf{x}) \geq 0, \ldots, q_k(\mathbf{x}) \geq 0\}$. Let $\eta_d, \eta_c \in (0,1)$. For $\mathbf{w} \perp \mathbf{v}$, let $C_{12}^{(\mathbf{w})}$ be the set of jump points of $f_{\mathbf{w}}$ such that $q_1^{(\mathbf{w})}(s) = 0$, and $\left|q_2^{(\mathbf{w})}(s)\right| \leq \eta_c$. Suppose that $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\sum_{s \in C_{12}^{(\mathbf{w})}} \phi(s)] \geq \alpha$, then $\left\|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\right\| \leq O(\eta_c \log(1/\alpha)/\alpha^4)$. Proof of Lemma 5.18. We write $q_i^{(\mathbf{w})}(z) = a_i z^2 + b_i(\mathbf{w})z + c_i(\mathbf{w})$, for $i \in [2]$, where $\deg(b_i) \leq 1$ and $\deg(c_i) \leq 2$. Notice that The degree of $q_i^{(\mathbf{w})}(z)$ is at most 2. Our proof will thus consider two cases on the degree of $q_i^{(\mathbf{w})}$. Case 1: $\deg(q_1^{(\mathbf{w})}) = 2$ We start with the case where $\deg(q_1^{(\mathbf{w})}) = 2$. Let $r_1, r_2$ be the two roots of $q_1^{(\mathbf{w})}$. Then, we have\begin{align*}q_{2}^{(\mathbf{w})}(r_{1})-q_{2}^{(\mathbf{w})}(r_{2})&=a_{2}(r_{1}-r_{2})(r_{1}+r_{2})+b_{2}(\mathbf{w})(r_{1}-r_{2})\&=(r_{1}-r_{2})(a_{2}(r_{1}+r_{2})+b_{2}(\mathbf{w}))\&=(r_{1}-r_{2})(b_{2}(\mathbf{w})-a_{2}b_{1}(\mathbf{w})/a_{1})\&=-(r_{1}-r_{2})U(\mathbf{w})/a_{1}.\end{align*}
a_{1}(r_{1}-r_{2})=-(2a_{1}r_{2}+b_{1}(\mathbf{w}))=-(q_{1}^{(\mathbf{w})})^{\prime}(r_{2}).
a_{1}^{2}(q_{2}^{(\mathbf{w})}(r_{1})-q_{2}^{(\mathbf{w})}(r_{2}))=-a_{1}(r_{1}-r_{2})U(\mathbf{w})=U(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(r_{2}).
\begin{align*}R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})&=a_{1}^{\deg(q_{2})}q_{2}^{(\mathbf{w})}(r_{1})q_{2}^{(\mathbf{w})}(r_{2})\&=q_{2}^{(\mathbf{w})}(r_{1})(a_{1}^{\deg(q_{2})-2}(a_{1}^{2}q_{2}^{(\mathbf{w})}(r_{1})+a_{1}(r_{1}-r_{2})U(\mathbf{w})))\&=q_{2}^{(\mathbf{w})}(r_{1})(a_{1}^{\deg(q_{2})-2}(a_{1}^{2}q_{2}^{(\mathbf{w})}(r_{1})-U(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(r_{2})))\end{align*}
We consider the degree of $q_{2}^{(\mathbf{w})}$. If $\deg(q_{2}^{(\mathbf{w})}) = 2$, thenR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=q_{2}^{(\mathbf{w})}(r_{1})(a_{1}^{2}q_{2}^{(\mathbf{w})}(r_{1})-U(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(r_{2})) \tag{16}
Similarly, if $\deg(q_{2}^{(\mathbf{w})}) = 1$, then we haveR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=q_{2}^{(\mathbf{w})}(r_{1})(a_{1}q_{2}^{(\mathbf{w})}(r_{1})+b_{2}(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(r_{2})). \tag{17}
And if $\deg(q_2^{(\mathbf{w})}) = 0$, then we have $R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})}) = (q_2^{(\mathbf{w})}(r_1))^2$. Recall that $q_i^{(\mathbf{w})}(z) = a_i(z^2 - 1) + b_i(\mathbf{w})z + c_i(\mathbf{w}) + a_i = p_i(z\mathbf{v} + \mathbf{w}) - t_i$. Since $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$ and $\mathbf{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1$. This implies that $|a_i| \leq 1/\sqrt{2}$ and $\|b_i(\mathbf{w})\| \leq \sqrt{2}$. By the tail probability of Gaussian distribution, we know that for $T := O(\sqrt{\log(1/\alpha)})$, $\mathbf{Pr}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[|b_i| > T] \leq \alpha/32$. For each $\mathbf{w} \perp \mathbf{v}$, we denote by $Z^{(\mathbf{w})}$ the set of roots $s$ of $q_1^{(\mathbf{w})}$ such that $\left|q_2^{(\mathbf{w})}(s)\right| \leq \eta_c$, with $\phi(s) \geq \alpha/16$. Then, for each $s \in Z^{(\mathbf{w})}$, we have $|s| \leq T$. We will next show that for every $\mathbf{w}$, such that $|b_1(\mathbf{w})| \leq T$, $|b_2(\mathbf{w})| \leq T$ and $Z^{(\mathbf{w})} \neq \emptyset$, $R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})$ is small. Let $r_1 = s$. If $\deg(q_2^{(\mathbf{w})}) = 2$, then by (16), we have\begin{align*}\left|R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|&=\left|q_{2}^{(\mathbf{w})}(s)(a_{1}^{2}q_{2}^{(\mathbf{w})}(s)+U(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(s))\right|\&\leq\eta_{c}^{2}+\eta_{c}\left|U(\mathbf{w})\right|\left|2a_{1}s+b_{1}(\mathbf{w})\right|\&\leq\eta_{c}^{2}+\eta_{c}(|a_{1}b_{2}(\mathbf{w})|+|a_{2}b_{1}(\mathbf{w})|)\left|2a_{1}s+b_{1}(\mathbf{w})\right|\&\leq10\eta_{c}T^{2}=O(\eta_{c}\log(1/\alpha)).\end{align*}
If $\deg(q_2^{(\mathbf{w})}) = 1$, then by (17), we have\begin{align*}\left|R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|&=\left|q_{2}^{(\mathbf{w})}(s)(a_{1}q_{2}^{(\mathbf{w})}(s)-b_{2}(\mathbf{w})(q_{1}^{(\mathbf{w})})^{\prime}(s))\right|\&\leq\eta_{c}^{2}+\eta_{c}\left|b_{2}(\mathbf{w})\right|\left|2a_{1}s+b_{1}(\mathbf{w})\right|\&\leq10\eta_{c}T^{2}=O(\eta_{c}\log(1/\alpha)).\end{align*}
If $\deg(q_2^{(\mathbf{w})}) = 0$, then trivially, we have $\left|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\right| \leq \eta_c^2$. Now since $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\sum_{s \in C_{12}(\mathbf{w})} \phi(s)] \geq \alpha$, we know that $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\sum_{s \in Z(\mathbf{w})} \phi(s)] \geq 7\alpha/8$. Since $\phi(s) \leq 1/\sqrt{2\pi}$, this implies that\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\big[\big|R(q{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\big|\leq O(\eta_{c}\log(1/\alpha))\big]\geq\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\left|b{1}(\mathbf{w})\right|\leq T,\left|b_{2}(\mathbf{w})\right|\leq T,\left|Z\right|^{(\mathbf{w})}\geq1]\geq\alpha/2.
Since $R(q_i^{(\mathbf{w})}, q_j^{(\mathbf{w})})$ is a polynomial with degree at most 4 by Fact 5.17, using Carbery–Wright anti-concentration inequality, we have for every $\tau > 0$, we have\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\big[\big|R(q{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\big|\leq\tau\big]\leq O((\tau/\left|R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|)^{1/4}).
By choosing $\tau = O(\eta_c \log(1/\alpha))$, we obtain that $\left\|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\right\| \leq O(\eta_c \log(1/\alpha)/\alpha^4)$. Case 2: $\deg(q_1^{(\mathbf{w})}) = 1$ In the rest of the proof, we work on the case where $\deg(q_1^{(\mathbf{w})}) = 1$. In this case, we have $q_1^{(\mathbf{w})}(z) = b_1(\mathbf{w})z + c_1(\mathbf{w})$ andR(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})=b_{1}(\mathbf{w})^{\mathrm{d e g}(q_{2}^{(\mathbf{w})}}q_{2}^{(\mathbf{w})}(r),
where $r$ is the root of $q_1^{(\mathbf{w})}(z)$. This gives for each $r \in Z^{(\mathbf{w})}$ and for every $\mathbf{w}$ such that $|b_1| \leq T$,\left|R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|\leq\eta_{c}\max{1,|b_{1}(\mathbf{w})|^{2}}\leq O(\eta_{c}\log(1/\alpha))
Now since $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum_{s\in C_{12}(\mathbf{w})}\phi(s)]\geq\alpha$, we know that $\mathbf{E}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\sum_{s\in Z(\mathbf{w})}\phi(s)]\geq7\alpha/8$. Since $\phi(s)\leq1/\sqrt{2\pi}$, this implies that\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\left|R(q{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|\leq O(\eta_{c}\log(1/\alpha))] \geq \mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\left|b{1}(\mathbf{w})\right|\leq T,|b_{2}(\mathbf{w})|\leq T,|Z|^{(\mathbf{w})}\geq1]\geq\alpha/2.
Since $R(q_{i}^{(\mathbf{w})}, q_{j}^{(\mathbf{w})})$ is a polynomial with degree at most 4 by Fact 5.17, using Carbery–Wright anti-concentration inequality, we have for every $\tau > 0$, we have\mathbf{P r}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\left|R(q{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|\leq\tau]\leq O((\tau/\left|R(q_{1}^{(\mathbf{w})},q_{2}^{(\mathbf{w})})\right|)^{1/4}).
By choosing $\tau = O(\eta_c \log(1/\alpha))$, we obtain that $\left\|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\right\| \leq O(\eta_c \log(1/\alpha)/\alpha^4)$. Robust Factorization Lemma With Lemma 5.18, we next present the main technical lemma, Lemma 5.19. We show that under the condition of Lemma 5.18, there are only three cases for a pair of degree 2 polynomials. Before giving Lemma 5.19, we first provide some intuition about what algebraic structure we can obtain from small resultants. Our intuition starts from the Euclidean algorithm for finding the greatest common divisor for a pair of quadratics. Consider two univariate quadratic polynomials $q_i = a_i z^2 + b_i z + c_i$, $i \in [2]$. The first step of Euclidean algorithm is to eliminate the leading quadratic term, by consideringa_{2}q_{1}-a_{1}q_{2}=U z+V,
where in Fact 5.17, we define $U = a_2b_1 - a_1b_2$ and $V = a_2c_1 - a_1c_2$. If $U \neq 0$ and $q_1, q_2$ exactly share a root, then the root $r$ must be $-V/U$, which provides a way to factorizing the two polynomials into the form of $q_i = L\ell_i$. The resultant of the two quadratics provides a quantitative version of this observation: it satisfies $R(q_1, q_2) = U^2 q_1(r)/a_1$. Consequently, whenever the resultant is small and $U$ is bounded away from zero, both polynomials take small values at $r$. By polynomial division, each $q_i$ can then be approximated by a product $(z - r)\ell_i(z)$, with an approximation error controlled by the resultant. On the other hand, if $U$ is nearly zero, then small resultant implies that $V$ is also nearly zero, which implies that $q_1$ and $q_2$ are nearly in parallel. Thus, a small resultant suggests either an approximate common affine factor or approximate proportionality of the two polynomials. However, in our case, the coefficients of $q_i^{(\mathbf{w})}$ are polynomials on $\mathbf{w}$. If we directly carry the analysis of Euclidean algorithm, then the formal candidate of a common root is $r = -V(\mathbf{w})/U(\mathbf{w})$, which is a rational function in $\mathbf{x}$, instead of a low degree polynomial. Furthermore, since $U(\mathbf{w})$ could be very small for some $\mathbf{w} \perp \mathbf{v}$, the instability from these slices would amplify the error in the approximate setting. Furthermore, there is also a genuine algebraic obstruction to demanding a common affine factor. For example, consider a simple example in $\mathbb{R}^2$, where $q_1^{(w)}(z) = q_2^{(w)}(z) =$ $zw-1$. Although the two function shares an exact root $1/w$, for every $w \neq 0$, they cannot be written as a product of two affine polynomials in $(z,w)$. In fact, even if we consider a case of $q_1^{(w)}(z) = q_1^{(w)}(z) = z^2 - w^2 - 1 = (z - \sqrt{w^2+1})(z + \sqrt{w^2+1})$, where an exact factorization is possible, the factorization might be an irrational function in $w$. We therefore seek a structural conclusion with several alternatives rather than an unconditional common-affine-factor theorem. Under the normalization and boundary-mass assumptions of Lemma 5.18, the goal is to show that either one defining polynomial is approximately independent of $\mathbf{v}$ direction, the two defining polynomials are approximately proportional, or both can be approximated by products of affine polynomials sharing a common affine factor. Lemma 5.19. For $i \in [2]$, let $p_i(\mathbf{x})$ be a degree-2 polynomial with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 0$ and $\mathbf{Var}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[p_i(\mathbf{x})] = 1$. Let $t_i \in \mathbb{R}$ and $q_i(\mathbf{x}) := p_i(\mathbf{x}) - t_i$. Let $f(\mathbf{x}) = \mathbb{1}\{q_1(\mathbf{x}) \geq 0, q_2(\mathbf{x}) \geq 0\}$. Let $\eta_c \in (0,1)$ and $\alpha \in (0,1)$. For $\mathbf{w} \perp \mathbf{v}$, denote by $F(\mathbf{w}) \subseteq \mathbb{R}$, the set of jump points $s$ of $f_{\mathbf{w}}$, such that $q_1^{(\mathbf{w})}(s) = 0$, and $0 \leq q_2^{(\mathbf{w})}(s) \leq \eta_c$. Let $\alpha \in (0,1)$. Suppose that $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0,\mathbf{I})}[\sum_{s \in F(\mathbf{w})} \phi(s)] \geq \alpha$ and $|t_i| \leq O(\log(1/\alpha))$. Denote by $\epsilon_{fac} = \tilde{O}((\eta_c/\alpha^4)^{1/2000}\alpha^{-1})$. Then the one of the follows holds. 1. for some $i \in [2]$, there exists a degree-2 polynomial $\tilde{q}_i(\mathbf{w})$ such that $\|q_i - \tilde{q}_i(\mathbf{w})\| \leq \epsilon_{fac}$. 2. there exists some $\lambda \in \mathbb{R}$ such that $\|q_i - \lambda q_{3-i}\| \leq \epsilon_{fac}$, for some $i \in [2]$, 3. there exist polynomials $L, \ell_1, \ell_2$ with degree at most 1 such that $\|q_i(\mathbf{x}) - L(\mathbf{x})\ell_i(\mathbf{x})\| \leq \epsilon_{fac}$ for both $i \in [2]$. Before giving the proof, we first provide the intuition of the idea before Lemma 5.19. Recall that Lemma 5.18 shows that the resultant of the two defining polynomials has a small Gaussian $L_2$ norm. Our goal is to use this information to obtain an approximate common affine factor, unless the polynomials fall into one of the degenerate configurations described in the lemma. Following the intuition from the Euclidean algorithm, we consider two cases, depending on whether at least one polynomial has a sufficiently large quadratic coefficient along the direction $\mathbf{v}$. First, suppose that $|a_1|$ is bounded below by some parameter $\kappa > 0$. We eliminate the quadratic terms and writea_{2}q_{1}-a_{1}q_{2}=U(\mathbf{w})z+V(\mathbf{w}),
where $U = a_{2}b_{1}(\mathbf{w}) - a_{1}b_{2}(\mathbf{w})$ is affine and $V = a_{2}c_{1}(\mathbf{w}) - a_{1}c_{2}(\mathbf{w})$ is quadratic in $\mathbf{w}$. If this remainder is sufficiently small, then the two defining polynomials are approximately proportional, giving the second alternative of the lemma. Otherwise, we show that $U(\mathbf{w})$ must have a nontrivial $L_{2}$ norm. Indeed, the resultant can be expressed in terms of $U$ and $V$, and if $\|U\|$ is very small, the smallness of the resultant would force $V$ to be small as well, contradicting our assumption that the remainder is nontrivial. This lower bound on $\|U\|$ is important because it allows us to make the polynomial division suggested by the Euclidean algorithm quantitatively stable. The main technical step is then to construct an affine polynomial $h(\mathbf{w})$ such that $V(\mathbf{w}) \approx U(\mathbf{w})h(\mathbf{w})$, without directly dividing by $U(\mathbf{w})$. We distinguish two cases according to the size of the linear part of $U$. If it is sufficiently large, we perform polynomial division along the corresponding direction and obtain a remainder that is independent of that direction. By restricting the resultant to the hyperplane $U(\mathbf{w}) = 0$, we can control this remainder using the small $L_{2}$ norm of the resultant and the bounded degree of the polynomials. On the other hand, if the linear part of $U$ is small, then its constant part must be bounded away from zero. In this case, we use the degree-four Hermite component of the resultant to show that the quadratic part of $V$ must be small, allowing us to approximate $V/U$ by an affine polynomial. In either case, we obtain an affine $h$ satisfying $\|V - U h\|$ being small. We then define $L = z + h(\mathbf{w})$ and use the resultant identity, together with a lower bound on the norm of products of low-degree Gaussian polynomials, to show that both $q_1$ and $q_2$ are close to products of $L$ with affine polynomials. This gives the desired approximate common factor. The case where $|a_2|$ is bounded below follows symmetrically. It remains to consider the case where both $|a_1|$ and $|a_2|$ are small. In this regime, the two defining polynomials are approximately linear in $\mathbf{v}$ direction, so we instead work with $\bar{q}_i(z, \mathbf{w}) = b_i(\mathbf{w})z + c_i(\mathbf{w})$. If both $b_i$ have small norm, the polynomials are approximately independent of $\mathbf{v}$, giving the first alternative. Otherwise, we introduce the corresponding elimination polynomial $T(\mathbf{w}) = b_2(\mathbf{w})c_1(\mathbf{w}) - b_1(\mathbf{w})c_2(\mathbf{w})$. Using the original assumption that the two polynomials have nearly shared roots on a nontrivial fraction of Gaussian slices, we show that $T$ has a small $L_2$ norm. We then distinguish whether $b_1$ and $b_2$ are approximately proportional. If they are, the smallness of $T$ implies that the defining polynomials are approximately proportional as well. Otherwise, an argument analogous to the previous case shows that $c_1$ and $c_2$ are approximately divisible by $b_1$ and $b_2$, respectively, with a common affine quotient. This again yields an approximate common affine factor. Combining these cases establishes the desired structural alternatives. Now, we are able to give the proof of Lemma 5.19. We first give the following polynomial division lemma that will be used several times in our proof. Lemma 5.20 (Polynomial division under a Gaussian distribution). Let $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I})$ and $\mathbf{v} \in \mathbb{S}^{d-1}$. Write $z = \mathbf{x} \cdot \mathbf{v}$ and $\mathbf{w} = \text{proj}_{\mathbf{v}^\perp}(\mathbf{x})$. Consider an affine function $L(z\mathbf{v} + \mathbf{w}) = \lambda z + B(\mathbf{w})$, $\lambda \neq 0$, where $B$ is an affine function on $\mathbf{w}$. Let $r_L(\mathbf{w}) = -B(\mathbf{w})/\lambda$ be its root in $z$. Let $q$ be a polynomial of degree at most two, written as $q(z\mathbf{v} + \mathbf{w}) = az^2 + b(\mathbf{w})z + c(\mathbf{w})$, $\deg b \leq 1$, $\deg c \leq 2$. The following hold. 1. There are unique polynomials $\ell(\mathbf{x})$ and $m(\mathbf{w})$, with $\deg \ell \leq 1$ and $\deg m \leq 2$, such that $q(\mathbf{x}) = L(\mathbf{x})\ell(\mathbf{x}) + m(\mathbf{w})$, given by\ell(z\mathbf{v}+\mathbf{w})=\frac{a}{\lambda}z+\frac{b(\mathbf{w})}{\lambda}-\frac{a B(\mathbf{w})}{\lambda^{2}},
m(\mathbf{w})=c(\mathbf{w})-\frac{B(\mathbf{w})b(\mathbf{w})}{\lambda}+\frac{a B(\mathbf{w})^{2}}{\lambda^{2}}=q(r_{L}(\mathbf{w})\mathbf{v}+\mathbf{w}).
If q is affine, $\ell$ is constant. 2. For a universal constant C,|\ell|{2}\leq\frac{C}{|\lambda|}\left(1+\frac{|B|{2}}{|\lambda|}\right)|q|_{2}. \tag{18}
For every polynomial P of degree at most $l \leq 4$,\left|P(r_{L}(\mathbf{w})\mathbf{v}+\mathbf{w})\right|{L^{2}(\mathbf{w})}\leq C{l}\left(1+\frac{|B|{2}}{|\lambda|}\right)^{l}|P|{L^{2}(\mathbf{x})}, \tag{19}
where $C_{l}$ depends only on l. 3. Let $E \subseteq \mathbf{v}^\perp$ have Gaussian probability at least $\beta \in (0,1/2]$. Suppose that $s : E \to \mathbb{R}$ is measurable, $|s(\mathbf{w})| \leq T$, and, for every $\mathbf{w} \in E$, $|q(s(\mathbf{w})\mathbf{v} + \mathbf{w})| \leq \varepsilon$ and $|L(s(\mathbf{w})\mathbf{v} + \mathbf{w})| \leq \eta$, then|m|{2}\leq C\beta^{-2}\left(\varepsilon+\eta\big(T+\sqrt{\log(2/\beta)}\big)|\ell|{2}\right). \tag{20}
In particular, when $L(s(\mathbf{w})\mathbf{v}+\mathbf{w})=0$ on $E$,|q-L\ell|{2}=|m|{2}\leq C\beta^{-2}\varepsilon. \tag{21}
Proof of Lemma 5.20. The first item can be proved by directly checking the definition of $\ell$ and $m$. For uniqueness, regard the polynomials as polynomials in $z$ with coefficients depending on $\mathbf{w}$. A nonzero multiple of $L$, whose leading coefficient in $z$ is the nonzero constant $\lambda$, cannot be independent of $z$. To prove (18), write $q = a(z^2 - 1) + b(\mathbf{w})z + (c(\mathbf{w}) + a)$. Gaussian orthogonality gives $2a^2 + \|b\|_2^2 + \|c + a\|_2^2 = \|q\|_2^2$. The bound follows from the division step and the triangle inequality. For (19), expand in normalized Hermite polynomials along $\mathbf{v}$:P(z\mathbf{v}+\mathbf{w})=\sum_{j=0}^{l}h_{j}(z)P_{j}(\mathbf{w}),\qquad\deg P_{j}\leq l-j,\qquad\sum_{j=0}^{l}|P_{j}|{2}^{2}=|P|{2}^{2}.
The function $r_{L}$ is affine. Gaussian moment bounds imply|h_{j}(r_{L}(\mathbf{w}))|{4}\leq C{l}(1+|r_{L}|_{2})^{j},
and hypercontractivity gives $\|P_j\|_4 \leq C_l \|P_j\|_2$. Hölder's inequality and the triangle inequality therefore give\left|P(r_{L}(\mathbf{w})\mathbf{v}+\mathbf{w})\right|{2}\leq\sum{j=0}^{l}|h_{j}(r_{L})|{4}|P{j}|{4}\leq C{l}(1+|r_{L}|{2})^{l}|P|{2}.
Substitute $\|r_L\|_2 = \|B\|_2/|\lambda|$. Finally, write $\ell(z\mathbf{v}+\mathbf{w})=\gamma z+D(\mathbf{w})$, where $D$ is affine. Then $|\gamma|\leq \|\ell\|_2$ and $\|D\|_2\leq \|\ell\|_2$. Gaussian tails imply that, except on a set of probability at most $\beta/2$, $|D(\mathbf{w})|\leq C\|\ell\|_2\sqrt{\log(2/\beta)}$. On a subset of $E$ of probability at least $\beta/2$ we consequently have $|\ell(s(\mathbf{w})\mathbf{v}+\mathbf{w})|\leq C(T+\sqrt{\log(2/\beta)})\|\ell\|_2$. Evaluate the polynomial division at the original selected point $s(\mathbf{w})\mathbf{v}+\mathbf{w}$. It gives|m(\mathbf{w})|\leq\varepsilon+C\eta\big(T+\sqrt{\log(2/\beta)}\big)|\ell|_{2}
on that set. Degree-two Gaussian anti-concentration says that $\mathbf{Pr}_{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[\|m(\mathbf{w})\|\leq h]\leq C(h/\|m\|_2)^{1/2}$ for $m\neq 0$. The probability lower bound $\beta/2$ proves (20). The case $m=0$ is immediate, and setting $\eta=0$ gives (21). Now, we are able to prove Lemma 5.19 Proof of Lemma 5.19. Recall that, for $i \in [2]$, $q_i^{(\mathbf{w})}(z) = a_i z^2 + b_i(\mathbf{w})z + c_i(\mathbf{w})$. Write $B = 1 + C \log(1/\alpha)$, with $C$ sufficiently large. The normalization in the statement gives $|a_i| \leq 1$, $\|b_i\|_2 \leq 1$, $\|c_i\|_2 \leq B$. Let $\kappa, \xi, \rho, \tau' \in (0,1)$ be cutoffs, to be specified at the end, with $\tau' \leq \sqrt{\rho}/4$. Case 1: $|a_1| \geq \kappa$. By (14), $a_2 q_1^{(\mathbf{w})}(z) - a_1 q_2^{(\mathbf{w})}(z) = U(\mathbf{w})z + V(\mathbf{w})$, where $U = a_2 b_1 - a_1 b_2$, $V = a_2 c_1 - a_1 c_2$. In particular, $\|U\|_2 \leq 2$ and $\|V\|_2 \leq 2B$. Case 1.1: $\|a_2q_1 - a_1q_2\|_2 \leq \xi$. Then $\|q_2 - (a_2/a_1)q_1\|_2 \leq \xi/\kappa$, which gives the approximately proportional alternative. Case 1.2: $\|a_2q_1 - a_1q_2\|_2 > \xi$. Suppose that $\|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\|_2 \leq \eta$, where $\eta \leq \xi^2/10$. We will choose such an $\eta$ using Lemma 5.18 at the end of the proof. Define the auxiliary polynomial\mathcal{R}:=\frac{U^{2}c_{1}}{a_{1}}-\frac{U V b_{1}}{a_{1}}+V^{2}. \tag{22}
By (15), $\mathcal{R} = a_1^{2-d_2} R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})$, where $d_2 \in \{0,1,2\}$ is the degree of $q_2^{(\mathbf{w})}$ in $z$ for almost every $\mathbf{w}$. Hence $\|\mathcal{R}\|_2 \leq \eta$. Claim 5.21. Under the assumptions of Case 1.2, $\|U\|_2 \geq c\kappa\xi^2/B$ for a universal constant $c > 0$. Proof of Claim 5.21. By (22) and Fact 2.7,|\mathcal{R}-V^{2}|{2}\leq\frac{C B}{\kappa}\big(|U|{2}^{2}+|U|_{2}\big).
Since $\|V\|_2^2 \leq \|V^2\|_2$ and $\|a_2q_1 - a_1q_2\|_2^2 = \|U\|_2^2 + \|V\|_2^2$,\xi^{2}\leq|U|{2}^{2}+\eta+\frac{C B}{\kappa}\big(|U|{2}^{2}+|U|{2}\big)\leq\eta+\frac{C^{\prime}B}{\kappa}|U|{2}.
The last inequality uses $\|U\|_2 \leq 2$ and $B/\kappa \geq 1$. The assumption $\eta \leq \xi^2/10$ proves the claim. $\square$ We next show that V is approximately divisible by U, with an affine quotient. Claim 5.22. Under the assumptions of Case 1.2, there is an affine polynomial $h(\mathbf{w})$ such that|V-U h|{2}\leq C\frac{B^{4/3}\eta^{1/6}}{\kappa^{2/3}\xi^{4/3}},\qquad|h|{2}\leq C\frac{B^{2}}{\kappa\xi^{2}}.
Proof of Claim 5.22. Put $\delta_* := (B^{4/3}\eta^{1/6})/(\kappa^{2/3}\xi^{4/3})$. If $\delta_* \geq c_0B$, where $c_0 > 0$ is a sufficiently small universal constant, take $h = 0$. Since $\|V\|_2 \leq 2B$, the claim follows after increasing $C$. We therefore assume $\delta_* < c_0B$ and choose\tau=\left(\frac{\kappa\xi^{2}\sqrt{\eta}}{B^{2}}\right)^{1/3}=\frac{\kappa\xi^{2}}{B^{2}}\delta_{*}.
By Claim 5.21 and the choice of $c_0, \tau \leq \|U\|_2/4$. If $U$ is nonconstant, write $\mathbf{w} = t\mathbf{u} + \mathbf{w}_\perp$ and $U(\mathbf{w}) = \beta_1t + \beta_0$, where $\mathbf{u} \in \mathbf{v}^\perp$ is a unit vector, $\mathbf{w}_\perp \perp \mathbf{u}$, and $\beta_1 > 0$. If $U$ is constant, set $\beta_1 = 0$, $\beta_0 = U$, and omit the terms involving $t$ in the second subcase below. Suppose first that $\beta_1 \geq \tau$ and put $s = -\beta_0/\beta_1$. Apply Lemma 5.20(1) in the Gaussian space $\mathbf{v}^\perp$, with distinguished direction $\mathbf{u}$, to divide $V$ by $U$. It gives an affine polynomial $h(\mathbf{w})$ and a remainder $E(\mathbf{w}_\perp)$ such thatV=U h+E,\qquad E(\mathbf{w}{\perp})=V(s\mathbf{u}+\mathbf{w}{\perp}).
On the hyperplane $U=0$, (22) gives $\mathcal{R}(s\mathbf{u}+\mathbf{w}_{\perp})=E(\mathbf{w}_{\perp})^{2}$. Since $\deg\mathcal{R}\leq 4$, the restriction bound in Lemma 5.20(2) implies|E|{2}^{2}\leq|E^{2}|{2}\leq C(1+|s|)^{4}|\mathcal{R}|_{2}\leq C\eta/\tau^{4}.
Here $|\beta_0| \leq \|U\|_2 \leq 2$. Thus $\|V - U h\|_2 \leq C \sqrt{\eta} / \tau^2 = C \delta_*$. Suppose next that $\beta_1 < \tau$. Since $\tau \leq \|U\|_2/4$, we have $|\beta_0| \geq \|U\|_2/2 \geq c\kappa\xi^2/B$. Take $h = V_{\leq 1}/\beta_0$. By the upper bound in Fact 2.7,|V-U h|{2}\leq|V{2}|_{2}+C\frac{B^{2}\tau}{\kappa\xi^{2}}. \tag{23}
To bound $\|V_2\|_2$, note that $\|(V_2^2)_4\|_2 \geq \sqrt{2}\|V_2\|_2^2$. Indeed, after diagonalization write $V_2 = \sum_i \gamma_i h_2(w_i)$. Gaussian orthogonality gives|(V_{2}^{2}){4}|{2}^{2}=6\sum_{i}\gamma_{i}^{4}+4\sum_{i<j}\gamma_{i}^{2}\gamma_{j}^{2}\geq2\left(\sum_{i}\gamma_{i}^{2}\right)^{2}.
\mathcal{R}{4}=(V{2}^{2}){4}+\frac{\beta{1}^{2}}{a_{1}}\big(t^{2}(c_{1}){2}\big){4}-\frac{\beta_{1}}{a_{1}}\big(t V_{2}(b_{1}){1}\big){4}.
\sqrt{2}|V_{2}|{2}^{2}\leq\eta+C\frac{B\tau^{2}}{\kappa}+C\frac{\tau}{\kappa}|V{2}|_{2}.
|V_{2}|_{2}\leq C\left(\sqrt{\eta}+\tau\sqrt{B/\kappa}+\tau/\kappa\right).
Combining this with (23), using $B \geq 1$ and $\kappa, \xi \leq 1$, gives|V-U h|{2}\leq C\left(\sqrt{\eta}+\frac{B^{2}\tau}{\kappa\xi^{2}}\right)\leq C\delta{*}.
Finally, in either nontrivial subcase, $\|Uh\|_2 \leq \|V\|_2 + \|V - Uh\|_2 \leq CB$. The lower bound in Fact 2.7 and Claim 5.21 give|h|{2}\leq C B/|U|{2}\leq C B^{2}/(\kappa\xi^{2}).
Given $h$ from Claim 5.22, set $L(\mathbf{x}) = z + h(\mathbf{w})$. Apply Lemma 5.20(1) to each $q_i$, now along the original direction $\mathbf{v}$. It givesq_{i}=L\ell_{i}+E_{i}(\mathbf{w}),\qquad\ell_{i}=a_{i}z+b_{i}-a_{i}h,\qquad E_{i}=c_{i}-b_{i}h+a_{i}h^{2}.
Put $E = V - Uh$. Substitution into (22) gives $\mathcal{R} = E^{2} + UE(2h - b_{1}/a_{1}) + U^{2}E_{1}/a_{1}$, and thereforeU^{2}E_{1}=a_{1}\mathcal{R}-a_{1}E^{2}-U E(2a_{1}h-b_{1}). \tag{24}
|E_{1}|{2}\leq\frac{C}{|U|{2}^{2}}\left(\eta+|E|{2}^{2}+|U|{2}|E|{2}(1+|h|{2})\right). \tag{25}
Moreover, $a_{2}E_{1}-a_{1}E_{2}=V-Uh=E$, so|E_{2}|{2}\leq\kappa^{-1}(|E|{2}+|E_{1}|_{2}). \tag{26}
These inequalities give the required errors in the common-affine alternative once the parameters are chosen below. Case 2: $|a_1| < \kappa$ and $|a_2| \geq \kappa$. Interchange the two polynomials and apply Case 1. Fact 5.16 preserves the absolute value, and hence the norm, of the resultant. No other change is needed. Case 3: $|a_1| < \kappa$ and $|a_2| < \kappa$. Put $\bar{q}_i = b_i(\mathbf{w})z + c_i(\mathbf{w})$. Then $\|q_i - \bar{q}_i\|_2 = \sqrt{3}|a_i| \leq \sqrt{3}\kappa$. We first bound the elimination polynomial $T(\mathbf{w}) = b_2(\mathbf{w})c_1(\mathbf{w}) - b_1(\mathbf{w})c_2(\mathbf{w})$. Let $F^{(\mathbf{w})}$ be the jump points in the hypothesis, at which $q_1^{(\mathbf{w})}(s) = 0$ and $0 \leq q_2^{(\mathbf{w})}(s) \leq \eta_c$. Their weighted mass is at least $\alpha$. Choose $R_\alpha = C\sqrt{B}$ with $C$ sufficiently large. Discard the roots with $|s| > R_\alpha$ and the layers where $|b_1(\mathbf{w})| > R_\alpha$ or $|b_2(\mathbf{w})| > R_\alpha$. There are at most two roots of $q_1^{(\mathbf{w})}$ on almost every layer. Gaussian tails for $b_1, b_2$ and $\phi(R_\alpha) \leq \alpha/100$ therefore show that the remaining weighted mass is at least $\alpha/2$. In particular, the remaining layers have probability at least $c\alpha$. At a retained root s, the identity $b_{2}q_{1}-b_{1}q_{2}=(a_{1}b_{2}-a_{2}b_{1})z^{2}+T$ givesT(\mathbf{w})=(a_{2}b_{1}(\mathbf{w})-a_{1}b_{2}(\mathbf{w}))s^{2}-b_{1}(\mathbf{w})q_{2}^{(\mathbf{w})}(s).
Consequently, on a set of probability at least $c\alpha$, $|T(\mathbf{w})| \leq C(\kappa B^{3/2} + \eta_c B^{1/2})$. Since $\deg T \leq 3$, Gaussian anti-concentration gives|T|{2}\leq C\alpha^{-3}(\kappa B^{3/2}+\eta{c}B^{1/2}). \tag{27}
The conclusion is immediate if $T = 0$; otherwise apply $\mathbf{Pr}_{\mathbf{w}}[|T(\mathbf{w})| \leq h] \leq C(h/\|T\|_2)^{1/3}$ with the displayed small-value threshold. Without loss of generality, assume $\|b_1\|_2 \geq \|b_2\|_2$. If $\|b_1\|_2 \leq \sqrt{\rho}$, then $\|q_i - c_i(\mathbf{w})\|_2 \leq \sqrt{3}\kappa + \sqrt{\rho}$ for both $i$, giving the first alternative. Henceforth assume $\|b_1\|_2 > \sqrt{\rho}$. Define\lambda=\frac{\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{\mathbf{v}\perp})}[b_{1}b_{2}]}{|b_{1}|{2}^{2}},\qquad b{2}=\lambda b_{1}+r.
Then $|\lambda| \leq 1$ and $\mathbf{E}_{\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_{\mathbf{v} \perp})}[b_1 r] = 0$. If $\|r\|_2 \leq \rho$, the identity $T = b_1 (\lambda c_1 - c_2) + rc_1$ and Fact 2.7 gives $\|\lambda c_1 - c_2\|_2 \leq C(\|T\|_2 + B\rho)/\sqrt{\rho}$. Thus $\|q_2 - \lambda q_1\|_2 \leq C\left(\kappa + B\sqrt{\rho} + \|T\|_2/\sqrt{\rho}\right)$, which gives the second alternative. It remains to consider $\|r\|_2 > \rho$. We construct an affine polynomial $h$ for which both $E_i := c_i - b_i h$ are small. For nonconstant $b_1$, write $\mathbf{w} = t\mathbf{u} + \mathbf{w}_\perp$ and $b_1(\mathbf{w}) = \beta_1 t + \beta_0$, where $\beta_1 > 0$. If $b_1$ is constant, take $\beta_1 = 0$, $\beta_0 = b_1$, and omit the terms involving $t$ in the second subcase. Suppose first that $\beta_1 \geq \tau'$ and put $s = -\beta_0/\beta_1$. Apply Lemma 5.20(1) in the Gaussian space $\mathbf{v}^\perp$, with distinguished direction $\mathbf{u}$, to divide $c_1$ by $b_1$. We obtain an affine $h(\mathbf{w})$ and $E_1(\mathbf{w}_\perp)$ such that $c_1 = b_1 h + E_1$. Restricting $T = b_2 c_1 - b_1 c_2$ to $b_1 = 0$ gives $T(s\mathbf{u} + \mathbf{w}_\perp) = r(s\mathbf{u} + \mathbf{w}_\perp)E_1(\mathbf{w}_\perp)$. The degree-three restriction bound in Lemma 5.20(2) implies|r(s\mathbf{u}+\mathbf{w}{\perp})E{1}(\mathbf{w}{\perp})|{2}\leq C(1+|s|)^{3}|T|{2}\leq C(\tau^{\prime})^{-3}|T|{2}.
Here $|\beta_0| \leq \|b_1\|_2 \leq 1$. To bound the restricted $r$ from below, writer(t\mathbf{u}+\mathbf{w}{\perp})=r{0}+\gamma t+r_{\perp}(\mathbf{w}{\perp}),\qquad\mathbf{\underline{{E}}}{\mathbf{w}{\perp}}[r{\perp}]=0.
The orthogonality $\mathbf{E}_{\mathbf{w}}[b_{1}r]=0$ gives $\gamma=sr_{0}$. Therefore,|r(s\mathbf{u}+\mathbf{w}{\perp})|{2}^{2}=(1+s^{2})^{2}r_{0}^{2}+|r_{\perp}|{2}^{2}\geq|r|{2}^{2}>\rho^{2}.
|E_{1}|{2}\leq C\frac{|T|{2}}{\rho(\tau^{\prime})^{3}}. \tag{28}
Suppose next that $\beta_1 < \tau'$. Since $\|b_1\|_2 > \sqrt{\rho}$ and $\tau' \leq \sqrt{\rho}/4$, $|\beta_0| \geq \sqrt{\rho}/2$. Take $h = (c_1)_{\leq 1}/\beta_0$, $\|h\|_2 \leq 2B/\sqrt{\rho}$. By the upper bound in Fact 2.7,|E_{1}|{2}\leq|(c{1}){2}|{2}+C B\tau^{\prime}/\sqrt{\rho}. \tag{29}
Write $r = r_{0} + r_{1}$, where $r_{1}$ is its degree-one Hermite component. Orthogonality gives|r_{0}||\beta_{0}|=|\beta_{1}\mathbf{E}{\mathbf{w}}[t r{1}(\mathbf{w})]|\leq\beta_{1}|r_{1}|_{2}.
It follows that $|r_0| \leq \|r_1\|_2/2$, and hence $\|r_1\|_2 \geq \|r\|_2/2 > \rho/2$. Taking degree-three Hermite components in $T = b_1(\lambda c_1 - c_2) + rc_1$ gives $T_3 = (r_1(c_1)_2)_3 + \beta_1\big(t(\lambda(c_1)_2 - (c_2)_2)\big)_3$. For a centered affine polynomial $P$ and a pure degree-two Hermite polynomial $Q$, we have $\|(PQ)_3\|_2 \geq \|P\|_2\|Q\|_2$. Indeed, rotate so that $P = \|P\|_2y$, and write $Q = Ah_2(y) + yD(\mathbf{r}) + C(\mathbf{r})$ in orthogonal second-chaos components. Then|(y Q){3}|{2}^{2}=3A^{2}+2|D|{2}^{2}+|C|{2}^{2}\geq|Q|_{2}^{2}.
Applying this inequality and the upper bound in Fact 2.7 to $T_3$, using $|\lambda| \leq 1$ and $\|c_i\|_2 \leq B$, gives $\|(c_1)_2\|_2 \leq C(\|T\|_2 + B\tau')/\rho$. Together with (29), this gives|E_{1}|{2}\leq C\frac{|T|{2}+B\tau^{\prime}}{\rho}. \tag{30}
For either choice of $h$, put $E_{2}=c_{2}-b_{2}h$. Since $T=b_{2}E_{1}-b_{1}E_{2}$, Fact 2.7 gives|E_{2}|{2}\leq\frac{C}{|b{1}|{2}}(|T|{2}+|b_{2}|{2}|E{1}|{2})\leq\frac{C}{\sqrt{\rho}}(|T|{2}+|E_{1}|_{2}).
Take $L(z\mathbf{v} + \mathbf{w}) = z + h(\mathbf{w})$ and $\ell_i(\mathbf{w}) = b_i(\mathbf{w})$. Thenq_{i}-L\ell_{i}=a_{i}z^{2}+E_{i}(\mathbf{w}),\qquad|q_{i}-L\ell_{i}|{2}\leq\sqrt{3}\kappa+|E{i}|_{2}.
C\left(\kappa+B\sqrt{\rho}+\frac{|T|_{2}}{\rho^{3/2}(\tau^{\prime})^{3}}+\frac{B\tau^{\prime}}{\rho^{3/2}}\right). \tag{31}
Choice of parameters and conclusion. Let $D := \eta_c / \alpha^4$. If $D \geq 1$ or $D^{1/2000} \geq \alpha$, the claimed error bound is at least an absolute constant, up to its implicit constant. The first alternative then follows by taking $\widetilde{q}_i(\mathbf{w}) = c_i(\mathbf{w})$, since $\|q_i - c_i\|_2 \leq \sqrt{3}|a_i| + \|b_i\|_2 = O(1)$. We henceforth assume $D < 1$ and $D^{1/2000} < \alpha$. In particular,\alpha^{-3}<D^{-3/2000},\qquad B\leq C(1+\log(1/D)).
\kappa=D^{35/2000},\qquad\xi=D^{37/2000},\qquad\rho=D^{4/2000},\qquad\tau^{\prime}=\tfrac{1}{8}D^{8/2000}.
These choices ensure $\tau' \leq \sqrt{\rho}/4$. Here and below, $\widetilde{O}$ and $\widetilde{\Omega}$ hide only fixed powers of $B$ and absolute constants. By (27),|T|{2}\leq C\alpha^{-3}(\kappa B^{3/2}+\eta{c}B^{1/2})\leq\widetilde{O}(D^{32/2000}).
B\sqrt{\rho}=\widetilde{O}(D^{2/2000}),\qquad\frac{|T|_{2}}{\rho^{3/2}(\tau')^{3}}=\widetilde{O}(D^{2/2000}),\qquad\frac{B\tau'}{\rho^{3/2}}=\widetilde{O}(D^{2/2000}).
Thus Case 3 gives one of the required alternatives with error $\widetilde{O}(D^{2/2000})$. For Cases 1 and 2, take $\eta = C_0 B D$, with $C_0$ sufficiently large that Lemma 5.18 gives $\|R(q_1^{(\mathbf{w})}, q_2^{(\mathbf{w})})\|_2 \leq \eta$. The smallness assumption on $D$ ensures $\eta \leq \xi^2/10$. The two claims give|U|{2}\geq \widetilde{\Omega}(D^{109/2000}),\qquad |E|{2}\leq C\frac{B^{4/3}\eta^{1/6}}{\kappa^{2/3}\xi^{4/3}}\leq \widetilde{O}(D^{260/2000}),\qquad |h|_{2}\leq \widetilde{O}(D^{-109/2000}).
\begin{align*}|E_{1}|{2}&\leq C\left(\frac{\eta}{|U|{2}^{2}}+\frac{|E|{2}^{2}}{|U|{2}^{2}}+\frac{|E|{2}(1+|h|{2})}{|U|_{2}}\right)\&\leq \widetilde{O}\left(D^{1782/2000}+D^{302/2000}+D^{151/2000}+D^{42/2000}\right)\leq \widetilde{O}(D^{42/2000}).\end{align*}
Equation (26) then gives $\|E_2\|_2 \leq \widetilde{O}(D^{7/2000})$. The approximately proportional branch has error $\xi/\kappa = D^{2/2000}$. Case 2 is symmetric. Consequently, in every case one of the three alternatives holds with error $\widetilde{O}(D^{2/2000})$. This is at most\widetilde{O}\left(\alpha^{-1}D^{1/2000}\right)=\widetilde{O}\left(\alpha^{-1}(\eta_{c}/\alpha^{4})^{1/2000}\right),
which proves the claimed bound on $\epsilon_{fac}$. ### 5.5 Completing the Construction of Certificate Polynomials We now combine the techniques developed so far to prove Theorem 5.1. Our goal is to obtain correlation at least $(\alpha/(Ck))^{2^{D(k)}}$ while keeping the degree of the certificate at most $2k$. Recall from Lemma 5.7 that large randomized error gives a nontrivial amount of Gaussian-weighted decision boundary along $\mathbf{v}$. At a selected boundary, Lemma 5.11 gives a positive contribution when the derivative and the other defining polynomials are quantitatively separated from zero. If these conditions fail, the boundary corresponds to a nearly double root or a nearly shared root. The analysis in Subsection (5.3) handles nearly double roots: either their contribution to the weighted boundary is small, or a defining inequality can be approximated by a Boolean function of $\mathbf{w}$ and absorbed into $g(\mathbf{w})$. For the remaining nearly shared roots, Lemma 5.19 either simplifies the instance through approximate proportionality or supplies a common affine polynomial; its approximately $\mathbf{w}$-dependent alternative is excluded on the selected heavy boundary events in the proof below. Once an affine polynomial $L$ with $\partial_{\mathbf{v}}L \neq 0$ has been found, Lemma 5.20 givesq_{i}(\mathbf{x})=L(\mathbf{x})\ell_{i}(\mathbf{x})+m_{i}(\mathbf{w}),\qquad m_{i}(\mathbf{w})=q_{i}(r_{L}(\mathbf{w})\mathbf{v}+\mathbf{w}),
where $r_{L}(\mathbf{w})$ is the root of $L$ along $\mathbf{v}$. Small remainders allow us to approximate additional polynomials using $L$, whereas remainders with nontrivial norm give separation at its roots by anti-concentration. This suggests grouping the defining polynomials according to whether they are approximately divisible by $L$. For an instance in which one group has the exact representation $q_i = L\ell_i$, suppose that roots of $L$ are active boundaries on a set of nontrivial weighted mass and that the cofactors $\ell_i$ and the defining polynomials outside this group are quantitatively separated from zero there. Then Lemma 5.24 constructs a certificate with large correlation. We use separation of these polynomial values, rather than a condition stated only in terms of distances between roots. Finding a factorization does not by itself guarantee these properties. The newly obtained affine polynomial might not give an active boundary, and replacing the defining polynomials by their approximations may remove the boundary from which the factorization was obtained. We therefore use an iterative construction. Denote by $F$ the current approximating intersection. Each defining polynomial of $F$ is either an undecomposed quadratic or has a recorded exact representation $q_i = \ell_{i1}\ell_{i2}$, where the affine polynomials may be constant and scalar signs are included in them. Once such a representation is obtained, we keep it and do not factorize the same quadratic again. At each round, the active boundaries of $F$ are associated with undecomposed quadratics or affine polynomials already appearing in these representations. We select one such polynomial whose associated boundaries have nontrivial weighted mass, and handle its nearly double roots using Subsection (5.3) when it is quadratic. If the selected boundaries satisfy the required separation conditions, the construction from Lemma 5.11 gives a certificate when the selected polynomial is quadratic, and the construction from Lemma 5.24 gives one when it is affine. Otherwise, at the chosen separation scales, other undecomposed quadratics or previously obtained affine polynomials have small values on substantial collections of these selected roots. We use this information to simplify $F$. If the selected polynomial is affine, say $L$, polynomial division allows us to replace the relevant undecomposed quadratics by $L\ell_j$. An affine polynomial that is small at these roots is instead replaced by a scalar multiple of $L$, consistently at all its current occurrences. Thus a round can make progress even when no quadratic remains to be decomposed. If the selected polynomial is an undecomposed quadratic $q_i$, we apply Lemma 5.19 to the relevant pairs. When all selected partners are approximately proportional to $q_i$, we identify them. Otherwise, one pair supplies a decomposition $q_i \approx \ell_{i1}\ell_{i2}$. We then use these same two affine polynomials for all the selected partners: the division lemma approximates each partner using one of $\ell_{i1}, \ell_{i2}$, with the choice allowed to depend on the partner. Their small-value events need not occur on the same layers. All these approximations are obtained using the selected roots of the current instance, before making the replacements. We then replace $F$ by the resulting intersection $F'$ and select an actual boundary of $F'$ for the next round, without requiring the old boundary to survive. Each unsuccessful round therefore removes or decomposes an undecomposed quadratic, or identifies affine polynomials already present. Each original quadratic can be removed or decomposed at most once, and at most $2k$ affine polynomials are introduced in total. Hence there are only $O(k)$ such changes. Provided the accumulated approximation error is small enough to preserve nontrivial randomized error, the construction must reach an instance for which one of the two certificate constructions succeeds. It remains to choose the approximation accuracies so that the eventual certificate also correlates with the original target. Write $F_0 = f, F_1, \ldots, F_t$ for the successive instances and $e_s = \mathbf{Pr}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[F_s(\mathbf{x}) \neq F_{s+1}(\mathbf{x})]$. If a normalized certificate $H$ satisfies $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[F_t H] \geq \beta$, then\mathbf{E}{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[fH] \geq \beta - \sqrt{\sum{s=0}^{t-1} e_s}.
Thus the accumulated disagreement must be small compared with $\beta^2$, not merely with $\alpha$. The factorization and division estimates give replacement errors of the form $e \leq b^{-A}u^c$, where $u$ is the small-value cutoff, $b$ is a fixed power of $\alpha/(Ck)$, and $A,c>0$ are universal constants. Consequently, preserving a later correlation requires only a fixed-power dependence of the current cutoff on that correlation and $b$. There is one additional issue: the certificate contains a product of several polynomial values, so using the same cutoff for all of them could introduce an extra factor of $k$ into the accuracy exponent at every round. We avoid this by simplifying several polynomials together. If $j$ different polynomials are small, the same affine decomposition handles them with one common error bound and makes at least $\lceil j/2 \rceil$ changes. We therefore choose different cutoffs according to the number of changes they allow. In the case where a certificate is obtained, the logarithmic losses from the product are bounded by a geometric sum; in the other case, the replacement error is small enough for the certificate promised after those changes to transfer back. This keeps the accuracy loss per unit of progress at a universal power. After $O(k)$ changes, including the normalization and Hermite-block extraction, we obtain correlation at least\left(\frac{\alpha}{Ck}\right)^{D^{O(k)}}=\left(\frac{\alpha}{Ck}\right)^{2^{O(k)}},
where $D>1$ is a universal constant. The detailed choice of cutoffs below implements this calculation. We first give the following fact on the stability of Boolean functions under perturbation, Fact 5.23 (Stability under polynomial perturbations). Suppose that $f$ is determined by $\mathbf{w}$ and the signs of $N$ polynomials of degree at most two and norm one. If each polynomial is replaced, at all its occurrences, by a polynomial within $\delta$ in $L_2$ norm, then the resulting function $\widetilde{f}$ satisfies\mathbf{P r}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f\neq\widetilde{f}]\leq C N\delta^{2/5}.
For any Boolean functions $F,H$, with $e=\mathbf{P r}_{\mathbf{x}}[F\neq H]$, and every polynomial $p$,|\operatorname{R a n d}{F}(\mathbf{v})-\operatorname{R a n d}{H}(\mathbf{v})|\leq 2e,\qquad|\mathop{\bf E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[(F-H)p]|\leq \sqrt{e}|p|{2}.
A certificate around a given affine polynomial. Suppose a collection of defining inequalities has already been written using the same $L$. The following lemma gives the certificate and relates its size directly to the remainders of the other polynomials. Multiplication of an inequality by a positive constant does not change the target, so the normalizations in the statement cause no restriction. Lemma 5.24 (Certificate using a common affine polynomial). Let $\|L\|_2 = 1$ and $a = \partial_{\mathbf{v}}L \neq 0$. Supposef(\mathbf{x})=g(\mathbf{w})\mathbf{1}{L(\mathbf{x})\ell_{i}(\mathbf{x})\geq 0\ (i\in S),\quad q_{j}(\mathbf{x})\geq 0\ (j\notin S)},
where $\emptyset \neq S \subseteq [k]$, each $\ell_i$ is affine or constant with norm one, and the remaining $q_j$ have degree at most two and norm at most an absolute constant. Signs are included in $\ell_i$ and $q_j$. Put $m = |S|$ and defineQ_{L}=a\left(\prod_{i\in S}\ell_{i}\right)\left(\prod_{j\notin S}q_{j}\right)\begin{cases}1,&m\text{ odd},\ \sum_{i\in S}\ell_{i},&m\text{ even}.\end{cases} \tag{32}
Then $\deg Q_L \leq 2k-1$, $\|M_{\mathbf{v}}Q_L\|_2 \leq |a|(Ck)^{Ck}$, and every boundary contribution $\Delta f_{\mathbf{w}}(s)Q_L(s\mathbf{v}+\mathbf{w})$ is nonnegative. More quantitatively, let $r_L(\mathbf{w})$ be the root of $L$ and suppose it is a jump of $f_{\mathbf{w}}$ on a measurable set $E$ with\mathbf{E}{\mathbf{w}}[\varphi(r{L}(\mathbf{w}))\mathbf{1}_{E}(\mathbf{w})]\geq b>0.
For $i \in S$ put $m_i(\mathbf{w}) = \ell_i(r_L(\mathbf{w})\mathbf{v} + \mathbf{w})$, and for $j \notin S$ put $m_j(\mathbf{w}) = q_j(r_L(\mathbf{w})\mathbf{v} + \mathbf{w})$. Write $d_i = \min\{1, \|m_i\|_2\}$. If every $d_i > 0$, then\frac{\mathbf{E}{\mathbf{x}}[f M{\mathbf{v}}Q_{L}]}{|M_{\mathbf{v}}Q_{L}|{2}}\geq\left(\frac{b}{C k}\right)^{C k}\prod{i=1}^{k}d_{i}^{2}. \tag{33}
Proof of Lemma 5.24. At an active root $s$ of $L$, Fact 5.9 implies that every nonzero outside polynomial $q_j$ is positive. Moreover, for each $i \in S$ with $\ell_i(s\mathbf{v} + \mathbf{w}) \neq 0$,\Delta f_{\mathbf{w}}(s)=\mathrm{s i g n}\big(\partial_{\mathbf{v}}(L\ell_{i})(s\mathbf{v}+\mathbf{w})\big)=\mathrm{s i g n}\big(a\ell_{i}(s\mathbf{v}+\mathbf{w})\big).
Thus all nonzero cofactors have the same sign. The product has the correct sign when $m$ is odd, and the additional sum gives the correct sign when $m$ is even. If a cofactor or an outside polynomial vanishes, $Q_L$ is zero. At a jump not arising from $L$, one of these polynomials must vanish, again by Fact 5.9. This proves the nonnegative contribution at every boundary. The degree bound follows directly from (32); Hölder's inequality, hypercontractivity, and Fact 5.5 give the norm bound. By Lemma 5.20(1), each $m_i$ is the remainder obtained by dividing the corresponding $\ell_i$ or $q_i$ by $L$. In particular, $\deg m_i \leq 2$. Take $h = (b/(Ck))^2$. Gaussian anti-concentration gives $\mathbf{Pr}_{\mathbf{w}}[|m_i(\mathbf{w})| \leq hd_i] \leq C\sqrt{h}$. A union bound discards weighted mass at most $b/2$ for sufficiently large $C$. On the remaining roots all the absolute values are at least $hd_i$. The sum in the even case has absolute value at least any one of its summands. Since $d_i \leq 1$ and $h \leq 1$, in both cases\Delta f_{\mathbf{w}}(r_{L})Q_{L}(r_{L}\mathbf{v}+\mathbf{w})\geq|a|h^{k+1}\prod_{i=1}^{k}d_{i}^{2}.
Apply Lemma 5.6 and divide by the norm bound. The resulting factor $bh^{k+1}/(2(Ck)^{Ck})$ is at least $(b/(Ck))^{C'k}$ after increasing the absolute constant. Notice that $|a|$ cancels; no separate lower bound on $|\partial_{\mathbf{v}}L|$ is needed for this normalized correlation estimate. $\square$ Fact 5.25 (Evaluation at selected roots and normalization). Let $0 < b \leq b_*$, $R_b = \sqrt{20\log(1/b)}$, and let $s(\mathbf{w})$ be measurable on $E \subseteq \mathbf{v}^\perp$ with $|s(\mathbf{w})| \leq R_b$. The following hold. (i) If $\deg e \leq 2$ and $\|e\|_2 \leq \delta$, then, outside a set of probability at most $b^3/100$,\sup_{|z|\leq R_{b}+1}(|e(z\mathbf{v}+\mathbf{w})|+|\partial_{\mathbf{v}}e(z\mathbf{v}+\mathbf{w})|)\leq C\delta b^{-4}.
(ii) If $\deg R \leq 2$ and $\mathbf{Pr}_{\mathbf{w}}[|R(\mathbf{w})| \leq h] \geq c_0 b$, then $\|R\|_2 \leq C_{c_0} b^{-4} h$. (iii) If $\deg P \leq 2$, $\|P\|_2 = 1$, and\mathbf{E}{\mathbf{w}}[\varphi(s(\mathbf{w}))\mathbf{1}{E}(\mathbf{w})\mathbf{1}{|\mathcal{P}(s(\mathbf{w})\mathbf{v}+\mathbf{w})|\leq u}]\geq b,\qquad u\leq b^{A_{0}},
for sufficiently large absolute $A_{0}$, then $P$ is nonconstant. Writing $P=\mu+\sigma H$, where $\mathbf{E}_{\mathbf{x}}[H]=0$ and $\mathrm{Var}_{\mathbf{x}}(H)=1$, gives\sigma\geq\frac{c}{1+\log(1/b)},\qquad|\mu|/\sigma\leq C(1+\log(1/b)).
Proof of Fact 5.25. For (i), write $e = a(z^2 - 1) + B(\mathbf{w})z + C(\mathbf{w})$. Orthogonality gives $2a^2 + \|B\|_2^2 + \|C\|_2^2 \leq \delta^2$. Chebyshev bounds $|B|, |C|$ by $C\delta b^{-3}$ outside probability $Cb^6$. Since $R_b + 1 \leq b^{-1}$, the asserted uniform bound follows; decrease $b_*$ to ensure $Cb^6 \leq b^3/100$. For (ii), degree-two Gaussian anti-concentration gives $c_0b \leq C(h/\|R\|_2)^{1/2}$ when $R \neq 0$. The resulting bound $Cc_0^{-2}b^{-2}h$ implies the stated one; the zero polynomial is immediate. For (iii), a constant of norm one cannot satisfy the hypothesis, so $\sigma > 0$. Decompose the centered unit-variance polynomial $H$ in the same way as in (i). Gaussian tails for its affine and quadratic coefficient polynomials imply, outside probability $b/100$,\sup_{|z|\leq R_b}|H(z\mathbf{v}+\mathbf{w})|\leq C(1+\log(1/b)).
The weighted event has ordinary probability at least $b/\varphi(0)$ and intersects this set. Thus $|\mu| \leq u + C\sigma(1+\log(1/b))$. Using $\mu^2 + \sigma^2 = 1$ and $u \leq 1/4$ proves the lower bound on $\sigma$ and then the bound on $|\mu|/\sigma$. $\square$ The iterative construction. Algorithm 2 summarizes the construction used in Theorem 5.1. It is a proof procedure with access to the defining polynomials and exact Gaussian boundary quantities, not a sample-based learning algorithm. We retain the normalization and replacement conventions of the proof. In particular, $t$ counts changes, not rounds: a change is the removal or decomposition of an old undecomposed quadratic, or the disappearance of an old affine polynomial from the current expressions, counting proportional affine polynomials only once. An affine polynomial that remains as a new quotient is not counted as discarded. Choose the universal constants as in the proof and set\begin{align*}\rho&=\alpha/(Ck),\qquad b=\rho^{8},\quad\beta_{t}=\rho^{KkD^{3k-t}},\\theta_{t}&=\rho^{\Lambda k D^{3k-t-1}},\qquad\quad u_{t,j}=\rho^{\Lambda k D^{3k-t-\lceil j/2\rceil}}.\end{align*}
(34) In a round with selected roots $s(\mathbf{w})$ on $E$, put $m_E(B) = \mathbf{E}_{\mathbf{w}}[\varphi(s(\mathbf{w}))\mathbf{1}_B(\mathbf{w})]$ for $B \subseteq E$, where $\mathbf{w}$ is standard Gaussian on $\mathbf{v}^\perp$; set $R_\rho = \sqrt{20\log(1/\rho)}$. If $P_1, \ldots, P_M$ are the other different current polynomials, a batch $(j,\mathcal{B})$ means\begin{aligned}j\in[M],\qquad\mathcal{B}\subseteq{P_{1},\ldots,P_{M}},\qquad|\mathcal{B}|=j,\m_{E}({\mathbf{w}\in E:|P(s(\mathbf{w})\mathbf{v}+\mathbf{w})|\leq u_{t,j}})\geq b\quad foreveryP\in\mathcal{B}.\end{aligned} \tag{35}
\mathbf{P r}{\mathbf{x}}[F\neq F^{\prime}]\leq\beta{t^{\prime}}^{20},\qquad\mathrm{R a n d}_{F^{\prime}}(\mathbf{v})\geq\alpha/2.
The small-discriminant branch makes at least one change; a batch of $j$ partners makes at least $\lceil j/2 \rceil$ changes. A successful round gives $\mathbf{E}_{\mathbf{x}}[FH] \geq \beta_t$, and stability transfers this to $\mathbf{E}_{\mathbf{x}}[fH] \geq \beta_0/2$. The final paragraph of the proof then extracts the required normalized block $h_r(\mathbf{v} \cdot \mathbf{x})p(\mathbf{w})$. The error estimates are guarantees of the proof, not additional tests performed by the procedure. Proof of Theorem 5.1. Algorithm 2 records the construction. We may assume $0 < \alpha \leq 1/2$. Write $\mathbf{x} = z\mathbf{v} + \mathbf{w}$, where $z \sim \mathcal{N}(0,1)$ and $\mathbf{w} \sim \mathcal{N}(0,\mathbf{I}_{\mathbf{v}^{\perp}})$ are independent. We construct successive approximating intersections, starting with $F = f$. At each round we select an actual boundary of $F$, and either obtain a certificate or replace $F$ by a simpler intersection. Algorithm 2 Iterative construction of a directional certificate 1: Input: The defining representation of the target function $f$, a unit direction $\mathbf{v}$, and $0 < \alpha \leq 1/2$ with $\text{Rand}_f(\mathbf{v}) \geq \alpha$. 2: Output: $H = M_{\mathbf{v}}Q / \|M_{\mathbf{v}}Q\|_2$ with $\deg Q \leq 2k - 1$ and $\mathbf{E}_{\mathbf{x}}[fH] \geq \beta_0/2$. 3: Set $F \leftarrow f$ and $t \leftarrow 0$; normalize and simplify as in the proof. 4: while no certificate has been returned do 5: Select a current polynomial $q_0$ and actual jumps $s(\mathbf{w})$ of $F_{\mathbf{w}}$ on $E$, associated with $q_0$, with $m_E(E) \geq 2\rho^4$ and $|s(\mathbf{w})| \leq R_\rho$. 6: if $q_0 = az^2 + B(\mathbf{w})z + C(\mathbf{w})$ is undecomposed and $\|B^2 - 4aC\|_2 \leq \theta_t$ then 7: Approximate its inequality by a Boolean function of $\mathbf{w}$ using Subsection (5.3); absorb it into the gate and remove $q_0$, giving $F'$. 8: else 9: if $q_0$ is an undecomposed quadratic then 10: Discard from $E$ the layers where $|\partial_{\mathbf{v}}q_0(s(\mathbf{w})\mathbf{v} + \mathbf{w})| \leq \theta_t$. 11: List the other different current polynomials $P_1, \ldots, P_M$; search for a batch $(j, \mathcal{B})$ satisfying (35). 12: if no such batch exists then 13: If $q_0 = q_i$ is quadratic, take $Q = (\partial_{\mathbf{v}} \prod_j q_j)$; otherwise use $Q_L$ from Lemma 5.24. 14: Reduce repeated affine powers by parity in the multiplicative part, as in the proof. 15: return $H = M_{\mathbf{v}}Q / \|M_{\mathbf{v}}Q\|_2$. 16: Fix one batch $(j, \mathcal{B})$ and put $u \leftarrow u_{t,j}$. 17: if $q_0 = L$ is affine then 18: Keep $L$ fixed. For each $P \in \mathcal{B}$, use Lemma 5.20 to write $P = L\ell_P + m_P(\mathbf{w})$; prescribe $P \mapsto L\ell_P$. 19: else 20: Orient and normalize the pairs $(q_0, P)$ and apply Lemma 5.19 as in the proof. 21: if every selected partner is in the proportionality case then 22: Prescribe scalar-multiple replacements using one common polynomial from $\{q_0\} \cup \mathcal{B}$, choosing an affine one when available. 23: else 24: Obtain $q_0 \approx \kappa L_1 L_2$ from one pair; prescribe $q_0 \mapsto \kappa L_1 L_2$. 25: For each $P \in \mathcal{B}$, choose one $L(P) \in \{L_1, L_2\}$ using its small-value event at the original selected roots $s(\mathbf{w})$. 26: Apply Lemma 5.20 with divisor $L(P)$; prescribe $P \mapsto L(P)\ell_P$. 27: Apply the prescribed replacements simultaneously at all old occurrences, without substituting again into new quotients, giving $F'$. 28: Normalize $F'$, retain scalar signs and decomposed forms, identify proportional copies, and simplify repeated, constant, and square inequalities. 29: Let $\Delta t$ be the actual number of changes from the old representation of $F$ to the resulting representation of $F'$. 30: Set $F \leftarrow F'$ and $t \leftarrow t + \Delta t$; restart by selecting an actual boundary of this new $F$. The representations and allowed changes. Normalize every undecomposed quadratic and every recorded affine polynomial to norm one, keeping scalar signs in the defining inequalities. An inequality that has been decomposed remains a product of affine polynomials; we never treat this product as an undecomposed quadratic again. Proportional affine polynomials are represented by the same normalized polynomial, with their scalars retained. Delete repeated inequalities and simplify constant and square inequalities. There are at most $k$ inequalities and at most $2k$ different nonconstant polynomials in these expressions, counting each undecomposed quadratic and each recorded affine polynomial once. An affine replacement $M \mapsto cL$ is made at every current occurrence of $M$, not by independently changing its coefficients in different inequalities. Replacements in a round are simultaneous: we do not substitute again into the newly obtained quotients. Count one change for each old undecomposed quadratic no longer present as such, and one for each old affine polynomial absent from the resulting expressions. In particular, an affine polynomial that still occurs as a new quotient is not counted as discarded. Let $t$ be the total number of changes so far, not the number of rounds. Each original quadratic is removed or decomposed at most once. New affine polynomials arise only from such decompositions, with at most two introductions per quadratic; a batch of $q+1$ quadratics sharing two new affine polynomials introduces at most $q+2 \leq 2(q+1)$. Thus at most $2k$ affine polynomials are introduced in total, including initial affine inequalities and later reintroductions. If $N$ different polynomials currently remain, thent+N\leq 3k. \tag{36}
Indeed, removed and remaining undecomposed quadratics total at most $k$, while discarded and remaining affine polynomials total the number introduced. This also rules out cycling: without a new quadratic decomposition an affine merger strictly reduces the current collection. Accuracies to be maintained. Let $A > 1$ and $c \in (0,1)$ be universal constants large and small enough, respectively, for the replacement estimates from Lemmas 5.19 and 5.20, Lemma 5.13, and Fact 5.23. The applications below establish disagreement bounds $b^{-A}u^c$, for $u \leq b^A$. Choose universal constants $K,\Lambda,D > 1$, in that order, such thatK\geq 4C_{*},\qquad c\Lambda\geq 20K+8A+20,\qquad \frac{\Lambda}{D}+\frac{6\Lambda}{D-1}\leq \frac{K}{2}, \tag{37}
where $C_{*}$ absorbs the certificate norm and boundary-mass constants below. Set\rho=\frac{\alpha}{C k},\qquad b=\rho^{8},\qquad \beta_{t}=\rho^{K k D^{3k-t}}\quad (0\leq t\leq 3k).
We take $C$ sufficiently large throughout. Every replacement ending at a new count $t'$ will satisfy\mathbf{P r}{\mathbf{x}}[F\neq F^{\prime}]\leq \beta{t^{\prime}}^{20}. \tag{38}
Since each replacement increases $t$, the accumulated disagreement is at most $\sum_{s=1}^{3k} \beta_s^{20} \leq 3k \rho^{20Kk} < \alpha/4$. Fact 5.23 then ensures $\text{Rand}_F(\mathbf{v}) \geq \alpha/2$. Initially this holds without any replacements; below we verify (38) for each possible update. In particular, positive randomized error ensures $N \geq 1$ and hence $t \leq 3k - 1$ at the start of every round. Selecting a boundary and handling nearly double roots. At the beginning of a round let $t$ be the current count. By Lemma 5.7, whose proof applies to every finite-jump Boolean layer,\mathbf{\frac{E}{w}}\left[\sum_{s\in S_{\mathbf{w}}}\varphi(s)\right]\geq c\alpha.
Assign each jump to a sign-changing zero of an undecomposed quadratic or a recorded affine polynomial. There are at most $2k$ choices and at most two assigned roots per choice on each layer. Pigeonhole to one polynomial $q_0$ and retain its assigned root of largest Gaussian density on each layer. Discarding roots outside $R_\rho = \sqrt{20\log(1/\rho)}$ loses at most $2k\varphi(R_\rho) = O(k\rho^{10})$ in weighted mass. We obtain measurable selected roots $s(\mathbf{w})$ on a set $E$ with\mathbf{\frac{E}{w}}[\varphi(s(\mathbf{w}))\mathbf{1}{E}(\mathbf{w})]\geq 2\rho^{4},\qquad |s(\mathbf{w})|\leq R{\rho}.
Use fixed ordering and tie-breaking for these selections. If $q_0$ is quadratic, write $q_0 = az^2 + B(\mathbf{w})z + C(\mathbf{w})$ and put $\Delta = B^2 - 4aC$ and $\theta = \rho^{\Lambda k D^{3k-t-1}}$. If $\|\Delta\|_2 \leq \theta$, use Fact 5.25(iii) to write $q_0 = \mu + \sigma p$, where $p$ has mean zero and variance one, and $\sigma \geq c/(1 + \log(1/b))$. The discriminant of $q_0/\sigma$ is $\Delta/\sigma^2$. Lemma 5.13 therefore approximates the inequality by a Boolean function of $\mathbf{w}$, with error at most $b^{-A}\theta^c$, after increasing $A$ and decreasing $c$. Absorb that function into the gate. This removes a quadratic, so $t' \geq t + 1$, andb^{-A}\theta^{c}=\rho^{c\Lambda k D^{3k-t-1}-8A}\leq \beta_{t+1}^{20}\leq \beta_{t'}^{20}.
\mathbf{P r}{\mathbf{w}}[\exists s:;q{0}(s\mathbf{v}+\mathbf{w})=0,|\partial_{\mathbf{v}}q_{0}(s\mathbf{v}+\mathbf{w})|\leq\theta]\leq C\sqrt{\theta}.
Discard these layers. The remaining selected mass is at least $\rho^4$, and $|\partial_{\mathbf{v}}q_0| > \theta$ there. If $q_0$ is affine, no such step is needed; define the same $\theta \leq 1$ for the bounds below. Write $m(B) = \mathbf{E}_{\mathbf{w}}[\varphi(s(\mathbf{w}))\mathbf{1}_B(\mathbf{w})]$ for $B \subseteq E$. A finite test for success or simplification. Let $P_1, \ldots, P_M$ be the other different normalized polynomials currently appearing. By (36), $M \leq 3k - t - 1$. Putd_{j}=\lceil j/2\rceil,\qquad u_{j}=\rho^{\Lambda k D^{3k-t-d_{j}}}\quad(j\in[M]).
We ask whether, for some $j$, at least $j$ different polynomials satisfym\bigl({\mathbf{w}\in E:|P_{i}(s(\mathbf{w})\mathbf{v}+\mathbf{w})|\leq u_{j}}\bigr)\geq b. \tag{39}
If this happens, choose any $j$ such polynomials and set $u = u_j$; they are the partners to be simplified in this round. Suppose first that it does not happen. Relabel the polynomials so thatm\bigl({|P_{j}(s(\mathbf{w})\mathbf{v}+\mathbf{w})|\leq u_{j}}\bigr)<b\quad\mathrm{f o re v e r y}j\in[M].
\mathbf{E}{\mathbf{x}}[FH]\geq \rho^{C{}k}\theta\prod_{j=1}^{M} u_{j}^{3}=\rho^{C_{}k+\Lambda k D^{3k-t-1}+3\Lambda k\sum_{j=1}^{M} D^{3k-t-d_{j}}}\geq \rho^{KkD^{3k-t}}=\beta_{t}.
Here $\sum_{j=1}^{M} D^{3k-t-d_{j}} \leq 2D^{3k-t}/(D-1)$, and we used (37). For $M=0$ the same argument uses an empty product. We stop with this certificate. An unsuccessful round at an affine boundary. Now suppose (39) holds for the selected $j$ partners, and $q_0 = L$ is affine. Its derivative along $\mathbf{v}$ is nonzero, and the selected points are its roots. For each selected partner $P$, the small-value event has ordinary probability at least $cb$. Lemma 5.20(1),(3) givesP=L\ell+m_{P}(\mathbf{w}),\qquad\deg\ell\leq\deg P-1,\qquad|m_{P}|_{2}\leq C b^{-2}u. \tag{40}
Replace every selected undecomposed quadratic by $L\ell$ and every selected affine polynomial by the corresponding scalar multiple of $L$. Thus the selected $L$ is kept fixed, and already decomposed inequalities remain decomposed. An unsuccessful round at a quadratic boundary. Suppose instead that $q_0$ is an undecomposed quadratic, including the sign of its defining inequality. For each selected partner $P$, fix its sign on the side where the current intersection is one, retaining weighted mass at least $b/2$. By Fact 5.9 the selected root is a jump of this oriented pair. Fact 5.25(iii) allows us to divide their centered parts by standard deviations at least $c/(1+\log(1/b))$. The normalized pair has thresholds $O(1+\log(1/b))$ and partner value at most $Cu(1+\log(1/b))$. Apply Lemma 5.19 and rescale back. Its error is at most $\delta_{\text{pair}} = Cb^{-C_1}u^{c_1} \leq b^{110}$, for universal $C_1, c_1 > 0$, by taking the cutoff exponent $A$ large enough. The alternative of being nearly independent of $\mathbf{v}$ is excluded: if a unit-norm polynomial is within $\delta_{\text{pair}}$ of $R(\mathbf{w})$, then $\|R\|_2 \geq 1 - \delta_{\text{pair}}$, whereas Fact 5.25(i),(ii) on its selected small-value event gives|R|{2}\leq C b^{-4}(u+C\delta{\mathrm{p a i r}}b^{-4})<1/2.
If every selected partner is approximately proportional to $q_{0}$, retain one common polynomial, choosing an affine one when available, and replace the others by the appropriate scalar multiples. Unit norms ensure the scalars are bounded above and below in absolute value. Otherwise one pair supplies, after normalization,|q_{0}-\kappa L_{1}L_{2}|{2}\leq\delta{0}\leq C\delta_{\mathrm{p a i r}},\qquad|L_{1}|{2}=|L{2}|{2}=1,\qquad c{0}\leq|\kappa|\leq C_{0}. \tag{41}
The last bounds follow from Fact 2.7. Keep these same $L_1, L_2$ for all selected partners. At the original selected roots of $q_0$, Fact 5.25(i) gives $|L_1L_2| \leq C\delta_0b^{-4}$ outside probability $b^3/100$. For each partner, intersect with its small-value event and choose the smaller affine value. One fixed $L \in \{L_1, L_2\}$ then satisfies|P(s\mathbf{v}+\mathbf{w})|\leq u,\qquad |L(s\mathbf{v}+\mathbf{w})|\leq C\sqrt{\delta_{0}}b^{-2}
on probability at least cb. Write $L(z\mathbf{v}+\mathbf{w})=az+B(\mathbf{w})$. We have $|a|\geq b^{4}$: otherwise $\|B\|_{2}\geq 1/2$, but $|B|\leq b^{4}R_{b}+C\sqrt{\delta_{0}}b^{-2}\leq b^{3}$ on probability at least cb, contradicting affine anti-concentration. Lemma 5.20(1),(2) now gives $P=L\ell+m_{P}$ with $\|\ell\|_{2}\leq Cb^{-8}$. Part (3) of that lemma gives|m_{P}|{2}\leq C b^{-2}\bigl(u+\sqrt{\delta{0}}b^{-10}\sqrt{\log(2/b)}\bigr)\leq C b^{-C_{2}}(u+\sqrt{\delta_{0}}). \tag{42}
Replace $q_{0}$ by $\kappa L_{1}L_{2}$ and each partner by its approximation $L\ell$. Different partners may use different choices of $L$, and their events need not overlap. All estimates use the old selected roots; no boundary of the new intersection has yet been assumed to survive. Progress and error of an unsuccessful round. Make the replacements simultaneously as specified at the start, retain scalar signs, normalize the new affine polynomials, and simplify repeated, constant, and square inequalities. Let $F'$ be the resulting intersection. The bounds above approximate every changed normalized polynomial within $Cb^{-C_3}u^{c_3}$, for universal $C_3, c_3 > 0$. Since their number is at most $2k \leq b^{-1}$, Fact 5.23 givese:=\mathbf{P r}_{\mathbf{x}}[F\neq F^{\prime}]\leq b^{-A}u^{c}. \tag{43}
This justifies the universal constants used earlier; the small-discriminant replacement is covered by the same constants after adjustment. To count the changes, suppose $q$ selected partners are quadratic and $a$ are affine, so $j = q + a$. At an affine boundary all $q$ quadratics are decomposed. Of the selected affine polynomials, at most $q$ can remain among the new quotients. Thus there are at least $q + \max\{0, a - q\} \geq \lceil j/2 \rceil$ changes. In the proportional case there are at least $j$ changes. In the common-affine quadratic case, $q_0$ and all $q$ quadratic partners are decomposed, and at most $q + 2$ selected affine polynomials can remain among $L_1, L_2$ and the new quotients. There are therefore at least $q + 1 + \max\{0, a - q - 2\} \geq \lceil j/2 \rceil$ changes. These counts allow a new quotient to coincide with an old polynomial. Hence the new count satisfies $t' \geq t + d_j$. Since $u = u_j$,e\leq\rho^{c\Lambda k D^{3k-t-d_{j}}-8A}\leq\beta_{t+d_{j}}^{20}\leq\beta_{t^{\prime}}^{20}.
This proves (38). All cutoffs used above are valid: $u_j, \theta \leq b^A$, $R_\rho \leq R_b$, and $2k \leq b^{-1}$. Replace $F$ by $F'$ and begin the next round by selecting an actual boundary of $F'$. We do not continue at an assumed boundary of $L_1$ or $L_2$. Termination and transfer to the original target. Every unsuccessful round increases $t$. By (36), at most $3k$ changes are possible; if no polynomial remained, the intersection would depend only on $\mathbf{w}$ and have zero randomized error. Since every update preserves randomized error at least $\alpha/2$, a successful round must occur. Let $t_{*}$ be its count, and let $H$ be its normalized certificate. The sequence $\beta_{t}$ is increasing. Thus the sum of the disagreement errors from all earlier rounds is at most $3k\beta_{t_{*}}^{20}$, and Fact 5.23 gives\mathbf{E}{\mathbf{x}}[f H]\geq\beta{t_{}}-\sqrt{3k};\beta_{t_{}}^{10}\geq\tfrac{1}{2}\beta_{0}.
Finally $\deg Q \leq 2k - 1$, so Fact 5.5 givesH(z\mathbf{v}+\mathbf{w})=\sum_{r=1}^{2k}h_{r}(z)p_{r}(\mathbf{w}),\qquad\deg p_{r}\leq2k-r,\qquad\sum_{r}|p_{r}|_{2}^{2}=1.
One summand has correlation at least $\beta_{0}/(4k)$. Normalize its nonzero $p_{r}$, which can only increase that positive correlation. Since $KkD^{3k}=2^{O(k)}$, the resulting $r,p$ satisfy|p|{2}=1,\qquad r+\deg p\leq2k,\qquad\mathbf{E}{\mathbf{x}}[f(\mathbf{x})h_{r}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]\geq\left(\frac{\alpha}{C k}\right)^{2^{O(k)}}.
## 6 Efficient Correlation Finding through Influence Matrix By Theorem 5.1, we know that if there is a direction $\mathbf{v} \in \mathbb{S}^{d-1}$, such that $\text{Rand}_f(\mathbf{v}) \geq \alpha$, then there exists some polynomial $p(\mathbf{w})$ such that $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[y h_k(\mathbf{v} \cdot \mathbf{x}) p(\mathbf{w})] > \text{poly}(\alpha)$. In this section, we give an algorithm to approximately find such a direction $\mathbf{v}$. Notice that in general $k + \deg(p) \geq 2$, so if $\mathbf{x}$ is sampled from a general distribution, then finding such a direction would require us to solve a higher-order tensor problem, which is generally hard [HL13]. However, the structure of the Gaussian distribution allows us to do this much more efficiently. Suppose that $k + \deg(p) \leq \ell$, then we know that for every $\mathbf{v}$ and every $p$, $\mathbf{E}_{(\mathbf{x}, y) \sim D}[y h_k(\mathbf{v} \cdot \mathbf{x}) p(\mathbf{w})]$ only depends on the projection of $y$ onto the subspace spanned by Hermite polynomials with degree at most $\ell$. Thus, we instead consider $F(\mathbf{x}) = \text{proj}_{P_{\leq \ell}}(y)$, the low degree projection of $y$. The central part of our analysis relies on Lemma 6.3, which consider the influential matrix defined by $G_\ell := \mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0, \mathbf{I})}[\nabla F \nabla F^\top]$. In fact, denote by $i \in [\ell]$, $B_i(\mathbf{v}) = \sup_{p(\mathbf{w}) \in \mathcal{P}_{\leq \ell-i}, \|p\| \leq 1} \mathbf{E}_{(\mathbf{x}, y) \sim D}[y h_i(\mathbf{v} \cdot \mathbf{x}) p(\mathbf{w})]$, then for every $\mathbf{v}$, we have $\mathbf{v}^\top G_\ell \mathbf{v} = \sum_{i=1}^\ell i B_i^2(\mathbf{v})$. This immediately gives two consequences. First, the top eigenvector must have large correlation with respect $y$. Second, any eigenvector of $G_\ell$ with a small eigenvalue must have tiny correlation with respect to $y$. In fact, since $\text{tr}(G) \leq \ell$, there cannot be too many large eigenvectors of $G_\ell$. Combine this with Theorem 5.1, we can find a subspace $V$ of dimension $\text{poly}_k(1/\alpha)$ that contains all directions in $\mathbb{R}^d$ with a randomized error at least $\alpha$ with respect to any intersections of $k$ degree 2 PTFs $f(\mathbf{x})$ in one shot. However, we still need to estimate $G_\ell$ well enough. Fortunately, the under Hermite basis, the coefficient of $F$ with respect to a Hermite polynomial $H_\gamma$ is just $\mathbf{E}_{(\mathbf{x},y)\sim D}[yH_\gamma(\mathbf{x})]$. Using basic properties of Hermite polynomials, this gives us a simple way to estimate $G_\ell$ to a desired accuracy. ## Algorithm 3 CORRELATION FINDING 1: Input: Sample access from $D$, degree budget $\ell$, correlation parameter $\alpha$ 2: Output: Subspace $V \subseteq \mathbb{R}^d$ and when $V \neq \{0\}$, a direction $\hat{\mathbf{v}} \in \mathbb{S}^{d-1}$, along which $y$ has a non-trivial correlation 3: Draw $N = d^{O(\ell)}\mathrm{poly}(1/\alpha)$ examples $\{(\mathbf{x}^{(i)}, y^{(i)})\}_{i=1}^{N}$ from $D$ 4: For each multi-index $\gamma$ over $[d]$ with $|\gamma| \leq \ell$, let $\hat{c}_{\gamma} = N^{-1} \sum_{i=1}^{N} (y^{(i)} H_{\gamma}(\mathbf{x}^{(i)}))$, where $H_{\gamma}$ is the normalized Hermite polynomial with multi-index $\gamma$. 5: Construct matrix $\hat{G} \in \mathbb{R}^{d \times d}$ such that for $i, j \in [d], \hat{G}_{ij} = \sum_{\gamma: |\gamma| \leq \ell-1} \sqrt{(\gamma_i + 1)(\gamma_j + 1)} \hat{c}_{\gamma + \mathbf{e}_i} \hat{c}_{\gamma + \mathbf{e}_j}$ 6: Return $V$ as the subspace spanned by eigenvectors of $\hat{G}$ with large eigenvalue. And if $V \neq \{0\}$, also return $\mathbf{v}$ the top eigenvector of $\hat{G}_{\ell}$. Theorem 6.1. Let $D$ be a distribution over $\mathbb{R}^d \times \{0,1\}$ such that $D_{\mathbf{x}} = \mathcal{N}(0,\mathbf{I})$. There is an algorithm such that for $\alpha \in (0,1)$, suppose there exists a direction $\mathbf{v} \in \mathbb{S}^{d-1}$, $k \in \mathbb{N}$ and a degree $r$ polynomial $p(\mathbf{w})$, with $\|p(\mathbf{w})\| \leq 1$ such that $|\mathbf{E}_{(\mathbf{x},y)\sim D}[yh_k(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]| > \alpha$, then it draws $d^{(r+k)}\mathrm{poly}(1/\alpha)$ examples from $D$, runs in $\mathrm{poly}(d^{r+k}/\alpha)$ time and outputs a vector $\hat{\mathbf{v}}$ such that there exists some polynomial $q(\hat{\mathbf{w}})$ $\|q(\hat{\mathbf{w}})\| \leq 1$, that satisfies $|\mathbf{E}_{(\mathbf{x},y)\sim D}[yh_i(\hat{\mathbf{v}}\cdot\mathbf{x})q(\hat{\mathbf{w}})]| > \Omega(\alpha/(k+r))$, where $i+\deg(q) \leq r+k$. Furthermore, we give an even stronger algorithm that finds all such directions in one shot. Theorem 6.2. Let $D$ be a distribution over $\mathbb{R}^d \times \{0,1\}$ such that $D_{\mathbf{x}} = \mathcal{N}(0,\mathbf{I})$ and $\ell \in N_+$. There is an algorithm such that for $\beta \in (0,1)$, it draws $d^{O(\ell)}\mathrm{poly}(1/\beta)$ examples from $D$, runs in $\mathrm{poly}(d^\ell/\beta)$ time and outputs a subspace $V \subseteq \mathbb{R}^d$ with dimension at most $O(\ell/\beta^2)$ such that for every $\mathbf{v} \perp V$, $\sup_{p,k:\|p\|=1,k+\deg(p)\leq \ell,k\geq 1} \mathbf{E}_{(\mathbf{x},y)\sim D}[yh_k(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})] \leq \beta$. To prove the above two theorems, we present the following technical lemmas. Lemma 6.3. Let $D$ be a distribution over $\mathbb{R}^d \times \{0,1\}$ such that $D_{\mathbf{x}} = \mathcal{N}(0,\mathbf{I})$. For $\ell \in \mathbb{N}_+$, denote by $F_\ell = \mathrm{proj}_{\leq \ell}(y)$, the projection of $y$ onto the subspace of polynomials of degree no larger than $\ell$ under Gaussian distribution and denote by $G_\ell = \mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[\nabla F(\mathbf{x})\nabla F(\mathbf{x})^\top]$. Then, for every $\mathbf{v} \in \mathbb{S}^{d-1}$, we have\mathbf{v}^{\top}G_{\ell}\mathbf{v}=\sum_{i=1}^{\ell}i B_{i}^{2}(\mathbf{v}),
where for $i \in [\ell]$, $B_{i}(\mathbf{v}) = \sup_{p(\mathbf{w}) \in \mathcal{P}_{\leq \ell-i}, \|p\| \leq 1} \mathbf{E}_{(\mathbf{x},y) \sim D}[yh_{i}(\mathbf{v} \cdot \mathbf{x})p(\mathbf{w})]$. Furthermore, there is an algorithm such that for every $\epsilon \in (0,1)$, it draws $d^{O(\ell)}\mathrm{poly}(\ell/\epsilon)$, runs in $d^{O(\ell)}\mathrm{poly}(\ell/\epsilon)$ time and outputs a matrix $\hat{G}$ such that with probability at least 99%, $\left\|G_{\ell} - \hat{G}\right\|_{op} \leq \epsilon$. Proof of Lemma 6.3. We expand $F_{\ell}$ using normalized Hermite polynomials along direction $\mathbf{v}$ and its orthogonal subspace.F_{\ell}(\mathbf{x})=\sum_{i,\alpha:|\alpha|+i\leq\ell}c_{i,\alpha}h_{i}(\mathbf{v}\cdot\mathbf{x})H_{\alpha}(\mathbf{w}).
Let $p(\mathbf{w})$ be any polynomial over $\mathbf{v}^{\perp}$ with degree at most $\ell-i$, with $i \leq \ell$. We expand $p(\mathbf{w})$ using normalized Hermite polynomial.p(\mathbf{w})=\sum_{\alpha:|\alpha|\leq\deg(p)}a_{\alpha}H_{\alpha}(\mathbf{w}).
In particular, we have $\|p\|^2 = \sum_\alpha a_\alpha^2$. Using orthogonality of Hermite polynomials, we have\mathbf{E}{(\mathbf{x},y)\sim D}[yh{i}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]=\mathbf{E}{(\mathbf{x},y)\sim D}[F{\ell}h_{i}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]=\sum_{\alpha:|\alpha|+i\leq\ell}c_{i,\alpha}a_{\alpha}.
Under the constraint $\sum_{\alpha} a_{\alpha}^{2} \leq 1$, Cauchy-Schwarz gives $B_{i}(\mathbf{v})^{2} = \sum_{\alpha:|\alpha|+i \leq \ell} c_{i,\alpha}^{2}$. When this sum is positive, the maximum is attained atp(\mathbf{w})=\frac{\sum_{\alpha:|\alpha|+i\leq\ell}c_{i,\alpha}H_{\alpha}(\mathbf{w})}{\left(\sum_{\alpha:|\alpha|+i\leq\ell}c_{i,\alpha}^{2}\right)^{1/2}}.
Otherwise, take $p=0$. On the other hand, for each $\mathbf{v}\in\mathbb{S}^{d-1}$, we have\mathbf{v}^{\top}G_{\ell}\mathbf{v}=|\partial_{\mathbf{v}}F_{\ell}|^{2}=\sum_{\substack{i\geq 1,\alpha:i+|\alpha|\leq \ell}}i c_{i,\alpha}^{2}=\sum_{i=1}^{\ell}i B_{i}(\mathbf{v})^{2}.
To finalize the proof of Lemma 6.3, we show that we can estimate $G_\ell$ to a good accuracy using samples. Write $F_\ell=\sum_{\alpha:|\alpha|\leq \ell}c_\alpha H_\alpha(\mathbf{x})$. We notice that for each $\alpha$ such that $\alpha_i>0$, there exists a multi-index $\gamma$ such that $\alpha=\gamma+\mathbf{e}_i$, where $i\in[d]$. This gives\partial_{i}F_{\ell}=\sum_{\substack{\gamma:|\gamma|\leq\ell-1}}\sqrt{\gamma_{i}+1}c_{\gamma+\mathbf{e}{i}}H{\gamma}(\mathbf{x})
This implies that for each $i,j\in[d]$, we haveG_{i j}=\mathop{\bf E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[\partial{i}F_{\ell}\partial_{j}F_{\ell}]=\sum_{\gamma}\sqrt{(\gamma_{i}+1)(\gamma_{j}+1)}c_{\gamma+\mathbf{e}{i}}c{\gamma+\mathbf{e}_{j}}. \tag{44}
This implies that if we can estimate each $c_\alpha=\mathbf{E}_{(\mathbf{x},y)\sim D}[yH_\alpha(\mathbf{x})]$ to error $\epsilon d^{-O(\gamma)}$ using some $\hat{c}_\alpha$, then we have $\left\|\hat{G}-G\right\|\leq \epsilon$. By Chebyshev inequality and union bound, we only need to use $d^{O(r+k)}\mathrm{poly}(1/\alpha)$ to run empirical estimation for all $c_\alpha=\mathbf{E}_{(\mathbf{x},y)\sim D}[yH_\alpha(\mathbf{x})]$. With Lemma 6.3, the proofs of Theorem 6.2 and Theorem 6.1 are immediate. Proof of Theorem 6.1. By Lemma 6.3 with $\ell = r+k$, we know that using $d^{O(r+k)}\mathrm{poly}(1/\alpha)$ examples, we can get a matrix $\hat{G}$ such that $\left\|\hat{G}-G\right\|\leq \alpha^{2}/8$. Since $\left|\mathbf{E}_{(\mathbf{x},y)\sim D}[y h_{k}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]\right| > \alpha$, we know that $G_{\ell}$ has an eigenvalue at least $\alpha^{2}$ and thus $\hat{G}$ has an eigenvalue at least $7\alpha^{2}/8$. Let $\mathbf{u}$ be the top eigenvector of $\hat{G}$ and we know that $\mathbf{u}^{\top}\hat{G}\mathbf{u} \geq 7\alpha^{2}/8$. As a result $\mathbf{u}^{\top}G\mathbf{u} \geq 3\alpha^{2}/4$. By Lemma 6.3, we know that there exists some $i \in [\ell]$ such that $B_{i}(\mathbf{u}) \geq \Omega(\alpha/\ell)$. $\square$ Proof of Theorem 6.2. By Lemma 6.3 with $\ell$, we know that using $d^{O(\ell)}\mathrm{poly}(1/\beta)$ examples, we can get a matrix $\hat{G}$ such that $\left\|\hat{G}-G\right\|\leq \beta^{2}/d^{O(\ell)}$. By (44), since $\mathrm{tr}(G)\leq \ell$, we know that $\mathrm{tr}(\hat{G})\leq 2\ell$. We take $V$ as the subspace spanned by all eigenvectors of $\hat{G}$ with an eigenvalue at least $\beta^{2}/100$. Then $\dim(V)\leq O(\ell/\beta^{2})$. Notice that for every $\mathbf{u}\perp V$, we have $\left|\mathbf{u}^{\top}\hat{G}\mathbf{u}\right|\leq \beta^{2}/100$, which implies $\mathbf{u}^{\top}G\mathbf{u}\leq \beta^{2}$. By Lemma 6.3, we finish the proof. $\square$ ## 7 A Tree-Based Algorithm for Learning Intersections of PTFs So far, we have already obtained all technical ingredients to obtain a learning algorithm that runs in $d^{O(k)}2^{\mathrm{poly}_{k}(1/\epsilon)}$ time and outputs a hypothesis with error $\epsilon$. Theorem 7.1. Consider the problem of learning an intersection of $k$ degree-2 PTFs under a Gaussian distribution. There is an algorithm such that given any $\epsilon \in (0,1)$, it draws $d^{O(k)}2^{\mathrm{poly}_k(1/\epsilon)}$ samples from $D$, runs in $d^{O(k)}2^{\mathrm{poly}_k(1/\epsilon)}$ time and outputs a hypothesis $\hat{h} : \mathbb{R}^d \to \{0,1\}$ such that with probability at least 99%, $\mathrm{err}_D(\hat{h}) \leq \epsilon$. Recall that Theorem 5.1 says for any instance of intersections of $k$ degree-two PTFs $f$, if there is a direction $\mathbf{u}$ such that $\operatorname{Rand}_f(\mathbf{u})$ is not very small, $f$ must have correlation with respect to some low degree Hermite polynomial that involves $\mathbf{u}$ direction. Furthermore, Theorem 6.1 shows that once such a direction exists, we can efficiently find one direction $\mathbf{v}$, along which $f$ actually has correlation. Once we have such a direction $\mathbf{v}$, we consider fixing $\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})$ along $\mathbf{v}$ direction using tiny grids. This can also be viewed as sampling $z \sim \mathcal{N}(0,1)$ and considering the restricted function $f_z(\mathbf{w}) := f(z\mathbf{v} + \mathbf{w})$ on $\mathbf{v}^\perp$. In Lemma 7.2, we show that for any fixed $j \in \mathbb{N}$ in expectation, $\|\operatorname{proj}_{\leq j}(f_z^*(\mathbf{w}))\|_2^2$ is at least $\|\operatorname{proj}_{\leq j}(f^*(\mathbf{w}))\|_2^2$. In fact, we show in Lemma 7.3 that the property of $\mathbf{v}$ can in fact increase the low-degree Hermite energy by a non-trivial amount. However, no matter how we fix these values, the low-degree Hermite energy cannot exceed 1. This implies that if we create a tree rooted at $f^*$, the ground truth hypothesis, and grow it by creating children that represent the functions, which fix $\mathbf{x}$ along some directions, in expectation the tree cannot be too deep, which implies that there will be at most $2^{\text{poly}_k(1/\epsilon)}$ many leaves. In other words, for all but $o(\epsilon)$ fraction of the leaves, there is no direction in $\mathbb{R}^d$ that can have a large randomized error for the function represented at the leaf. Importantly, each function at a leaf is also an instance of intersections of $k$ degree-2 PTFs under a Gaussian distribution. Recall in Theorem 4.1, we proved that if for an instance of intersections of $k$ degree-2 PTFs, there is no direction in $\mathbb{R}^d$ that has a large randomized error, then the instance is close to another instance that is regular. As a result, by Theorem 3.10, we can efficiently learn the function at the leaf with a high accuracy. This means by calling the direction finding algorithm, Algorithm 3 and Theorem 3.10 $2^{\text{poly}_k(1/\epsilon)}$ times, we return a decision tree that is $\epsilon$ close to $f^*$. Lemma 7.2. Let $f^*(\mathbf{x}) : \mathbb{R}^d \to [0,1]$ be a function. Let $\mathbf{v} \in \mathbb{S}^{d-1}$ be a unit vector and write $f^*(\mathbf{x}) = f^*(z\mathbf{v} + \mathbf{w})$, where $\mathbf{w} = \text{proj}_{\mathbf{v}^\perp}(\mathbf{x})$. Write the $f^*(\mathbf{x})$ into Hermite decomposition,f^{}(\mathbf{x})=\sum_{k\geq0}\sum_{\alpha}\widehat{f^{}}(k,\alpha)h_{k}(\mathbf{v}\cdot\mathbf{x})h_{\alpha}(\mathbf{w}).
For each $z \in \mathbb{R}$, we write $f_z^*(\mathbf{w}) = f^*(z\mathbf{v} + \mathbf{w})$ as a function of $\mathbf{w}$, when $\mathbf{v} \cdot \mathbf{x} = z$, then for every $j \in \mathbb{N}$, it holds\mathbf{E}{z\sim\mathcal{N}(0,1)}[|\mathrm{p r o j}{\leq j}(f_{z}^{}(\mathbf{w}))|{2}^{2}]-|\mathrm{p r o j}{\leq j}(f^{}(\mathbf{x}))|{2}^{2}=\sum{\alpha:|\alpha|\leq j}\sum_{k:k+|\alpha|>j}\widehat{f^{*}}(k,\alpha)^{2},
where for a function $f$, $\mathrm{proj}_{\leq j}(f)$ is the projection of $f$ onto the subspace of polynomials with degree no larger than $j$ and $\|f\|_2$ is the $L_2$ norm of $f$ under $\mathcal{N}(0,\mathbf{I})$. Proof of Lemma 7.2. Notice that for each $z \in \mathbb{R}$, we notice that $f_z^*(\mathbf{w}) = \sum_{k \geq 0} \sum_\alpha \widehat{f^*}(k, \alpha) h_k(z) h_\alpha(\mathbf{w})$. This implies that $\mathrm{proj}_{\leq j}(f_z^*(\mathbf{w})) = \sum_{\alpha: |\alpha| \leq j} \left( \sum_{k \geq 0} \widehat{f^*}(k, \alpha) h_k(z) \right) h_\alpha(\mathbf{w})$ and thus,\left|\mathrm{p r o j}{\leq j}(f{z}^{}(\mathbf{w}))\right|{2}^{2}=\sum{\alpha:|\alpha|\leq j}\left(\sum_{k\geq0}\widehat{f^{}}(k,\alpha)h_{k}(z)\right)^{2}.
By the orthogonality of the Hermite polynomials, after taking expectations over $z \sim \mathcal{N}(0,1)$, we obtain that\mathbf{E}{z\sim\mathcal{N}(0,1)}[|\mathrm{p r o j}{\leq j}(f_{z}^{}(\mathbf{w}))|{2}^{2}]=\sum{\alpha:|\alpha|\leq j}\sum_{k\geq0}\widehat{f^{}}(k,\alpha)^{2}.
Algorithm 4 FINITEGRIDPTFLEARNING 1: Input: Sample access to $D$ with $D_{\mathbf{x}} = \mathcal{N}(0, \mathbf{I})$ and $y = f^*(\mathbf{x})$ for an intersection of $k$ degree-two PTFs; accuracy $\epsilon$ and failure probability $\delta$ 2: Output: A decision-tree hypothesis $\hat{f} : \mathbb{R}^d \to \{0,1\}$ 3: Set $\ell = 2k + 1$ and $\rho = \epsilon/10$; choose $\epsilon_{\mathrm{reg}}, \eta, \epsilon_{\mathrm{learn}}, \tau$ so that Theorem 3.10 achieves leaf error at most $\epsilon/2$ whenever a $\tau$-regular intersection has error at most $\epsilon_{\mathrm{reg}} + \eta$ 4: Set $\alpha = \alpha_k(\epsilon_{\mathrm{reg}}, \tau)$ from Theorem 4.1, and $\beta = \beta_k(\alpha)$ from Theorem 5.1 5: Set $\Delta_0 = \min\{\beta^2/16, \eta\}$, $B = \lceil 256k\ell^4 / (\rho\beta^2\Delta_0) \rceil$ and $D_{\max} = \lceil 128\ell^4 / (\rho\beta^2) \rceil$ 6: Let $\theta_b = \Phi_G^{-1}(b/B)$ for $b = 1, \ldots, B-1$, with $\theta_0 = -\infty$ and $\theta_B = +\infty$ 7: Set $L_{\max} = B^{D_{\max}}$, $m_{\mathrm{mom}} = (d+1)^{O(\ell)} \mathrm{poly}(1/\beta, \log(8L_{\max}/\delta))$ for estimating each $G_\ell$ to operator-norm error $\beta^2/16$ 8: Let $m_{\mathrm{reg}}$ be the conditional sample budget of REGULARLEARN at failure probability $\delta/(8L_{\max})$, enlarged if necessary to be at least $C\epsilon^{-2} \log(8L_{\max}/\delta)$ 9: Initialize a tree $\mathcal{T}$ whose root is the active cell $C_{\varnothing} = \mathbb{R}^d$ 10: for $t = 0,1,\ldots,D_{\max} - 1$ do 11: Draw a fresh global batch $S_t$ of $\lceil CB^t(m_{\mathrm{mom}} + \log(8L_{\max}/\delta)) \rceil$ examples from $D$; route them to the active depth-$t$ cells 12: for each active cell $C$ at depth $t$ do 13: Let $U_C$ be the span of the directions selected on the path to $C$ and let $W_C = U_C^\perp$ 14: if $W_C = \{0\}$ then 15: Set $V_C = \{0\}$ 16: else 17: From $\{(\mathrm{proj}_{W_C} \mathbf{x}, y) : (\mathbf{x}, y) \in S_t, \mathbf{x} \in C\}$, run Algorithm 3 with parameters $(\ell, \beta)$, obtaining $V_C$ and, if $V_C \neq \{0\}$, a direction $\mathbf{v}_C \in W_C$ 18: if $V_C = \{0\}$ then 19: Mark $C$ as a spectral terminal leaf 20: else 21: for $b = 1,\ldots,B$ do 22: Create an active child cell $C_b = C \cap \{\mathbf{x} : \theta_{b-1} \leq \mathbf{v}_C \cdot \mathbf{x} < \theta_b\}$ 23: Mark all active cells at depth $D_{\max}$ as capped leaves 24: Draw a fresh global batch $S_{\mathrm{leaf}}$ of $\lceil CB^{D_{\max}}(m_{\mathrm{reg}} + \log(8L_{\max}/\delta)) \rceil$ examples and route them to the spectral terminal leaves 25: for each spectral terminal leaf $C$ do 26: if $W_C = \{0\}$ then 27: Let $\hat{h}_C$ be the empirical majority label among the conditional samples in $C$ 28: else 29: Apply REGULARLEARN from Theorem 3.10 to the conditional samples $\{(\mathrm{proj}_{W_C} \mathbf{x}, y) : (\mathbf{x}, y) \in S_{\mathrm{leaf}}, \mathbf{x} \in C\}$, with parameters $(\tau, \epsilon_{\mathrm{learn}})$, obtaining $\hat{h}_C$ 30: Set $\hat{h}_C \equiv 0$ on each capped leaf 31: Return $\hat{f}(\mathbf{x}) = \hat{h}_{C(\mathbf{x})}(\mathrm{proj}_{W_{C(\mathbf{x})}} \mathbf{x})$, where $C(\mathbf{x})$ is the leaf of $\mathcal{T}$ containing $\mathbf{x}$ Since $\|\mathrm{proj}_{\leq j}(f^*(\mathbf{x}))\|_2^2 = \sum_{k,\alpha:k+|\alpha|\leq j} \widehat{f^*(k,\alpha)}^2$, we get\mathbf{E}{z\sim\mathcal{N}(0,1)}[|\mathrm{p r o j}{\leq j}(f_{z}^{}(\mathbf{w}))|{2}^{2}]-|\mathrm{p r o j}{\leq j}(f^{}(\mathbf{x}))|{2}^{2}=\sum{\alpha:|\alpha|\leq j}\sum_{k:k>j-|\alpha|}\widehat{f^{*}}(k,\alpha)^{2}.
Next, we will show that if $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f^{*}(\mathbf{x})h_{k}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]$ is lower bounded, then we can also lower bound the increment in Lemma 7.2. Lemma 7.3. Let $f^*(\mathbf{x}) : \mathbb{R}^d \to [0,1]$ be a function. Let $\mathbf{v} \in \mathbb{S}^{d-1}$ be a unit vector and write $f^*(\mathbf{x}) = f^*(z\mathbf{v} + \mathbf{w})$, where $\mathbf{w} = \text{proj}_{\mathbf{v}^\perp}(\mathbf{x})$. For each $z \in \mathbb{R}$, we write $f_z^*(\mathbf{w}) = f^*(z\mathbf{v} + \mathbf{w})$ as a function of $\mathbf{w}$, when $\mathbf{v} \cdot \mathbf{x} = z$. Suppose there exist $k \geq 1$ and a degree-r polynomial $p(\mathbf{w})$ with $\|p(\mathbf{w})\|_2 \leq 1$ such that $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[f^*(\mathbf{x})h_k(\mathbf{v} \cdot \mathbf{x})p(\mathbf{w})] \geq \beta$, for some $\beta > 0$. Then, there exists some $j^* \leq r$ such that\mathbf{E}{z\sim\mathcal{N}(0,1)}[|\mathrm{p r o j}{\leq j^{}}(f_{z}^{}(\mathbf{w}))|{2}^{2}]-|\mathrm{p r o j}{\leq j^{}}(f^{}(\mathbf{x}))|_{2}^{2}\geq\beta^{2}/(r+1),
where for a function $f$, $\mathrm{proj}_{\leq j^{*}}(f)$ is the projection of $f$ onto the subspace of polynomials with degree no larger than $j^{*}$ and $\|f\|_{2}$ is the $L_{2}$ norm of $f$ under $\mathcal{N}(0,\mathbf{I})$. Proof of Lemma 7.3. We write $p(\mathbf{w})$ into Hermite decomposition, $p(\mathbf{w}) = \sum_{\alpha:|\alpha| \leq r} \widehat{p}(\alpha) h_{\alpha}(\mathbf{w})$. Since $\|p(\mathbf{w})\|_2 \leq 1$, we have $\sum_{\alpha} \widehat{p}(\alpha)^2 \leq 1$. Similarly, we write $f^*(\mathbf{x}) = \sum_{k \geq 0} \sum_{\alpha} \widehat{f^*}(k, \alpha) h_k(\mathbf{v} \cdot \mathbf{x}) h_{\alpha}(\mathbf{w})$. Then, we have\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f^{*}(\mathbf{x})h{k}(\mathbf{v}\cdot\mathbf{x})p(\mathbf{w})]=\sum_{\alpha:|\alpha|\leq r}\widehat{f^{*}}(k,\alpha)\widehat{p}(\alpha)\geq\beta.
By Cauchy–Schwarz inequality, we have $\sum_{\alpha:|\alpha|\leq r}\widehat{f^*}(k,\alpha)^2\geq\beta^2$, which implies that there exists some $j^*\leq r$ such that $\sum_{\alpha:|\alpha|=j^*}\widehat{f^*}(k,\alpha)^2\geq\beta^2/(r+1)$. Apply Lemma 7.2 with $j=j^*$, we have\begin{align*}\mathbf{E}{z\sim\mathcal{N}(0,1)}[|\mathrm{proj}{\leq j^{}}(f_{z}^{}(\mathbf{w}))|{2}^{2}]-|\mathrm{proj}{\leq j^{}}(f^{}(\mathbf{x}))|{2}^{2}&=\sum{\alpha:|\alpha|\leq j^{}}\sum_{k:k>j^{}-|\alpha|}\widehat{f^{}}(k,\alpha)^{2}\&\geq\sum_{\alpha:|\alpha|=j^{}}\widehat{f^{}}(k,\alpha)^{2}\geq\beta^{2}/(r+1).\end{align}
We now analyze the finite-grid implementation of the preceding freezing argument. Throughout the rest of this section, set $\ell = 2k + 1$ and write\Phi_{\ell}(f)=\frac{1}{\ell}\sum_{j=0}^{\ell-1}|\mathrm{p r o j}{\leq j}f|{2}^{2}.
We use the influence matrix $G_{\ell}$ and its empirical estimate $\hat{G}_{\ell}$ from Section 6. Fix the $B$ intervals $I_1, \ldots, I_B$ of Algorithm 4, each of Gaussian probability $1/B$, and let $z_b = \Phi_G^{-1}((b-1/2)/B) \in I_b$ be a representative of $I_b$. Consider a cell $C$ at depth $t$, defined by mutually orthogonal unit vectors $\mathbf{v}_1, \ldots, \mathbf{v}_t$ and constraints $\mathbf{v}_i \cdot \mathbf{x} \in I_{b_i}$. SetU_{C}=\mathrm{s p a n}{\mathbf{v}{1},\ldots,\mathbf{v}{t}},\quad W_{C}=U_{C}^{\perp},\quad a_{C}=\sum_{i=1}^{t}z_{b_{i}}\mathbf{v}_{i}.
Let $\nu_C$ be the distribution of $\text{proj}_{U_C} \mathbf{x}$ conditional on $\mathbf{x} \in C$, where $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$. Conditional on $\mathbf{x} \in C$, the random variables $\mathbf{u} \sim \nu_C$ and $\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_{W_C})$ are independent. Define\begin{align*}g_{C}(\mathbf{w})&=\underset{\mathbf{u}\sim\nu_{C}}{\mathbf{E}}\left[f^{}(\mathbf{u}+\mathbf{w})\right],\h_{C}(\mathbf{w})&=f^{}(a_{C}+\mathbf{w}),\\Delta_{C}&=\underset{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{W{C}})}{\mathbf{Pr}}\left[f^{}(\mathbf{u}+\mathbf{w})\neq h_{C}(\mathbf{w})\right].\end{align}
(45) In particular, $h_{C}$ is an intersection of at most $k$ degree-two PTFs, whereas $g_{C}$ is the conditional mean of the observed labels. At the root, $g_{C_{\varnothing}} = h_{C_{\varnothing}} = f^{*}$ and $\Delta_{C_{\varnothing}} = 0$. Lemma 7.4 (Finite-grid approximation). Fix a cell $C$ and a unit vector $\mathbf{v} \in W_C$. Put $E = W_C \cap \mathbf{v}^\perp$ and $C_b = C \cap \{\mathbf{x} : \mathbf{v} \cdot \mathbf{x} \in I_b\}$. For $z \in \mathbb{R}$ and $\mathbf{w}' \in E$, write $g_{C,z}(\mathbf{w}') = g_C(z\mathbf{v} + \mathbf{w}')$. Then, for each $j \geq 0$,\frac{1}{B}\sum_{b=1}^{B}|\mathrm{proj}{\leq j}g{C_{b}}|{2}^{2}\geq\underset{Z\sim\mathcal{N}(0,1)}{\mathbf{E}}\left[|\mathrm{proj}{\leq j}g_{C,Z}|_{2}^{2}\right]-\frac{k}{2B}. \tag{46}
\frac{1}{B}\sum_{b=1}^{B}\Delta_{C_{b}}\leq\Delta_{C}+\frac{2k}{B}, \tag{47}
\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{W_{C}})}[|g_{C}(\mathbf{w})-h_{C}(\mathbf{w})|]=\Delta_{C},\qquad|g_{C}-h_{C}|{2}^{2}\leq\Delta{C}. \tag{48}
Proof. For fixed $\mathbf{u} \in U_C$ and $\mathbf{w}' \in E$, define $F_{\mathbf{u},\mathbf{w}'}(z) = f^*(\mathbf{u} + z\mathbf{v} + \mathbf{w}')$. Each defining quadratic has at most two zeros as a function of $z$, unless it is identically zero. Thus $F_{\mathbf{u},\mathbf{w}'}$ is constant on all but at most $2k$ of the intervals $I_1, \ldots, I_B$, up to Gaussian-null sets. Since the variance of a Boolean random variable is at most $1/4$, we have\frac{1}{B}\sum_{b=1}^{B}\mathrm{Var}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}[F_{\mathbf{u},\mathbf{w}^{\prime}}(Z)]\leq\frac{k}{2B}. \tag{49}
By the definition of $g_{C}$ and Jensen's inequality,\mathrm{V a r}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}[g_{C}(Z\mathbf{v}+\mathbf{w}^{\prime})]\leq\mathbf{E}{\mathbf{u}\sim\nu{C}}\left[\mathrm{V a r}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}[F_{\mathbf{u},\mathbf{w}^{\prime}}(Z)]\right].
Averaging over $\mathbf{w}' \sim \mathcal{N}(0, \mathbf{I}_E)$ and $b \in [B]$ givesq_{C}(\mathbf{v}):=\frac{1}{B}\sum_{b=1}^{B}\mathbf{E}{\mathbf{w}^{\prime}\sim\mathcal{N}(0,\mathbf{I}{E})}\left[\mathrm{V a r}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}[g_{C}(Z\mathbf{v}+\mathbf{w}^{\prime})]\right]\leq\frac{k}{2B}. \tag{50}
Let $R_{j}$ denote the orthogonal projection onto Gaussian Hermite polynomials of degree at most j in E. Sinceg_{C_{b}}(\mathbf{w}^{\prime})=\mathop{\bf E}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}[g_{C,Z}(\mathbf{w}^{\prime})],
$R_{j}g_{C_b}$ is the conditional mean of $R_{j}g_{C,Z}$ over the same interval. The variance decomposition in the Hilbert space $L^{2}(E)$ therefore gives\begin{aligned}&\mathbf{E}{Z\sim\mathcal{N}(0,1)}\Big[|R{j}g_{C,Z}|{2}^{2}\Big]-\frac{1}{B}\sum{b=1}^{B}|R_{j}g_{C_{b}}|{2}^{2}\&=\frac{1}{B}\sum{b=1}^{B}\mathbf{E}{Z\sim\mathcal{N}(0,1)|Z\in I{b}}\Big[|R_{j}(g_{C,Z}-g_{C_{b}})|{2}^{2}\Big]\&\leq\frac{1}{B}\sum{b=1}^{B}\mathbf{E}{\mathbf{w}^{\prime}\sim\mathcal{N}(0,\mathbf{I}{E})}[(g_{C,Z}(\mathbf{w}^{\prime})-g_{C_{b}}(\mathbf{w}^{\prime}))^{2}]=q_{C}(\mathbf{v})\leq\frac{k}{2B}.\end{aligned}
This proves (46). For the approximation error, let $b(Z)$ be the index of the interval containing $Z$. Since $\mathbf{u} \sim \nu_C$, $Z \sim \mathcal{N}(0,1)$, and $\mathbf{w}' \sim \mathcal{N}(0,\mathbf{I}_E)$ are mutually independent,\begin{aligned}\frac{1}{B}\sum_{b=1}^{B}\Delta_{C_{b}}&=\underset{\mathbf{w}^{\prime}\sim\mathcal{N}(0,\mathbf{I}{E})}{\mathbf{P r}}[f^{}(\mathbf{u}+Z\mathbf{v}+\mathbf{w}^{\prime})\neq f^{}(a{C}+z_{b(Z)}\mathbf{v}+\mathbf{w}^{\prime})]\&\leq\underset{\mathbf{w}^{\prime}\sim\mathcal{N}(0,\mathbf{I}{E})}{\mathbf{P r}}[f^{}(\mathbf{u}+Z\mathbf{v}+\mathbf{w}^{\prime})\neq f^{}(a{C}+Z\mathbf{v}+\mathbf{w}^{\prime})]\&\quad+\underset{\mathbf{w}^{\prime}\sim\mathcal{N}(0,\mathbf{I}{E})}{\mathbf{P r}}[f^{*}(a{C}+Z\mathbf{v}+\mathbf{w}^{\prime})\neq f^{*}(a_{C}+z_{b(Z)}\mathbf{v}+\mathbf{w}^{\prime})].\end{aligned}
The first term equals $\Delta_C$. For every fixed $\mathbf{w}'$, the defining polynomials that are not identically zero on the line $\mathbf{x} = a_C + z\mathbf{v} + \mathbf{w}'$ have at most $2k$ roots in total. Thus $z \mapsto f^*(a_C + z\mathbf{v} + \mathbf{w}')$ agrees with its interval representative except possibly on at most $2k$ intervals containing such roots, whose total Gaussian mass is at most $2k/B$. This proves (47). Finally, since $h_C(\mathbf{w})$ is Boolean,\mathbf{P r}{\mathbf{u}\sim\nu{C}}[f^{*}(\mathbf{u}+\mathbf{w})\neq h_{C}(\mathbf{w})]=|g_{C}(\mathbf{w})-h_{C}(\mathbf{w})|.
Averaging over $\mathbf{w} \sim \mathcal{N}(0, \mathbf{I}_{W_C})$ gives the first identity in (48), and the second follows from $|g_C - h_C|^2 \leq |g_C - h_C|$. Proof of Theorem 7.1. Let $\epsilon_{\mathrm{reg}}$, $\tau$ and $\alpha$ be the parameters of the randomized-error form of Theorem 4.1, and write $\beta = \beta_k(\alpha)$ for the correlation bound of Theorem 5.1. Let $\eta > 0$ be chosen so that the regular-case learner of Theorem 3.10 learns conditional labels to error at most $\epsilon/2$ whenever the labels disagree with some $\tau$-regular intersection with probability at most $\eta + \epsilon_{\mathrm{reg}}$. This is the label-robustness guarantee required for the use of that learner. Put\rho=\epsilon/10,\qquad\Delta_{0}=\min{\beta^{2}/16,\eta},\qquad B=\left\lfloor\frac{256k\ell^{4}}{\rho\beta^{2}\Delta_{0}}\right\rfloor,\qquad D_{\max}=\left\lfloor\frac{128\ell^{4}}{\rho\beta^{2}}\right\rfloor.
Algorithm 4 makes the following spectral decision at an active cell $C$. If $W_C = \{0\}$ or the subspace $V_C$ returned by Algorithm 3 is $\{0\}$, the algorithm stops at $C$. Otherwise, it splits $C$ along the returned direction $\mathbf{v}_C$ using the intervals $I_1, \ldots, I_B$. Potential progress and tree depth. At every internal node $C$, we have $V_C \neq \{0\}$. By the spectral threshold in Algorithm 3 and the estimation guarantee $\|\widehat{G}_\ell - G_\ell\|_{\mathrm{op}} \leq \beta^2/16$, the returned direction $\mathbf{v}_C$ satisfies $\mathbf{v}_C^\top G_\ell \mathbf{v}_C \geq 3\beta^2/16$. By Lemma 6.3, there exist an integer $s \in [\ell]$ and a polynomial $p$ on $W_C \cap \mathbf{v}_C^\perp$ such thats+\deg(p)\leq\ell,\quad|p|{2}=1,\quad\mathbf{E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}_{W_C})}[g_C(\mathbf{w})h_s(\mathbf{v}C\cdot\mathbf{w})p(\operatorname{proj}{\mathbf{v}_C^\perp}\mathbf{w})]\geq\frac{\beta}{4\ell}. \tag{51}
Apply Lemma 7.2 and Lemma 7.3 to $g_C$ and the certificate (51). It supplies $j^* \leq \deg(p) \leq \ell - 1$ such that\mathbf{E}{Z\sim\mathcal{N}(0,1)}[|\operatorname{proj}{\leq j^{}}g_{C,Z}|{2}^{2}]-|\operatorname{proj}{\leq j^{}}g_{C}|_{2}^{2}\geq\frac{\beta^{2}}{16\ell^{3}}. \tag{52}
For every other $j \in \{0, \ldots, \ell-1\}$, Lemma 7.2 gives a nonnegative exact-freezing increment. Applying (46) of Lemma 7.4 for every such $j$ and averaging over $j$ yields\frac{1}{B}\sum_{b=1}^{B}\Phi_{\ell}(g_{C_{b}})-\Phi_{\ell}(g_{C})\geq\frac{\beta^{2}}{16\ell^{4}}-\frac{k}{2B}\geq\frac{\beta^{2}}{32\ell^{4}}=:\mu. \tag{53}
The last inequality holds by the chosen value of $B$. For every node, put $\pi_C = \mathbf{Pr}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}_d)}[\mathbf{x} \in C]$. Each child has mass $\pi_{C_b} = \pi_C/B$, because the splitting direction is orthogonal to all earlier splitting directions on its path. Let $\mathcal{I}$ and $\mathcal{L}$ be the internal nodes and leaves, respectively. For any real-valued function $A$ on the nodes, finite-tree telescoping gives\sum_{C\in\mathcal{L}}\pi_{C}A(C)-A(C_{\varnothing})=\sum_{C\in\mathcal{I}}\pi_{C}\left(\frac{1}{B}\sum_{b=1}^{B}A(C_{b})-A(C)\right). \tag{54}
Since $0 \leq \Phi_{\ell}(g_C) \leq 1$, applying (54) to $A(C) = \Phi_{\ell}(g_C)$ and using (53) gives\sum_{C\in\mathcal{I}}\pi_{C}\leq\frac{1}{\mu}=\frac{32\ell^{4}}{\beta^{2}}. \tag{55}
A fresh Gaussian point reaching depth $D_{max}$ passes through at least $D_{max}$ internal nodes. Thus, by Markov's inequality,\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[\mathbf{x}\mathrm{r e a c h e sac a p p e dl e a f}]\leq\frac{32\ell^{4}}{D_{\max}\beta^{2}}\leq\rho/4. \tag{56}
\sum_{C\in\mathcal{L}}\pi_{C}\Delta_{C}\leq\frac{2k}{B}\sum_{C\in\mathcal{I}}\pi_{C}\leq\frac{64k\ell^{4}}{B\beta^{2}}.
\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[\Delta_{C(\mathbf{x})}>\Delta_{0}]\leq\frac{64k\ell^{4}}{B\beta^{2}\Delta_{0}}\leq\rho/4, \tag{57}
where $C(\mathbf{x})$ is the leaf containing $\mathbf{x}$. By (56) and (57), a fresh Gaussian point reaches a noncapped leaf with $\Delta_C \leq \Delta_0$ except with probability at most $\rho/2$. Regularity at a good terminal cell. Fix such a leaf $C$ with $W_C \neq \{0\}$. By (48),|g_{C}-h_{C}|{2}\leq\sqrt{\Delta{C}}\leq\beta/4,\qquad\Delta_{C}\leq\eta.
Suppose some unit vector $\mathbf{u} \in W_C$ satisfies $\text{Rand}_{h_C}(\mathbf{u}) \geq \alpha$. By Theorem 5.1, there are $s \in [\ell]$ and a polynomial $p$ with $\|p\|_2 = 1$ and $s + \deg(p) \leq \ell$ such that\mathop{\bf E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{W_{C}})}[h_{C}(\mathbf{w})h_{s}(\mathbf{u}\cdot\mathbf{w})p(\operatorname{proj}_{\mathbf{u}^{\perp}}\mathbf{w})]\geq\beta.
Cauchy–Schwarz implies that the same correlation with $g_C$ in place of $h_C$ is at least $3\beta/4$. On the other hand, since $C$ is a spectral terminal leaf with $W_C \neq \{0\}$, Algorithm 3 returned $V_C = \{0\}$. By the spectral stopping condition and the accuracy of $\widehat{G}_\ell$, for every unit vector $\mathbf{u} \in W_C$, $\mathbf{u}^\top G_\ell \mathbf{u} \leq 5\beta^2/16$. By Lemma 6.3, for every $s \geq 1$ and polynomial $p$ with $\|p\|_2 = 1$ and $s + \deg(p) \leq \ell$,\left|\mathop{\bf E}{\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{W_{C}})}[g_{C}(\mathbf{w})h_{s}(\mathbf{u}\cdot\mathbf{w})p(\operatorname{proj}_{\mathbf{u}^{\perp}}\mathbf{w})]\right|\leq\frac{\sqrt{5}\beta}{4}<\frac{3\beta}{4}.
\mathrm{R a n d}{h{C}}(\mathbf{u})<\alpha\qquad\mathrm{f o re v e r yu n i t~}\mathbf{u}\in W_{C}. \tag{58}
\mathop{\bf P r}{\mathbf{u}\sim\nu{C}\mathbf{w}\sim\mathcal{N}(0,\mathbf{I}{W{C}})}[f^{*}(\mathbf{u}+\mathbf{w})\neq\widetilde{h}{C}(\mathbf{w})]\leq\Delta{C}+\epsilon_{\mathrm{r e g}}\leq\eta+\epsilon_{\mathrm{r e g}}.
Thus the stipulated robust regular-case learner returns a hypothesis of conditional error at most $\epsilon/2$ at every good terminal cell. The exceptional cells have combined Gaussian probability at most $\rho/2$, so the resulting decision tree has error at most $\epsilon/2 + \rho/2 < \epsilon$. Sample complexity. At a fixed cell $C$, conditioned on its earlier splitting directions, $\text{proj}_{W_C} \mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_{W_C})$ under $D \mid \{\mathbf{x} \in C\}$. The moment-estimation guarantee of Lemma 6.3 therefore applies to these conditional samples. With fresh independent sample batches for each depth and a union bound over at most $B^{D_{\max}}$ nodes, all calls of Algorithm 3 succeed with probability at least $1 - \delta/2$. Every depth-$t$ cell has Gaussian probability $B^{-t}$, so a global batch of size $B^t$ times the number of samples required per node (up to logarithmic factors) supplies the needed conditional samples. A final fresh batch gives the samples for the regular-case learner at every terminal cell. Allocating failure probability $\delta/(2B^{D_{\max}})$ per learner call and taking a union bound gives success probability at least $1 - \delta$. The total running time is bounded byB^{D_{\max}}\left((d+1)^{O(\ell)}\mathrm{p o l y}\left(\beta^{-1},\log\frac{B^{D_{\max}}}{\delta}\right)+T_{\mathrm{r e g}}\right),
where $T_{reg}$ is the cost of the regular-case learner per leaf. With $\ell = 2k + 1$ and the parameter bounds required by Theorems 3.10 and 4.1, this is $d^{O(k)}2^{\mathrm{poly}_{k}(1/\epsilon)}$. ## 8 Polynomial Approximation with Hinge Loss In this section, we give an algorithm for learning intersections of degree-2 PTFs supported on a known lifted subspace by minimizing hinge loss over bounded-norm polynomials. The main technical lemma establishes the existence of a low-degree polynomial with small expected hinge loss against the target intersection and controlled Gaussian $L_{2}$ norm, while preserving the given lifted subspace. This polynomial provides a good comparator for convex optimization, and its norm bound controls the additional loss caused by label disagreement. The resulting learning guarantee is stated in the following theorem. For fixed k, the running time is polynomial in the ambient dimension and quasipolynomial in the subspace dimension and inverse accuracy. Theorem 8.1 (Learning in a known lifted subspace). Let $d, k \in \mathbb{Z}_+$, $\epsilon \in (0,1/2)$ and $L = k^2 \log^3(k) \log^2(1/\epsilon)$. Let $\Phi_2 : \mathbb{R}^d \to \mathbb{R}^N$, where $N = d(d+3)/2$, consist of the normalized Gaussian Hermite polynomials of degrees one and two, and let $S \subseteq \mathbb{R}^N$ be a subspace of dimension $n$. Suppose $D$ is a joint distribution of $(\mathbf{x}, y)$ over $\mathbb{R}^d \times \{\pm1\}$ with marginal $D_{\mathbf{x}} = \mathcal{N}(0, \mathbf{I}_d)$, and there exists an intersection $f(\mathbf{x}) = \bigwedge_{i=1}^k \mathrm{sign}(c_i + \mathbf{u}_i \cdot \Phi_2(\mathbf{x}))$, where $c_i \in \mathbb{R}$ and $\mathbf{u}_i \in S$ such that $\mathbf{Pr}_{(\mathbf{x}, y) \sim D}[f(\mathbf{x}) \neq y] \leq 2^{-CL}$. There is an algorithm based on hinge-loss minimization over bounded-norm polynomials with the following guarantee. Given $d, k, \epsilon$, a basis for $S$, and i.i.d. sample access to $D$, the algorithm has sample complexity and running time at most $d^{O(1)}n^{O(k^{2}\log^{2}(2k)\log(1/\epsilon))}2^{O(k^{2}\log^{3}(2k)\log^{2}(1/\epsilon))}$ and, with probability at least $2/3$, outputs a hypothesis $h:\mathbb{R}^{d}\to\{\pm1\}$ satisfying $\mathbf{Pr}_{(\mathbf{x},y)\sim D}[h(\mathbf{x})\neq y]\leq\epsilon$. The high-level intuition is as follows. For convenience, first consider the case $S = \mathbb{R}^N$. We minimize the expected hinge loss $\text{Hinge}(y, y') = \max\{0, 1 - yy'\}$ over polynomials of degree at most $m$ and Gaussian $L_2$ norm at most $W$, where $m$ and $W$ are chosen according to the technical lemma below. This objective is convex in the polynomial coefficients. The lemma guarantees the existence of a polynomial with small hinge loss against the target intersection, and its norm bound controls the additional loss caused by the label disagreement allowed in Theorem 8.1. Stochastic convex optimization then finds a polynomial $p$ with small expected hinge loss. Since hinge loss upper-bounds the classification error of $h(\mathbf{x}) = \text{sign}(p(\mathbf{x}))$, thresholding at zero gives the desired hypothesis. Using the normalized Hermite basis, this optimization has runtime and sample complexity polynomial in $M, W, 1/\epsilon$, where $M = \binom{d+m}{m}$ is the dimension of the space of polynomials of degree at most $m$. When a subspace $S \subseteq \mathbb{R}^N$ is given, the technical lemma further guarantees that the approximating polynomial can be written asp(\mathbf{x})=P\bigl(\operatorname{proj}{S}\Phi{2}(\mathbf{x})\bigr),\qquad\deg(P)\leq m/2.
Writing $n=\dim(S)$, we can therefore restrict the search to a space spanned by at most $\binom{n+m/2}{m/2}$ monomial features. Together with bounds on the coefficients and feature moments, this yields a runtime that is polynomial in $d$ and, for fixed $k$, quasipolynomial in $n$ and $1/\epsilon$, as stated in Theorem 8.1. We now state the main technical lemma, which establishes the existence of the required polynomial, bounds its degree and Gaussian $L_{2}$ norm, and shows that it preserves the given lifted subspace. Lemma 8.2. Let $f : \mathbb{R}^d \to \{\pm1\}$ be an intersection of $k$ degree-2 PTFs of the form $f(\mathbf{x}) = \bigwedge_{i=1}^k \mathrm{sign}(p_i(\mathbf{x}))$. Then, for any $\epsilon \in (0,1/2)$, there exist an even integer $m$ and a polynomial $g$ of degree at most $m$ with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)} \left[\mathrm{Hinge}(f(\mathbf{x}), g(\mathbf{x}))\right] \leq \epsilon$. Moreover, $g$ satisfies the following properties: 1. Degree and norm bounds. We havem=O\bigl(k^{2}\log^{2}(2k)\log(1/\epsilon)\bigr),\qquad|g|{L{2}(\mathcal{N}(0,\mathbf{I}_{d}))}\leq2^{O(k^{2}\log^{3}(2k)\log^{2}(1/\epsilon))}.
Furthermore, for every $\delta \in [0,1]$ and every measurable weight $a : \mathbb{R}^d \to [0,1]$ with $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)}[a(\mathbf{x})] \leq \delta$,\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}\left[\left|a(\mathbf{x})g(\mathbf{x})\right|\right]\leq\sqrt{\delta}\operatorname{q u a s i p o l y}_{k}(1/\epsilon).
2. Preservation of the lifted subspace. If all $p_i$ are of the form $p_i(\mathbf{x}) = c_i + \mathbf{u}_i \cdot \Phi_2(\mathbf{x})$ for $\mathbf{u}_i \in S$, where $S \subseteq \mathbb{R}^N$ is a subspace. Then $g$ can be chosen in the form $g(\mathbf{x}) = p(\operatorname{proj}_S \Phi_2(\mathbf{x}))$, $p$ is a polynomial of degree at most $m/2$. Our construction builds on the rational-function approach to constructing a sign-matching polynomial for intersection of halfspaces with margins in [KOS04, KS04]. We adapt this approach to intersections of degree-2 PTFs under Gaussian marginals, without assuming a uniform positive margin. We retain the strategy of approximating the sign function by rational functions and rescaling by the denominators to obtain a polynomial. We use additional analysis to bound the expected hinge loss near the threshold boundaries and in the Gaussian tails, and Gaussian $(L_2)$ norm of the rescaled polynomial. The motivation is that directly approximating the value of sign function and then build the intersection incurs an $\Omega(1/\eta)$ degree dependence on the boundary width $\eta$. Such construction does not leverage the fact that we only need sign matching. To avoid this, we approximate the individual sign values by rational functions (which has $O(\log(1/\eta))$ dependence), combine them to obtain a rational function whose sign agrees with the intersection away from the threshold boundaries, and then clear the denominators by rescaling. If this denominator is always positive, this scaling yields a polynomial with the same sign. We subsequently rescale it to obtain margin on a high-probability region and control its hinge loss elsewhere. We first give the following fact on rational approximation of sign functions. Fact 8.3 (Rational approximation of the sign function). For any boundary width $\eta \in (0,1/2)$ and approximation error $\epsilon \in (0,1/2)$, let $m = \lceil c \log(1/\eta) \rceil$ and $s = \lceil c \log(1/\epsilon) \rceil$, where $c$ is a sufficiently large universal constant and define $P_m(t) = \prod_{j=0}^m (t + 2^{-j})$,N(t)=P_{m}(t)^{2s}-P_{m}(-t)^{2s},\qquad D(t)=P_{m}(t)^{2s}+P_{m}(-t)^{2s}.
Each has degree at most $O(\log(1/\eta)\log(1/\epsilon))$ and the rational function $r(t)=N(t)/D(t)$ satisfies: 1. Positive denominator: For all $t \in \mathbb{R}$, $D(t) > 0$. 2. Boundedness and sign preservation: For all $t \in \mathbb{R}$, $|r(t)| \leq 1$ and $\mathrm{sign}(r(t)) = \mathrm{sign}(t)$. 3. Approximation away from 0: For $|t| \in [\eta,1]$, $|\mathrm{sign}(t) - r(t)| \leq \epsilon$. Proof of Fact 8.3. Both $N$ and $D$ have degree at most $2s(m+1)$, which is $O(\log(1/\eta)\log(1/\epsilon))$. For the first property, notice that roots of $P_{m}(t)$ are all negative, while roots of $P_{m}(-t)$ are all positive. Therefore, $P_{m}(t)$ and $P_{m}(-t)$ have no common roots and $D(t)$ must be always positive. For the second property, $P_m(t)^{2s}$ and $P_m(-t)^{2s}$ are nonnegative, so $|N(t)| \leq D(t)$ and hence $|r(t)| \leq 1$ for all $t$. For $t > 0$, every factor in $P_m$ satisfies $|t - 2^{-j}| < t + 2^{-j}$. Thus $|P_m(-t)| < P_m(t)$ and $N(t), r(t) \neq 0$ for any $t \neq 0$. Furthermore, since $N$ is odd and $D$ is even, we must have $\mathrm{sign}(r(t)) = \mathrm{sign}(t)$. It only remains to prove the approximation property. For $t>0$, the goal of the construction is to have $|P_{m}(-t)^{2s}|$ much smaller relative to $P_{m}(t)^{2s}$, so that $r(t)$ is close to 1. Notice that this also suffices for the purpose of the negative side. At a fixed scale $a>0$, we have\frac{|a-t|}{a+t}\leq\frac{1}{3}\qquad\text{when}a\leq t\leq2a,
and this ratio is at most 1 for every t > 0. Thus one factor gives a constant separation over $[a, 2a]$. By multiplying over dyadic scales, we cover the entire desired interval without worsening the separation. Using this to construct $P_m$, we get for any $t \in [2^{-m},1]$,\frac{|P_{m}(-t)|}{P_{m}(t)}=\prod_{j=0}^{m}\frac{|2^{-j}-t|}{2^{-j}+t}\leq\frac{1}{3}.
We then take it to the power of 2s to amplify this separation, this gives $|P_m(-t)^{2s}|/|P_m(t)^{2s}| \leq 1/3^{2s}$. Therefore,|1-r(t)|=\left|\frac{2P_{m}(-t)^{2s}}{P_{m}(-t)^{2s}+P_{m}(t)^{2s}}\right|\leq\frac{2}{3^{2s}+1}.
By choosing $c$ be a sufficiently large universal constant in $m = \lceil c \log(1/\eta) \rceil$ and $s = \lceil c \log(1/\epsilon) \rceil$ gives $|1 - r(t)| \leq \epsilon$ for $t \in [\eta, 1]$. Then the negative side follows the exact same argument. Given the rational function from the preceding fact, one can easily scale to construct a rational function $r(t) = N(t)/D(t)$ with approximation error $\epsilon \leq 1/(2k)$ over the interval $[-B, -\eta B] \cup [\eta B, B]$. Then it is immediate that for the intersection of degree-2 PTFs $f(\mathbf{x}) = \bigwedge_{i=1}^{k} \mathrm{sign}(p_i(\mathbf{x}))$. We can construct a sign matching polynomial for $f$ by first having the following rationalg(\mathbf{x})=\sum_{i=1}^{k}r(p_{i}(\mathbf{x}))-(k-1)=\sum_{i=1}^{k}\frac{N(p_{i}(\mathbf{x}))\Pi_{j\in[k]\backslash i}D(p_{j}(\mathbf{x}))}{\Pi_{j\in[k]}D(p_{j}(\mathbf{x}))}-(k-1).
Since the preceding fact has shown that $D(t)$ is always positive, we can simply have the sign matching polynomial as $p(\mathbf{x}) = g(\mathbf{x})\Pi_{j\in[k]}D(p_j(\mathbf{x}))$. It remains to check that 1. its hinge loss is bounded near the decision boundaries; 2. it is sufficiently large for any point sufficiently far from the decision boundary, so the overall Hinge can be upper bounded; and 3. the Hinge loss incurred outside the decision box is small due to Gaussian decaying tail. We first give the following fact on the sign matching polynomial. Fact 8.4. Let $f: \mathbb{R}^k \to \{\pm1\}$ be an intersection of $k$ sign functions of the form $f(\mathbf{x}) = \bigwedge_{i=1}^k \mathrm{sign}(x_i)$. For any $\eta \in (0,1/2)$, there exists a polynomial $q: \mathbb{R}^k \to \mathbb{R}$ of degree at most $O(k^2 \log(k) \log(1/\eta))$ of the form $q(\mathbf{x}) = \sum_\alpha c_\alpha \mathbf{x}^\alpha$ where $\mathbf{x}^\alpha$ are monomials and $\sum_\alpha |c_\alpha| = 2^{O(k^2 \log(k) \log(1/\eta)^2)}$ such that 1. Unit margin sign matching away from 0: If $\eta \leq |x_i| \leq 1$ for every $i$, then $f(\mathbf{x})q(\mathbf{x}) \geq 1$. 2. Bounded pointwise hinge loss: If $|x_i| \leq 1$ for every $i$, then $\max\{0, 1 - f(\mathbf{x})q(\mathbf{x})\} \leq 2$. Proof of Fact 8.4. SetL=\lceil\log_{2}(1/\eta)\rceil,\qquad\gamma=2^{-L},\qquad\ell=4k L,\qquad\delta=2^{-\ell},
and let $\rho = \frac{1}{4k}$, $s = \lceil \log_9(8k) \rceil$. We use the explicit rational construction $r = N/D$ from Fact 8.3 with product-depth parameter $\ell$ and power parameter $s$. Thus the boundary width and approximation error used there are $\delta$ and $\rho$, respectively. The estimate proved in Fact 8.3 gives|r(t)-\mathrm{s i g n}(t)|\leq\frac{2}{9^{s}+1}\leq\rho\qquad\mathrm{f o r}\delta\leq|t|\leq1.
R(\mathbf{x})=\sum_{i=1}^{k}r(x_{i})-(k-1).
For Boolean inputs, the corresponding sum is 1 when all inputs are positive and at most -1 otherwise. The approximation changes this sum by at most $k\rho = 1/4$, sof(\mathbf{x})R(\mathbf{x})\geq\frac{1}{2}\qquad\mathrm{w h e n e v e r~}\delta\leq|x_{i}|\leq1\mathrm{f o re v e r y~}i.
S(\mathbf{x})=R(\mathbf{x})\prod_{i=1}^{k}D(x_{i}),\qquad\lambda=\frac{1}{2}P_{\ell}(\gamma)^{2s k},\qquad q(\mathbf{x})=\frac{S(\mathbf{x})}{\lambda}.
Then $q$ is a polynomial of degree at most $2ks(\ell+1)=O\left(k^{2}\log(2k)\log(1/\eta)\right)$. We now reduce the two required properties to denominator estimates. Since $D$ has only even powers with nonnegative coefficients, it is even and nondecreasing on $[0,\infty)$. We will showD(\gamma)^{k}\geq2\lambda,\qquad D(\delta)D(1)^{k-1}\leq\frac{\lambda}{2k-1}. \tag{59}
The first bound ensures a sufficiently large denominator product when every coordinate is away from zero. The second ensures a sufficiently small product when one coordinate is within width $\delta$, even if all other coordinates are as large as 1. For the first bound, directly from the construction, $D(\gamma) \geq P_\ell(\gamma)^{2s}$, and hence $D(\gamma)^k \geq 2\lambda$. For the second bound, let $C_0 = \prod_{j=0}^\infty (1 + 2^{-j}) < e^2 < 8$. For $|t| \leq 1$, we have $|P_\ell(\pm t)| \leq C_0$. For $|t| \leq \delta$, the smaller scale gives|P_{\ell}(\pm t)|\leq P_{\ell}(0)\prod_{j=0}^{\ell}(1+2^{j-\ell})\leq C_{0}P_{\ell}(0).
D(1)\leq2C_{0}^{2s},\qquad D(\delta)\leq2C_{0}^{2s}P_{\ell}(0)^{2s}.
P_{\ell}(0)=2^{-\ell(\ell+1)/2},\qquad P_{\ell}(\gamma)\geq\left(\prod_{j=0}^{L-1}2^{-j}\right)\gamma^{\ell-L+1}=2^{-L\ell+L(L-1)/2}.
Using $\ell = 4kL$, these estimates imply\frac{P_{\ell}(0)^{2s}}{P_{\ell}(\gamma)^{2s k}}\leq2^{-s((8k^{2}+k)L^{2}+3k L)}.
\begin{align*}\frac{(2k-1)D(\delta)D(1)^{k-1}}{\lambda}&\leq2(2k-1)(2C_{0}^{2s})^{k}\frac{P_{\ell}(0)^{2s}}{P_{\ell}(\gamma)^{2sk}}\&\leq2^{9sk-s((8k^{2}+k)L^{2}+3kL)}\leq1.\end{align*}
Here we used $2(2k-1)(2C_0^{2s})^k \leq 2^{9sk}$, and the last inequality holds for $k, L, s \geq 1$. This proves (59). We can now deduce the two properties. For Property 1, suppose $\eta \leq |x_i| \leq 1$ for every $i$. Since $\delta < \gamma \leq \eta$, monotonicity and the first bound in (59) givef(\mathbf{x})q(\mathbf{x})=\frac{f(\mathbf{x})R(\mathbf{x})}{\lambda}\prod_{i}D(x_{i})\geq\frac{D(\gamma)^{k}}{2\lambda}\geq1.
For Property 2, take any $\mathbf{x} \in [-1,1]^k$. If $f(\mathbf{x})q(\mathbf{x}) \geq 0$, its hinge loss is at most 1. Otherwise, positivity of the denominator product implies $f(\mathbf{x})R(\mathbf{x}) < 0$, so some $|x_i| < \delta$. The second bound in (59) then gives|q(\mathbf{x})|\leq\frac{(2k-1)D(\delta)D(1)^{k-1}}{\lambda}\leq1.
Thus its hinge loss is at most $1 + |q(\mathbf{x})| \leq 2$. Finally, we bound the monomial coefficients of $q$. Both $N$ and $D$ have nonnegative coefficients: their definitions retain the odd and even coefficients of $P_{\ell}^{2s}$, respectively, each multiplied by 2. Their coefficient sums are therefore $N(1)$ and $D(1)$. Expandingq(\mathbf{x})=\frac{1}{\lambda}\left(\sum_{i}N(x_{i})\prod_{j\neq i}D(x_{j})-(k-1)\prod_{i}D(x_{i})\right)
and using $N(1) \leq D(1)$, we obtain\sum_{\alpha}|c_{\alpha}|\leq\frac{k N(1)D(1)^{k-1}+(k-1)D(1)^{k}}{\lambda}\leq\frac{(2k-1)D(1)^{k}}{\lambda}.
The preceding lower bound on $P_{\ell}(\gamma)$ gives $\lambda^{-1} \leq 2^{1+8sk^{2}L^{2}}$, while $D(1)^{k} \leq (2C_{0}^{2s})^{k} = 2^{O(sk)}$. Hence\sum_{\alpha}|c_{\alpha}|\leq2^{O(s k^{2}L^{2})}=2^{O(k^{2}\log(2k)\log^{2}(1/\eta))},
as required. We now use Fact 8.4 to prove Lemma 8.2. Applying the fact to the rescaled defining polynomials $\{p_i/B\}_{i\in[k]}$ for the intersection of PTFs, we obtain a polynomial $q$ whose hinge loss is zero whenever $\eta B \leq |p_i(\mathbf{x})| \leq B$ for every $i$, by Property 1. It remains to control the contribution from points (i.e. $\{p_i/B\}_{i\in[k]}$) near the threshold boundaries and points in the tails. Within the region where all $|p_i(\mathbf{x})| \leq B$, Property 2 bounds the hinge loss by 2. Thus, the near-boundary contribution is controlled by its probability, which we bound using Gaussian anticoncentration. For the remaining tail region, we combine upper bound on the size of the constructed polynomial with Gaussian tail decay. With appropriate parameter choice of both $B$ and $\eta$, the contribution from both regions will be sufficiently small. Proof of Lemma 8.2. The proof follows the following structure: We first choose the parameter $\eta$ and $B$ for rescaling the polynomial from Fact 8.4. Then as we discussed, Property 1 of Fact 8.4 already ensures the Hinge loss is $0$ if $\eta B \leq |p_i(\mathbf{x})| \leq B$ for all $i$. We then show that for the near decision boundary case, i.e., there exists $i$ such $p_i(\mathbf{x}) \in [-\eta B, \eta B]$. Since we have Property 2 of Fact 8.4, it suffices for us to bound $\mathbf{Pr}_{\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)}[\exists i, p_i(\mathbf{x}) \in [-\eta B, \eta B]]$ from the anticoncentration. The other case that $p_i(\mathbf{x}) \notin [-B, B]$ can be analyzed from the Gaussian tail bound and the polynomial $L_2$ norm. After that, we can simply put these together to bound the Hinge loss. Step 1: Choose $\eta, B$ and apply Fact 8.4 to construct the polynomial. We WLOG normalize the defining polynomials to satisfy $\|p_i\|_{L_2(\mathcal{N}(0,\mathbf{I}_d))} = 1$. Let $c$ be a sufficiently large universal constant and choose\eta=\left(\frac{\epsilon}{k}\right)^{C},\qquad B=C k^{2}\log(k)^{3}\log^{2}(1/\eta).
Let $q$ be the polynomial from Fact 8.4 and defineg(\mathbf{x})=q\left(\frac{p_{1}(\mathbf{x})}{B},\ldots,\frac{p_{k}(\mathbf{x})}{B}\right).
The choice of $\eta$ makes the boundary region small, while $B$ is chosen large enough that Gaussian tail decay dominates the possible growth of $g$. Step 2: Control the contribution near the decision boundaries. Let $\mathcal{B}=\mathbf{x}:\exists i,p_i(\mathbf{x})\in[-\eta B,\eta B]$. From Carbery–Wright anticoncentration and union bound, we must have that\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[\mathbf{x}\in\mathcal{B}]\leq\sum_{i}\mathbf{Pr}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[p_{i}(\mathbf{x})\in[-\eta B,\eta B]]=O(k\sqrt{B\eta}).
\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}[\mathrm{Hinge}(f(\mathbf{x}),g(\mathbf{x}))\mathbf{1}_{B}(\mathbf{x})]=O(k\sqrt{B\eta}).
Step 3: Control the contribution from the tails. Let $\mathcal{T}=\{\mathbf{x}:\max_i |p_i(\mathbf{x})|>B\}$ denote the tail region. We first bound the $L_2$ norms of $g$ and $\mathbf{1}_{\mathcal{T}}$, then combine them to control the hinge contribution from this region. Since each $p_i$ has degree at most 2 and $\|p_i\|_2=1$, hypercontractivity gives\left|\frac{p_{i}}{B}\right|_{u}\leq\frac{u-1}{B},\qquad u\geq 2.
Taking a power requires a higher moment: for every integer $a\geq 1$,\left|\left(\frac{p_{i}}{B}\right)^{a}\right|{2}=\left|\frac{p{i}}{B}\right|_{2a}^{a}\leq\left(\frac{2a-1}{B}\right)^{a}.
More generally, for a monomial of total degree $r=|\alpha|\geq 1$, Hölder's inequality gives\left|\prod_{i}(p_{i}/B)^{\alpha_{i}}\right|{2}\leq \prod{i}\left|\frac{p_{i}}{B}\right|{2r}^{\alpha{i}}\leq \left(\frac{2r-1}{B}\right)^{r}\leq 1,
where the last inequality uses $r\leq \deg q$ and $B\geq 2\deg q$. The constant monomial also has norm 1. Write $q(\mathbf{z})=\sum_{\alpha}c_{\alpha}\mathbf{z}^{\alpha}$. By the triangle inequality, the preceding bound on each substituted monomial, and the coefficient bound in Fact 8.4, we have|g|{2}\leq \sum{\alpha}|c_{\alpha}|\left|\prod_{i}(p_{i}/B)^{\alpha_{i}}\right|{2}\leq \sum{\alpha}|c_{\alpha}|\leq 2^{O(k^{2}\log(2k)\log^{2}(2k/\eta))}.
Next, the squared $L_2$ norm of the indicator is exactly the tail probability. Hypercontractivity and Markov's inequality give $\mathbf{Pr}[|p_i(\mathbf{x})|>B]\leq e^{-cB}$ for a universal constant $c>0$. Thus a union bound yields|\mathbf{1}{\mathcal{T}}|{2}^{2}=\mathbf{P r}[\mathbf{x}\in\mathcal{T}]\leq \sum_{i=1}^{k}\mathbf{P r}[|p_{i}(\mathbf{x})|>B]\leq k e^{-c B}.
We can now bound the $L_1$ norm of $g$ restricted to the tail region. By Cauchy–Schwarz,|g\mathbf{1}{\mathcal{T}}|{1}\leq |g|{2}|\mathbf{1}{\mathcal{T}}|{2}\leq \sqrt{k}\ |g|{2}e^{-c B/2}.
Since $\mathrm{Hinge}(f,g)\leq 1+|g|$, the hinge contribution from this region satisfies\mathbf{E}\left[\mathrm{Hinge}(f(\mathbf{x}),g(\mathbf{x}))\mathbf{1}{\mathcal{T}}(\mathbf{x})\right]\leq \mathbf{P r}[\mathbf{x}\in\mathcal{T}]+|g\mathbf{1}{\mathcal{T}}|{1}\leq k e^{-c B}+\sqrt{k}\ |g|{2}e^{-c B/2}.
Step 4: Combine the bounds. Taking $C$ sufficiently large makesO!\left(k\sqrt{B\eta}\right)\leq \epsilon/2,\qquad k e^{-c B}+\sqrt{k}\left|g\right|_{2}e^{-c B/2}\leq \epsilon/2.
For the first inequality, the power $(\epsilon/k)^{C/2}$ dominates the polynomial and logarithmic factors in $k\sqrt{B}$. For the second, $B$ is a sufficiently large multiple of the exponent in the norm bound. Therefore,\mathbf{E}[\mathrm{Hinge}(f(\mathbf{x}),g(\mathbf{x}))]\leq \epsilon.
Finally, set $m=2\deg q$. Then $m$ is even, and quadratic substitution gives $\deg g\leq m$. Since\log(2k/\eta)=O(\log(2k/\epsilon))=O(\log(2k)\log(1/\epsilon)),
m=O\bigl(k^{2}\log^{2}(2k)\log(1/\epsilon)\bigr),\qquad |g|_{2}\leq 2^{O(k^{2}\log^{3}(2k)\log^{2}(1/\epsilon))}.
The weighted-error estimate follows from Cauchy–Schwarz and $a^{2}\leq a$. For the preservation claim, recall that $g=q(p_{1}/B,\ldots,p_{k}/B)$ with $\deg q=m/2$. Under the lifted-subspace assumption, each $p_{i}$ is affine in $\mathrm{proj}_{S}\Phi_{2}(\mathbf{x})$, so $g$ has the required form. $\square$ Given Lemma 8.2, we can now prove Theorem 8.1 by applying standard stochastic convex optimization over the corresponding polynomial ball to find a polynomial $g$ with small expected hinge loss. Then obtain the hypothesis $h(\mathbf{x})=\mathrm{sign}(g(\mathbf{x}))$ with small 0-1 error, since any point that $h$ makes mistake for 0-1 error would also incur constant error for Hinge loss. We will use the following fact about stochastic convex optimization and the whole algorithm procedure is summarized in Algorithm 5. Fact 8.5 (Projected stochastic subgradient descent; [Duc18], Corollary 3.4.9). Let $\mathcal{C}\subseteq\mathbb{R}^N$ be a nonempty compact convex set of diameter at most $R>0$, with efficiently computable Euclidean projections, and let $F:\mathcal{C}\to\mathbb{R}$ be continuous and convex. Suppose a stochastic oracle, using fresh independent randomness on each call, satisfies\mathbf{E}[G(\mathbf{w},\xi)]\in\partial F(\mathbf{w}),\qquad \mathbf{E}!\left[|G(\mathbf{w},\xi)|_{2}^{2}\right]\leq M^{2}
for every $\mathbf{w}\in\mathcal{C}$, where $M>0$. Then projected stochastic subgradient descent with step sizes $\alpha_t=R/(M\sqrt{t})$ and iterate averaging returns $\hat{\mathbf{w}}\in\mathcal{C}$ after $T\geq 1$ oracle calls such that\mathbf{E}[F(\hat{\mathbf{w}})]\leq \min_{\mathbf{w}\in\mathcal{C}} F(\mathbf{w})+\frac{3RM}{2\sqrt{T}},.
Algorithm 5 HingeLearning 1: Input: $d, k, \epsilon$, a basis for $S \subseteq \mathbb{R}^N$, and i.i.d. sample access to $D$. 2: Output: A hypothesis $h: \mathbb{R}^d \to \{\pm 1\}$. 3: Let $m$ be the even degree bound from Lemma 8.2 with accuracy $\epsilon/12$, and set $t = m/2$. Choose the coefficient radius $R$ as in the proof of Theorem 8.1. 4: Compute an orthonormal basis $\mathbf{v}_1, \ldots, \mathbf{v}_n$ of $S$, where $n = \dim S$, and define\Psi_t(\mathbf{x}) = \left( \prod_{j=1}^n \langle \mathbf{v}j, \Phi_2(\mathbf{x}) \rangle^{\alpha_j} \right){\alpha \in \mathbb{Z}_+^n, |\alpha| \leq t}.
5: Using fresh samples from $D$, apply standard projected stochastic subgradient descent to\min_{|\mathbf{w}|2 \leq R} \mathbf{E}{(\mathbf{x},y) \sim D} \left[ \max{0, 1 - y \langle \mathbf{w}, \Psi_t(\mathbf{x}) \rangle } \right]
to expected additive optimization error at most $\epsilon/12$. Let $\widehat{\mathbf{w}}$ denote its output. 6: Return: $h(\mathbf{x}) = \mathrm{sign}(\langle \widehat{\mathbf{w}}, \Psi_t(\mathbf{x}) \rangle)$. We now prove Theorem 8.1. Proof of Theorem 8.1. We analyze Algorithm 5. Apply the construction in the proof of Lemma 8.2 with accuracy $\epsilon/12$. Letm = O\bigl(k^2 \log^2(2k) \log(1/\epsilon) \bigr), \qquad t = m/2, \qquad W = 2^{O(k^2 \log^3(2k) \log^2(1/\epsilon))},
where $m$ is even and the constant in the definition of $W$ is sufficiently large. This gives a polynomial $g^\star$ satisfying\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I}_d)}[\mathrm{Hinge}(f(\mathbf{x}), g^\star(\mathbf{x}))] \leq \epsilon/12, \qquad |g^\star|_2 \leq W.
We first bound the coefficients of $g^\star$ in the feature representation used by the algorithm. Normalize the defining polynomialsp_i(\mathbf{x}) = c_i + \mathbf{u}_i \cdot \Phi_2(\mathbf{x})
to have Gaussian $L_2$ norm one. The construction givesg^\star(\mathbf{x}) = q(p_1(\mathbf{x})/B, \ldots, p_k(\mathbf{x})/B),
where $B \geq 1$, $\deg q \leq t$, and, by Fact 8.4, the sum of the absolute coefficients of $q$ is at most $W$, after increasing the constant defining $W$. Let $\mathbf{v}_1, \ldots, \mathbf{v}_n$ be the orthonormal basis of $S$ computed by the algorithm, and writez_j(\mathbf{x}) = \langle \mathbf{v}j, \Phi_2(\mathbf{x}) \rangle, \qquad p_i(\mathbf{x}) = c_i + \sum{j=1}^n b_{ij} z_j(\mathbf{x}).
Orthonormality of the Hermite features and the normalization of $p_i$ implyc_i^2 + \sum_{j=1}^n b_{ij}^2 = 1, \qquad |c_i| + \sum_{j=1}^n |b_{ij}| \leq \sqrt{n+1}.
Expanding the composition defining $g^{\star}$, we therefore obtaing^{\star}(\mathbf{x})=\langle\mathbf{w}^{\star},\Psi_{t}(\mathbf{x})\rangle,\qquad|\mathbf{w}^{\star}|{2}\leq|\mathbf{w}^{\star}|{1}\leq W(n+1)^{t/2}.
Accordingly, set $R = W(n+1)^{t/2}$. This radius is determined by the known parameters and does not require knowledge of the defining polynomials. Next, we bound the comparator's hinge loss under the observed labels. Let $\delta = \mathbf{Pr}_{(\mathbf{x},y) \sim D}[y \neq f(\mathbf{x})]$. The hinge loss satisfies\mathrm{Hinge}(y,a)\leq\mathrm{Hinge}(f(\mathbf{x}),a)+2|a|\mathbf{1}_{{y\neq f(\mathbf{x})}}.
\begin{align*}\mathbf{E}{(\mathbf{x},y)\sim D}[\mathrm{Hinge}(y,g^{\star}(\mathbf{x}))]&\leq\epsilon/12+2\mathbf{E}{(\mathbf{x},y)\sim D}\left[\left[g^{\star}(\mathbf{x})|\mathbf{1}_{{y\neq f(\mathbf{x})}}\right]\right.\&\leq\epsilon/12+2W\sqrt{\delta}\leq\epsilon/4,\end{align*}
where the last inequality follows from the theorem's noise assumption for a sufficiently large universal constant C. We now verify the moment bound needed to apply Fact 8.5. Let $M = \binom{n+t}{t}$ be the number of coordinates of $\Psi_t$. Each $z_j$ is a polynomial of degree at most two with Gaussian $L_2$ norm one. Thus, for every multi-index $\alpha$ with $1 \leq |\alpha| = r \leq t$, Hölder's inequality and Gaussian hypercontractivity give\left|\prod_{j=1}^{n}z_{j}^{\alpha_{j}}\right|{2}\leq\prod{j=1}^{n}|z_{j}|{2r}^{\alpha{j}}\leq(2r-1)^{r}\leq(2t)^{t}.
\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I}{d})}|\Psi_{t}(\mathbf{x})|_{2}^{2}\leq M(2t)^{2t}=:\sigma^{2}.
F(\mathbf{w})=\underset{(\mathbf{x},y)\sim D}{\mathbf{E}}\left[\mathrm{Hinge}\big(y,\langle\mathbf{w},\Psi_{t}(\mathbf{x})\rangle\big)\right]
over $\mathcal{C} = \{\mathbf{w} \in \mathbb{R}^M : \|\mathbf{w}\|_2 \leq R\}$. It is continuous, since|F(\mathbf{w})-F(\mathbf{v})|\leq\sigma\left|\mathbf{w}-\mathbf{v}\right|_{2}.
G(\mathbf{w};\mathbf{x},y)=-y\Psi_{t}(\mathbf{x})\mathbf{1}{{y\langle\mathbf{w},\Psi{t}(\mathbf{x})\rangle<1}},
whose expectation belongs to $\partial F(\mathbf{w})$ and whose second moment is at most $\sigma^{2}$. Moreover, $\mathcal{C}$ has diameter $2R$ and admits an $O(M)$-time Euclidean projection. Applying Fact 8.5 withT=\left\lceil\frac{1296R^{2}\sigma^{2}}{\epsilon^{2}}\right\rceil
samples therefore returns $\widehat{\mathbf{w}} \in \mathcal{C}$ satisfying\mathbf{E}[F(\widehat{\mathbf{w}})]\leq F(\mathbf{w}^{\star})+\frac{3R\sigma}{\sqrt{T}}\leq\epsilon/4+\epsilon/12=\epsilon/3.
h(\mathbf{x})=\mathrm{s i g n}\langle\widehat{\mathbf{w}},\Psi_{t}(\mathbf{x})\rangle,
\mathbf{E}\bigg[\mathbf{P r}_{(\mathbf{x},y)\sim D}[h(\mathbf{x})\neq y]\bigg]\leq\epsilon/3.
Markov's inequality implies that $h$ has classification error at most $\epsilon$ with probability at least $2/3$. Finally, the algorithm uses $T$ samples. Computing the lifted coordinates and their monomials, followed by a subgradient step and projection, takes $(d+1)^{O(1)}M$ arithmetic operations per iteration. The basis and feature preprocessing also fit within the claimed bound. Using $M \leq (n+1)^t$, $R^2 = W^2(n+1)^t$, and $\sigma^2 = M(2t)^{2t}$, we obtainM T=O\bigg(\frac{W^{2}(n+1)^{3t}(2t)^{2t}}{\epsilon^{2}}\bigg).
Since $t = O(k^{2} \log^{2}(2k) \log(1/\epsilon))$ andt\log(2t)+\log(W/\epsilon)=O\big(k^{2}\log^{3}(2k)\log^{2}(1/\epsilon)\big),
d^{O(1)}n^{O(k^{2}\log^{2}(k)\log(1/\epsilon))}2^{O(k^{2}\log^{3}(k)\log^{2}(1/\epsilon))}.
This proves the theorem. ## 9 Improved Complexity through Dimension Reduction and Hinge Loss Optimization In this section, we combine two stages of dimension reduction with hinge-loss minimization to improve the dependence on the accuracy parameter from $2^{\text{poly}_k(1/\epsilon)}$ to $2^{\text{poly}_k(\log(1/\epsilon))}$. The main idea is to identify a low-dimensional space of polynomial features that supports a sufficiently accurate approximation to the target, allowing us to apply the hinge-loss learner of Theorem 8.1. Our first dimension-reduction step identifies a subspace $V$ such that the randomized error is small along every direction orthogonal to $V$. While this provides the regularity needed to control the residual polynomial contributions, the resulting feature space may still be too large for efficient hinge-loss minimization. To overcome this, we develop a second dimension-reduction procedure that uses labeled moments to recover a low-dimensional subspace $U$ capturing the relevant residual polynomial features, without explicitly identifying the defining polynomials. We show that the combined space $\mathcal{P}_2(V) + U$ supports a sufficiently accurate intersection, enabling hinge-loss minimization in this reduced feature space. Theorem 9.1 (Learning by dimension reduction and hinge loss). Consider the problem of learning an intersection of $k$ degree-2 PTFs under a Gaussian distribution. There is an algorithm such that given any $\epsilon, \delta \in (0,1)$, it draws $d^{O(k)}2^{O_k(\log^3(1/\epsilon))}\log(1/\delta)$ samples from $D$, runs in $d^{O(k)}2^{O_k(\log^3(1/\epsilon))}\log(1/\delta)$ time and outputs a hypothesis $\hat{h} : \mathbb{R}^d \to \{0,1\}$ such that with probability at least $1 - \delta$, $\mathrm{err}_D(\hat{h}) \leq \epsilon$. We give the intuition below. Notice that Algorithm 4 makes use of Theorem 5.1 to adaptively find directions that are important to the current intersections of PTFs, and when we cannot do so, the resulting instance is close to a jointly regular instance, where we can make use of the subspace recovery algorithm over the subspace spanned by the degree-2 Hermite polynomials. However, such a method will essentially produces $2^{\mathrm{poly}(1/\epsilon)}$ many subproblems to solve, which introduces a $2^{\mathrm{poly}(1/\epsilon)}$ complexity. The intuition is that the regularity condition required for implementing the algorithm from [DKS18] turns out to be much stronger than what the learning task really needs. To obtain an improved complexity, our motivation is that combined with Theorem 5.1, we want to construct a single subspace of the space of degree-2 Hermite polynomials, such that some intersection of $k$ degree-2 PTFs from that subspace is very close to the target instance. Our approach works as follows. By Theorem 5.1 and Theorem 6.2, we can find a single subspace $V \subseteq \mathbb{R}^d$ of dimension $2^{O_k(\log^2(1/\epsilon))}$ such that for every unit vector $\mathbf{v} \perp V$, $\mathrm{Rand}_f^*(\mathbf{v})$ is tiny. We write $\mathbf{x} = \mathbf{z} + \mathbf{w}$, where $\mathbf{z} \in V$ and $\mathbf{w} \perp V$. To simplify the notation, we denote by $n = \dim(V)$ and $m = d - n$. Notice that for each quadratic function $q_i(\mathbf{x})$ that defines the target function, we can writeq_i(\mathbf{z},\mathbf{w})=a_i(\mathbf{z})+(\mathbf{b}_i+\mathbf{L}_i^\top\mathbf{z})^\top\mathbf{w}+\mathbf{w}^\top\mathbf{A}_i\mathbf{w}-\mathrm{tr}(\mathbf{A}_i),
where $a_i(\mathbf{z})$ is a quadratic function that purely depends on $\mathbf{z}$, $\mathbf{b}_i \in \mathbb{R}^m$, $\mathbf{L}_i : \mathbb{R}^m \to \mathbb{R}^n$ and $\mathbf{A}_i \in \mathbb{R}^{m \times m}$. We will use the subspace $V$ that we found to construct another subspace $\bar{V} \subseteq P_{\leq 2}(\mathbb{R}^d)$ such that $P_{\leq 2}(V)$ together with $\bar{V}$ contains some intersections of $k$ degree-2 PTFs that is close to $f^*$. Similar to Section 3, where we use algorithm from [DKS18], and look at the second moment matrix over the space $P_{\leq 2}(\mathbb{R}^d)$ and find a subspace that almost spans the linear combination coefficients. Our method will focus on the subspace of the polynomials of the form $(\mathbf{b}+\mathbf{L}^\top\mathbf{z})^\top\mathbf{w}+\mathbf{w}^\top\mathbf{A}\mathbf{w}-\mathrm{tr}(\mathbf{A})$. In particular, we will use $\mathbf{u} = (\mathbf{b}, \mathbf{L}, \mathbf{A})$ to vectorize the coefficient of the polynomial. Denote by $\mathcal{S}$ this space of coefficients. We will build a bilinear map $\mathcal{M} : \mathcal{S} \times P_{\leq 2k}(\mathbb{R}^d) \to \mathbb{R}$, such that the required subspace $\bar{V}$ would be the space of large singular vectors of $\mathcal{M}$. ### 9.1 Subspace Recovery through Gaussian Comparison To begin with, we first work on an idealized Gaussian model, to get a stronger property Lemma 9.2 than the one we used from [DKS18]. Lemma 9.2. Let $V \subseteq \mathbb{R}^d$. Write $\mathbf{x} = \mathbf{z} + \mathbf{w} \in \mathbb{R}^d$, where $\mathbf{z} \in V$ and $\mathbf{w} \in V^\perp$. Let $f(\mathbf{x}) = \mathbb{1}\{q_1(\mathbf{x}) \geq 0, \ldots, q_k(\mathbf{x}) \geq 0\}$, where for $i \in [k]$, $q_i(\mathbf{x}) = a_i(\mathbf{z}) + \mathbf{u}_i \cdot \mathbf{w}$, $\|q_i(\mathbf{x})\| = 1$, where $a_i(\mathbf{z})$ is a polynomial of degree at most 2 that only depends on $\mathbf{z}$. Let $\mathbf{v} \in V^\perp$ be any unit vector and let $\alpha \in (0,1)$. Suppose $\mathrm{Rand}_f(\mathbf{v}) \geq \alpha$, there exists a polynomial $p : \mathbb{R}^d \to \mathbb{R}$, with $\deg(p) \leq 2k$ and $\|p\| \leq 1$ such that $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}p(\mathbf{x})] \geq \Omega((\alpha/k)^{3k})$. In particular, there exists a polynomial $P : \mathbb{R}^k \to \mathbb{R}$ such that $p(\mathbf{x}) = P(q_1(\mathbf{x}), \ldots, q_k(\mathbf{x}))$. Roughly speaking, Lemma 9.2 considers a family of intersections of $k$ degree-2 polynomials, whose defining polynomials have a special form of $q_i(\mathbf{x}) = a_i(\mathbf{z}) + \mathbf{u}_i \cdot \mathbf{w}$, where $a_i$ is a quadratic function that only depends on a given subspace $V$, while in $V^\perp$, $q_i$ only has a linear dependence. Notice that if $V = \emptyset$, then the instance degenerates to an intersections of $k$ halfspaces. The property given by [DKS18] says that if a direction $\mathbf{v} \in V^\perp$ has large randomized error, then there is a degree-2 polynomial associated with $\mathbf{v}$ to certify this fact. Thus, by using the first 2 Chow-moments, we are able to find all these important directions. Here, for a general subspace $V$, we still want to identify all directions in $V^\perp$ that have large randomized error through moment methods. However, the existence of the quadratic functions $a_i(\mathbf{z})$ can hide the signals from the first two moments and thus we need to use higher moments for this purpose. The idea is similar to the certificate polynomial construction in Section 5, where fix a pair of $\mathbf{z} \in V$, $\mathbf{u} \in V^\perp$, $\mathbf{u} \perp \mathbf{v}$, $f_{(\mathbf{z},\mathbf{u})}$ gives a one dimensional Boolean function. We would like to construct a polynomial $h$ such that $\Delta_{f_{(\mathbf{z},\mathbf{u})}}(s)h(s)\phi(s)$ is non-trivially large at any boundary of $f_{(\mathbf{z},\mathbf{u})}$. The special form of $f$ implies that once $(\mathbf{z},\mathbf{u})$ is fixed, the function is just an indicator function of an interval. This fact makes the construction much easier than Section 5. In fact, we can simply choose $h(\mathbf{x}) = \prod_{i:\mathbf{u}_i \cdot \mathbf{v} < 0} q_i(\mathbf{x}) - \prod_{i:\mathbf{u}_i \cdot \mathbf{v} > 0} q_i(\mathbf{x})$. Once $(\mathbf{z},\mathbf{u})$ is fixed, each $q_i$ is a monotone linear function along $\mathbf{v}$ direction, which naturally gives the certificate polynomial that we want. Proof of Lemma 9.2. We consider polynomial $h(\mathbf{x}) = \prod_{i:\mathbf{u}_i \cdot \mathbf{v} < 0} q_i(\mathbf{x}) - \prod_{i:\mathbf{u}_i \cdot \mathbf{v} \geq 0} q_i(\mathbf{x})$. We write $\mathbf{x} = \mathbf{z} + s\mathbf{v} + \mathbf{u}$, where $\mathbf{u} \perp V$, $\mathbf{u} \perp \mathbf{v}$, $s \in \mathbb{R}$. By Lemma 5.6, we know that\begin{aligned}&\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}h(\mathbf{x})]\ &=\mathbf{E}{\mathbf{z},\mathbf{u}\sim\mathcal{N}(0,\mathbf{I})}[\sum{s\in S_{(\mathbf{z},\mathbf{u})}}\Delta_{f_{(\mathbf{z},\mathbf{u})}}(s)h(s\mathbf{v}+\mathbf{u}+\mathbf{z})\phi(s)].\ \end{aligned}
Since each $q_i(\mathbf{x})$ depends linearly on $\mathbf{w}$, for each fixed $(\mathbf{z},\mathbf{u})$ the function $f_{(\mathbf{z},\mathbf{u})}(s)$ agrees almost everywhere with the indicator of an interval, possibly empty or all of $\mathbb{R}$. Layers on which $f_{(\mathbf{z},\mathbf{u})}$ is constant almost everywhere contribute zero to both the correlation and the randomized error, and are omitted from the following layerwise analysis. For each remaining layer, denote the interval by $(l_{(\mathbf{z},\mathbf{u})}, r_{(\mathbf{z},\mathbf{u})})$, allowing infinite endpoints. All endpoint identities below are asserted only at finite endpoints. Boundary terms at infinite endpoints are interpreted as zero by taking limits, and any condition in the definition of $B_t$ involving an infinite endpoint is omitted. This implies that\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}h(\mathbf{x})]=\mathbf{E}{\mathbf{z},\mathbf{u}\sim\mathcal{N}(0,\mathbf{I})}[h(l{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{u}+\mathbf{z})\phi(l_{(\mathbf{z},\mathbf{u})})-h(r_{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{u}+\mathbf{z})\phi(r_{(\mathbf{z},\mathbf{u})})].
Notice that for some $i \in [k]$. If $\mathbf{v} \cdot \mathbf{u}_i < 0$, then $q_i(s\mathbf{v} + \mathbf{u} + \mathbf{z})$ is a decreasing function and $q_i(l_{(\mathbf{z},\mathbf{u})}\mathbf{v} + \mathbf{z} + \mathbf{u}) \geq 0$, while if $\mathbf{v} \cdot \mathbf{u}_i \geq 0$, then $q_i(s\mathbf{v} + \mathbf{u} + \mathbf{z})$ is a nondecreasing function and $q_i(r_{(\mathbf{z},\mathbf{u})}\mathbf{v} + \mathbf{z} + \mathbf{u}) \geq 0$. In particular, this implies $\prod_{i:\mathbf{u}_i \cdot \mathbf{v} \geq 0} q_i(l_{(\mathbf{z},\mathbf{u})}\mathbf{v} + \mathbf{z} + \mathbf{u}) = 0$ and $\prod_{i:\mathbf{u}_i \cdot \mathbf{v} < 0} q_i(r_{(\mathbf{z},\mathbf{u})}\mathbf{v} + \mathbf{z} + \mathbf{u}) = 0$. Otherwise, it contradicts the definition of the $r_{(\mathbf{z},\mathbf{u})}, l_{(\mathbf{z},\mathbf{u})}$. So, we have\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}h(\mathbf{x})]=\mathbf{E}{\mathbf{z},\mathbf{u}\sim\mathcal{N}(0,\mathbf{I})}[\prod{i:\mathbf{u}{i}\cdot\mathbf{v}<0}q{i}(l_{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{z}+\mathbf{u})\phi(l_{(\mathbf{z},\mathbf{u})})+\prod_{i:\mathbf{u}{i}\cdot\mathbf{v}\geq0}q{i}(r_{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{z}+\mathbf{u})\phi(r_{(\mathbf{z},\mathbf{u})})],
which is nonnegative. We will show that $\mathrm{Rand}_{f}(\mathbf{v})$ can be upper bounded in terms of $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}h(\mathbf{x})]$. Recall that\begin{align*}\mathrm{Rand}_{f}(\mathbf{v})&=\underset{\mathbf{u},\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}{\mathbf{E}}\left[\underset{s,s^{\prime}\sim\mathcal{N}(0,1)}{\mathbf{Pr}}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})\neq f(\mathbf{u}+\mathbf{z}+s^{\prime}\mathbf{v})]\right]\&=\underset{\mathbf{u},\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}{\mathbf{E}}\left[2\underset{s\sim\mathcal{N}(0,1)}{\mathbf{Pr}}f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1\right].\end{align*}
To simplify the notations, we denote by $I_{-} = \{i \in [k] \mid \mathbf{u}_i \cdot \mathbf{v} < 0\}$ and $I_{+} = \{i \in [k] \mid \mathbf{u}_i \cdot \mathbf{v} \geq 0\}$. Let $B_t$ be the event over $(\mathbf{z}, \mathbf{u})$ such that there exists some $q_i(l_{(\mathbf{z}, \mathbf{u})} \mathbf{v} + \mathbf{z} + \mathbf{u}) \leq t$, $i \in I_{-}$ or $q_i(r_{(\mathbf{z}, \mathbf{u})} \mathbf{v} + \mathbf{z} + \mathbf{u}) \leq t$, $i \in I_{+}$. We will separate the analysis for $(\mathbf{u}, \mathbf{z}) \in B_t$ and $(\mathbf{u}, \mathbf{z}) \notin B_t$. We start by analyzing the case where $(\mathbf{u},\mathbf{z})\in B_{t}$. By the monotonicity of $q_{i}$ as a function of $s$ along direction $\mathbf{v}$, we know that if $f(\mathbf{x})=1$ and $B_{t}$ happen together, then there must be some $i\in[k]$ such that $|q_{i}(\mathbf{x})|\leq t$. This implies that\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})=1,B{t}]\leq\sum_{i\in[k]}[\mathbf{P r}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}|q{i}(\mathbf{x})|\leq t]\leq O(k\sqrt{t}).
\mathbf{E}{\mathbf{u},\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}\left[2\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1](1-\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1])\mathbb{1}{(\mathbf{u},\mathbf{z})\in B{t}}\right]\leq O(k\sqrt{t}).
Next, we analyze the case where $(\mathbf{u}, \mathbf{z}) \notin B_t$. In this case, we have\begin{aligned}&\left(\prod_{i:\mathbf{u}{i}\cdot\mathbf{v}<0}q{i}(l_{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{z}+\mathbf{u})\phi(l_{(\mathbf{z},\mathbf{u})})+\prod_{i:\mathbf{u}{i}\cdot\mathbf{v}\geq0}q{i}(r_{(\mathbf{z},\mathbf{u})}\mathbf{v}+\mathbf{z}+\mathbf{u})\phi(r_{(\mathbf{z},\mathbf{u})})\right)\mathbb{1}{(\mathbf{u},\mathbf{z})\notin B_{t}}\&\geq t^{k}(\phi(l_{(\mathbf{z},\mathbf{u})})+\phi(r_{(\mathbf{z},\mathbf{u})}))\mathbb{1}{(\mathbf{u},\mathbf{z})\notin B_{t}}\end{aligned}
\phi(l_{(\mathbf{z},\mathbf{u})})+\phi(r_{(\mathbf{z},\mathbf{u})})\geq\Omega(\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1](1-\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1)]),
\begin{aligned}&t^{-k}\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}h(\mathbf{x})]\&\geq\Omega(\mathbf{E}{\mathbf{u},\mathbf{z}\sim\mathcal{N}(0,\mathbf{I})}\left[2\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1](1-\mathbf{P r}{s\sim\mathcal{N}(0,1)}[f(\mathbf{u}+\mathbf{z}+s\mathbf{v})=1])\mathbb{1}{(\mathbf{u},\mathbf{z})\notin B{t}}\right]).\ \end{aligned}
\mathrm{R a n d}{f}(\mathbf{v})\leq O(t^{-k}\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}h(\mathbf{x})]+k\sqrt{t}).
Now suppose that $\mathrm{Rand}_f(\mathbf{v}) \geq \alpha$. Choose $t = (c\alpha/k)^2$, where $c > 0$ is a sufficiently small universal constant. By the preceding inequality, $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}h(\mathbf{x})] \geq \Omega(\alpha t^k)$. By Hölder's inequality and Gaussian hypercontractivity, for every nonempty $I \subseteq [k]$,\left|\prod_{i\in I}q_{i}\right|_{2}\leq(2|I|)^{|I|}\leq(2k)^{k}.
Consequently, $\|h\|_2 \leq H_k = 2(2k)^k$. Taking $p(\mathbf{x}) = \frac{h(\mathbf{x})}{H_k}$, we finish the proof. That is to say once we can write each $q_i$ that defines $f(\mathbf{x})$ in a special form of $a_i(\mathbf{z}) + \mathbf{u}_i \cdot \mathbf{w}$, then we can run a singular value decomposition of the bilinear form $\mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}p]$ to find the directions in the $\mathbf{w}$ space that is important to $f$. To use this fact to design a learning algorithm for learning a general intersection of $k$ PTFs, the intuition follows from Section 3 and Section 4. By Theorem 6.2, the subspace $V$ can be chosen so that for every $\mathbf{v} \perp V$, $\mathrm{Rand}_f(\mathbf{v})$ is tiny. By Theorem 4.1, we know that $f$ must be close to a $(\tau, V)$-regular instance for some sufficiently small $\tau$. This implies some form of Gaussian comparison can be done, the random polynomial vector, $(\mathbf{z}, N_{\mathbf{u}_1}(\mathbf{z}, \mathbf{w}), \ldots, N_{\mathbf{u}_k}(\mathbf{z}, \mathbf{w}))$, where $\mathbf{z}, \mathbf{w} \sim \mathcal{N}(0, \mathbf{I})$ and $N_{\mathbf{u}_i}(\mathbf{z}, \mathbf{w}) = (\mathbf{b}_i + \mathbf{L}_i^\top \mathbf{z})^\top \mathbf{w} + \mathbf{w}^\top \mathbf{A}_i \mathbf{w} - \mathrm{tr}(\mathbf{A}_i)$ is close to $(\mathbf{z}, \mathbf{u}_1 \cdot G, \ldots, \mathbf{u}_k \cdot G)$, where $G$ is an independent Gaussian. Then, since we are able to use the SVD type method in the idealized Gaussian model, we translate this into the original model over $\mathbb{R}^d$ that we care about. Recall that the bilinear form we consider in Lemma 9.2 satisfies\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}p]=\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p\partial{\mathbf{v}}f],
which is the key property used in the proof of Lemma 9.2. However, in the set up we care about a vector $\mathbf{v}$ represents a polynomial $N_{\mathbf{v}}$ instead of a point in $\mathbb{R}^d$, which makes the notion $\partial_v f$ not well defined in our set up. So, the next step will be to properly design a bilinear form in the space we are working on to preserve the property of $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}p] = \mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p\partial_{\mathbf{v}}f]$ in some way so that we can use Gaussian comparison to show that an SVD over it can recover important $N_{\mathbf{v}}$. Specifically, under the idealized Gaussian model, since $f(\mathbf{x}) = \mathbb{1}\{q_1(\mathbf{z}, G) \geq 0, \ldots, q_k(\mathbf{z}, G) \geq 0\}$, which can be seen as a function of $q_1, \ldots, q_k$, for a unit vector $\mathbf{v}$ in $V^\perp$, we have\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M{\mathbf{v}}p]=\mathbf{E}{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[p\partial{\mathbf{v}}f]=\sum_{i=1}^{k}(\mathbf{v}\cdot\mathbf{u}{i}){\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p\frac{\partial f}{\partial q{i}}]. \tag{60}
We would like to build another bilinear form $B_f : \mathcal{S} \times P_{\leq 2k}(\mathbb{R}^d)$ such that for every $\mathbf{v} \in \mathcal{S}$ and for every polynomial $p$, $\left|B_f(\mathbf{v}, p) - \sum_{i=1}^k (\mathbf{v} \cdot \mathbf{u}_i) \mathbf{E}_{\mathbf{x} \sim \mathcal{N}(0, \mathbf{I})}[p \frac{\partial f}{\partial q_i}]\right|$ is small. If this approximation holds, we can recover the subspace $\bar{V}$ by using the large singular vector spaces of $B_f$. The proof follows Gaussian comparison results that we have established earlier. We give an overview about this. On the one hand, for every $\mathbf{v} \perp \text{span}(\mathbf{u}_1, \ldots, \mathbf{u}_k)$, $|B_f(\mathbf{v}, p)|$ is small, which implies that $B_f$ is approximately low-rank. On the other hand, by the special certificate polynomial we construct in Lemma 9.2 and gaussian comparison, every important direction $\mathbf{v}$ must be captured in the large singular vector spaces of $B_L$. This implies that if we take the top $k$ singular vectors of this bilinear form $B_f$ and span a subspace $\bar{V}$, then any vector $\mathbf{u} \perp \bar{V}$ cannot introduce large error in the idealized Gaussian model. Thus, Lemma 3.7 immediately shows that we can search an intersection of $k$ PTFs in the found subspace together with $P_{\leq 2}(V)$ that is sufficiently close to $f$. We next formalize this argument. We first describe the approximation property required of the bilinear form, without specifying how it is constructed. Fix a smooth function $\chi : \mathbb{R} \to [0,1]$ equal to zero on $(-\infty,-1]$ and one on $[1,\infty)$. For $h \in (0,1)$, define\psi_{h}(t_{1},\ldots,t_{k})=\prod_{i=1}^{k}\chi(t_{i}/h),\qquad f_{h}=\psi_{h}(q_{1},\ldots,q_{k}),\qquad\widetilde{f}{h}=\psi{h}(\widetilde{q}{1},\ldots,\widetilde{q}{k}).
\frac{\partial f_{h}}{\partial q_{i}}:=\partial_{i}\psi_{h}(q_{1},\ldots,q_{k}).
These regularized partial derivatives are used only in the analysis. In particular, the algorithm will not need the defining polynomials or values of $f_{h}$. For a bilinear form on $\mathcal{S} \times \mathcal{P}_{\leq 2k}(\mathbb{R}^d)$, set|B|{\mathrm{o p}}=\sup{|\mathbf{v}|\leq1,|p|_{2}\leq1}|B(\mathbf{v},p)|.
Representing both spaces in orthonormal bases identifies this with the usual matrix operator norm; the left singular vectors belong to $\mathcal{S}$. Lemma 9.3 (Subspace recovery from derivative approximation). Let $q_1, \ldots, q_k$ satisfy the normalization above and suppose each $q_i$ is $(\tau, V)$-regular, with $\tau \in (0,1)$. Let $h \in (0,1)$ and $\alpha \in (0,1/2)$. Suppose a bilinear form $B_f: \mathcal{S} \times \mathcal{P}_{\leq 2k}(\mathbb{R}^d) \to \mathbb{R}$ satisfies, for every $\mathbf{v} \in \mathcal{S}$ and $p \in \mathcal{P}_{\leq 2k}(\mathbb{R}^d)$,\left|B_{f}(\mathbf{v},p)-\sum_{i=1}^{k}\langle\mathbf{v},\mathbf{u}{i}\rangle{\mathbf{z},\mathbf{w}}\mathbf{E}\left[p\frac{\partial f_{h}}{\partial q_{i}}\right]\right|\leq\xi|\mathbf{v}||p|_{2}. \tag{61}
Let $\widehat{B}$ satisfy $\|\widehat{B} - B_f\|_{\mathrm{op}} \leq \nu$, and let $\bar{V} \subseteq \mathcal{S}$ be the span of its top $\min\{k, \dim \mathcal{S}\}$ left singular vectors. There is $C_k = 2^{\mathcal{O}(k)}$ such that, if2\xi+2\nu+C_{k}\big(h^{1/4}+\tau h^{-3}\big)\leq\frac{\beta_{k}(\alpha)}{2}, \tag{62}
then there exists an intersection $g = \mathbf{1}\{g_i \geq 0 \text{ for all } i \in [k]\}$ withg_{i}\in\mathcal{P}{\leq2}(V)\oplus{N{\mathbf{u}}:\mathbf{u}\in\bar{V}},\qquad\mathbf{P r}{\mathbf{z},\mathbf{w}}[f\neq g]\leq C{\mathrm{t r},k}(k\alpha+\tau)^{1/20}.
Here $C_{\mathrm{tr},k}$ is the constant in the quantitative conclusion of Lemma 3.7. Proof of Lemma 9.3. If $\bar{V} = \mathcal{S}$, take $g = f$. We henceforth assume $k < \dim \mathcal{S}$. Define the bilinear formA_{h}(\mathbf{v},p)=\sum_{i=1}^{k}\langle\mathbf{v},\mathbf{u}{i}\rangle{\mathbf{z},\mathbf{w}}\mathbf{E}\left[p\frac{\partial f_{h}}{\partial q_{i}}\right].
It has rank at most $k$, and (61) gives $\|B_f - A_h\|_{\mathrm{op}} \leq \xi$. Thus $\sigma_{k+1}(\widehat{B}) \leq \xi + \nu$. By the definition of $\bar{V}$, for every unit $\mathbf{v} \perp \bar{V}$,\sup_{\deg(p)\leq2k,|p|{2}\leq1}|B{f}(\mathbf{v},p)|\leq\xi+2\nu. \tag{63}
We show that every such direction has small randomized error in the ideal Gaussian model. Suppose instead that $\text{Rand}_{\tilde{f}}(\mathbf{v}) \geq \alpha$. Let $P$ be the certificate from Lemma 9.2. Then\mathbf{E}{\mathbf{z},G}[P(\widetilde{q})\partial{\mathbf{v}}\widetilde{f}]\geq\beta_{k}(\alpha). \tag{64}
We will compare this quantity with $A_{h}(\mathbf{v}, P(q))$. First, if $Q_1, \ldots, Q_k$ are degree-at-most-two polynomials of any standard Gaussian input with $\|Q_i\|_2 \leq 1$, Hölder's inequality and Gaussian hypercontractivity give\left|\prod_{i\in J}Q_{i}\right|{2}\leq\prod{i\in J}|Q_{i}|_{2|J|}\leq(2|J|-1)^{|J|}\leq(2k)^{k}\quad(J\neq\varnothing).
The empty product has norm one. Every partial derivative of P of order at most two is a signed sum of at most two such products divided by $H_{k}$. Consequently,|P(Q)|{2}\leq1,\qquad|(\partial{a}P)(Q)|{2}\leq1,\qquad|(\partial{a b}P)(Q)|_{2}\leq1. \tag{65}
In particular, $P(q)$ and $P(\widetilde{q})$ have degree at most 2k and norm at most one. For $s \in [0,1]$, introduce the interpolationq_{s,i}=a_{i}(\mathbf{z})+\sqrt{s}N_{\mathbf{u}{i}}(\mathbf{z},\mathbf{w})+\sqrt{1-s}\langle\mathbf{u}{i},G\rangle,\qquad Q_{s}=(q_{s,1},\ldots,q_{s,k}).
The residuals are centered conditional on $\mathbf{z}$, and $G$ is independent of $(\mathbf{z}, \mathbf{w})$. Therefore every $q_{s,i}$ has degree at most two and $L_2$ norm one under the joint input $(\mathbf{z}, \mathbf{w}, G)$. Fix $i \in [k]$ and put $J_i(t) = P(t)\partial_i\psi_h(t)$. The interpolation identity in Fact 3.5, applied to $J_i$, gives\frac{d}{d s}\mathbf{E}{\mathbf{z},\mathbf{w},G}[J{i}(Q_{s})]=\frac{1}{2}\sum_{a,b=1}^{k}\mathbf{E}{\mathbf{z},\mathbf{w},G}[(\Gamma{a b}-\Sigma_{a b})\partial_{a b}J_{i}(Q_{s})], \tag{66}
where, writing $c_i(\mathbf{z}) = b_i + L_i^\top \mathbf{z}$,\Gamma_{a b}=(c_{a}+\mathbf{A}{a}\mathbf{w})^{\top}(c{b}+2\mathbf{A}{b}\mathbf{w}),\qquad\Sigma{a b}=\langle\mathbf{u}{a},\mathbf{u}{b}\rangle.
The regularity estimate of Fact 3.6 gives $\|\Gamma_{ab} - \Sigma_{ab}\|_2 \leq C\tau$. Although $J_i$ need not have bounded second derivatives, it and its derivatives have polynomial growth. Thus the differentiation and Gaussian integrations by parts in Fact 3.5 remain valid. We use their identity directly, before taking a supremum norm of the second derivatives. For $j \leq 3$, the order-$j$ partial derivatives of $\psi_h$ are bounded by $C_j h^{-j}$. Moreover,\partial_{a b}J_{i}=(\partial_{a b}P)\partial_{i}\psi_{h}+(\partial_{a}P)\partial_{b i}\psi_{h}+(\partial_{b}P)\partial_{a i}\psi_{h}+P\partial_{a b i}\psi_{h}.
\sup_{s\in[0,1]}|\partial_{ab}J_{i}(Q_{s})|_{2}\leq Ch^{-3}.
\left|\mathbf{E}{\mathbf{z},\mathbf{w}}[P(q)\partial{i}\psi_{h}(q)]-\mathbf{E}{\mathbf{z},G}[P(\widetilde{q})\partial{i}\psi_{h}(\widetilde{q})]\right|\leq C k^{2}\tau h^{-3}. \tag{67}
All endpoint expectations are continuous by Gaussian moment bounds and polynomial growth. Since $\|\mathbf{u}_i\| \leq 1$ and $\|\mathbf{v}\| = 1$, summing (67) with weights $\langle \mathbf{v}, \mathbf{u}_i \rangle$ and applying the ideal chain rule gives\left|A_{h}(\mathbf{v},P(q))-\mathbf{E}{\mathbf{z},G}[P(\widetilde{q})\partial{\mathbf{v}}\widetilde{f}_{h}]\right|\leq C k^{3}\tau h^{-3}. \tag{68}
\partial_{\mathbf{v}}\widetilde{f}{h}=\sum{i=1}^{k}\langle\mathbf{v},\mathbf{u}{i}\rangle\partial{i}\psi_{h}(\widetilde{q}).
|\widetilde{f}-\widetilde{f}{h}|{2,\mathbf{z},G}^{2}\leq\sum_{i=1}^{k}\mathbf{P}{\mathbf{z},G}[\vert\widetilde{q}{i}\vert\leq h]\leq C k\sqrt{h}.
For a degree-at-most-2k polynomial $R(\mathbf{z}, G)$, Gaussian integration by parts and the normalized Hermite recurrence give\mathbf{E}{\mathbf{z},G}[R\partial{\mathbf{v}}H]=\mathbf{E}{\mathbf{z},G}[H((\mathbf{v}\cdot G)R-\partial{\mathbf{v}}R)],\qquad|(\mathbf{v}\cdot G)R-\partial_{\mathbf{v}}R|{2}\leq\sqrt{2k+1}|R|{2}.
These identities also hold for bounded $H$ in the weak sense. Taking $R = P(\widetilde{q})$ and $H = \widetilde{f} - \widetilde{f}_h$ yields\left|\mathbf{E}{\mathbf{z},G}[P(\widetilde{q})\partial{\mathbf{v}}(\widetilde{f}-\widetilde{f}_{h})]\right|\leq C\sqrt{k(2k+1)}h^{1/4}.
\left|A_{h}(\mathbf{v},P(q))-\mathbf{E}{\mathbf{z},G}[P(\widetilde{q})\partial{\mathbf{v}}\widetilde{f}]\right|\leq C_{k}(h^{1/4}+\tau h^{-3}). \tag{69}
B_{f}(\mathbf{v},P(q))\geq\beta_{k}(\alpha)-\xi-C_{k}(h^{1/4}+\tau h^{-3}).
Since $\|P(q)\|_2 \leq 1$, comparison with (63) would imply\beta_{k}(\alpha)\leq2\xi+2\nu+C_{k}(h^{1/4}+\tau h^{-3})\leq\beta_{k}(\alpha)/2,
\mathrm{Rand}_{\widetilde{f}}(\mathbf{v})<\alpha\qquad\mathrm{foreveryunit~}\mathbf{v}\perp\bar{V}.
E=\operatorname{s p a n}{\operatorname{p r o j}{\bar{V}^{\perp}}\mathbf{u}{i}:i\in[k]}.
Then $E \subseteq \bar{V}^{\perp}$, $\dim(E) \leq k$, and $\widetilde{f}$ depends on the $\bar{V}^{\perp}$ coordinates only through their projection onto $E$. Choose an orthonormal basis of $E$ and independently resample its coordinates one at a time. At each step the current Gaussian vector is standard and independent of $\mathbf{z}$, so the probability that the label changes is less than $\alpha$. A union bound therefore gives\mathbf{P}{\mathbf{r}}{\mathbf{z},G,G^{\prime}}\big[\widetilde{f}(\mathbf{z},G)\neq\widetilde{f}(\mathbf{z},\operatorname{p r o j}{\bar{V}}G+\operatorname{p r o j}{\bar{V}^{\perp}}G^{\prime})\big]\leq k\alpha,
where $G'$ is an independent standard Gaussian on $\mathcal{S}$. Applying Lemma 3.7 with $\delta = \min\{k\alpha, 1\}$ gives an intersection with defining polynomials in $\mathcal{P}_{\leq 2}(V) \oplus \{N_{\mathbf{u}} : \mathbf{u} \in \bar{V}\}$ and error at most $C_{\mathrm{tr},k}(k\alpha + \tau)^{1/20}$, as required. Finally it suffices to design a bilinear form that satisfies the requirement in the statement of Lemma 9.3. The intuition of designing this bilinear form is simple. Recall that in the Gaussian model, by integral by part, for a direction $\mathbf{v}$ and a (smooth) function $f$ and polynomial $p$, we have $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[(\mathbf{v}\cdot\mathbf{x})f(\mathbf{x})] = \mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[\partial_{\mathbf{v}}f]$, as well as $\mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[f(\mathbf{x})M_{\mathbf{v}}p] = \mathbf{E}_{\mathbf{x}\sim\mathcal{N}(0,\mathbf{I})}[\partial_{\mathbf{v}}f p]$. We would like to map these two properties to the setup, where we replace $\mathbf{v}$ by the corresponding polynomial $N_{\mathbf{v}}$. Using integral by part, we have\begin{aligned}\mathbf{E}{(\mathbf{z},\mathbf{w})\sim\mathcal{N}(0,\mathbf{I})}[N{\mathbf{u}}(\mathbf{z},\mathbf{w})f]&=\mathbf{E}{(\mathbf{z},\mathbf{w})\sim\mathcal{N}(0,\mathbf{I})}[((\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{w}+\mathbf{w}^{\top}\mathbf{A}\mathbf{w}-\mathrm{tr}(\mathbf{A}))f]\&=\mathbf{E}{(\mathbf{z},\mathbf{w})\sim\mathcal{N}(0,\mathbf{I})}[(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\nabla_{\mathbf{w}}f+\mathrm{tr}(\mathbf{A}\nabla_{\mathbf{w}}^{2}f)]\end{aligned}
We simplify the notation by defining $d_{\mathbf{u}}(f) = (\mathbf{b} + \mathbf{L}^{\top}\mathbf{z})^{\top}\nabla_{\mathbf{w}}f + \mathrm{tr}(\mathbf{A}\nabla_{\mathbf{w}}^{2}f)$, which is used as a suitable replacement of partial derivative. We give the following guarantee under the regularity assumption. Lemma 9.4. Let $V \subseteq \mathbb{R}^d$, and write $\mathbf{x} = \mathbf{z} + \mathbf{w}$, where $\mathbf{z} \in V$ and $\mathbf{w} \in V^\perp$ are independent standard Gaussian vectors. For $i \in [k]$, let $q_i(\mathbf{z}, \mathbf{w}) = a_i(\mathbf{z}) + N_{\mathbf{u}_i}(\mathbf{z}, \mathbf{w})$, where $\mathbf{u}_i = (\mathbf{b}_i, \mathbf{L}_i, \mathbf{A}_i)$ and $N_{\mathbf{u}_i}(\mathbf{z}, \mathbf{w}) = (\mathbf{b}_i + \mathbf{L}_i^\top \mathbf{z})^\top \mathbf{w} + \mathbf{w}^\top \mathbf{A}_i \mathbf{w} - \mathrm{tr}(\mathbf{A}_i)$. Suppose that each $q_i$ is $(\tau, V)$-regular and $\mathrm{Var}(q_i) \leq 1$. Let $\psi: \mathbb{R}^k \to \mathbb{R}$ be a $C^2$ function with bounded first and second derivatives, and setF(\mathbf{z},\mathbf{w})=\psi(q_{1}(\mathbf{z},\mathbf{w}),\ldots,q_{k}(\mathbf{z},\mathbf{w})).
For $j \in \{1,2\}$, defineD_{j}(\psi)=\max_{i_{1},\ldots,i_{j}\in[k]}|\partial_{i_{1}}\cdots\partial_{i_{j}}\psi|_{\infty}.
Then for every unit coefficient direction $\mathbf{v} = (b, L, \mathbf{A})$ and every polynomial $p$,\left|\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p d{\mathbf{v}}F]-\sum_{i=1}^{k}\langle\mathbf{v},\mathbf{u}{i}\rangle{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p\partial{i}\psi(q_{1},\ldots,q_{k})]\right|\leq C\tau\big(K D_{1}(\psi)+k^{2}D_{2}(\psi)\big)|p|_{2},
where C > 0 is a universal constant. Proof of Lemma 9.4. To simplify the notation, write $a(\mathbf{z}) = b + L^\top \mathbf{z}, a_i(\mathbf{z}) = b_i + L_i^\top \mathbf{z}$, and let $g_i(\mathbf{z}, \mathbf{w}) = \nabla_{\mathbf{w}} q_i(\mathbf{z}, \mathbf{w}) = a_i(\mathbf{z}) + 2\mathbf{A}_i \mathbf{w}$. Since $\nabla_{\mathbf{w}}^2 q_i = 2\mathbf{A}_i$, the chain rule gives $\nabla_{\mathbf{w}} F = \sum_{i=1}^k \partial_i \psi(q) g_i$ and $\nabla_{\mathbf{w}}^2 F = \sum_{i=1}^k 2\partial_i \psi(q) \mathbf{A}_i + \sum_{i,j=1}^k \partial_{ij} \psi(q) g_i g_j^\top$, where $q = (q_1, \ldots, q_k)$. Substituting these expressions into the definition of $d_{\mathbf{v}}F$, we obtaind_{\mathbf{v}}F=a(\mathbf{z})^{\top}\nabla_{\mathbf{w}}F+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}F)=\sum_{i=1}^{k}\partial_{i}\psi(q)\left(a(\mathbf{z})^{\top}g_{i}+2\langle\mathbf{A},\mathbf{A}{i}\rangle{F}\right)+\sum_{i,j=1}^{k}\partial_{i j}\psi(q)g_{i}^{\top}\mathbf{A}g_{j}.
For $i \in [k]$, define $K_i(\mathbf{z}, \mathbf{w}) = a(\mathbf{z})^\top g_i(\mathbf{z}, \mathbf{w}) + 2\langle \mathbf{A}, \mathbf{A}_i \rangle_F$. By independence and Gaussian orthogonality,\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[K{i}]=\mathbf{b}^{\top}\mathbf{b}{i}+\langle\mathbf{L},\mathbf{L}{i}\rangle_{F}+2\langle\mathbf{A},\mathbf{A}{i}\rangle{F}=\langle\mathbf{v},\mathbf{u}_{i}\rangle.
We first show that $\|K_i - \langle \mathbf{v}, \mathbf{u}_i \rangle\|_2 \leq C\tau$. Expanding the centered polynomial givesK_{i}-\langle\mathbf{v},\mathbf{u}{i}\rangle=\mathbf{b}^{\top}\mathbf{L}{i}^{\top}\mathbf{z}+(\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{b}{i}+\mathbf{z}^{\top}\mathbf{L}\mathbf{L}{i}^{\top}\mathbf{z}-\langle\mathbf{L},\mathbf{L}{i}\rangle{F}+2(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{A}_{i}\mathbf{w}.
By $(\tau,V)$-regularity and Fact 3.2, $\|\mathbf{b}_i\|_2$, $\|\mathbf{L}_i\|_{\mathrm{op}}$, $\|\mathbf{A}_i\|_{\mathrm{op}} \leq \tau$. Moreover, since $\mathbf{v}$ is a unit coefficient direction, $\|\mathbf{b}\|_2^2 + \|\mathbf{L}\|_F^2 + 2\|\mathbf{A}\|_F^2 = 1$. Consequently,|\mathbf{b}^{\top}\mathbf{L}{i}^{\top}\mathbf{z}|{2}=|\mathbf{L}{i}\mathbf{b}|{2}\leq\tau,
|(\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{b}{i}|{2}=|\mathbf{L}\mathbf{b}{i}|{2}\leq\tau,
|\mathbf{z}^{\top}\mathbf{L}\mathbf{L}{i}^{\top}\mathbf{z}-\langle\mathbf{L},\mathbf{L}{i}\rangle_{F}|{2}\leq\sqrt{2}|\mathbf{L}\mathbf{L}{i}^{\top}|_{F}\leq\sqrt{2}\tau.
For the remaining term, conditioning on $\mathbf{z}$ and taking the expectation over $\mathbf{w}$ gives|2(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{A}{i}\mathbf{w}|{2}^{2}=4\mathbf{E}{\mathbf{z}}\left[|\mathbf{A}{i}(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})|{2}^{2}\right]\leq4|\mathbf{A}{i}|{\mathrm{op}}^{2}(|\mathbf{b}|{2}^{2}+|\mathbf{L}|_{F}^{2})\leq4\tau^{2}.
Combining the four bounds proves $\|K_i - \langle \mathbf{v}, \mathbf{u}_i \rangle\|_2 \leq C\tau$. Next, we show that for every $i,j \in [k]$, $\|g_i^\top \mathbf{A} g_j\|_2 \leq C\tau$. By the variance bound on $q_i$ and Gaussian orthogonality, $\|\mathbf{b}_i\|_2^2 + \|\mathbf{L}_i\|_F^2 + 2\|\mathbf{A}_i\|_F^2 \leq 1$. It follows that\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}|g{i}|{2}^{2}=|\mathbf{b}{i}|{2}^{2}+|\mathbf{L}{i}|{F}^{2}+4|\mathbf{A}{i}|_{F}^{2}\leq2.
Since $g_i$ is an affine Gaussian vector, Gaussian fourth-moment bounds imply $\left(\mathbf{E}_{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\|g_i\|_2^4\right)^{1/4} \leq C$. On the other hand,\begin{aligned}\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}|\mathbf{A}g{j}|{2}^{2}&=|\mathbf{A}\mathbf{b}{j}|{2}^{2}+|\mathbf{A}\mathbf{L}{j}^{\top}|{F}^{2}+4|\mathbf{A}\mathbf{A}{j}|{F}^{2}\&\leq|\mathbf{A}|{F}^{2}\left(|\mathbf{b}{j}|{2}^{2}+|\mathbf{L}{j}|{\mathrm{op}}^{2}+4|\mathbf{A}{j}|{\mathrm{op}}^{2}\right)\&\leq C\tau^{2}.\end{aligned}
Applying the same fourth-moment bound gives $\left(\mathbf{E}_{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\|\mathbf{A}g_j\|_2^4\right)^{1/4} \leq C\tau$. Thus, by Cauchy–Schwarz,|g_{i}^{\top}\mathbf{A}g_{j}|{2}\leq\left(\mathbf{E}|g{i}|{2}^{4}\right)^{1/4}\left(\mathbf{E}|\mathbf{A}g{j}|_{2}^{4}\right)^{1/4}\leq C\tau.
Finally, using the expansion of $d_{\mathbf{v}}F$,\begin{align*}&\left|\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p d{\mathbf{v}}F]-\sum_{i=1}^{k}\langle\mathbf{v},\mathbf{u}{i}\rangle{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p\partial{i}\psi(q)]\right|\&\leq\sum_{i=1}^{k}\left|\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p\partial{i}\psi(q)(K_{i}-\langle\mathbf{v},\mathbf{u}{i}\rangle)]\right|+\sum{i,j=1}^{k}\left|\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\left[p\partial{ij}\psi(q)g_{i}^{\top}\mathbf{A}g_{j}\right]\right|\&\leq|p|{2}\left(D{1}(\psi)\sum_{i=1}^{k}|K_{i}-\langle\mathbf{v},\mathbf{u}{i}\rangle|{2}+D_{2}(\psi)\sum_{i,j=1}^{k}|g_{i}^{\top}\mathbf{A}g_{j}|{2}\right)\&\leq C\tau\big(k D{1}(\psi)+k^{2}D_{2}(\psi)\big)|p|_{2}.\end{align*}
This completes the proof. To complete the proof, we only need to find an operator $T_{\mathbf{u}}$ such that $\mathbf{E}_{(\mathbf{z},\mathbf{w})\sim\mathcal{N}(0,\mathbf{I})}[pd_{\mathbf{u}}f] = \mathbf{E}_{(\mathbf{z},\mathbf{u})\sim\mathcal{N}(0,\mathbf{I})}[fT_{\mathbf{u}}p]$, for every polynomial $p$. Such an operator is obtained through integration by parts. Lemma 9.5. Let $\mathbf{v} = (b, L, \mathbf{A})$ be a residual coefficient direction and let p be a polynomial. DefineT_{\mathbf{v}}p=p N_{\mathbf{v}}(\mathbf{z},\mathbf{w})-(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z}+2\mathbf{A}\mathbf{w})^{\top}\nabla_{\mathbf{w}}p+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}p),
N_{\mathbf{v}}(\mathbf{z},\mathbf{w})=(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{w}+\mathbf{w}^{\top}\mathbf{A}\mathbf{w}-\mathrm{t r}(\mathbf{A}).
Then, for every sufficiently smooth function $F$,\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p d{\mathbf{v}}F]=\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[F T{\mathbf{v}}p].
The identity also holds for bounded measurable $F$ when $d_{\mathbf{v}}F$ is interpreted weakly. Proof of Lemma 9.5. Recall thatd_{\mathbf{v}}F=(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\nabla_{\mathbf{w}}F+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}F).
We apply Gaussian integration by parts with respect to $\mathbf{w}$, keeping $\mathbf{z}$ fixed. For the linear part, since $b + L^{\top} \mathbf{z}$ does not depend on $\mathbf{w}$, we have\mathbf{E}{\mathbf{w}}[p(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\nabla{\mathbf{w}}F]=\mathbf{E}{\mathbf{w}}\left[F\left(p(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\mathbf{w}-(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z})^{\top}\nabla{\mathbf{w}}p\right)\right].
For the quadratic part, using the symmetry of $\mathbf{A}$ and applying Gaussian integration by parts once gives\mathbf{E}{\mathbf{w}}[p\mathrm{t r}(\mathbf{A}\nabla{\mathbf{w}}^{2}F)]=\mathbf{E}{\mathbf{w}}[(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla{\mathbf{w}}p)^{\top}\nabla_{\mathbf{w}}F].
\mathbf{E}{\mathbf{w}}[(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla{\mathbf{w}}p)^{\top}\nabla_{\mathbf{w}}F]=\mathbf{E}{\mathbf{w}}\left[F\big(\mathbf{w}^{\top}(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla{\mathbf{w}}p)-\mathrm{d i v}{\mathbf{w}}(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla{\mathbf{w}}p)\big)\right].
Notice that $\mathrm{div}_{\mathbf{w}}(p\mathbf{A}\mathbf{w}) = (\mathbf{A}\mathbf{w})^{\top}\nabla_{\mathbf{w}}p + p\mathrm{tr}(\mathbf{A})$, $\mathrm{div}_{\mathbf{w}}(\mathbf{A}\nabla_{\mathbf{w}}p) = \mathrm{tr}(\mathbf{A}\nabla_{\mathbf{w}}^{2}p)$. Therefore,\mathbf{w}^{\top}(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla_{\mathbf{w}}p)-\mathrm{d i v}{\mathbf{w}}(p\mathbf{A}\mathbf{w}-\mathbf{A}\nabla{\mathbf{w}}p)=p(\mathbf{w}^{\top}\mathbf{A}\mathbf{w}-\mathrm{t r}(\mathbf{A}))-2(\mathbf{A}\mathbf{w})^{\top}\nabla_{\mathbf{w}}p+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}p).
\mathbf{E}{\mathbf{w}}[p\mathrm{t r}(\mathbf{A}\nabla{\mathbf{w}}^{2}F)]=\mathbf{E}{\mathbf{w}}\left[F\big(p(\mathbf{w}^{\top}\mathbf{A}\mathbf{w}-\mathrm{t r}(\mathbf{A}))-2(\mathbf{A}\mathbf{w})^{\top}\nabla{\mathbf{w}}p+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}p)\big)\right].
Combining the linear and quadratic parts, and taking expectation over $\mathbf{z}$, we obtain\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[p d{\mathbf{v}}F]=\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}\left[F\big(p N{\mathbf{v}}(\mathbf{z},\mathbf{w})-(\mathbf{b}+\mathbf{L}^{\top}\mathbf{z}+2\mathbf{A}\mathbf{w})^{\top}\nabla_{\mathbf{w}}p+\mathrm{t r}(\mathbf{A}\nabla_{\mathbf{w}}^{2}p)\big)\right]=\mathbf{E}{\mathbf{z},\mathbf{w}\sim\mathcal{N}(0,\mathbf{I})}[F T{\mathbf{v}}p],
as required. For bounded measurable $F$, the same identity defines the weak action of $d_{\mathbf{v}}F$ on polynomial test functions, and the conclusion follows by smooth approximation. #### 9.2 Proof of Theorem 9.1 We now combine the dimension-reduction guarantees with the known-lifted-subspace learner of Theorem 8.1. The regular intersection supplied by Theorem 4.1 and the approximating intersection supplied by Lemma 9.3 to prove Theorem 9.1. Proof of Theorem 9.1. Let $C_{8}$ be the constant in the approximation requirement of Theorem 8.1, and putL=k^{2}\log^{3}(2k)\log^{2}(1/\varepsilon),\qquad\rho=2^{-C_{8}L}.
Increase $C_{tr,k}$ to be at least one. Choose\begin{aligned}a&=\left(\frac{\rho}{2C_{\mathrm{tr},k}}\right)^{20},&\alpha&=\frac{a}{2k},&\beta&=\beta_{k}(\alpha),\\tau&=\min\left{\frac{a}{2},\left(\frac{\beta}{8A_{k}}\right)^{13}\right},&\nu_{\mathrm{est}}&=\frac{\beta}{16},&\eta_{0}&=\min\left{\frac{\rho}{2},\left(\frac{\beta}{16K_{k}}\right)^{2}\right}.\end{aligned}
\eta_{0}+C_{\mathrm{t r},k}(k\alpha+\tau)^{1/20}\leq\rho\quad\mathrm{a n d}\quad A_{k}\tau^{1/13}+2\nu_{\mathrm{e s t}}+2K_{k}\sqrt{\eta_{0}}\leq\frac{3\beta}{8}. \tag{70}
All logarithms of the inverse parameters are $O_{k}(L)$. Finding the physical subspace. Set\theta=\alpha_{k}(\eta_{0},\tau)=\frac{\tau^{2}\eta_{0}^{2}}{C_{4}k^{12}},\qquad\ell=2k+1,
where $C_{4}$ is the constant in Theorem 4.1. Let $2\gamma$ be a valid certificate lower bound from Theorem 5.1 at randomized-error level $\theta$; we may take $\gamma=\frac{1}{2}(\theta/(C_{5}k))^{2^{C_{5}k}}$ for a sufficiently large universal $C_{5}$. Apply Theorem 6.2 to the original labels with degree budget $\ell$ and correlation threshold $\gamma$. With failure probability at most $\delta/3$, it returns a subspace $V$ such thatn:=\dim V\leq O(\ell/\gamma^{2}),\qquad\mathrm{R a n d}_{f^{*}}(\mathbf{v})<\theta\quad\mathrm{f o re v e r yu n i t~}\mathbf{v}\perp V.
B_{y}(e_{a},H_{\gamma})=\mathop{\bf E}{(\mathbf{x},y)\sim D}[y T{e_{a}}H_{\gamma}(\mathbf{x})].
Each sample contribution has second moment at most $K_{k}^{2}$. Entrywise median-of-means estimates with accuracy $\nu_{\mathrm{est}}/\sqrt{RJ}$ therefore give $\|\widehat{B}-B_{y}\|_{\mathrm{op}}\leq \nu_{\mathrm{est}}$ with failure probability at most $\delta/3$, usingO\left(K_{k}^{2}R J\nu_{\mathrm{est}}^{-2}\log\frac{2R J}{\delta}\right)
examples. The operator-norm conclusion follows from the Frobenius-norm bound. If $R=0$, this estimation step is omitted. Constructing the matrix and taking its singular value decomposition uses $(d+1)^{O(k)}\mathrm{poly}_{k}(1/\nu_{\mathrm{est}},\log(2/\delta))$ arithmetic operations. By (70), Lemma 9.3 applies to its leading left singular subspace $\bar{V}$, of dimension at most $k$. It supplies an intersection $g$ with defining polynomials in $\mathcal{H} = \mathcal{P}_{\leq 2}(V) \oplus \{N_{\mathbf{u}} : \mathbf{u} \in \bar{V}\}$ and\mathbf{P r}{(\mathbf{x},y)\sim D}[g(\mathbf{x})\neq y]\leq\eta{0}+C_{\mathrm{t r},k}(k\alpha+\tau)^{1/20}\leq\rho.
Let $S \subseteq \mathbb{R}^N$ be the coefficient subspace satisfying\mathcal{H}=\mathbb{R}\oplus{u\cdot\Phi_{2}(\cdot):u\in S}.
Constants are excluded from $S$ and are treated separately in Theorem 8.1. Since the residual polynomials are orthogonal to $\mathcal{P}_{\leq 2}(V)$,r:=\dim S\leq\binom{n+2}{2}-1+k=\frac{n(n+3)}{2}+k. \tag{71}
Learning in the recovered subspace. Use a fresh batch and apply Theorem 8.1 to $S$ and the relabeled examples $(\mathbf{x}, 2y - 1)$, with accuracy $\varepsilon$ and failure probability $\delta/3$. The function $2g - 1$ satisfies its approximation hypothesis because $\rho = 2^{-C_8L}$. If its output is $h: \mathbb{R}^d \to \{-1, 1\}$, return $\widehat{f} = (h + 1)/2$. Conditionally on the successful preceding stages, its error against the original labels is at most $\varepsilon$. A union bound gives overall success probability at least $1 - \delta$. The degree statement follows from Theorem 8.1, since substituting quadratic features at most doubles the degree. Complexity. The parameter choices and Theorem 5.1 give\log(1/\gamma)=O_{k}(L),\qquad\log(n+2)=O_{k}(L),\qquad\log(r+2)=O_{k}(L).
(d+1)^{O(k)}2^{O_{k}(L)}\log^{2}(2/\delta).
Here polynomial factors in $\log(d+2)$ are absorbed into $(d+1)^{O(k)}$. By Theorem 8.1, the hinge-loss stage has sample and arithmetic cost at most(d+1)^{O(1)}(r+2)^{O(k^{2}\log^{2}(2k)\log(1/\varepsilon))}2^{O(k^{2}\log^{3}(2k)\log^{2}(1/\varepsilon))}\log^{2}(2/\delta).
Since $\log(r+2)=O_k(L)$ and $L=O_k(\log^2(1/\varepsilon))$, this is at most(d+1)^{O(1)}2^{O_{k}(L\log(1/\varepsilon))}\log^{2}(2/\delta)\leq(d+1)^{O(1)}2^{O_{k}(\log^{3}(1/\varepsilon))}\log^{2}(2/\delta).
Combining the bounds for the two dimension-reduction stages and hinge-loss minimization proves the claimed dependence on $d$ and $\varepsilon$. ## 10 Statistical Query Lower Bound In this section, we prove a statistical query (SQ) lower bound for learning intersections of degree-2 PTFs. We first recall the SQ model. Throughout this section, we use the equivalent $\{\pm1\}$-label convention. The SQ model was introduced by Kearns [Kea98] for learning Boolean functions in the PAC setting [Val84]. It provides access to approximate expectations of bounded functions through an oracle. The model has also been studied in unsupervised learning [Fel16], and many familiar techniques admit SQ implementations, including spectral algorithms, methods based on moments and tensors, and local search such as EM [FGR $^{+}$17, FGV17]. Definition 10.1 (Statistical Query Model). Let $D$ be a distribution over $\mathbb{R}^d \times \{\pm1\}$. For a tolerance parameter $\tau > 0$, the oracle $\text{STAT}_D(\tau)$ accepts a query function $\phi: \mathbb{R}^d \times \{\pm1\} \to [-1,1]$ and returns a value $a$ satisfying $|a - \mathbf{E}_{(\mathbf{x},y) \sim D}[\phi(\mathbf{x}, y)]| \leq \tau$. An SQ algorithm accesses $D$ through these oracle calls and may choose each query and its tolerance adaptively based on previous responses. Its guarantee must hold for every sequence of responses satisfying the tolerance bounds. The main theorem of this section is the following. Theorem 10.2. Let $k \in \mathbb{Z}_+$ and let $d \in \mathbb{Z}_+$ be sufficiently large depending on $k$. Any SQ algorithm that learns intersections of $k$ degree-2 PTFs with Gaussian marginals (as defined in Definition 1.2) to any constant error smaller than $1/2$ must either (i) use a query with tolerance at most $d^{-\Omega(k)}$, or (ii) make at least $2^{d^{\Omega(1)}}$ queries. The main technical fact of the section is the following. It states that there exists a function $g : \mathbb{R} \to \{\pm1\}$ that is discontinuous at at most 2k points and satisfies $\mathbf{E}_{t \sim \mathcal{N}(0,1)}[g(t)p(t)] = 0$ for every polynomial $p$ of degree at most 2k - 1. Fact 10.3. For every $k \in \mathbb{Z}_+$, there exists a function $g : \mathbb{R} \to \{\pm1\}$ that is discontinuous at at most 2k points and satisfies $\mathbf{E}_{t \sim \mathcal{N}(0,1)}[g(t)t^m] = 0$ for all $m \in \{0, \ldots, 2k-1\}$. Algorithm 6 LIFTEDSUBSPACELEARNING 1: Input: Sample access from $D$, a subspace $V \subseteq \mathbb{R}^d$ satisfying the condition of Section 9, accuracy $\epsilon$ and failure probability $\delta$ 2: Output: A hypothesis $\hat{f} : \mathbb{R}^d \to \{0,1\}$ 3: Let $m, W$ be the degree and norm bounds from Lemma 8.2 with accuracy $\epsilon/8$. Set $t = m/2$ and $\eta = (\epsilon/(20W))^2$. Choose $\xi$ as required by the subspace recovery guarantee for approximation error $\eta$. 4: Write $\mathbf{x} = \mathbf{z} + \mathbf{w}$, where $\mathbf{z} = \operatorname{proj}_V \mathbf{x}$ and $\mathbf{w} = \operatorname{proj}_{V^\perp} \mathbf{x}$. Let $\mathcal{S}$ be the space of residual degree-2 polynomials $N_{\mathbf{v}}(\mathbf{z}, \mathbf{w})$ defined in Section 9. 5: Let $R_1, \ldots, R_M$ be an orthonormal basis of $\mathcal{S}$ under the Gaussian $L_2$ inner product. 6: Draw $N = d^{O(k)} \operatorname{poly}(1/\xi, \log(1/\delta))$ independent examples $\{(\mathbf{x}^{(i)}, y^{(i)})\}_{i=1}^N$ from $D$. 7: Construct a matrix $\hat{B} \in \mathbb{R}^{M \times \dim(\mathcal{P} \leq 2k(\mathbb{R}^d))}$ such that, for every $a \in [M]$ and multi-index $\gamma$ with $|\gamma| \leq 2k$,\hat{B}{a,\gamma} = \frac{1}{N} \sum{i=1}^{N} y^{(i)} T_{R_a} H_{\gamma}(\mathbf{x}^{(i)}),
where $T_{R_a}$ is the operator in Lemma 9.5. 8: Let $\mathbf{u}_1, \ldots, \mathbf{u}_r$ be the top $r$ left singular vectors of $\hat{B}$, where $r = \min\{k, M\}$. SetU = \operatorname{span}\left{\sum_{a=1}^{M} (\mathbf{u}j){a} R_a : j \in [r]\right}.
9: Set $\mathcal{H} = \mathcal{P}_{\leq 2}(V) \oplus U$, and let $1, \phi_1, \ldots, \phi_{s-1}$ be an orthonormal basis of $\mathcal{H}$. 10: Construct the lifted polynomial feature map\Psi_t(\mathbf{x}) = \left( \prod_{j=1}^{s-1} \phi_j(\mathbf{x})^{\gamma_j} \right)_{|\gamma| \leq t}.
11: Using fresh samples from $D$, apply the bounded-norm hinge-loss minimization method of Section 8 to the features $\Psi_t(\mathbf{x})$ and labels $2y-1$, with degree budget $t$ and the corresponding coefficient-norm bound $R_{\epsilon,s}$. 12: Return $\hat{f}(\mathbf{x}) = \mathbf{1}\{\langle \hat{\theta}, \Psi_t(\mathbf{x}) \rangle \geq 0\}$, where $\hat{\theta}$ is the coefficient vector returned by hinge-loss minimization. Proof of Fact 10.3. We construct $g$ by taking a best $L_1$ approximation $p^*$ to $t^{2k}$ among polynomials of degree at most $2k-1$, and settingg(t)=\mathrm{s i g n}\big(p^{*}(t)-t^{2k}\big),
where $\mathrm{sign}(0) = 1$. The idea is that optimality of $p^{*}$ forces g to be orthogonal to every polynomial of degree at most 2k - 1, while the degree of $p^{*}(t) - t^{2k}$ bounds the number of discontinuities. We justify this construction by checking existence of the minimizer, the moment identities, and the discontinuity bound. First, let $\mathcal{P}_{2k-1}$ be the space of real polynomials of degree at most $2k-1$, and defineF(p):=\mathop{\bf E}_{t\sim\mathcal{N}(0,1)}\big[|p(t)-t^{2k}|\big].
The functional $F$ is continuous and satisfiesF(p)\geq|p|{1}-\mathop{\bf E}{t\sim\mathcal{N}(0,1)}[|t|^{2k}],
where $\|\cdot\|_1$ denotes the Gaussian $L_1$-norm. Since this is a norm on the finite-dimensional space $\mathcal{P}_{2k-1}$, the sublevel sets of $F$ are compact. Hence, $F$ attains its minimum at some $p^* \in \mathcal{P}_{2k-1}$. Next, fix $m \in \{0, \ldots, 2k-1\}$ and consider the perturbation $p^*(t) + st^m$. The residual $p^*(t) - t^{2k}$ is a polynomial of degree exactly 2k, so it is nonzero almost surely under the Gaussian distribution. Moreover, for $s \neq 0$,\left|\frac{|p^{}(t)+st^{m}-t^{2k}|-|p^{}(t)-t^{2k}|}{s}\right|\leq|t|^{m}.
Since $\mathbf{E}_{t\sim\mathcal{N}(0,1)}[|t|^{m}] < \infty$, dominated convergence justifies differentiating under the expectation. Optimality of $p^{*}$ therefore gives0=\frac{d}{d s}\mathop{\bf E}{t\sim\mathcal{N}(0,1)}\big[|p^{*}(t)+s t^{m}-t^{2k}|\big]\bigg|{s=0}=\mathop{\bf E}_{t\sim\mathcal{N}(0,1)}[g(t)t^{m}].
Finally, $g$ can be discontinuous only at a real root of $p^{*}(t)-t^{2k}$. This polynomial has degree $2k$, so there are at most $2k$ such points. Thus, $g$ satisfies both required properties, proving the fact. $\square$ Given Fact 10.3, we are ready to prove Theorem 10.2. Let $g$ be the function constructed in the proof of Fact 10.3. For each unit vector $\mathbf{v} \in \mathbb{S}^{d-1}$, define $D_{\mathbf{v}}$ to be the joint distribution of $(\mathbf{x}, y)$ obtained by sampling $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$ and setting $y = g(\mathbf{v} \cdot \mathbf{x})$. As we verify below, the labels under $D_{\mathbf{v}}$, after conversion to $\{0,1\}$, are consistent with an intersection of $k$ degree-2 PTFs. Let $D_0$ be the joint distribution of $(\mathbf{x}, y)$, where $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$ and $y \sim \mathrm{Unif}(\{\pm 1\})$ independently. Using the framework introduced in [DKS17], we can show that any SQ algorithm that distinguish between $D_{\mathbf{v}}$ with unknown $\mathbf{v}$ and $D_0$ must either (i) use a query with tolerance at most $d^{-\Omega(k)}$, or (ii) make at least $2^{d^{\Omega(1)}}$ queries. Notice that an algorithm for learning intersections of $k$ degree-2 PTFs can be used to distinguish between $D_{\mathbf{v}}$ and $D_0$, as when input distribution is $D_{\mathbf{v}}$, the algorithm must with high probability return a hypothesis with constant error better than $1/2$, while if the input distribution is $D_0$, no such hypothesis could exists. For convenience, we invoke the SQ lower bound of [DKPZ21], which is based on the argument outlined above. We recall the relevant definition and proposition below. Definition 10.4 ([DKPZ21], Definition 18). Let $g: \mathbb{R} \to [-1,1]$ be a measurable function. For each $\mathbf{v} \in \mathbb{S}^{d-1}$, let $D_{\mathbf{v}}$ be the distribution of $(\mathbf{x}, y)$ over $\mathbb{R}^d \times \{\pm 1\}$ satisfying $\mathbf{x} \sim \mathcal{N}(0, \mathbf{I}_d)$ and $\mathbf{E}[y \mid \mathbf{x}] = g(\mathbf{v} \cdot \mathbf{x})$. Define $\mathcal{D}_g := \{D_{\mathbf{v}} : \mathbf{v} \in \mathbb{S}^{d-1}\}$ and $D_0 := \mathcal{N}(0, \mathbf{I}_d) \times \mathrm{Unif}(\{\pm 1\})$. We denote by $\mathcal{B}(\mathcal{D}_g, D_0)$ the problem of distinguishing $D \in \mathcal{D}_g$ from $D = D_0$, given SQ access to an unknown distribution $D$ promised to satisfy one of these conditions. Fact 10.5 ([DKPZ21], Proposition 19). Let $\ell \in \mathbb{Z}_+$, and let $d$ be sufficiently large depending on $\ell$. Suppose that $g: \mathbb{R} \to [-1,1]$ is measurable and satisfies $\mathbf{E}_{t\sim\mathcal{N}(0,1)}[g(t)t^j]=0$ for all $j\in\{0,\ldots,\ell-1\}$. Any SQ algorithm that solves $\mathcal{B}(\mathcal{D}_g,D_0)$ with probability at least 2/3 must either (i) use a query with tolerance at most $d^{-\Omega(\ell)}$, or (ii) make at least $2^{d^{\Omega(1)}}$ queries. We now prove Theorem 10.2. Proof of Theorem 10.2. The proof has two parts. First, we use Facts 10.3 and 10.5 to obtain a hard distinguishing problem of the form in Definition 10.4. Second, we show that an SQ learner would solve this problem by learning from the input distribution and checking the error of its output hypothesis. For the first part, let $g$ be the function constructed in the proof of Fact 10.3. Applying Fact 10.5 with $\ell=2k$, distinguishing an unknown $D_{\mathbf{v}}\in\mathcal{D}_g$ from $D_0$ requires either a query of tolerance at most $d^{-ck}$ or at least $N:=2^{d^{c_0}}$ queries, for universal constants $c,c_0>0$. Moreover, each $D_{\mathbf{v}}$ is realizable by the target class. Indeed, $g$ is negative on both tails, and its positive set is a union of at most $k$ bounded intervals. A union of $r$ bounded intervals can be expressed using $r$ quadratic inequalities: one restricting to their convex hull and $r-1$ excluding the intervening gaps. Substituting $t=\mathbf{v}\cdot\mathbf{x}$ gives the required intersection of quadratic PTFs, up to Gaussian-null endpoints and conversion of the labels. We use the equivalent $\{\pm1\}$-label convention below. For the second part, fix a constant $\gamma\in(0,1/2)$. Suppose for contradiction that an SQ learner achieves error at most $1/2-\gamma$ with probability at least 2/3, using fewer than $N/2$ queries, all of tolerance greater than $d^{-ck}$. Since $\gamma$ is a positive constant, for every $k\geq 1$ and sufficiently large $d$ depending on $k$ and $\gamma$, we have $\gamma/4>d^{-ck}$. Given an input distribution $D$, run this learner, enforcing its claimed complexity bounds, and use one additional SQ query of tolerance $\gamma/4$ to estimate the error of its output hypothesis $h$. If $D=D_{\mathbf{v}}$, then with probability at least 2/3, the error of $h$ is at most $1/2-\gamma$, so the estimate is at most $1/2-3\gamma/4$. If $D=D_0$, every hypothesis has error exactly $1/2$, so the estimate is at least $1/2-\gamma/4$. Comparing the estimate with $1/2-\gamma/2$ therefore distinguishes the two cases with probability at least 2/3. For sufficiently large $d$, this distinguishing algorithm uses fewer than $N$ queries, all of tolerance greater than $d^{-ck}$, contradicting Fact 10.5. $\square$ ## References [ABAM23] E. Abbe, E. Boix-Adserà, and T. Misiakiewicz. SGD learning on neural networks: Leap complexity and saddle-to-saddle dynamics. In Proceedings of the Thirty-Sixth Conference on Learning Theory, volume 195 of Proceedings of Machine Learning Research, pages 2552–2623, 2023. URL https://proceedings.mlr.press/v195/abbe23a.html. [APS26] J. Alman, S. Patel, and R. A. Servedio. Learning functions of halfspaces. In Proceedings of the 58th Annual ACM Symposium on Theory of Computing, STOC '26. Association for Computing Machinery, 2026. doi:10.1145/3798129.3800866. [Bau90] E. B. Baum. A polynomial time algorithm that learns two hidden unit nets. Neural Computation, 2(4):510–522, 1990. doi:10.1162/neco.1990.2.4.510. [BH25] J. Bruna and D. Hsu. Survey on algorithms for multi-index models. Statistical Science, 40(3):378–391, 2025. doi:10.1214/25-STS993. [BK97] A. L. 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. [BR88] A. Blum and R. L. Rivest. Training a 3-node neural network is NP-complete. In D. S. Touretzky, editor, Advances in Neural Information Processing Systems 1, pages 494–501, 1988. [CDG $^{+}$23] S. Chen, Z. Dou, S. Goel, A. Klivans, and R. Meka. Learning narrow one-hidden-layer ReLU networks. In The Thirty Sixth Annual Conference on Learning Theory, pages 5580–5614. PMLR, 2023. [CKM21] S. Chen, A. R. Klivans, and R. Meka. Learning deep ReLU networks is fixed-parameter tractable. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 696–707. IEEE, 2021. doi:10.1109/FOCS52979.2021.00073. [CN24] S. Chen and S. Narayanan. A faster and simpler algorithm for learning shallow networks. In S. Agrawal and A. Roth, editors, The Thirty Seventh Annual Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 981–994. PMLR, 2024. URL https://proceedings.mlr.press/v247/chen24b.html. [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 forty-eighth annual ACM symposium on Theory of Computing, pages 105–117, 2016. [DDS14] A. De, I. Diakonikolas, and R. A. Servedio. Deterministic approximate counting for juntas of degree-2 polynomial threshold functions. In 2014 IEEE 29th Conference on Computational Complexity (CCC), pages 229–240. IEEE, 2014. [DHK $^{+}$10] I. Diakonikolas, P. Harsha, A. Klivans, R. Meka, P. Raghavendra, R. A. Servedio, and L.-Y. Tan. Bounding the average sensitivity and noise sensitivity of polynomial threshold functions. In Proceedings of the forty-second ACM symposium on Theory of computing, pages 533–542, 2010. [DIKR25] I. Diakonikolas, G. Iakovidis, D. M. Kane, and L. Ren. Algorithms and SQ lower bounds for robustly learning real-valued multi-index models. In Advances in Neural Information Processing Systems, volume 38, 2025. URL https://proceedings.neurips.cc/paper_files/paper/2025/hash/5debeab774db7ca61ea15f1117f7fa33-Abstract-Conference.html. [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. [DIM26] I. Diakonikolas, G. Iakovidis, and M. Ma. Polynomial-time robust multiclass linear classification under Gaussian marginals. In Advances in Neural Information Processing Systems, 2026. URL https://arxiv.org/abs/2605.21428. To appear. [DK24] I. Diakonikolas and D. M. Kane. Efficiently learning one-hidden-layer ReLU networks via Schur polynomials. In The Thirty Seventh Annual Conference on Learning Theory, pages 1364–1378. PMLR, 2024. [DKKZ20] I. Diakonikolas, D. M. Kane, V. Kontonis, and N. Zarifis. Algorithms and SQ lower bounds for PAC learning one-hidden-layer ReLU networks. In Conference on Learning Theory, pages 1514–1539. PMLR, 2020. [DKM26] I. Diakonikolas, D. M. Kane, and M. Ma. Robust learning of multi-index models under logconcave distributions via weak partial learners. In Proceedings of the 67th Annual IEEE Symposium on Foundations of Computer Science (FOCS), 2026. [DKN10] I. Diakonikolas, D. M. Kane, and J. Nelson. Bounded independence fools degree-2 threshold functions. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science, pages 11–20. IEEE, 2010. [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 M. Belkin and S. Kpotufe, editors, Proceedings of the 34th Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 1552–1584, 2021. URL https://proceedings.mlr.press/v134/diakonikolas21c.html. [DKS17] I. Diakonikolas, D. M. Kane, and A. Stewart. Statistical query lower bounds for robust estimation of high-dimensional Gaussians and Gaussian mixtures. In 58th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pages 73–84, 2017. doi:10.1109/FOCS.2017.16. [DKS18] I. Diakonikolas, D. 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. [DLB25] A. Damian, J. D. Lee, and J. Bruna. The generative leap: Tight sample complexity for efficiently learning Gaussian multi-index models. In Advances in Neural Information Processing Systems, volume 38, 2025. doi:10.52202/085713-0953. [DMRT25a] I. Diakonikolas, M. Ma, L. Ren, and C. Tzamos. Learning intersections of two margin halfspaces under factorizable distributions. In Proceedings of the Thirty Eighth Conference on Learning Theory, volume 291 of Proceedings of Machine Learning Research, pages 1472–1530, 2025. URL https://proceedings.mlr.press/v291/diakonikolas25a.html. [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. [DS14] A. De and R. A. Servedio. Efficient deterministic approximate counting for low-degree polynomial threshold functions. In D. B. Shmoys, editor, Symposium on Theory of Computing, STOC 2014, New York, NY, USA, May 31 - June 03, 2014, pages 832–841. ACM, 2014. doi:10.1145/2591796.2591800. [DSTW10] I. Diakonikolas, R. A. Servedio, L.-Y. Tan, and A. Wan. A regularity lemma, and low-weight approximators, for low-degree polynomial threshold functions. In 2010 IEEE 25th Annual Conference on Computational Complexity, pages 211–222. IEEE, 2010. [Duc18] J. C. Duchi. Introductory lectures on stochastic optimization. In M. W. Mahoney, J. C. Duchi, and A. C. Gilbert, editors, The Mathematics of Data, volume 25 of IAS/Park City Mathematics Series, pages 99–185. 2018. [Fel16] V. Feldman. Statistical query learning. In Encyclopedia of Algorithms, pages 2090–2095. 2016. [FGR $^{+}$17] V. Feldman, E. Grigorescu, L. Reyzin, S. Vempala, and Y. Xiao. Statistical algorithms and a lower bound for detecting planted cliques. J. ACM, 64(2):8:1–8:37, 2017. [FGV17] V. Feldman, C. Guzman, and S. S. Vempala. Statistical query algorithms for mean vector estimation and stochastic convex optimization. In P. N. Klein, editor, Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, pages 1265–1277. SIAM, 2017. [FWNL25] H. Fu, Z. Wang, E. Nichani, and J. D. Lee. Learning hierarchical polynomials of multiple nonlinear features. In International Conference on Learning Representations, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/hash/599221d7ebf6b3403190f38a3f282a1c-Abstract-Conference.html. [HL13] C. J. Hillar and L.-H. Lim. Most tensor problems are NP-hard. Journal of the ACM, 60(6):45:1–45:39, 2013. doi:10.1145/2512329. [Kan11] D. M. Kane. The Gaussian surface area and noise sensitivity of degree-d polynomial threshold functions. Computational Complexity, 20(2):389–412, 2011. [Kea98] M. J. Kearns. Efficient noise-tolerant learning from statistical queries. Journal of the ACM, 45(6):983–1006, 1998. [KKSK11] S. Kakade, V. Kanade, O. Shamir, and A. Kalai. Efficient learning of generalized linear and single index models with isotonic regression. Advances in Neural Information Processing Systems, 24, 2011. [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. [KOS08] A. Klivans, R. O'Donnell, and R. Servedio. Learning geometric concepts via Gaussian surface area. In Proc. 49th IEEE Symposium on Foundations of Computer Science (FOCS), pages 541–550, Philadelphia, Pennsylvania, 2008. [KP96] S. Kwek and L. Pitt. PAC learning intersections of halfspaces with membership queries. In Proceedings of the ninth annual conference on Computational learning theory, pages 244–254, 1996. [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. [KS07] A. R. Klivans and A. A. Sherstov. Unconditional lower bounds for learning intersections of halfspaces. Machine Learning, 69(2-3):97–114, 2007. [KS08] S. Khot and R. Saket. On hardness of learning intersection of two halfspaces. In Proceedings of the fortieth annual ACM symposium on Theory of computing, pages 345–354, 2008. [KS09] A. R. Klivans and A. A. Sherstov. Cryptographic hardness for learning intersections of halfspaces. Journal of Computer and System Sciences, 75(1):2–12, 2009. [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. [MZ10] R. Meka and D. Zuckerman. Pseudorandom generators for polynomial threshold functions. In STOC, pages 427–436, 2010. [NDL23] E. Nichani, A. Damian, and J. D. Lee. Provable guarantees for nonlinear feature learning in three-layer neural networks. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, 2023. [Nic26] E. Nichani. A tutorial on feature learning in shallow neural networks. https://eshaannichani.com/blog/multi-index-models/index.html, September 27 2026. Section 5: Open Directions. [O'D14] R. O'Donnell. Analysis of Boolean Functions. Cambridge University Press, 2014. [PV26] S. Patel and S. Vempala. Tight bounds for learning polyhedra with a margin. In Proceedings of the IEEE Symposium on Foundations of Computer Science (FOCS). IEEE, 2026. URL https://arxiv.org/abs/2604.14614. [Ros58] F. Rosenblatt. The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6):386–408, 1958. doi:10.1037/h0042519. [She10] A. A. Sherstov. Optimal bounds for sign-representing the intersection of two halfspaces by polynomials. In Proceedings of the Forty-second ACM Symposium on Theory of Computing, pages 523–532, 2010. [She13] A. A. Sherstov. The intersection of two halfspaces has high threshold degree. SIAM Journal on Computing, 42(6):2329–2374, 2013. [Tie24] S. Tiegel. Improved hardness results for learning intersections of halfspaces. In The Thirty Seventh Annual Conference on Learning Theory, pages 4764–4786. PMLR, 2024. [Val84] L. Valiant. A theory of the learnable. Communications of the ACM, 27(11):1134–1142, 1984. [Vem10a] S. Vempala. Learning convex concepts from Gaussian distributions with PCA. In 51st 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. [WNL24] Z. Wang, E. Nichani, and J. D. Lee. Learning hierarchical polynomials with three-layer neural networks. In The Twelfth International Conference on Learning Representations, ICLR. OpenReview.net, 2024.