The power of sum-of-squares for detecting hidden structures
Samuel B. Hopkins, Pravesh K. Kothari, Aaron Potechin, Prasad Raghavendra, Tselil Schramm, David Steurer
Introduction
Recent years have seen a surge of progress in algorithm design via the sum-of-squares (SoS) semidefinite programming hierarchy. Initiated by the work of [BBH+12], who showed that polynomial time algorithms in the hierarchy solve all known integrality gap instances for Unique Games and related problems, a steady stream of works have developed efficient algorithms for both worst-case [BKS14, BKS15, BKS17, BGG+16] and average-case problems [HSS15, GM15, BM16, RRS16, BGL16, MSS16a, PS17]. The insights from these works extend beyond individual algorithms to characterizations of broad classes of algorithmic techniques. In addition, for a large class of problems (including constraint satisfaction), the family of SoS semidefinite programs is now known to be as powerful as any semidefinite program (SDP) [LRS15].
In this paper we focus on recent progress in using Sum of Squares algorithms to solve average-case, and especially planted problems—problems that ask for the recovery of a planted signal perturbed by random noise. Key examples are finding solutions of random constraint satisfaction problems (CSPs) with planted assignments [RRS16] and finding planted optima of random polynomials over the -dimensional unit sphere [RRS16, BGL16]. The latter formulation captures a wide range of unsupervised learning problems, and has led to many unsupervised learning algorithms with the best-known polynomial time guarantees [BKS15, BKS14, MSS16b, HSS15, PS17, BGG+16].
In many cases, classical algorithms for such planted problems are spectral algorithms—i.e., using the top eigenvector of a natural matrix associated with the problem input to recover a planted solution. The canonical algorithms for the planted clique [AKS98], principal components analysis (PCA) [Pea01], and tensor decomposition (which is intimately connected to optimizaton of polynomials on the unit sphere) [Har70] are all based on this general scheme. In all of these cases, the algorithm employs the top eigenvector of a matrix which is either given as input (the adjacency matrix, for planted clique), or is a simple function of the input (the empirical covariance, for PCA).
Recent works have shown that one can often improve upon these basic spectral methods using SoS, yielding better accuracy and robustness guarantees against noise in recovering planted solutions. Furthermore, for worst case problems—as opposed to the average-case planted problems we consider here—semidefinite programs are strictly more powerful than spectral algorithms.For example, consider the contrast between the SDP algorithm for Max-Cut of Goemans and Williamson, [GW94], and the spectral algorithm of Trevisan [Tre09]; or the SDP-based algorithms for coloring worst-case 3-colorable graphs [KT17] relative to the best spectral methods [AK97] which only work for random inputs. A priori one might therefore expect that these new SoS guarantees for planted problems would not be achievable via spectral algorithms. But curiously enough, in numerous cases these stronger guarantees for planted problems can be achieved by spectral methods! The twist is that the entries of these matrices are low-degree polynomials in the input to the algorithm . The result is a new family of low-degree spectral algorithms with guarantees matching SoS but requriring only eigenvector computations instead of general semidefinite programming [HSSS16, RRS16, AOW15a].
This leads to the following question which is the main focus of this work.
Are SoS algorithms equivalent to low-degree spectral methods for planted problems?
We answer this question affirmatively for a wide class of distinguishing problems which includes refuting random CSPs, tensor and sparse PCA, densest--subgraph, community detection in stochastic block models, planted clique, and more. Our positive answer to this question implies that a light-weight algorithm—computing the top eigenvalue of a single matrix whose entries are low-degree polynomials in the input—can recover the performance guarantees of an often bulky semidefinite programming relaxation.
To complement this picture, we prove two new SoS lower bounds for particular planted problems, both variants of component analysis: sparse principal component analysis and tensor principal component analysis (henceforth sparse PCA and tensor PCA, respectively) [ZHT06, RM14]. For both problems there are nontrivial low-degree spectral algorithms, which have better noise tolerance than naive spectral methods [HSSS16, DM14b, RRS16, BGL16]. Sparse PCA, which is used in machine learning and statistics to find important coordinates in high-dimensional data sets, has attracted much attention in recent years for being apparently computationally intractable to solve with a number of samples which is more than sufficient for brute-force algorithms [KNV+15, BR13b, MW15a]. Tensor PCA appears to exhibit similar behavior [HSS15]. That is, both problems exhibit information-computation gaps.
Our lower bounds for sparse and tensor PCA are closely connected to the failure of low-degree spectral methods in high noise regimes of both problems. We prove them both by showing that with noise beyond what known low-degree spectral algorithms can tolerate, even low-degree scalar algorithms (the result of restricting low-degree spectral algorithms to matrices) would require subexponential time to detect and recover planted signals. We then show that in the restricted settings of tensor and sparse PCA, ruling out these weakened low-degree spectral algorithms is enough to imply a strong SoS lower bound.
We turn to our characterization of SoS algorithms for planted problems in terms of low-degree spectral algorithms. First, a word on planted problems. Many planted problems have several formulations: search, in which the goal is to recover a planted solution, refutation, in which the goal is to certify that no planted solution is present, and distinguishing, where the goal is to determine with good probability whether an instance contains a planted solution or not. Often an algorithm for one version can be parlayed into algorithms for the others, but distinguishing problems are often the easiest, and we focus on them here.
A distinguishing problem is specified by two distributions on instances: a planted distribution supported on instances with a hidden structure, and a uniform distribution, where samples w.h.p. contain no hidden structure. Given an instance drawn with equal probability from the planted or the uniform distribution, the goal is to determine with probability greater than whether or not the instance comes from the planted distribution. For example:
Planted clique Uniform distribution: , the Erdős-Renyi distribution, which w.h.p. contains no clique of size . Planted distribution: The uniform distribution on graphs containing a -size clique, for some . (The problem gets harder as gets smaller, since the distance between the distributions shrinks.)
Planted xor Uniform distribution: a xor instance on variables and equations , where all the triples and the signs are sampled uniformly and independently. No assignment to will satisfy more than a -fraction of the equations, w.h.p. Planted distribution: The same, except the signs are sampled to correlate with for a randomly chosen , so that the assignment satisfies a -fraction of the equations. (The problem gets easier as gets larger, and the contradictions in the uniform case become more locally apparent.)
We now formally define a family of distinguishing problems, in order to give our main theorem. Let be a set of instances corresponding to a product space (for concreteness one may think of to be the set of graphs on vertices, indexed by , although the theorem applies more broadly). Let , our uniform distrbution, be a product distribution on .
With some decision problem in mind (e.g. does contain a clique of size ?), let be a set of solutions to ; again for concreteness one may think of as being associated with cliques in a graph, so that is the set of all indicator vectors on at least vertices.
For each solution , let be the uniform distribution over instances that contain . For example, in the context of planted clique, if is a clique on vertices , then would be the uniform distribution on graphs containing the clique . We define the planted distribution to be the uniform mixture over , .
The following is our main theorem on the equivalence of sum of squares algorithms for distinguishing problems and spectral algorithms employing low-degree matrix polynomials.
Let , and let be sets of real numbers. Let be a family of instances over , and let be a decision problem over with the set of possible solutions to over . Let be a system of polynomials of degree at most in the variables and constant degree in the variables that encodes , so that
for , with high probability the system is unsatisfiable and admits a degree- SoS refutation, and
for , with high probability the system is satisfiable by some solution , and remains feasible even if all but an -fraction of the coordinates of are re-randomized according to .
where denotes the maximum non-negative eigenvalue.
The condition that a solution remain feasible if all but a fraction of the coordinates of are re-randomized should be interpreted as a noise-robustness condition. To see an example, in the context of planted clique, suppose we start with a planted distribution over graphs with a clique of size . If a random subset of vertices are chosen, and all edges not entirely contained in that subset are re-randomized according to the distribution, then with high probability at least of the vertices in remain in a clique, and so remains feasible for the problem : has a clique of size ?
2 SoS and information-computation gaps
Computational complexity of planted problems has become a rich area of study. The goal is to understand which planted problems admit efficient (polynomial time) algorithms, and to study the information-computation gap phenomenon: many problems have noisy regimes in which planted structures can be found by inefficient algorithms, but (conjecturally) not by polynomial time algorithms. One example is the planted clique problem, where the goal find a large clique in a sample from the uniform distribution over graphs containing a clique of size for a small constant . While the problem is solvable for any by a brute-force algorithm requiring time, polynomial time algorithms are conjectured to require .
A common strategy to provide evidence for such a gap is to prove that powerful classes of efficient algorithms are unable to solve the planted problem in the (conjecturally) hard regime. SoS algorithms are particularly attractive targets for such lower bounds because of their broad applicability and strong guarantees.
That is, such a polynomial has much larger expectation in under the planted distribution than its standard deviation in uniform distribution. (The choice of is somewhat arbitrary, and could be replaced with or with small changes in the parameters.) By showing that as long as any such polynomial must have degree , they rule out efficient SoS algorithms when . Interestingly, this matches the spectral distinguishing threshold—the spectral algorithm of [AKS98] is known to work when .
This stronger characterization of SoS for the planted clique problem, in terms of scalar distinguishing algorithms rather than spectral distinguishing algorihtms, may at first seem insignificant. To see why the scalar characterization is more powerful, we point out that if the degree- moments of the planted and uniform distributions are known, determining the optimal scalar distinguishing polynomial is easy: given a planted distribution and a random distribution over instances , one just solves a linear algebra problem in the coefficients of to maximize the expectation over relative to :
It is not difficult to show that the optimal solution to the above program has a simple form: it is the projection of the relative density of with respect to projected to the degree- polynomials. So given a pair of distributions , in time, it is possible to determine whether there exists a degree- scalar distinguishing polynomial. Answering the same question about the existence of a spectral distinguisher is more complex, and to the best of our knowledge cannot be done efficiently.
Given this powerful theorem for the case of the planted clique problem, one may be tempted to conjecture that this stronger, scalar distinguisher characterization of the SoS algorithm applies more broadly than just to the planted clique problem, and perhaps as broadly as Theorem 1.1. If this conjecture is true, given a pair of distributions and with known moments, it would be possible in many cases to efficiently and mechanically determine whether polynomial-time SoS distinguishing algorithms exist!
To illustrate the power of this conjecture, in the beginning of Section 6 we give a short and self-contained explanation of how this predicts, via simple linear algebra, our -degree SoS lower bound for tensor PCA. As evidence for the conjecture, we verify this prediction by proving such a lower bound unconditionally.
We also note why Theorem 1.1 does not imply Conjecture 1.2. While, in the notation of that theorem, the entries of are low-degree polynomials in , the function is not (to the best of our knowledge) a low-degree polynomial in the entries of (even approximately). (This stands in contrast to, say the operator norm or Frobenious norm of , both of which are exactly or approximately low-degree polynomials in the entries of .) This means that the final output of the spectral distinguishing algorithm offered by Theorem 1.1 is not a low-degree polynomial in the instance .
3 Exponential lower bounds for sparse PCA and tensor PCA
Our other main results are strong exponential lower bound on the sum-of-squares method (specifically, against time or degree algorithms) for the tensor and sparse principal component analysis (PCA). We prove the lower bounds by extending the techniques pioneered in [BHK+16]. In the present work we describe the proofs informally, leaving full details to a forthcoming full version.
We start with the simpler case of tensor PCA, introduced by [RM14].
Uniform Distribution: each entry of the tensor sampled independently from .
Here, we think of as a signal hidden by Gaussian noise. The parameter is a signal-to-noise ratio. In particular, as grows, we expect the distinguishing problem above to get easier.
Tensor PCA is a natural generalization of the PCA problem in machine learning and statistics. Tensor methods in general are useful when data naturally has more than two modalities: for example, one might consider a recommender system which factors in not only people and movies but also time of day. Many natural tensor problems are NP hard in the worst-case. Though this is not necessarily an obstacle to machine learning applications, it is important to have average-case models to in which to study algorithms for tensor problems. The spiked tensor setting we consider here is one such simple model.
A natural generalization of this algorithm to the tensor PCA setting (restricting for simplicity for this discussion) is the maximum of the degree-three polynomial over the unit sphere—equivalently, the (symmetric) injective tensor norm of . This maximum can be shown to be much larger in case of the planted distribution so long as . Indeed, this approach to distinguishing between planted and uniform distributions is information-theoretically optimal [PWB16, BMVX16]. Since recovering the spike and optimizing the polynomial on the sphere are equivalent, tensor PCA can be thought of as an average-case version of the problem of optimizing a degree- polynomial on the unit sphere (this problem is NP hard in the worst case, even to approximate [HL09, BBH+12]).
Even in this average-case model, it is believed that there is a gap between which signal strengths allow recovery of by brute-force methods and which permit polynomial time algorithms. This is quite distinct from the vanilla PCA setting, where eigenvector algorithms solve the spike-recovery problem to information-theoretic optimality. Nevertheless, the best-known algorithms for tensor PCA arise from computing convex relaxations of this degree- polynomial optimization problem. Specifically, the SoS method captures the state of the art algorithms for the problem; it is known to recover the vector to error in polynomial time whenever [HSS15]. A major open question in this direction is to understand the complexity of the problem for . Algorithms (again captured by SoS) are known which run in time [RRS16, BGG+16]. We show the following theorem which shows that the sub-exponential algorithm above is in fact nearly optimal for SoS algorithm.
In particular for third order tensors (i.e ), since degree SoS is unable to certify that a random -tensor has maximum value much less than , this SoS relaxation cannot be used to distinguish the planted and random distributions above when .In fact, our proof for this theorem will show somewhat more: that a large family of constraints—any valid constraint which is itself a low-degree polynomial of —could be added to this convex relaxation and the lower bound would still obtain.
We turn to sparse PCA, which we formalize as the following planted distinguishing problem.
Given an symmetric real matrix , determine whether comes from:
Uniform Distribution: each upper-triangular entry of the matrix is sampled iid from ; other entries are filled in to preserve symmetry.
Planted Distribution: a random -sparse unit vector with entries is sampled, and is sampled from the uniform distribution above; then .
We generally think of as small powers of ; i.e. for some ; this allows us to generally ignore logarithmic factors in our arguments. As in the tensor PCA setting, a natural and information-theoretically optimal algorithm for sparse PCA is to maximize the quadratic form , this time over -sparse unit vectors. For from the uniform distribution standard techniques (-nets and union bounds) show that the maximum value achievable is with high probability, while for from the planted model of course . So, when one may distinguish the two models by this maximum value.
However, this maximization problem is NP hard for general quadratic forms [CPR16]. So, efficient algorithms must use some other distinguisher which leverages the randomness in the instances. Essentially only two polynomial-time-computable distinguishers are known.If one studies the problem at much finer granularity than we do here, in particular studying up to low-order additive terms and how precisely it is possible to estimate the planted signal , then the situation is more subtle [DM14a]. If then the maximum eigenvalue of distinguishes the models. If then the planted model can be distinguished by the presence of large diagonal entries of . Notice both of these distinguishers fail for some choices of (that is, ) for which brute-force methods (optimizing over sparse ) could successfully distinguish planted from uniform ’s. The theorem below should be interpreted as an impossibility result for SoS algorithms in the regime. This is the strongest known impossibility result for sparse PCA among those ruling out classes of efficient algorithms (one reduction-based result is also know, which shows sparse PCA is at least as hard as the planted clique problem [BR13a]. It is also the first evidence that the problem may require subexponential (as opposed to merely quasi-polynomial) time.
There are absolute constants so that for every and , if , then for ,
For more thorough discussion of the theorem, see Section 6.3.
4 Related work
As we have already alluded to, many prior works explore the connection between SoS relaxations and spectral algorithms, beginning with the work of [BBH+12] and including the followup works [HSS15, AOW15b, BM16] (plus many more). Of particular interest are the papers [HSSS16, MS16b], which use the SoS algorithms to obtain fast spectral algorithms, in some cases running in time linear in the input size (smaller even than the number of variables in the associated SoS SDP).
In light of our Theorem 1.1, it is particularly interesting to note cases in which the known SoS lower bounds matching the known spectral algorithms—these problems include planted clique (upper bound: [AKS98], lower bound:SDP lower bounds for the planted clique problem were known for smaller degrees of sum-of-squares relaxations and for other SDP relaxations before; see the references therein for details. [BHK+16]), strong refutations for random CSPs (upper bound:There is a long line of work on algorithms for refuting random CSPs, and 3SAT in particular; the listed papers contain additional references. [AOW15b, RRS16], lower bounds: [Gri01b, Sch08, KMOW17]), and tensor principal components analysis (upper bound: [HSS15, RRS16, BGG+16], lower bound: this paper).
We also remark that our work applies to several previously-considered distinguishing and average-case problems within the sum-of-squares algorithmic framework: block models [MS16a] , densest--subgraph [BCC+10]; for each of these problems, we have by Theorem 1.1 an equivalence between efficient sum-of-squares algorithms and efficient spectral algorithms, and it remains to establish exactly what the tradeoff is between efficiency of the algorithm and the difficulty of distinguishing, or the strength of the noise.
To the best of knowledge, no previous work has attempted to characterize SoS relaxations for planted problems by simpler algorithms in the generality we do here. Some works have considered characterizing degree- SoS relaxations (i.e. basic semidefinie programs) in terms of simpler algorithms. One such example is recent work of Fan and Montanari [FM16] who showed that for some planted problems on sparse random graphs, a class of simple procedures called local algorithms performs as well as semidefinite programming relaxations.
By now, there’s a large body of work that establishes lower bounds on SoS SDP for various average case problems. Beginning with the work of Grigoriev [Gri01a], a long line work have established tight lower bounds for random constraint satisfaction problems [Sch08, BCK15, KMOW17] and planted clique [MPW15, DM15, HKP15, RS15, BHK+16]. The recent SoS lower bound for planted clique of [BHK+16] was particularly influential to this work, setting the stage for our main line of inquiry. We also draw attention to previous work on lower bounds for the tensor PCA and sparse PCA problems in the degree- SoS relaxation [HSS15, MW15b]—our paper improves on this and extends our understanding of lower bounds for tensor and sparse PCA to any degree.
5 Organization
In Section 2 we set up and state our main theorem on SoS algorithms versus low-degree spectral algorithms. In Section 5 we show that the main theorem applies to numerous planted problems—we emphasize that checking each problem is very simple (and barely requires more than a careful definition of the planted and uniform distributions). In Section 3 and Section 4 we prove the main theorerm on SoS algorithms versus low-degree spectral algorithms.
In section 7 we get prepared to prove our lower bound for tensor PCA by proving a structural theorem on factorizations of low-degree matrix polynomials with well-behaved Fourier transforms. In section 8 we prove our lower bound for tensor PCA, using some tools proved in section 9.
Distinguishing Problems and Robust Inference
In this section, we set up the formal framework within which we will prove our main result.
Suppose that is the space of all instances, and suppose we have two distributions over , a product distribution (the “uniform” distribution), and an arbitrary distribution (the “planted” distribution).
In a uniform distinguishing problem, we are given an instance which is sampled with probability from and with probability from , and the goal is to determine with probability greater than which distribution was sampled from, for any constant .
Polynomial Systems
In the uniform distinguishing problems that we are interested in, the planted distribution will be a distribution over instances that obtain a large value for some optimization problem of interest (i.e. the max clique problem). We define polynomial systems in order to formally capture optimization problems.
For the sake of simplicity, the polynomial system Program 2.2 has no inequalities. Inequalities can be incorporated in to the program by converting each inequality in to an equality with an additional slack variable. Our main theorem still holds, but for some minor modifications of the proof, as outlined in Section 4.
Planted Distributions
We will be concerned with planted distributions of a particular form; first, we fix a polynomial system of interest and some set of feasible solutions for , so that the program variables represent elements of . Again, for concreteness, if is the set of graphs on vertices, we can take to be the set of indicators for subsets of at least vertices.
For each fixed , let denote the uniform distribution over for which the polynomial system is feasible. The planted distribution is given by taking the uniform mixture over the , i.e., .
SoS Relaxations
Sub-instances
Suppose that is a family of instances; then given an instance and a subset , let denote the sub-instance consisting of coordinates within . Further, for a distribution over subsets of , let denote a subinstance generated by sampling . Let denote the set of all sub-instances of an instance , and let denote the set of all sub-instances of all instances.
Robust Inference
Our result will pertain to polynomial systems that define planted distributions whose solutions to sub-instances generalize to feasible solutions over the entire instance. We call this property “robust inference.”
Let be a family of instances, let be a distribution over subsets of , let be a polynomial system as in Program 2.2, and let be a planted distribution over instances feasible for . Then the polynomial system is said to satisfy the robust inference property for probability distribution on and subsampling distribution , if given a subsampling of an instance from , one can infer a setting of the program variables that remains feasible to for most settings of .
for some negligible function . To specify the error probability, we will say that polynomial system is -robustly inferable.
Main Theorem
We are now ready to state our main theorem.
The polynpomial system is -robustly inferable with respect to the planted distribution and the sub-sampling distribution .
For , the polynomial system admits a degree- SoS refutation with numbers bounded by with probability at least .
Our argument implies a stronger result that can be stated in terms of the eigenspaces of the subsampling operator. Specifically, suppose we define
Then, the distinguishing polynomial exhibited by Theorem 2.6 satisfies . This refinement can yield tighter bounds in cases where all monomials of a certain degree are not equivalent to each other. For example, in the Planted Clique problem, each monomial consists of a subgraph and the right measure of the degree of a sub-graph is the number of vertices in it, as opposed to the number of edges in it.
In Section 5, we will make the routine verifications that the conditions of this theorem hold for a variety of distinguishing problems: planted clique (Lemma 5.2), refuting random CSPs (Lemma 5.4, stochastic block models (Lemma 5.6), densest--subgraph (Lemma 5.8), tensor PCA (Lemma 5.10), and sparse PCA (Lemma 5.12). Now we will proceed to prove the theorem.
Moment-Matching Pseudodistributions
We assume the setup from Section 2: we have a family of instances , a polynomial system with a family of solutions , a “uniform” distribution which is a product distribution over , and a “planted” distribution over defied by the polynomial system as described in Section 2.
The contrapositive of Theorem 2.6 is that if is robustly inferable with respect to and a distribution over sub-instances , and if there is no spectral algorithm for distinguishing and , then with high probability there is no degree- SoS refutation for the polynomial system (as defined in Program 2.4). To prove the theorem, we will use duality to argue that if no spectral algorithm exists, then there must exist an object which is in some sense close to a feasible solution to the SoS SDP relaxation.
where is the relative density of with respect to , so that , and is some matrix valued function such that and for all . Our goal is to find a PSD matrix-valued function that matches the low-degree moments of in the variables , while being supported over most of (rather than just over the support of ).
We have perturbed in (3.3) so that we can easily show that strong duality holds in the proof of Claim 3.4. For the remainder of the paper we ignore this perturbation, as we can accumulate the resulting error terms and set to be small enough so that they can be neglected.
The dual of the above program will allow us to relate the existence of an SoS refutation to the existence of a spectral algorithm.
where is the projection of to the PSD cone.
Program 3.3 is a manipulation of the dual of Program 3.1, so that if Program 3.1 has optimum , Program 3.3 as optimum at least .
Before we present the proof of the claim, we summarize its central consequence in the following theorem: if Program 3.1 has a large objective value (and therefore does not provide a feasible SoS solution), then there is a spectral algorithm.
By Claim 3.4, if the value of Program 3.1 is , then there is a polynomial achieves a value of for the dual. It follows that
It is interesting to note that the specific structure of the PSD matrix valued function plays no role in the above argument—since serves as a proxy for monomials in the solution as represented by the program variables , it follows that the choice of how to represent the planted solution is not critical. Although seemingly counterintuitive, this is natural because the property of being distinguishable by low-degre distinguishers or by SoS SDP relaxations is a property of and .
We wrap up the section by presenting a proof of the Claim 3.4.
We take the Lagrangian dual of Program 3.1. Our dual variables will be some combination of low-degree matrix polynomials, , and a PSD matrix :
It is easy to verify that if is not PSD, then can be chosen so that the value of is . Similarly if there exists a low-degree polynomial upon which and differ in expectation, can be chosen as a multiple of that polynomial so that the value of is .
Now, we argue that Slater’s conditions are met for Program 3.1, as is strictly feasible. Thus strong duality holds, and therefore
Taking the partial derivative of with respect to , we have
Now it is clear that the maximizing choice of is to set , the negation of the negative-semi-definite projection of . Thus (3.4) simplifies to
Consider . Clearly . Now, multiplying the above inequality through by the scalar , we have that
Therefore is at least , as if then the third term gives the lower bound, and otherwise the first term gives the lower bound.
Thus by substituting , the square root of the maximum of (3.5) within an additive lower-bounds the maximum of the program
Proof of Theorem 2.6
We will prove Theorem 2.6 by contradiction. Let us assume that there exists no degree- matrix polynomial that distinguishes from . First, the lack of distinguishers implies the following fact about scalar polynomials.
Under the assumption that there are no degree- distinguishers, for every degree- scalar polynomial ,
Suppose not, then the degree- matrix polynomial will be a distinguisher between and . ∎
Since is an average over , each of which is a feasible solution with high probability, is close to a feasible solution to the SDP relaxation for . The following Lemma formalizes this intuition.
Suppose Program 2.2 satisfies the -robust inference property with respect to planted distribution and subsampling distribution and if for all then for every , we have
We begin by expanding the left-hand side by substituting the definition of . We have
The lemma follows by observing that the first term in the product above is exactly the non-robustness of inference probability . ∎
If is a degree- polynomial in , then under the assumption that there are no degree- distinguishers for ,
Substituting back in the bound in Lemma 4.2 the corollary follows. ∎
Now, since there are no degree- matrix distinguishers , for each in the support of we can apply reasoning similar to Theorem 3.5 to conclude that there is a high-entropy PSD matrix-valued function that matches the degree- moments of .
If there are no degree- matrix distinguishers for , then for each , there exists a solution to Program 3.1 (with the variable ) and
This does not follow directly from Theorem 3.5, because a priori a distinguisher for some specific may only apply to a small fraction of the support of . However, we can show that Program 3.1 has large value for only if there is a distinguisher for .
By Claim 3.4, it suffices for us to argue that there is no degree- matrix polynomial which has large inner product with relative to its Frobenius norm. So, suppose by way of contradiction that is a degree- matrix that distinguishes , so that but .
It follows by definition of that
where the inequality is the definition of convexity. Taking the expectation over gives us that , which gives us our contradiciton. ∎
We will exploit the crucial property that and are averages over functions that depend on subsets of variables. This has the same effect as a random restriction, in that essentially depends on the low-degree part of . Formally, we will show the following lemma.
We first re-express the left-hand side as
Expressing in the Fourier basis, we have that over a random choice of ,
Substituting into the above inequality, the conclusion follows. ∎
Since is close to satisfying all the equality constraints of the SDP, the function approximately satisfies the low-degree part of . Specifically, we can prove the following.
Now we make the following claim regarding the effect of projection on to the ideal , on the degree of a polynomial.
For every polynomial , . Furthermore for all , has no monomials of degree
where the final equality is because . On the other hand, for every subset with ,
Incorporating the above claim into (4.3), we have that
where we have used the fact that is high degree. By property of orthogonal projections, . Along with the bound on from (4.2), this implies the claim of the lemma. ∎
Finally, we have all the ingredients to complete the proof of Theorem 2.6.
Suppose we sample an instance , and suppose by way of contradiction this implies that with high probability the SoS SDP relaxation is infeasible. In particular, this implies that there is a degree- sum-of-squares refutation of the form,
where , the span of the equality constraints of the SDP.
With this notation, we can rewrite the sos-refutation identity as a polynomial identity in and ,
Let denote the matrix with the entry corresponding to equal to , while the remaining entries are zero. We can rewrite the above equality as,
for all and formal variables .
where the inequality follows because . We will show that the above equation is a contradiction by proving that LHS is less than , while the right hand side is at least . First, the right hand side of (4.4) can be bounded by Lemma 4.7
where the last step used the bounds on from (4.2) and on from the bound assumed on the SoS proofs in Theorem 2.6.
Now the negation of the left hand side of (4.4) is
We have the desired contradiction in (4.4). ∎
1 Handling Inequalities
Suppose the polynomial system Program 2.2 includes inequalities of the form , then a natural approach would be to introduce a slack variable and set . Now, we can view the vector consisting of the original variables along with the slack variables as the hidden planted solution. The proof of Theorem 2.6 can be carried out as described earlier in this section, with this setup. However, in many cases of interest, the inclusion of slack variables invalidates the robust inference property. This is because, although a feasible solution can be recovered from a subinstance , the value of the corresponding slack variables could potentially depend on . For instance, in a random CSP, the value of the objective function on the assignment generated from depends on all the constraints outside of too.
The proof we described is to be modified as follows.
As earlier, construct using only the robust inference property of original variables , and the corresponding matrix functions .
Convert each inequality of the form , in to an equality by setting .
Intuitively, the pseudo-distribution picks the sign for each uniformly at random, independent of all other variables. Therefore, all moments involving an odd power of are zero. On the other hand, the moments of even powers of are picked so that the equalities are satisfied.
The main ingredient of the proof that is different from the case of equalities is the random restriction lemma which we outline below. The error in the random restriction is multiplied by ; however this does not substantially change our results, since Theorem 2.6 requires , which leaves us enough slack to absorb this factor (and in every application for some sufficiently small that we meet the requirement that is monotone non-increasing in ).
and the additional requirement that is monotone non-increasing in , then
where we have used that is a monotone non-increasing function of . Substituting this in the earlier inequality the Lemma follows. ∎
Applications to Classical Distinguishing Problems
In this section, we verify that the conditions of Theorem 2.6 hold for a variety of canonical distinguishing problems. We’ll rely upon the (simple) proofs in Appendix A, which show that the ideal term of the SoS proof is well-conditioned.
Given a graph on vertices, determine whether it comes from:
Uniform Distribution: the uniform distribution over graphs on vertices ().
Planted Distribution: the uniform distribution over -vertex graphs with a clique of size at least
The usual polynomial program for planted clique in variables is:
Theorem 2.6 applies to the above planted clique program, so long as for any for a fixed constant .
For planted clique, for our notion of “instance degree”, rather than the multiplicity of instance variables, the “degree” of will be the number of distinct vertices incident on the edges in . The proof of Theorem 2.6 proceeds identically with this notion of degree, but we will be able to achieve better bounds on relative to .
In this case, the instance degree of the SoS relaxation is . We have from Corollary A.3 that the degree- SoS refutation is well-conditioned, with numbers bounded by for some constant . Define .
Our subsampling distribution is the distribution given by including every vertex with probability , producing an induced subgraph of vertices. For any set of edges of instance degree at most ,
since the instance degree corresponds to the number of vertices incident on .
This subsampling operation satisfies the subsample inference condition for the clique constraints with probability , since a clique in any subgraph of is also a clique in . Also, if there is a clique of size in , then by a Chernoff bound
Choosing , this gives us that gives -robust inference for the planted clique problem, so long as . Choosing for so that
for some constant , all of the conditions required by Theorem 2.6 now hold. ∎
Given an instance of a Boolean -CSP with predicate on variables with clause set , determine whether it comes from:
Uniform Distribution: constraints are generated as follows. Each -tuple of variables is independently with probability given the constraint (where is the entry-wise multiplication operation) for a uniformly random and .
Planted Distribution: a planted solution is chosen, and then constraints are generated as follows. Each -tuple of variables is independently with probability given the constraint for a uniformly random , but with probability and is uniformly random otherwise.
The usual polynomial program for random CSP refutation in variables is:
If , then Theorem 2.6 applies to the above random -CSP refutation problem, so long as for any , where is a fixed constant.
In this case, the instance degree of the SoS relaxation . We have from Corollary A.3 that the degree- SoS refutation is well-conditioned, with numbers bounded by for some constant . Define .
Our subsampling distribution is the distribution given by including each constraint independently with probability , producing an induced CSP instance on variables with approximately constraints. Since each constraint survives the subsampling with probability , for any ,
The subsample inference property clearly holds for the boolean constraints , as a Boolean assignment to the variables is valid regardless of the number of constraints. Before subsampling there are at least satisfied constraints, and so letting be the number of constraints satisfied in sub-instance , we have by a Chernoff bound
for some constant . The conclusion follows (after making appropriate adjustments to the constant). ∎
Given a graph on vertices, determine whether it comes from:
Uniform Distribution: , the distribution over graphs in which each edge is included independently with probability .
Planted Distribution: the stochastic block model—there is a partition of the vertices into two equally-sized sets, and , and the edge is present with probability if or , and with probability otherwise.
Letting be variables corresponding to the membership of each vertex’s membership, and let be the adjacency of the graph. The canonical polynomial optimization problem is
Theorem 2.6 applies to the community detection problem so long as , for where is a fixed constant.
The degree of the SoS relaxation in the instance is . Since we have only hypercube and balancedness constraints, we have from Corollary A.3 that the SoS ideal matrix is well-conditioned, with no number in the SoS refutation larger than for some constant . Let .
Consider the solution which assigns to and to . Our subsampling operation is to remove every edge independently with probability . The resulting distribution and the corresponding restriction of clearly satisfies the Booleanity and balancedness constraints with probability . Since each edge is included independently with probability , for any ,
In the sub-instance, the expected value (over the choice of planted instance and over the choice of sub-instance) of the restricted solution is
and by a Chernoff bound, the value in the sub instance is within a -factor with probability for . On resampling the edges outside the sub-instance from the uniform distribution, this value can only decrease by at most w.h.p over the choice of the outside edges.
If we set , then for . for some constant , while the objective value is at least . The conclusion follows (after making appropriate adjustments to the constant). ∎
Given a graph on vertices, determine whether it comes from:
Planted Distribution: A graph from with an instance of planted on a random subset of vertices, .
Letting be the adjacency matrix, the usual polynomial program for densest--subgraph in variables is:
When , Theorem 2.6 applies to the densest-k-subgraph problem with for any for a fixed constant .
The degree of the SoS relaxation in the instance is . We have from Corollary A.3 that the SoS proof has no values larger than for a constant ; fix .
Our subsampling operation is to include each edge independently with probability , and take the subgraph induced by the included edges. Clearly, the Booleanity and sparsity constraints are preserved by this subsampling distribution . Since each edge is included independently with probability , for any ,
Now, the expected objective value (over the instance and the sub-sampling) is at least , and applying a Chernoff bound, we hace that the probability the sub-sampled instance has value less than is at most if we choose (which is valid since we assumed that ). Further, a dense subgraph on a subset of the edges is still dense when more edges are added back, so we have the -robust inference property.
Thus, choosing and setting
for some constant , which concludes the proof (after making appropriate adjustments to the constant). ∎
Uniform Distribution: each entry of the tensor sampled independently from .
Planted Distribution: a spiked tensor, where is sampled uniformly from , and where is a random tensor with each entry sampled independently from .
Given the tensor , the canonical program for the tensor PCA problem in variables is:
For , Theorem 2.6 applies to the tensor PCA problem with for any for a fixed constant .
The degree of the SoS relaxation in the instance is . Since the entries of the noise component of the tensor are standard normal variables, with exponentially good probability over the input tensor we will have no entry of magnitude greater than . This, together with Corollary A.3, gives us that except with exponentially small probability the SoS proof will have no values exceeding for a fixed constant .
Our subsampling operation is to set to zero every entry of independently with probability , obtaining a sub-instance on the nonzero entries. Also, for any ,
This subsampling operation clearly preserves the planted solution unit sphere constraint. Additionally, let be the operator that restricts a tensor to the nonzero entries. We have that has expectation , since every entry of has magnitude . Applying a Chernoff bound, we have that this quantity will be at least with probability at least if we choose .
Now, we set so that
which concludes the proof (after making appropriate adjustments to the constant ). ∎
Uniform Distribution: each entry of the matrix sampled independently from .
The canonical program for the sparse PCA problem in variables is:
For , Theorem 2.6 applies to the sparse PCA problem with for any for a fixed constant .
The degree of the SoS relaxation in the instance is . Since the entries of the noise are standard normal variables, with exponentially good probability over the input matrix we will have no entry of magnitude greater than . This, together with Corollary A.3, gives us that except with exponentially small probability the SoS proof will have no values exceeding for a fixed constant .
Our subsampling operation is to set to zero every entry of independently with probability , obtaining a sub-instance on the nonzero entries. Also, for any ,
This subsampling operation clearly preserves the constraints on the solution variables.
where is a random Gaussian matrix. Therefore, the objective value obtained by the solution is
The first term is a vector with entries, each of which is a sum of Bernoulli random variables, all of the same sign, with probability of being nonzero. The second term is a vector with entries, each of them an independent Gaussian variable with variance bounded by . We have that
and by Chernoff bounds we have that this concentrates within a factor with probability if we take .
The expectation of is zero, and applying similar concentration arguments we have that with probability , . Taking the union bound over these events and applying Cauchy-Schwarz, we have that
so long as , the first term dominates.
Now, we set for so that
for some constant , which concludes the proof. ∎
For tensor PCA and sparse PCA, the underlying distributions were Gaussian. Applying Theorem 2.6 in these contexts yields the existence of distinguishers that are low-degree in a non-standard sense. Specifically, the degree of a monomial will be the number of distinct variables in it, irrespective of the powers to which they are raised.
Exponential lower bounds for PCA problems
In this section we give an overview of the proofs of our SoS lower bounds for the tensor and sparse PCA problems. We begin by showing how Conjecture 1.2 predicts such a lower bound in the tensor PCA setting. Following this we state the key lemmas to prove the exponential lower bounds; since these lemmas can be proved largely by techniques present in the work of Barak et al. on planted clique [BHK+16], we leave the details to a forthcoming full version of the present paper.
In this section we demonstrate how to predict using Conjecture 1.2 that when for , SoS algorithms cannot solve Tensor PCA. This prediction is borne out in Theorem 1.4.
We sketch the proof of this theorem. The theorem follows from two claims.
where is the orthogonal projection (with respect to ) of the density to the degree- polynomials. Note that the last quantity is just the norm, or the variance, of the truncation to low-degree polynomials of the density of the planted distribution.
The theorem follows immediately. We sketch proofs of the claims in order.
Then the best (ignoring normalization momentarily) will be the function
The following fact, used to prove Claim 6.3, is an elementary computation with Hermite polynomials.
Let . Then if , thought of as a -uniform hypergraph, has all even degrees, and is otherwise.
What is the contribution to of terms with ? By the fact above, to contribute a nonzero term to the sum, ,considered as a -uniform hypergraph must have even degrees. So, if it has hyperedges, it contains at most nodes. There are choices for these nodes, and having chosen them, at most -uniform hypergraphs on those nodes. Hence,
So long as for some and , this is . ∎
2 Main theorem and proof overview for Tensor PCA
In this section we give an overview of the proof of Theorem 1.4. The techniques involved in proving the main lemmas are technical refinements of techniques used in the work of Barak et al. on SoS lower bounds for planted clique [BHK+16]; we therefore leave full proofs to a forthcoming full version of this paper.
To state and prove our main theorem on tensor PCA it is useful to define a Boolean version of the problem. For technical convenience we actually prove an SoS lower bound for this problem; then standard techniques (see Section C) allow us to prove the main theorem for Gaussian tensors.
the uniform distribution: chosen uniformly at random.
the planted distribution: Choose and let . Sample by rerandomizing every coordinate of with probability .
We show that the natural SoS relaxation of this problem suffers from a large integrality gap, when is slightly less than , even when the degree of the SoS relaxation is . (When , algorithms with running time are known for [RM14, HSS15, HSSS16, BGL16, RRS16].)
There is a constant so that for every small enough , if , then for large enough ,
Moreover, the latter also holds for with iid entries from .For technical reasons we do not prove a tail bound type statement for Gaussian , but we conjecture that this is also true.
The Planted Distribution: Choose uniformly. Let . Sample by
replacing every coordinate of with a random draw from independently with probability ,
then choosing a subset by including every coordinate with probability ,
then replacing every entry of with some index outside independently with a uniform draw from .
For a tensor , the moment matrix of the pseudodistribution we exhibit will be . We will need it to satisfy the constraint . This follows from the following general lemma. (The lemma is much more general than what we state here, and uses only the vector space structures of space of real matrices and matrix-valued functions.)
Last, we will require a couple of scalar functions of to be well concentrated.
Let be as in Lemma 6.7. The function satisfies
The Boolean case of Theorem 6.6 follows from combining the lemmas. The Gaussian case can be proved in a black-box fashion from the Boolean case following the argument in Section C.
The proofs of all the lemmas in this section follow analogous lemmas in the work of Barak et al. on planted clique [BHK+16]; we defer them to the full version of the present work.
3 Main theorem and proof overview for sparse PCA
In this section we prove the following main theorem. Formally, the theorem shows that with high probability for a random matrix , even high-degree SoS relaxations are unable to certify that no sparse vector has large quadratic form .
There are absolute constants so that for every and , if , then for ,
Furthermore, the latter is true also if is symmetric with iid entries from .For technical reasons we do not prove a tail bound type statement for Gaussian , but we conjecture that this is also true.
We turn to some discussion of the theorem statement. First of all, though it is technically convenient for in the theorem statement above to be a matrix, the entries may be replaced by standard Gaussians (see Section C).
To get some intuition for the theorem statement, it is useful to return to a familiar planted problem: the spiked-Wigner model of sparse principal component analysis. Let be a symmetric matrix with iid entries from , and let be a random -sparse unit vector with entries . Let . The problem is to distinguish between a single sample from and a sample from . There are two main algorithms for this problem, both captured by the SoS hierarchy. The first, applicable when , is vanilla PCA: the top eigenvalue of will be larger than the top eigenvalue of . The second, applicable when , is diagonal thresholding: the diagonal entries of which corresponds to nonzero coordinates will be noticeably large. The theorem statement above (transferred to the Gaussian setting, though this has little effect) shows that once is well outside these parameter regimes, i.e. when for arbitrarily small , even degree SoS programs do not distinguish between and .
A second interpretation of the theorem statement, independent of any planted problem, is as a strong integrality gap for random instances for the problem of maximizing a quadratic form over -sparse vectors. Consider the actual maximum of for random ( or Gaussian) over -sparse unit vectors . There are roughly points in a -net for such vectors, meaning that by standard arguments,
With the parameters of the theorem, this means that the integrality gap of the degree SoS relaxation is at least when .
for all .
Our proof of Theorem 1.6 is very similar to the analogous proof for Tensor PCA, Theorem 6.6. We state the analogues of Lemma 6.7 and Lemma 6.9. Lemma 6.8 can be used unchanged in the sparse PCA setting.
The main lemma, analogous to Lemma 6.7 is as follows.
There are constants such that for every and and every (all independent of ), if and , and if , then for large enough
Let be as in Lemma 6.14. The function satisfies
References
Appendix A Bounding the sum-of-squares proof ideal term
We give conditions under which sum-of-squares proofs are well-conditioned, using techniques similar to those that appear in [RW17] for bounding the bit complexity of SoS proofs. We begin with some definitions.
We say that is -complete on up to degree if every zero eigenvector of has a degree- derivation from the ideal constraints of .
the SDP optimum value is bounded by
the coefficients of the objective function are bounded by ,
it follows that the SoS certificate for the problem is well-conditioned, with no value larger than .
To prove this, we essentially reproduce the proof of the main theorem of [RW17], up to the very end of the proof at which point we slightly deviate to draw a different conclusion.
Following our previous convention, the degree- sum-of-squares proof for is of the form
where the is a polynomial in the span of the ideal constraints, and is a sum of squares of polynomials. Alternatively, we have the matrix characterization,
where , , and are matrix polynomials corresponding to , and respectively, and with .
Now let be a feasible solution. Then we have that
where the second equality follows because each is feasible. By assumption the left-hand-side is bounded by .
By assumption is -complete on up to degree , and therefore is derivable in degree from the ideal constraints . Therefore, the latter three terms may be absorbed into , or more formally, we can set , , and re-write the original proof
The left-hand-side remains unchanged, so we still have that it is bounded by for any feasible solution . Furthermore, the nonzero eigenspaces of and are identical, and so cannot be nonzero on any diagonal entry which is orthogonal to the space of feasible solutions.
Now, we argue that every diagonal entry of is at most . To see this, for each diagonal term , we choose the solution for which . We then have by the PSDness of that
which then implies that . It follows that , and again since is PSD,
Putting things together, we have from our original matrix identity (A.1) that
Therefore by our assumptions that , the conclusion follows. ∎
We now argue that the conditions of this theorem are met by several general families of problems.
The following problems have degree- SoS proofs with all coefficients bounded by :
The hypercube: Any polynomial optimization problem with the only constraints being or and objective value at most over the set of integer feasible solutions. (Including max -csp).
The hypercube with balancedness constraints: Any polynomial optimization problem with the only constraints being . (Including community detection).
The unit sphere: Any polynomial optimization problem with the only constraints being and objective value at most over the set of integer feasible solutions. (Including tensor PCA).
The sparse hypercube: As long as , any polynomial optimization problem with the only constraints being , or , and objective value at most over the set of integer feasible solutions. (Including densest -subgraph and the Boolean version of sparse PCA).
We prove this corollary below. For each of the above problems, it is clear that the objective value is bounded and the objective function has no large coefficients. To prove this corollary, we need to verify the completeness of the constraint sets, and then demonstrate a set of feasible solutions so that each square term receives non-negligible mass from some solution.
A large family of completeness conditions were already verified by [RW17] and others (see the references therein):
The following pairs of polynomial optimization problems and distributions over solutions are complete:
A couple of additional examples can be found in the upcoming thesis of Benjamin Weitz [Wei17]:
The following pairs of polynomial optimization problems and distributions over solutions are complete:
We verify the conditions of Theorem A.2 separately for each case.
The hypercube: the completeness conditions are satisfied by Proposition A.4. We choose the set of feasible solutions to contain a single point, , for which always.
The hypercube with balancedness constraints: the completeness conditions are satisfied by Proposition A.4. We choose the set of feasible solutions to contain a single point, , some perfectly balanced vector, for which always.
The unit sphere: the completeness conditions are satisfied by Proposition A.4. We choose the set of feasible solutions to contain a single point, , for which as long as , which meets the conditions of Theorem A.2.
The max clique problem: the completeness conditions are satisfied by Proposition A.4. We choose the solution set to be the set of indicators for cliques in the graph. Any that corresponds to a non-clique in the graph has identically zero in the solution space. Otherwise, when is the indicator vector for the clique on .
Appendix B Lower bounds on the nonzero eigenvalues of some moment matrices
In this appendix, we prove lower bounds on the magnitude of nonzero eigenvalues of covariance matrices for certain distributions over solutions. Many of these bounds are well-known, but we re-state and re-prove them here for completeness. We first define the property we want:
We say that is -spectrally rich up to degree if every nonzero eigenvalue of is at least .
The following distributions over solutions are polynomially spectrally rich:
If is the uniform distribution over , then is polynomially spectrally rich up to degree .
If is the uniform distribution over , then is polynomially spectrally rich up to degree .
If is the uniform distribution over with , then if , is polynomially spectrally rich up to degree .
If is the uniform distribution over with , then if , is polynomially spectrally rich up to degree .
Now, let be a basis for polynomials of degree at most in which is orthonormal with respect to , so that
If is the representation of in the monomial basis, we have that
Therefore, the matrix diagonalizes ,
It follows that the minimum non-zero eigenvalue of is equal to the smallest eigenvalue of , which is in turn equal to where is the largest singular value of . Therefore, for each of these cases it suffices to bound the singular values of the change-of-basis matrix between the monomial basis and an orthogonal basis over . We now proceed to handle each case separately.
uniform over hypercube: In this case, the monomial basis is an orthogonal basis, so is the identity on the space orthogonal to the ideal constraints, and , which completes the proof.
uniform over sphere: Here, the canonical orthonormal basis the spherical harmonic polynomials. Examining an explicit characterization of the spherical harmonic polynomials (given for example in [DX13], Theorem 5.1), we have that when expressing in the monomial basis, no coefficient of a monomial (and thus no entry of ) exceeds , and since there are at most polynomials each with coefficients, employing the triangle inequality we have that , which completes the proof.
Appendix C From Boolean to Gaussian lower bounds
In this section we show how to prove our SoS lower bounds for Gaussian PCA problems using the lower bounds for Boolean problems in a black-box fashion. The techniques are standard and more broadly applicable than the exposition here but we prove only what we need.
The following proposition captures what is needed for tensor PCA; the argument for sparse PCA is entirely analogous so we leave it to the reader.
Let be a Gaussian random tensor. Then
where the maximization is over pseudodistributions of degree which satisfy .
where ranges over multi-indices of size over . We rearrange each term above to