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 nn-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-kk-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 1×11\times 1 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 12\tfrac{1}{2} whether or not the instance comes from the planted distribution. For example:

Planted clique Uniform distribution: G(n,12)G(n,\tfrac{1}{2}), the Erdős-Renyi distribution, which w.h.p. contains no clique of size ω(log⁡n)\omega(\log n). Planted distribution: The uniform distribution on graphs containing a nεn^{\varepsilon}-size clique, for some ε>0\varepsilon>0. (The problem gets harder as ε\varepsilon gets smaller, since the distance between the distributions shrinks.)

Planted 33xor Uniform distribution: a 33xor instance on nn variables and m>nm>n equations xixjxk=aijkx_{i}x_{j}x_{k}=a_{ijk}, where all the triples (i,j,k)(i,j,k) and the signs aijk∈{±1}a_{ijk}\in\{\pm 1\} are sampled uniformly and independently. No assignment to xx will satisfy more than a 0.510.51-fraction of the equations, w.h.p. Planted distribution: The same, except the signs aijka_{ijk} are sampled to correlate with bibjbkb_{i}b_{j}b_{k} for a randomly chosen bi∈{±1}b_{i}\in\{\pm 1\}, so that the assignment x=bx=b satisfies a 0.90.9-fraction of the equations. (The problem gets easier as m/nm/n 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 I\mathscr{I} be a set of instances corresponding to a product space (for concreteness one may think of I\mathscr{I} to be the set of graphs on nn vertices, indexed by {0,1}(n2)\{0,1\}^{\binom{n}{2}}, although the theorem applies more broadly). Let ν\nu, our uniform distrbution, be a product distribution on I\mathscr{I}.

With some decision problem P\mathcal{P} in mind (e.g. does GG contain a clique of size ⩾nε\geqslant n^{\varepsilon}?), let X\mathcal{X} be a set of solutions to P\mathcal{P}; again for concreteness one may think of X\mathcal{X} as being associated with cliques in a graph, so that X⊂{0,1}n\mathcal{X}\subset\{0,1\}^{n} is the set of all indicator vectors on at least nεn^{\varepsilon} vertices.

For each solution x∈Xx\in\mathcal{X}, let μ∣x\mu_{|_{x}} be the uniform distribution over instances I∈II\in\mathscr{I} that contain xx. For example, in the context of planted clique, if xx is a clique on vertices 1,…,nε1,\ldots,n^{\varepsilon}, then μ∣x\mu_{|_{x}} would be the uniform distribution on graphs containing the clique 1,…,nε1,\ldots,n^{\varepsilon}. We define the planted distribution μ\mu to be the uniform mixture over μx\mu_{x}, μ=Ux∼Xμ∣x\mu=U_{x\sim\mathcal{X}}\mu_{|_{x}}.

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 N,n∈NN,n\in\mathcal{N}, and let A,B\mathcal{A},\mathcal{B} be sets of real numbers. Let I\mathscr{I} be a family of instances over AN\mathcal{A}^{N}, and let P\mathcal{P} be a decision problem over I\mathscr{I} with X=Bn\mathcal{X}=\mathcal{B}^{n} the set of possible solutions to P\mathcal{P} over I\mathscr{I}. Let {gj(x,I)}\{g_{j}(x,I)\} be a system of nO(d)n^{O(d)} polynomials of degree at most dd in the variables xx and constant degree in the variables I\mathcal{I} that encodes P\mathcal{P}, so that

for I∼νII\sim_{\nu}\mathscr{I}, with high probability the system is unsatisfiable and admits a degree-dd SoS refutation, and

for I∼μII\sim_{\mu}\mathscr{I}, with high probability the system is satisfiable by some solution x∈Xx\in X, and xx remains feasible even if all but an n−0.01n^{-0.01}-fraction of the coordinates of I\mathcal{I} are re-randomized according to ν\nu.

where λmax⁡+\lambda^{+}_{\max} denotes the maximum non-negative eigenvalue.

The condition that a solution xx remain feasible if all but a fraction of the coordinates of I∼μ∣xI\sim\mu_{|_{x}} 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 xx of size nε+0.01n^{\varepsilon+0.01}. If a random subset of n0.99n^{0.99} vertices are chosen, and all edges not entirely contained in that subset are re-randomized according to the G(n,1/2)G(n,1/2) distribution, then with high probability at least nεn^{\varepsilon} of the vertices in xx remain in a clique, and so xx remains feasible for the problem P\mathcal{P}: GG has a clique of size ⩾nε\geqslant n^{\varepsilon}?

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 nεn^{\varepsilon} for a small constant ε>0\varepsilon>0. While the problem is solvable for any ε>0\varepsilon>0 by a brute-force algorithm requiring nΩ(log⁡n)n^{\Omega(\log n)} time, polynomial time algorithms are conjectured to require ε⩾12\varepsilon\geqslant\tfrac{1}{2}.

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 pp has much larger expectation in under the planted distribution than its standard deviation in uniform distribution. (The choice of nΩ(1)n^{\Omega(1)} is somewhat arbitrary, and could be replaced with Ω(1)\Omega(1) or nΩ(d)n^{\Omega(d)} with small changes in the parameters.) By showing that as long as ε<12\varepsilon<\frac{1}{2} any such polynomial pp must have degree Ω(log⁡n)2\Omega(\log n)^{2}, they rule out efficient SoS algorithms when ε<12\varepsilon<\frac{1}{2}. Interestingly, this matches the spectral distinguishing threshold—the spectral algorithm of [AKS98] is known to work when ε⩾12\varepsilon\geqslant\frac{1}{2}.

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-dd moments of the planted and uniform distributions are known, determining the optimal scalar distinguishing polynomial is easy: given a planted distribution μ\mu and a random distribution ν\nu over instances I\mathcal{I}, one just solves a linear algebra problem in the ndlog⁡nn^{d\log n} coefficients of pp to maximize the expectation over μ\mu relative to ν\nu:

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 ν\nu with respect to μ\mu projected to the degree-dlog⁡nd\log n polynomials. So given a pair of distributions μ,ν\mu,\nu, in nO(dlog⁡n)n^{O(d\log n)} time, it is possible to determine whether there exists a degree-dlog⁡nd\log n 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 ν\nu and μ\mu 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 nΩ(1)n^{\Omega(1)}-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 Q(I)Q(I) are low-degree polynomials in II, the function M↦λmax⁡+(M)M\mapsto\lambda^{+}_{\max}(M) is not (to the best of our knowledge) a low-degree polynomial in the entries of MM (even approximately). (This stands in contrast to, say the operator norm or Frobenious norm of MM, both of which are exactly or approximately low-degree polynomials in the entries of MM.) 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 II.

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 2nΩ(1)2^{n^{\Omega(1)}} time or nΩ(1)n^{\Omega(1)} 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 N(0,1)\mathcal{N}(0,1).

Here, we think of vv as a signal hidden by Gaussian noise. The parameter λ\lambda is a signal-to-noise ratio. In particular, as λ\lambda 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 k=3k=3 for this discussion) is the maximum of the degree-three polynomial ⟨T,x⊗3⟩\langle T,x^{\otimes 3}\rangle over the unit sphere—equivalently, the (symmetric) injective tensor norm of TT. This maximum can be shown to be much larger in case of the planted distribution so long as λ≫n\lambda\gg\sqrt{n}. Indeed, this approach to distinguishing between planted and uniform distributions is information-theoretically optimal [PWB16, BMVX16]. Since recovering the spike vv and optimizing the polynomial ⟨T,x⊗3⟩\langle T,x^{\otimes 3}\rangle on the sphere are equivalent, tensor PCA can be thought of as an average-case version of the problem of optimizing a degree-33 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 λ\lambda allow recovery of vv 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-33 polynomial optimization problem. Specifically, the SoS method captures the state of the art algorithms for the problem; it is known to recover the vector vv to o(1)o(1) error in polynomial time whenever λ≫n3/4\lambda\gg n^{3/4} [HSS15]. A major open question in this direction is to understand the complexity of the problem for λ⩽n3/4−ε\lambda\leqslant n^{3/4-\varepsilon}. Algorithms (again captured by SoS) are known which run in 2nO(ε)2^{n^{O(\varepsilon)}} 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 k=3k=3), since degree nΩ(ε)n^{\Omega(\varepsilon)} SoS is unable to certify that a random 33-tensor has maximum value much less than n3/4−εn^{3/4-\varepsilon}, this SoS relaxation cannot be used to distinguish the planted and random distributions above when λ≪n3/4−ε\lambda\ll n^{3/4-\varepsilon}.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 TT—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 n×nn\times n symmetric real matrix AA, determine whether AA comes from:

Uniform Distribution: each upper-triangular entry of the matrix AA is sampled iid from N(0,1)\mathcal{N}(0,1); other entries are filled in to preserve symmetry.

Planted Distribution: a random kk-sparse unit vector vv with entries {±1/k,0}\{\pm 1/\sqrt{k},0\} is sampled, and BB is sampled from the uniform distribution above; then A=B+λ⋅vv ⁣⊺A=B+\lambda\cdot vv{}^{\mkern-4.0mu\intercal}.

We generally think of k,λk,\lambda as small powers of nn; i.e. nρn^{\rho} for some ρ∈(0,1)\rho\in(0,1); 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 ⟨x,Ax⟩\langle x,Ax\rangle, this time over kk-sparse unit vectors. For AA from the uniform distribution standard techniques (ε\varepsilon-nets and union bounds) show that the maximum value achievable is O(klog⁡n)O(\sqrt{k}\log n) with high probability, while for AA from the planted model of course ⟨v,Av⟩≈λ\langle v,Av\rangle\approx\lambda. So, when λ≫k\lambda\gg\sqrt{k} one may distinguish the two models by this maximum value.

However, this maximization problem is NP hard for general quadratic forms AA [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 λ\lambda up to low-order additive terms and how precisely it is possible to estimate the planted signal vv, then the situation is more subtle [DM14a]. If λ≫n\lambda\gg\sqrt{n} then the maximum eigenvalue of AA distinguishes the models. If λ≫k\lambda\gg k then the planted model can be distinguished by the presence of large diagonal entries of AA. Notice both of these distinguishers fail for some choices of λ\lambda (that is, k≪λ≪n,k\sqrt{k}\ll\lambda\ll\sqrt{n},k) for which brute-force methods (optimizing ⟨x,Ax⟩\langle x,Ax\rangle over sparse xx) could successfully distinguish planted from uniform AA’s. The theorem below should be interpreted as an impossibility result for SoS algorithms in the k≪λ≪n,k\sqrt{k}\ll\lambda\ll\sqrt{n},k 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 c,ε∗>0c,\varepsilon^{*}>0 so that for every ρ∈(0,1)\rho\in(0,1) and ε∈(0,ε∗)\varepsilon\in(0,\varepsilon^{*}), if k=nρk=n^{\rho}, then for d⩽nc⋅εd\leqslant n^{c\cdot\varepsilon},

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-kk-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-22 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-44 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 I\mathscr{I} is the space of all instances, and suppose we have two distributions over I\mathscr{I}, a product distribution ν\nu (the “uniform” distribution), and an arbitrary distribution μ\mu (the “planted” distribution).

In a uniform distinguishing problem, we are given an instance I∈I\mathcal{I}\in\mathscr{I} which is sampled with probability 12\frac{1}{2} from ν\nu and with probability 12\frac{1}{2} from μ\mu, and the goal is to determine with probability greater than 12+ε\frac{1}{2}+\varepsilon which distribution I\mathcal{I} was sampled from, for any constant ε>0\varepsilon>0.

Polynomial Systems

In the uniform distinguishing problems that we are interested in, the planted distribution μ\mu 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 S={gj(x,I)}j∈[m]\mathcal{S}=\{g_{j}(x,\mathcal{I})\}_{j\in[m]} and some set X⊆Bn\mathcal{X}\subseteq\mathcal{B}^{n} of feasible solutions for S\mathcal{S}, so that the program variables xx represent elements of X\mathcal{X}. Again, for concreteness, if I\mathscr{I} is the set of graphs on nn vertices, we can take X⊆{0,1}n\mathcal{X}\subseteq\{0,1\}^{n} to be the set of indicators for subsets of at least nεn^{\varepsilon} vertices.

For each fixed x∈Xx\in\mathcal{X}, let μ∣x\mu_{|x} denote the uniform distribution over I∈I\mathcal{I}\in\mathscr{I} for which the polynomial system {gj(x,I)}j∈[m]\{g_{j}(x,\mathcal{I})\}_{j\in[m]} is feasible. The planted distribution μ\mu is given by taking the uniform mixture over the μ∣x\mu_{|x}, i.e., μ∼Ux∼X[μ∣x]\mu\sim U_{x\sim\mathcal{X}}[\mu_{|x}].

SoS Relaxations

Sub-instances

Suppose that I=AN\mathscr{I}=\mathcal{A}^{N} is a family of instances; then given an instance I∈I\mathcal{I}\in\mathscr{I} and a subset S⊆[N]S\subseteq[N], let IS\mathcal{I}_{S} denote the sub-instance consisting of coordinates within SS. Further, for a distribution Θ\Theta over subsets of [N][N], let IS∼ΘI\mathcal{I}_{S}\sim_{\Theta}\mathcal{I} denote a subinstance generated by sampling S∼ΘS\sim\Theta. Let I↓\mathcal{I}_{\downarrow} denote the set of all sub-instances of an instance I\mathcal{I}, and let I↓\mathscr{I}_{\downarrow} 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 I=AN\mathscr{I}=\mathcal{A}^{N} be a family of instances, let Θ\Theta be a distribution over subsets of [N][N], let S\mathcal{S} be a polynomial system as in Program 2.2, and let μ\mu be a planted distribution over instances feasible for S\mathcal{S}. Then the polynomial system S\mathcal{S} is said to satisfy the robust inference property for probability distribution μ\mu on I\mathscr{I} and subsampling distribution Θ\Theta, if given a subsampling IS\mathcal{I}_{S} of an instance I\mathcal{I} from μ\mu, one can infer a setting of the program variables x∗x^{*} that remains feasible to S\mathcal{S} for most settings of IS‾\mathcal{I}_{\overline{S}}.

for some negligible function ε(n,d)\varepsilon(n,d). To specify the error probability, we will say that polynomial system is ε(n,d)\varepsilon(n,d)-robustly inferable.

Main Theorem

We are now ready to state our main theorem.

The polynpomial system S\mathcal{S} is 1n8B\frac{1}{n^{8B}}-robustly inferable with respect to the planted distribution μ\mu and the sub-sampling distribution Θ\Theta.

For I∼ν\mathcal{I}\sim\nu, the polynomial system S\mathcal{S} admits a degree-dd SoS refutation with numbers bounded by nBn^{B} with probability at least 1−1n8B1-\frac{1}{n^{8B}}.

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 Q∈span⁡{ monomials Iα∣α∈Sε}Q\in\operatorname{span}\{\text{ monomials }\mathcal{I}_{\alpha}|\alpha\in\mathcal{S}_{\varepsilon}\}. 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-kk-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 I=AN\mathscr{I}=\mathcal{A}^{N}, a polynomial system S={gj(x,I)}j∈[m]\mathcal{S}=\{g_{j}(x,\mathcal{I})\}_{j\in[m]} with a family of solutions X=Bn\mathcal{X}=\mathcal{B}^{n}, a “uniform” distribution ν\nu which is a product distribution over I\mathscr{I}, and a “planted” distribution μ\mu over I\mathscr{I} defied by the polynomial system S\mathcal{S} as described in Section 2.

The contrapositive of Theorem 2.6 is that if S\mathcal{S} is robustly inferable with respect to μ\mu and a distribution over sub-instances Θ\Theta, and if there is no spectral algorithm for distinguishing μ\mu and ν\nu, then with high probability there is no degree-dd SoS refutation for the polynomial system S\mathcal{S} (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 μ^\hat{\mu} is the relative density of μ\mu with respect to ν\nu, so that μ^(I)=μ(I)/ν(I)\hat{\mu}(\mathcal{I})=\mu(\mathcal{I})/\nu(\mathcal{I}), and MM is some matrix valued function such that M(I)⪰0M(\mathcal{I})\succeq 0 and ∥M(I)∥⩽B\lVert M(\mathcal{I})\rVert\leqslant B for all I∈I\mathcal{I}\in\mathscr{I}. Our goal is to find a PSD matrix-valued function PP that matches the low-degree moments of Λ\Lambda in the variables I\mathcal{I}, while being supported over most of I\mathscr{I} (rather than just over the support of μ\mu).

We have perturbed Λ\Lambda 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 η\eta 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 Q+Q_{+} is the projection of QQ 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 c>1c>1, Program 3.3 as optimum at least Ω(c)\Omega(\sqrt{c}).

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 opt⁡>1\operatorname{opt}>1, then there is a polynomial QQ achieves a value of Ω(opt⁡)\Omega(\sqrt{\operatorname{opt}}) for the dual. It follows that

It is interesting to note that the specific structure of the PSD matrix valued function MM plays no role in the above argument—since MM serves as a proxy for monomials in the solution as represented by the program variables x⊗dx^{\otimes d}, 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 ν\nu and μ\mu.

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, QQ, and a PSD matrix AA:

It is easy to verify that if PP is not PSD, then AA can be chosen so that the value of L\mathcal{L} is ∞\infty. Similarly if there exists a low-degree polynomial upon which PP and Λ\Lambda differ in expectation, QQ can be chosen as a multiple of that polynomial so that the value of L\mathcal{L} is ∞\infty.

Now, we argue that Slater’s conditions are met for Program 3.1, as P=Λ′P=\Lambda^{\prime} is strictly feasible. Thus strong duality holds, and therefore

Taking the partial derivative of L(P,Q,A)\mathcal{L}(P,Q,A) with respect to PP, we have

Now it is clear that the maximizing choice of AA is to set A=−Q−A=-Q_{-}, the negation of the negative-semi-definite projection of QQ. Thus (3.4) simplifies to

Consider Q′=Q∗/∥Q+∗∥Fr,νQ^{\prime}=Q^{*}/\|Q^{*}_{+}\|_{Fr,\nu}. Clearly ∥Q+′∥Fr,ν=1\|Q^{\prime}_{+}\|_{Fr,\nu}=1. Now, multiplying the above inequality through by the scalar 1/∥Q+∗∥Fr,ν1/\|Q^{*}_{+}\|_{Fr,\nu}, we have that

Therefore ⟨Q′,Λ⟩ν\langle Q^{\prime},\Lambda\rangle_{\nu} is at least Ω(c1/2)\Omega(c^{1/2}), as if ∥Q+∗∥Fr,ν⩾c\|Q^{*}_{+}\|_{Fr,\nu}\geqslant\sqrt{c} then the third term gives the lower bound, and otherwise the first term gives the lower bound.

Thus by substituting Q′Q^{\prime}, the square root of the maximum of (3.5) within an additive ηnd\eta n^{d} 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-2D2D matrix polynomial that distinguishes ν\nu from μ\mu. First, the lack of distinguishers implies the following fact about scalar polynomials.

Under the assumption that there are no degree-2D2D distinguishers, for every degree-DD scalar polynomial QQ,

Suppose not, then the degree-2D2D 1×11\times 1 matrix polynomial Tr⁡(Q(I)2)\operatorname{Tr}(Q(\mathcal{I})^{2}) will be a distinguisher between μ\mu and ν\nu. ∎

Since Λ(I)\Lambda(\mathcal{I}) is an average over ΛS(I)\Lambda_{S}(\mathcal{I}), each of which is a feasible solution with high probability, Λ(I)\Lambda(\mathcal{I}) is close to a feasible solution to the SDP relaxation for I\mathcal{I}. The following Lemma formalizes this intuition.

Suppose Program 2.2 satisfies the ε\varepsilon-robust inference property with respect to planted distribution μ\mu and subsampling distribution Θ\Theta and if ∥x(IS)⩽d∥22⩽K\lVert x(\mathcal{I}_{S})^{\leqslant d}\rVert_{2}^{2}\leqslant K for all IS\mathcal{I}_{S} then for every G∈GG\in\mathcal{G}, we have

We begin by expanding the left-hand side by substituting the definition of Λ\Lambda. We have

The lemma follows by observing that the first term in the product above is exactly the non-robustness of inference probability ε\varepsilon. ∎

If G∈GG\in\mathcal{G} is a degree-DD polynomial in I\mathcal{I}, then under the assumption that there are no degree-2D2D distinguishers for ν,μ\nu,\mu,

Substituting back in the bound in Lemma 4.2 the corollary follows. ∎

Now, since there are no degree-DD matrix distinguishers QQ, for each SS in the support of Θ\Theta we can apply reasoning similar to Theorem 3.5 to conclude that there is a high-entropy PSD matrix-valued function PSP_{S} that matches the degree-DD moments of ΛS\Lambda_{S}.

If there are no degree-DD matrix distinguishers QQ for μ,ν\mu,\nu, then for each S∼ΘS\sim\Theta, there exists a solution PSP_{S} to Program 3.1 (with the variable Λ:=ΛS\Lambda:=\Lambda_{S}) and

This does not follow directly from Theorem 3.5, because a priori a distinguisher for some specific SS may only apply to a small fraction of the support of μ\mu. However, we can show that Program 3.1 has large value for ΛS\Lambda_{S} only if there is a distinguisher for μ,ν\mu,\nu.

By Claim 3.4, it suffices for us to argue that there is no degree-DD matrix polynomial QQ which has large inner product with ΛS\Lambda_{S} relative to its Frobenius norm. So, suppose by way of contradiction that QQ is a degree-DD matrix that distinguishes ΛS\Lambda_{S}, so that ⟨Q,ΛS⟩ν⩾nB+d\langle Q,\Lambda_{S}\rangle_{\nu}\geqslant n^{B+d} but ∥Q∥Fr,ν⩽1\|Q\|_{Fr,\nu}\leqslant 1.

It follows by definition of ΛS\Lambda_{S} that

where the inequality is the definition of convexity. Taking the expectation over I∼ν\mathcal{I}\sim\nu gives us that ∥(QS)+∥Fr,ν2⩽∥Q+∥Fr,ν2⩽1\|(Q_{S})_{+}\|_{Fr,\nu}^{2}\leqslant\|Q_{+}\|_{Fr,\nu}^{2}\leqslant 1, which gives us our contradiciton. ∎

We will exploit the crucial property that Λ\Lambda and PP are averages over functions that depend on subsets of variables. This has the same effect as a random restriction, in that ⟨P,R⟩ν\langle P,R\rangle_{\nu} essentially depends on the low-degree part of RR. Formally, we will show the following lemma.

We first re-express the left-hand side as

Expressing R⩾D(I)R^{\geqslant D}(\mathcal{I}) in the Fourier basis, we have that over a random choice of S∼ΘS\sim\Theta,

Substituting into the above inequality, the conclusion follows. ∎

Since Λ\Lambda is close to satisfying all the equality constraints G\mathcal{G} of the SDP, the function PP approximately satisfies the low-degree part of G\mathcal{G}. Specifically, we can prove the following.

Now we make the following claim regarding the effect of projection on to the ideal G\mathcal{G}, on the degree of a polynomial.

For every polynomial QQ, deg⁡(ΠGQ)⩽deg⁡(Q)+2k\deg(\Pi_{\mathcal{G}}Q)\leqslant\deg(Q)+2k. Furthermore for all α\alpha, ΠGQ>α\Pi_{\mathcal{G}}Q^{>\alpha} has no monomials of degree ⩽α−k\leqslant\alpha-k

where the final equality is because deg⁡(χS)>deg⁡(Gj)+deg⁡(Q)\deg(\chi_{S})>\deg(G_{j})+\deg(Q). On the other hand, for every subset SS with deg⁡(χS)⩽α−k\deg(\chi_{S})\leqslant\alpha-k,

Incorporating the above claim into (4.3), we have that

where we have used the fact that (ΠGG⩾D−2k)[D−3k,D](\Pi_{\mathcal{G}}G^{\geqslant D-2k})^{[D-3k,D]} is high degree. By property of orthogonal projections, ∥ΠGG⩾D−2k∥Fr,ν⩽∥G⩾D−2k∥Fr,ν⩽∥G∥Fr,ν\|\Pi_{\mathcal{G}}G^{\geqslant D-2k}\|_{Fr,\nu}\leqslant\|G^{\geqslant D-2k}\|_{Fr,\nu}\leqslant\|G\|_{Fr,\nu}. Along with the bound on ∥PS∥Fr,ν\lVert P_{S}\rVert_{Fr,\nu} 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 I∼ν\mathcal{I}\sim\nu, 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-dd sum-of-squares refutation of the form,

where GI∈GG^{\mathcal{I}}\in\mathcal{G}, the span of the equality constraints of the SDP.

With this notation, we can rewrite the sos-refutation identity as a polynomial identity in XX and I\mathcal{I},

Let e∅,∅\mathbf{e}_{\emptyset,\emptyset} denote the [n]⩽d×[n]⩽d[n]^{\leqslant d}\times[n]^{\leqslant d} matrix with the entry corresponding to (∅,∅)(\emptyset,\emptyset) equal to 11, while the remaining entries are zero. We can rewrite the above equality as,

for all I\mathcal{I} and formal variables XX.

where the inequality follows because A,P⪰0A,P\succeq 0. We will show that the above equation is a contradiction by proving that LHS is less than −0.9-0.9, while the right hand side is at least −0.5-0.5. First, the right hand side of (4.4) can be bounded by Lemma 4.7

where the last step used the bounds on ∥PS∥Fr,ν\lVert P_{S}\rVert_{Fr,\nu} from (4.2) and on ∥G∥Fr,ν\lVert G\rVert_{Fr,\nu} from the nBn^{B} 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 h(I,x)⩾0h(\mathcal{I},x)\geqslant 0, then a natural approach would be to introduce a slack variable zz and set h(I,x)−z2=0h(\mathcal{I},x)-z^{2}=0. Now, we can view the vector (x,z)(x,z) 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 xx can be recovered from a subinstance IS\mathcal{I}_{S}, the value of the corresponding slack variables could potentially depend on IS‾\mathcal{I}_{\overline{S}}. For instance, in a random CSP, the value of the objective function on the assignment xx generated from IS\mathcal{I}_{S} depends on all the constraints outside of SS too.

The proof we described is to be modified as follows.

As earlier, construct ΛS\Lambda_{S} using only the robust inference property of original variables xx, and the corresponding matrix functions PSP_{S}.

Convert each inequality of the form hi(I,x)⩾0h_{i}(\mathcal{I},x)\geqslant 0, in to an equality by setting hi(I,x)=zi2h_{i}(\mathcal{I},x)=z_{i}^{2}.

Intuitively, the pseudo-distribution picks the sign for each ziz_{i} uniformly at random, independent of all other variables. Therefore, all moments involving an odd power of ziz_{i} are zero. On the other hand, the moments of even powers of ziz_{i} are picked so that the equalities hi(I,x)=zih_{i}(\mathcal{I},x)=z_{i} 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 Ddk/2⩽nB/2D^{dk/2}\leqslant n^{B/2}; however this does not substantially change our results, since Theorem 2.6 requires ρ(D,Θ)<n−8B\rho(D,\Theta)<n^{-8B}, which leaves us enough slack to absorb this factor (and in every application ρ(D,Θ)=pO(D)\rho(D,\Theta)=p^{O(D)}for some p<1p<1 sufficiently small that we meet the requirement that Ddkρ(D−dk,Θ)D^{dk}\rho(D-dk,\Theta) is monotone non-increasing in DD).

and the additional requirement that Ddk⋅ρ(D−dk,Θ)D^{dk}\cdot\rho(D-dk,\Theta) is monotone non-increasing in DD, then

where we have used that Ddkρ(D−dk,Θ)D^{dk}\rho(D-dk,\Theta) is a monotone non-increasing function of DD. 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 G=(V,E)G=(V,E) on nn vertices, determine whether it comes from:

Uniform Distribution: the uniform distribution over graphs on nn vertices (G(n,12)G(n,\tfrac{1}{2})).

Planted Distribution: the uniform distribution over nn-vertex graphs with a clique of size at least nδn^{\delta}

The usual polynomial program for planted clique in variables x1,…,xnx_{1},\ldots,x_{n} is:

Theorem 2.6 applies to the above planted clique program, so long as obj⁡⩽nδ−ε\operatorname{obj}\leqslant n^{\delta-\varepsilon} for any ε⩾c⋅dD−6d\varepsilon\geqslant\frac{c\cdot d}{D-6d} for a fixed constant cc.

For planted clique, for our notion of “instance degree”, rather than the multiplicity of instance variables, the “degree” of Iα\mathcal{I}_{\alpha} will be the number of distinct vertices incident on the edges in α\alpha. The proof of Theorem 2.6 proceeds identically with this notion of degree, but we will be able to achieve better bounds on DD relative to dd.

In this case, the instance degree of the SoS relaxation is k=2k=2. We have from Corollary A.3 that the degree-dd SoS refutation is well-conditioned, with numbers bounded by nc1⋅dn^{c_{1}\cdot d} for some constant c1/2c_{1}/2. Define B=c1d⩾dkB=c_{1}d\geqslant dk.

Our subsampling distribution Θ\Theta is the distribution given by including every vertex with probability ρ\rho, producing an induced subgraph of ≈ρn\approx\rho n vertices. For any set of edges α\alpha of instance degree at most D−6dD-6d,

since the instance degree corresponds to the number of vertices incident on α\alpha.

This subsampling operation satisfies the subsample inference condition for the clique constraints with probability 11, since a clique in any subgraph of GG is also a clique in GG. Also, if there is a clique of size nδn^{\delta} in GG, then by a Chernoff bound

Choosing β=10Blog⁡nρnδ\beta=\sqrt{\frac{10B\log n}{\rho n^{\delta}}}, this gives us that Θ\Theta gives n−10Bn^{-10B}-robust inference for the planted clique problem, so long as obj⁡⩽ρn/2\operatorname{obj}\leqslant\rho n/2. Choosing ρ=n−ε\rho=n^{-\varepsilon} for ε\varepsilon so that

for some constant c2c_{2}, all of the conditions required by Theorem 2.6 now hold. ∎

Given an instance of a Boolean kk-CSP with predicate P:{±1}k→{±1}P:\{\pm 1\}^{k}\to\{\pm 1\} on nn variables with clause set CC, determine whether it comes from:

Uniform Distribution: m≈αnm\approx\alpha n constraints are generated as follows. Each kk-tuple of variables S∈[n]kS\in[n]^{k} is independently with probability p=αn−k+1p=\alpha n^{-k+1} given the constraint P(xS∘zS)=bSP(x_{S}\circ z_{S})=b_{S} (where ∘\circ is the entry-wise multiplication operation) for a uniformly random zS∈{±1}kz_{S}\in\{\pm 1\}^{k} and bS∈{±1}b_{S}\in\{\pm 1\}.

Planted Distribution: a planted solution y∈{±1}ny\in\{\pm 1\}^{n} is chosen, and then m≈αnm\approx\alpha n constraints are generated as follows. Each kk-tuple of variables S∈[n]kS\in[n]^{k} is independently with probability p=αn−k+1p=\alpha n^{-k+1} given the constraint P(xS∘zS)=bSP(x_{S}\circ z_{S})=b_{S} for a uniformly random zS∈{±1}kz_{S}\in\{\pm 1\}^{k}, but bS=P(yS∘zS)b_{S}=P(y_{S}\circ z_{S}) with probability 1−δ1-\delta and bSb_{S} is uniformly random otherwise.

The usual polynomial program for random CSP refutation in variables x1,…,xnx_{1},\ldots,x_{n} is:

If α⩾1\alpha\geqslant 1, then Theorem 2.6 applies to the above random kk-CSP refutation problem, so long as obj⁡⩽(1−δ−ε)m\operatorname{obj}\leqslant(1-\delta-\varepsilon)m for any ε⩾c⋅dlog⁡nD−3d\varepsilon\geqslant\frac{c\cdot d\log n}{D-3d}, where cc is a fixed constant.

In this case, the instance degree of the SoS relaxation k=1k=1. We have from Corollary A.3 that the degree-dd SoS refutation is well-conditioned, with numbers bounded by nc1dn^{c_{1}d} for some constant c1c_{1}. Define B=c1dB=c_{1}d.

Our subsampling distribution Θ\Theta is the distribution given by including each constraint independently with probability ρ\rho, producing an induced CSP instance on nn variables with approximately ρm\rho m constraints. Since each constraint survives the subsampling with probability ρ\rho, for any α∈(CD−3d)\alpha\in\binom{C}{D-3d},

The subsample inference property clearly holds for the boolean constraints {xi2=1}i∈[n]\{x_{i}^{2}=1\}_{i\in[n]}, as a Boolean assignment to the variables is valid regardless of the number of constraints. Before subsampling there are at least (1−δ)m(1-\delta)m satisfied constraints, and so letting OSO_{S} be the number of constraints satisfied in sub-instance SS, we have by a Chernoff bound

for some constant c2c_{2}. The conclusion follows (after making appropriate adjustments to the constant). ∎

Given a graph G=(V,E)G=(V,E) on nn vertices, determine whether it comes from:

Uniform Distribution: G(n,b/n)G(n,b/n), the distribution over graphs in which each edge is included independently with probability b/nb/n.

Planted Distribution: the stochastic block model—there is a partition of the vertices into two equally-sized sets, YY and ZZ, and the edge (u,v)(u,v) is present with probability a/na/n if u,v∈Yu,v\in Y or u,v∈Zu,v\in Z, and with probability (b−a)/n(b-a)/n otherwise.

Letting x1,…,xnx_{1},\ldots,x_{n} be variables corresponding to the membership of each vertex’s membership, and let AA be the adjacency of the graph. The canonical polynomial optimization problem is

Theorem 2.6 applies to the community detection problem so long as obj⁡⩽(1−ε)(2a−b)4n\operatorname{obj}\leqslant(1-\varepsilon)\frac{(2a-b)}{4}n, for ε>c⋅dlog⁡nD−3d\varepsilon>\frac{c\cdot d\log n}{D-3d} where cc is a fixed constant.

The degree of the SoS relaxation in the instance is k=1k=1. 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 nc1dn^{c_{1}d} for some constant c1c_{1}. Let B=c1dB=c_{1}d.

Consider the solution xx which assigns xi=1x_{i}=1 to i∈Yi\in Y and xi=−1x_{i}=-1 to i∈Zi\in Z. Our subsampling operation is to remove every edge independently with probability 1−ρ1-\rho. The resulting distribution Θ\Theta and the corresponding restriction of xx clearly satisfies the Booleanity and balancedness constraints with probability 11. Since each edge is included independently with probability ρ\rho, for any α∈(ED−3d)\alpha\in\binom{E}{D-3d},

In the sub-instance, the expected value (over the choice of planted instance and over the choice of sub-instance) of the restricted solution xx is

and by a Chernoff bound, the value in the sub instance is within a (1−β)(1-\beta)-factor with probability 1−n−10B1-n^{-10B} for β=10Blog⁡nn\beta=\sqrt{\frac{10B\log n}{n}}. On resampling the edges outside the sub-instance from the uniform distribution, this value can only decrease by at most (1−ρ)(1+β)nb/2(1-\rho)(1+\beta)nb/2 w.h.p over the choice of the outside edges.

If we set ρ=(1−ε(2a−b)/10b)\rho=(1-\varepsilon(2a-b)/10b), then ρD−3d⩽n−8B\rho^{D-3d}\leqslant n^{-8B} for ε⩾c2(2a−b)log⁡nD−3d\varepsilon\geqslant\frac{c_{2}(2a-b)\log n}{D-3d}. for some constant c2c_{2}, while the objective value is at least (1−ε)(2a−b)n4(1-\varepsilon)\frac{(2a-b)n}{4}. The conclusion follows (after making appropriate adjustments to the constant). ∎

Given a graph G=(V,E)G=(V,E) on nn vertices, determine whether it comes from:

Planted Distribution: A graph from G(n,p)G(n,p) with an instance of G(k,q)G(k,q) planted on a random subset of kk vertices, p<qp<q.

Letting AA be the adjacency matrix, the usual polynomial program for densest-kk-subgraph in variables x1,…,xnx_{1},\ldots,x_{n} is:

When k2(p+q)≫dlog⁡nk^{2}(p+q)\gg d\log n, Theorem 2.6 applies to the densest-k-subgraph problem with obj⁡⩽(1−ε)(p+q)(k2)\operatorname{obj}\leqslant(1-\varepsilon)(p+q)\binom{k}{2} for any ε>c⋅dlog⁡nD−3d\varepsilon>\frac{c\cdot d\log n}{D-3d} for a fixed constant cc.

The degree of the SoS relaxation in the instance is k=1k=1. We have from Corollary A.3 that the SoS proof has no values larger than nc1dn^{c_{1}d} for a constant c1c_{1}; fix B=c1dB=c_{1}d.

Our subsampling operation is to include each edge independently with probability ρ\rho, and take the subgraph induced by the included edges. Clearly, the Booleanity and sparsity constraints are preserved by this subsampling distribution Θ\Theta. Since each edge is included independently with probability ρ\rho, for any α∈(ED−3d)\alpha\in\binom{E}{D-3d},

Now, the expected objective value (over the instance and the sub-sampling) is at least ρ(p+q)(k2)\rho(p+q)\binom{k}{2}, and applying a Chernoff bound, we hace that the probability the sub-sampled instance has value less than (1−β)ρ(p+q)(k2)(1-\beta)\rho(p+q)\binom{k}{2} is at most n−10Bn^{-10B} if we choose β=10Blog⁡nρ(p+q)(k2)\beta=\sqrt{\frac{10B\log n}{\rho(p+q)\binom{k}{2}}} (which is valid since we assumed that dlog⁡n≪(p+q)k2d\log n\ll(p+q)k^{2}). Further, a dense subgraph on a subset of the edges is still dense when more edges are added back, so we have the n−10Bn^{-10B}-robust inference property.

Thus, choosing ρ=(1−ε)\rho=(1-\varepsilon) and setting

for some constant c2c_{2}, which concludes the proof (after making appropriate adjustments to the constant). ∎

Uniform Distribution: each entry of the tensor sampled independently from N(0,1)\mathcal{N}(0,1).

Planted Distribution: a spiked tensor, T=λ⋅v⊗k+G\mathbf{T}=\lambda\cdot v^{\otimes k}+G where vv is sampled uniformly from {±1n}n\{\pm\frac{1}{\sqrt{n}}\}^{n}, and where GG is a random tensor with each entry sampled independently from N(0,1)\mathcal{N}(0,1).

Given the tensor T\mathbf{T}, the canonical program for the tensor PCA problem in variables x1,…,xnx_{1},\ldots,x_{n} is:

For λn−ε≫log⁡n\lambda n^{-\varepsilon}\gg\log n, Theorem 2.6 applies to the tensor PCA problem with obj⁡⩽λn−ε\operatorname{obj}\leqslant\lambda n^{-\varepsilon} for any ε⩾c⋅dD−3d\varepsilon\geqslant\frac{c\cdot d}{D-3d} for a fixed constant cc.

The degree of the SoS relaxation in the instance is k=1k=1. Since the entries of the noise component of the tensor are standard normal variables, with exponentially good probability over the input tensor T\mathbf{T} we will have no entry of magnitude greater than ndn^{d}. This, together with Corollary A.3, gives us that except with exponentially small probability the SoS proof will have no values exceeding nc1dn^{c_{1}d} for a fixed constant c1c_{1}.

Our subsampling operation is to set to zero every entry of T\mathbf{T} independently with probability 1−ρ1-\rho, obtaining a sub-instance T′\mathbf{T}^{\prime} on the nonzero entries. Also, for any α∈([n]kD−3d)\alpha\in\binom{[n]^{k}}{D-3d},

This subsampling operation clearly preserves the planted solution unit sphere constraint. Additionally, let R\mathcal{R} be the operator that restricts a tensor to the nonzero entries. We have that ⟨R(λ⋅v⊗k),v⊗k⟩\langle\mathcal{R}(\lambda\cdot v^{\otimes k}),v^{\otimes k}\rangle has expectation λ⋅ρ\lambda\cdot\rho, since every entry of v⊗kv^{\otimes k} has magnitude n−k/2n^{-k/2}. Applying a Chernoff bound, we have that this quantity will be at least (1−β)λρ(1-\beta)\lambda\rho with probability at least n−10Bn^{-10B} if we choose β=10Blog⁡nλρ\beta=\sqrt{\frac{10B\log n}{\lambda\rho}}.

Now, we set ρ=n−ε\rho=n^{-\varepsilon} so that

which concludes the proof (after making appropriate adjustments to the constant c1c_{1}). ∎

Uniform Distribution: each entry of the matrix sampled independently from N(0,1)\mathcal{N}(0,1).

The canonical program for the sparse PCA problem in variables x1,…,xnx_{1},\ldots,x_{n} is:

For kn−ε/2≫log⁡nkn^{-\varepsilon/2}\gg\log n, Theorem 2.6 applies to the sparse PCA problem with obj⁡⩽k2−εm\operatorname{obj}\leqslant k^{2-\varepsilon}m for any ε>c⋅dD−6d\varepsilon>\frac{c\cdot d}{D-6d} for a fixed constant cc.

The degree of the SoS relaxation in the instance is 22. Since the entries of the noise are standard normal variables, with exponentially good probability over the input matrix MM we will have no entry of magnitude greater than ndn^{d}. This, together with Corollary A.3, gives us that except with exponentially small probability the SoS proof will have no values exceeding nc1dn^{c_{1}d} for a fixed constant c1c_{1}.

Our subsampling operation is to set to zero every entry of MM independently with probability 1−ρ1-\rho, obtaining a sub-instance MM on the nonzero entries. Also, for any α∈(MD−6d)\alpha\in\binom{M}{D-6d},

This subsampling operation clearly preserves the constraints on the solution variables.

where GTG^{T} is a random Gaussian matrix. Therefore, the objective value obtained by the solution y=kvy=\sqrt{k}v is

The first term is a vector usignalu_{signal} with mm entries, each of which is a sum of kk Bernoulli random variables, all of the same sign, with probability ρ\rho of being nonzero. The second term is a vector unoiseu_{noise} with mm entries, each of them an independent Gaussian variable with variance bounded by kk. We have that

and by Chernoff bounds we have that this concentrates within a (1−β)(1-\beta) factor with probability 1−n−10B1-n^{-10B} if we take β=10Blog⁡n(ρk)2m\beta=\sqrt{\frac{10B\log n}{(\rho k)^{2}m}}.

The expectation of ⟨usignal,unoise⟩\langle u_{signal},u_{noise}\rangle is zero, and applying similar concentration arguments we have that with probability 1−n10B1-n^{10B}, ∣⟨usignal,unoise⟩∣⩽(1+β)ρk|\langle u_{signal},u_{noise}\rangle|\leqslant(1+\beta)\rho k. Taking the union bound over these events and applying Cauchy-Schwarz, we have that

so long as ρk≫1\rho k\gg 1, the first term dominates.

Now, we set ρ=n−ε\rho=n^{-\varepsilon} for ε<1\varepsilon<1 so that

for some constant c2c_{2}, 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 λ≪n3/4−ε\lambda\ll n^{3/4-\varepsilon} for ε>0\varepsilon>0, 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 ν⩽d\nu^{\leqslant d} is the orthogonal projection (with respect to μ\mu) of the density ν\nu to the degree-dd polynomials. Note that the last quantity is just the 22 norm, or the variance, of the truncation to low-degree polynomials of the density ν\nu of the planted distribution.

The theorem follows immediately. We sketch proofs of the claims in order.

Then the best pp (ignoring normalization momentarily) will be the function

The following fact, used to prove Claim 6.3, is an elementary computation with Hermite polynomials.

Let W⊆[n]3W\subseteq[n]^{3}. Then ν^(W)=λ∣W∣n−3∣W∣/2\widehat{\nu}(W)=\lambda^{|W|}n^{-3|W|/2} if WW, thought of as a 33-uniform hypergraph, has all even degrees, and is otherwise.

What is the contribution to ∑1⩽∣W∣⩽dν^(W)2\sum_{1\leqslant|W|\leqslant d}\widehat{\nu}(W)^{2} of terms WW with ∣W∣=t|W|=t? By the fact above, to contribute a nonzero term to the sum, WW,considered as a 33-uniform hypergraph must have even degrees. So, if it has tt hyperedges, it contains at most 3t/23t/2 nodes. There are n3t/2n^{3t/2} choices for these nodes, and having chosen them, at most tO(t)t^{O(t)} 33-uniform hypergraphs on those nodes. Hence,

So long as λ2⩽n3/2−ε\lambda^{2}\leqslant n^{3/2-\varepsilon} for some ε=Ω(1)\varepsilon=\Omega(1) and t⩽d⩽nO(ε)t\leqslant d\leqslant n^{O(\varepsilon)}, this is o(1)o(1). ∎

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: A∼ΩA\sim\Omega chosen uniformly at random.

the planted distribution: Choose v∼{±1}nv\sim\{\pm 1\}^{n} and let B=v⊗kB=v^{\otimes k}. Sample AA by rerandomizing every coordinate of BB with probability 1−λn−k/21-\lambda n^{-k/2}.

We show that the natural SoS relaxation of this problem suffers from a large integrality gap, when λ\lambda is slightly less than nk/4n^{k/4}, even when the degree of the SoS relaxation is nΩ(1)n^{\Omega(1)}. (When λ≫nk/4−ε\lambda\gg n^{k/4-\varepsilon}, algorithms with running time 2nO(ε)2^{n^{O(\varepsilon)}} are known for k=O(1)k=O(1) [RM14, HSS15, HSSS16, BGL16, RRS16].)

There is a constant cc so that for every small enough ε>0\varepsilon>0, if d⩽nc⋅εd\leqslant n^{c\cdot\varepsilon}, then for large enough nn,

Moreover, the latter also holds for AA with iid entries from N(0,1)\mathcal{N}(0,1).For technical reasons we do not prove a tail bound type statement for Gaussian AA, but we conjecture that this is also true.

The Planted Distribution: Choose v∼{±1}nv\sim\{\pm 1\}^{n} uniformly. Let B=v⊗kB=v^{\otimes k}. Sample AA by

replacing every coordinate of BB with a random draw from {±1}\{\pm 1\} independently with probability 1−λn−k/21-\lambda n^{-k/2},

then choosing a subset S⊆[n]S\subseteq[n] by including every coordinate with probability n−εn^{-\varepsilon},

then replacing every entry of BB with some index outside SS independently with a uniform draw from {±1}\{\pm 1\}.

For a tensor AA, the moment matrix of the pseudodistribution we exhibit will be Λ⩽D(A)\Lambda^{\leqslant D}(A). We will need it to satisfy the constraint {∥x∥2=1}\{\|x\|^{2}=1\}. 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 Λ⩽D\Lambda^{\leqslant D} to be well concentrated.

Let Λ,d,ε,D\Lambda,d,\varepsilon,D be as in Lemma 6.7. The function Λ⩽D\Lambda^{\leqslant D} 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 n×nn\times n matrix AA, even high-degree SoS relaxations are unable to certify that no sparse vector vv has large quadratic form ⟨v,Av⟩\langle v,Av\rangle.

There are absolute constants c,ε∗>0c,\varepsilon^{*}>0 so that for every ρ∈(0,1)\rho\in(0,1) and ε∈(0,ε∗)\varepsilon\in(0,\varepsilon^{*}), if k=nρk=n^{\rho}, then for d⩽nc⋅εd\leqslant n^{c\cdot\varepsilon},

Furthermore, the latter is true also if AA is symmetric with iid entries from N(0,1)\mathcal{N}(0,1).For technical reasons we do not prove a tail bound type statement for Gaussian AA, 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 AA in the theorem statement above to be a ±1\pm 1 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 WW be a symmetric matrix with iid entries from N(0,1)\mathcal{N}(0,1), and let vv be a random kk-sparse unit vector with entries {±1/k,0}\{\pm 1/\sqrt{k},0\}. Let B=W+λvv ⁣⊺B=W+\lambda vv{}^{\mkern-4.0mu\intercal}. The problem is to distinguish between a single sample from BB and a sample from WW. There are two main algorithms for this problem, both captured by the SoS hierarchy. The first, applicable when λ≫n\lambda\gg\sqrt{n}, is vanilla PCA: the top eigenvalue of BB will be larger than the top eigenvalue of WW. The second, applicable when λ≫k\lambda\gg k, is diagonal thresholding: the diagonal entries of BB 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 λ\lambda is well outside these parameter regimes, i.e. when λ<n1/2−ε,k1−ε\lambda<n^{1/2-\varepsilon},k^{1-\varepsilon} for arbitrarily small ε>0\varepsilon>0, even degree nΩ(ε)n^{\Omega(\varepsilon)} SoS programs do not distinguish between BB and WW.

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 kk-sparse vectors. Consider the actual maximum of ⟨x,Ax⟩\langle x,Ax\rangle for random ({±1}\{\pm 1\} or Gaussian) AA over kk-sparse unit vectors xx. There are roughly 2klog⁡n2^{k\log n} points in a 12\tfrac{1}{2}-net for such vectors, meaning that by standard arguments,

With the parameters of the theorem, this means that the integrality gap of the degree nΩ(ε)n^{\Omega(\varepsilon)} SoS relaxation is at least min⁡(nρ/2−ε,n1/2−ρ/2−ε)\min(n^{\rho/2-\varepsilon},n^{1/2-\rho/2-\varepsilon}) when k=nρk=n^{\rho}.

for all d⩽nc⋅εd\leqslant n^{c\cdot\varepsilon}.

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 C,ε∗>0C,\varepsilon^{*}>0 such that for every γ>0\gamma>0 and ρ∈(0,1)\rho\in(0,1) and every ε∈(0,ε∗)\varepsilon\in(0,\varepsilon^{*}) (all independent of nn), if k=nρk=n^{\rho} and λ⩽min⁡{nρ−ε,n1/2−ε}\lambda\leqslant\min\{n^{\rho-\varepsilon},n^{1/2-\varepsilon}\}, and if Cd/ε<D<nε/CCd/\varepsilon<D<n^{\varepsilon/C}, then for large enough nn

Let Λ,d,k,λ,γ,D\Lambda,d,k,\lambda,\gamma,D be as in Lemma 6.14. The function Λ⩽D\Lambda^{\leqslant D} 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 P\mathcal{P} is kk-complete on up to degree 2d2d if every zero eigenvector of XDX_{\mathcal{D}} has a degree-kk derivation from the ideal constraints of P\mathcal{P}.

the SDP optimum value is bounded by nO(d)n^{O(d)}

the coefficients of the objective function are bounded by nO(d)n^{O(d)},

it follows that the SoS certificate for the problem is well-conditioned, with no value larger than nO(d)n^{O(d)}.

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-2d2d sum-of-squares proof for P\mathcal{P} is of the form

where the g(x)g(x) is a polynomial in the span of the ideal constraints, and AA is a sum of squares of polynomials. Alternatively, we have the matrix characterization,

where x^=[1 x]⊤\hat{x}=[1\ x]^{\top}, F,AF,A, and GG are matrix polynomials corresponding to f,af,a, and gg respectively, and with A⪰0A\succeq 0.

Now let s∈Ss\in\mathcal{S} be a feasible solution. Then we have that

where the second equality follows because each s∈Ss\in S is feasible. By assumption the left-hand-side is bounded by nO(d)n^{O(d)}.

By assumption P\mathcal{P} is 2d2d-complete on D\mathcal{D} up to degree 2d2d, and therefore Π\Pi is derivable in degree 2d2d from the ideal constraints {gj}j∈[m]\{g_{j}\}_{j\in[m]}. Therefore, the latter three terms may be absorbed into GG, or more formally, we can set A′=Π⊥AΠ⊥A^{\prime}=\Pi^{\perp}A\Pi^{\perp}, G′=G+(Π+Π⊥)A(Π+Π⊥)−Π⊥AΠ⊥G^{\prime}=G+(\Pi+\Pi^{\perp})A(\Pi+\Pi^{\perp})-\Pi^{\perp}A\Pi^{\perp}, and re-write the original proof

The left-hand-side remains unchanged, so we still have that it is bounded by nO(d)n^{O(d)} for any feasible solution s∈Ss\in\mathcal{S}. Furthermore, the nonzero eigenspaces of XDX_{\mathcal{D}} and A′A^{\prime} are identical, and so A′A^{\prime} cannot be nonzero on any diagonal entry which is orthogonal to the space of feasible solutions.

Now, we argue that every diagonal entry of A′A^{\prime} is at most nO(d)n^{O(d)}. To see this, for each diagonal term χα2\chi_{\alpha}^{2}, we choose the solution s∈Ss\in\mathcal{S} for which χα(s)2⩾n−O(d)\chi_{\alpha}(s)^{2}\geqslant n^{-O(d)}. We then have by the PSDness of A′A^{\prime} that

which then implies that Aα,α′⩽nO(d)A^{\prime}_{\alpha,\alpha}\leqslant n^{O(d)}. It follows that Tr⁡(A′)⩽nO(d)\operatorname{Tr}(A^{\prime})\leqslant n^{O(d)}, and again since A′A^{\prime} is PSD,

Putting things together, we have from our original matrix identity (A.1) that

Therefore by our assumptions that ∥sdpOpt∥,∥F∥F=nO(d)\|\mathop{\textrm{sdpOpt}}\|,\|F\|_{F}=n^{O(d)}, 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-2d2d SoS proofs with all coefficients bounded by nO(d)n^{O(d)}:

The hypercube: Any polynomial optimization problem with the only constraints being {xi2=xi}i∈[n]\{x_{i}^{2}=x_{i}\}_{i\in[n]} or {xi2=1}i∈[n]\{x_{i}^{2}=1\}_{i\in[n]} and objective value at most nO(d)n^{O(d)} over the set of integer feasible solutions. (Including max kk-csp).

The hypercube with balancedness constraints: Any polynomial optimization problem with the only constraints being {xi2−1}i∈[n]∪{∑ixi=0}\{x_{i}^{2}-1\}_{i\in[n]}\cup\{\sum_{i}x_{i}=0\}. (Including community detection).

The unit sphere: Any polynomial optimization problem with the only constraints being {∑i∈[n]xi2=1}\{\sum_{i\in[n]}x_{i}^{2}=1\} and objective value at most nO(d)n^{O(d)} over the set of integer feasible solutions. (Including tensor PCA).

The sparse hypercube: As long as 2d⩽k2d\leqslant k, any polynomial optimization problem with the only constraints being {xi2=xi}i∈[n]∪{∑i∈[n]xi=k}\{x_{i}^{2}=x_{i}\}_{i\in[n]}\cup\{\sum_{i\in[n]}x_{i}=k\}, or {xi3=xi}i∈[n]∪{∑i∈[n]xi2=k}\{x_{i}^{3}=x_{i}\}_{i\in[n]}\cup\{\sum_{i\in[n]}x_{i}^{2}=k\}, and objective value at most nO(d)n^{O(d)} over the set of integer feasible solutions. (Including densest kk-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 P\mathcal{P} and distributions over solutions D\mathcal{D} 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 P\mathcal{P} and distributions over solutions D\mathcal{D} 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, s=1⃗s=\vec{1}, for which χα2(s)=1\chi_{\alpha}^{2}(s)=1 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, ss, some perfectly balanced vector, for which χα2(s)=1\chi_{\alpha}^{2}(s)=1 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, s=1n⋅1⃗s=\frac{1}{\sqrt{n}}\cdot\vec{1}, for which χα2(s)⩾n−d\chi_{\alpha}^{2}(s)\geqslant n^{-d} as long as ∣α∣⩽d|\alpha|\leqslant d, 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 S\mathcal{S} to be the set of 0,10,1 indicators for cliques in the graph. Any α\alpha that corresponds to a non-clique in the graph has χα\chi_{\alpha} identically zero in the solution space. Otherwise, χα(s)2=1\chi_{\alpha}(s)^{2}=1 when s∈Ss\in\mathcal{S} is the indicator vector for the clique on α\alpha.

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 D\mathcal{D} is δ\delta-spectrally rich up to degree 2d2d if every nonzero eigenvalue of XDX_{\mathcal{D}} is at least δ\delta.

The following distributions over solutions D\mathcal{D} are polynomially spectrally rich:

If D\mathcal{D} is the uniform distribution over {±1}n\{\pm 1\}^{n}, then D\mathcal{D} is polynomially spectrally rich up to degree d⩽nd\leqslant n.

If D\mathcal{D} is the uniform distribution over α⋅Sn−1\alpha\cdot\mathcal{S}_{n-1}, then D\mathcal{D} is polynomially spectrally rich up to degree d⩽nd\leqslant n.

If D\mathcal{D} is the uniform distribution over x∈{1,0}nx\in\{1,0\}^{n} with ∥x∥0=k\|x\|_{0}=k, then if 2d⩽k2d\leqslant k, D\mathcal{D} is polynomially spectrally rich up to degree dd.

If D\mathcal{D} is the uniform distribution over x∈{±1,0}nx\in\{\pm 1,0\}^{n} with ∥x∥0=k\|x\|_{0}=k, then if 2d⩽k2d\leqslant k, D\mathcal{D} is polynomially spectrally rich up to degree dd.

Now, let p1(x),…,pr(x)p_{1}(x),\ldots,p_{r}(x) be a basis for polynomials of degree at most 2d2d in xx which is orthonormal with respect to D\mathcal{D}, so that

If p^i\hat{p}_{i} is the representation of pip_{i} in the monomial basis, we have that

Therefore, the matrix R=∑iei(p^i)⊤R=\sum_{i}e_{i}(\hat{p}_{i})^{\top} diagonalizes XDX_{\mathcal{D}},

It follows that the minimum non-zero eigenvalue of XDX_{\mathcal{D}} is equal to the smallest eigenvalue of (RR⊤)−1(RR^{\top})^{-1}, which is in turn equal to 1σmax⁡(R)2\frac{1}{\sigma_{\max}(R)^{2}} where σmax⁡(R)\sigma_{\max}(R) is the largest singular value of RR. 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 D\mathcal{D}. We now proceed to handle each case separately.

D\mathcal{D} uniform over hypercube: In this case, the monomial basis is an orthogonal basis, so RR is the identity on the space orthogonal to the ideal constraints, and σmax⁡(R)=1\sigma_{\max}(R)=1, which completes the proof.

D\mathcal{D} 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 pip_{i} in the monomial basis, no coefficient of a monomial (and thus no entry of p^i\hat{p}_{i}) exceeds nO(d)n^{O(d)}, and since there are at most ndn^{d} polynomials each with ∑i=0d(nd)⩽nd\sum_{i=0}^{d}\binom{n}{d}\leqslant n^{d} coefficients, employing the triangle inequality we have that σmax⁡(R)⩽nO(d)\sigma_{\max}(R)\leqslant n^{O(d)}, 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 T∼N(0,1)(nk)T\sim\mathcal{N}(0,1)^{\binom{n}{k}} be a Gaussian random tensor. Then

where the maximization is over pseudodistributions of degree dd which satisfy {∥x∥2=1}\{\|x\|^{2}=1\}.

where α\alpha ranges over multi-indices of size kk over [n][n]. We rearrange each term above to