Sum of squares lower bounds for refuting any CSP
Pravesh K. Kothari, Ryuhei Mori, Ryan O'Donnell, David Witmer
Introduction
In computational complexity, we have a comprehensive theory of worst-case hardness, assuming . The theory is particular rich in the context of constraint satisfaction problems (CSPs) — optimization tasks that are both simple to state and powerfully expressive. (See, e.g., [BJK05, Rag08].) But despite our many successes in the theory of -completeness and -hardness-of-approximation, we know relatively little about the nature of hard instances. For example, -SAT is conjecturally hard to solve — or even approximate to factor — in time. But what do hard(-seeming) instances look like? How can we generate one? These sorts of questions are a key part of understanding what makes various algorithmic problems truly hard. They are particularly important for CSPs, as these are nearly always the starting point for hardness reductions; the ability to find hard instances for CSPs yields the ability to find hard instances for many other algorithmic problems.
In some sense, a single instance can never be “hard” because its solution can always be hard-coded into an algorithm. Thus it is natural to turn to random instances, and the theory of average-case hardness. Uniformly random instances of CSPs are a particularly simple and natural source of hard(-seeming) instances. Furthermore, they arise as the fundamental object of study in many disparate areas of research, including cryptography [ABW10], proof complexity [BSB02], hardness of approximation [Fei02], learning theory [DLSS14], SAT-solving [SAT], statistical physics [CLP02], and combinatorics.
For random instances with subcritical constraint density, , the natural algorithmic task is to try to efficiently find satisfying assignments. There have been quite a few theoretical and practical successes for this problem, for quite large and even approaching [Gab16, MPRT16]. On the other hand, for random instances with supercritical constraint density, , the natural algorithmic task is to try to efficiently refute them; i.e., produce a certificate of unsatisfiability. For many CSPs, this task seems much harder, even heuristically. For example, random -SAT instances are unsatisfiable (whp) once [DKMPG08]; however, even for as large as there is no known algorithm that efficiently refutes random instances — even heuristically/experimentally. Thus the refutation task for random instances of CSPs with many constraints may be a source of simple-to-generate, yet hard-to-solve problems.
2 The importance and utility of hardness assumptions for random CSPs
For a wide variety of areas — cryptography, learning theory, and approximation algorithms — it is of significant utility to have concrete hardness assumptions concerning random CSPs. Because uniformly random CSPs are very simply and concretely defined, they form an excellent basis for constructing other potentially hard problems by reduction. An early concrete hypothesis comes from an influential paper of Feige [Fei02]:
For every small and for large enough constant , there is no polynomial-time algorithm that succeeds in -refuting random instances of -SAT.
Feige’s main motivation was hardness of approximation; e.g., he showed that the R3SAT Hypothesis implies stronger hardness of approximation results than were previously known for several problems (Balanced Bipartite Clique, Min-Bisection, Dense -Subgraph, -Catalog). By reducing from these problems, several more new hardness of approximation results based on Feige’s Hypothesis have been shown in a variety of domains [BKP04, DFHS06, Bri08, AGT12]. Feige [Fei02] also related hardness of refuting -SAT to hardness of refuting -XOR. The assumption that refuting -XOR is hard has been used to prove new hardness results in subsequent work [OWWZ14]. Alekhnovich [Ale03] further showed that certain average-case hardness assumptions for XOR imply additional hardness results, as well as the existence of secure public key cryptosystems.
In even earlier cryptography work, Goldreich [Gol00] proposed using the average-case hardness of random CSPs as the basis for candidate one-way functions. Subsequent work (e.g., [MST03]) suggested using similar functions as candidate pseudorandom generators (PRGs). The advantage of this kind of construction is the extreme simplicity of computing the PRG: indeed, its output bits can be computed in , constant parallel time. Further work investigated variations and extensions of Goldreich’s suggestion [ABW10, ABR12, AL16]; see Applebaum’s survey [App13] for many more details. Of course, the security of these candidate cryptographic constructions depends heavily on the hardness of refuting random CSPs. Applebaum, Ishai, and Kushilevitz [AIK06] took a slightly different approach to showing that PRGs exist in , instead basing their result on one of Alekhnovich’s average case XOR hardness assumptions [Ale03].
3 Desiderata for hardness results
While Feige’s R3SAT Hypothesis has proven useful in hardness of approximation, there are several important strengthenings of it that would lead to even further utility. We discuss here four key desiderata for hardness results about random CSPs:
Predicates other than SAT. The hardness of random -SAT and -XOR has been most extensively studied, but for applications it is quite important to consider other predicates. For hardness of approximation, already Feige [Fei02] noted that he could prove stronger inapproximability for the -Catalog problem assuming hardness of refuting random -AND for large . Subsequent work has used assumptions about the hardness of refuting CSPs with other predicates to prove additional worst-case hardness results [GL04, AAM+11, CMVZ12, BCMV12, RSW16]. Relatedly, Barak, Kindler, and Steurer [BKS13] have recently considered a generalization of Feige’s Hypothesis to all Boolean predicates, in which the assumption is that the “basic SDP” provides the best -refutation algorithm when . They also describe the relevance of predicates over larger alphabet sizes and with superconstant arity for problems such as the Sliding Scale Conjecture and Densest -Subgraph. Bhaskara et al. [BCG+12] prove an SOS lower bound for Densest -Subgraph via a reduction from Tulsiani’s SOS lower bound for random instances of CSP with a -ary linear code [Tul09]. A computational hardness assumption for refutation of this CSP would therefore give a hardness result for Densest -Subgraph.
These discussions lead us to the following goal:
The main theorem in this work, stated in Section 1.5, completely accomplishes this goal in the context of the Sum of Squares (SOS) method. Before stating our results, we review this method, as well as prior results in the direction of the above goal.
4 Prior results in proof complexity, and the SOS method
Much of the work in this area has focused on random instances of -SAT. A seminal early work of Chvátal and Szemerédi [CS88] showed that Resolution refutations of random instances of -SAT require exponential size when is a sufficiently large constant. Ben-Sasson and Wigderson [BSW01, BS01] later strengthened this result to show that Resolution refutations require width for any . Ben-Sasson and Impagliazzo and Alekhnovich and Razborov further extended these results to the Polynomial Calculus proof system [BSI99, AR01]; for example, the latter work showed that Polynomial Calculus refutations of random -SAT instances with density require degree .
On the other hand, much of the positive work on refuting random -SAT has used spectral techniques and semialgebraic proof systems. These latter proof systems are often automatizable using linear programming and semidefinite programming, and thereby have the advantage that they can naturally give stronger -refutation algorithms. As examples, Goerdt and Krivelevich [GK01] showed that spectral techniques (which can be captured by SDP hierarchies) enable refutation of random -SAT with constraints; Friedman and Goerdt [FG01] improved this to in the case of random -SAT. One of the first lower bounds for random CSPs using SDP hierarchies was given by Buresh-Oppenheim et al. [BOGH+03]; it showed that the Lovász–Schrijver+ (LS+) proof system cannot refute random instances of -SAT with and constant . Alekhnovich, Arora, and Tourlakis [AAT05] extended this result to random instances of -SAT.
The strongest results along these lines involve the Sum of Squares (AKA Positivstellensatz or Lasserre) proof system. This system, parameterized by a tuneable “degree” parameter , is known to be very powerful; e.g., it generalizes the degree- Sherali–Adams+ (SA+) and LS+ proof systems. In the context of CSP over domain , it is also (approximately) automatizable in time using semidefinite programming. As such, it has proven to be a very powerful positive tool in algorithm design, both for CSPs and for other tasks; in particular, it has been used to show that several conjectured hard instances for CSPs are actually easy [BBaH+12, OZ13, KOTZ14]. Finally, thanks to work of Lee, Raghavendra, and Steurer [LRS15], it is known that constant-degree SOS approximates the optimum value of CSPs at least as well as any polynomial-size family of SDP relaxations. See, e.g., [OZ13, BS14, Lau09] for surveys concerning SOS.
Early on, Grigoriev [Gri01] showed that SOS of degree could not refute -XOR instances on sufficiently good expanders. Schoenebeck [Sch08] essentially rediscovered this proof and showed that it applied to random instances of -SAT and -XOR, specifically showing that SOS degree is required to refute instances with density . Tulsiani [Tul09] extended this result to the alphabet- generalization of random -XOR.
Beyond semialgebraic proof systems and hierarchies, even less is known about non-SAT, non-XOR predicates. Feldman, Perkins, and Vempala [FPV15] proved lower bounds for refutation of CSP using statistical algorithms when supports a -wise uniform distribution. Their results are incomparable to the above lower bounds for LP and SDP hierarchies: the class of statistical algorithms is quite general and includes any convex relaxation, but the [FPV15] lower bounds are not strong enough to rule out refutation by polynomial-size SDP and LP relaxations.
5 Our result
We essentially achieve the Goal described in Section 1.3 in the context of the powerful SOS hierarchy. Specifically, for every predicate family , we provide a full three-way tradeoff between constraint density, SOS degree, and strength of refutation. Our lower bound subsumes all of the hardness results for semialgebraic proof systems mentioned in the previous section. Furthermore, as we will describe, known algorithmic work implies that our full three-way hardness tradeoff is tight, up to lower-order terms.
To state our result, we need a definition. For a predicate and an integer , we define to be ’s distance from supporting a -wise uniform distribution. Formally,
We can now (slightly informally) state our main theorem in the context of Boolean predicates:
Additionally, in the case that , our result does not need the additive in refutation strength. That is:
We comment here on the (surprisingly mild) parameter-dependence hidden by the and in these bounds. See Section 7 for full details.
In terms of , the is only hiding a factor of . Thus we get a full linear -degree lower bound for in both theorems above.
Indeed in this case of , if we also have then the degree lower bound for weak refutation in Theorem 1.2 is for as large as ; here, both ’s hide only a universal constants. The regime of is the algorithmically hardest one for -SAT, and thus in this very natural case we have a linear-degree lower bound even for .
The refutation strength in Theorem 1.1 is more precisely whenever .
Theorem 1.1 also holds for predicates with alphabet size , with absolutely no additional parameter dependence on .
The full three-way tradeoff in Theorem 1.1 between constraint density, SOS degree, and strength of refutation is tight up to a polylogarithmic factor in the degree and an additive term in the strength of the refutation. The tightness follows from the below theorem, which is an immediate consequence of the general -refutation framework of Allen et al. [AOW15] and the strong refutation algorithm for XOR due to Raghavendra, Rao, and Schramm [RRS16] (which fits in the SOS framework).
More generally, for a given predicate and a fixed number of random constraints , we provably get a “time vs. quality” tradeoff with an intriguing discrete set of breakpoints: With constant degree, SOS can -refute, and then as the degree increases to , , , etc., SOS can -refute, -refute, -refute, etc.
An alternative way to look at the tradeoff is by fixing the SOS degree to some and considering how refutation strength varies with the number of constraints. So for between and SOS can -refute; for between and SOS can -refute; for between and SOS can -refute; etc.
The results in this corollary are tight up to the polylogs on , by the SOS algorithms of [AOW15].
Technical framework
In Section 1, we described our results as being SOS lower bounds for random CSPs, with constraints chosen randomly from a fixed predicate family . However it is conceptually clearest to divorce our results from the “random CSP” model as quickly as possible.
Our lower bound applies whenever the underlying factor graph (bipartite constraint/variable graph) does not contain certain small forbidden subgraphs, which we call “implausible” subgraphs. Granted, the only examples we know of such graphs are random graphs (whp). Further, the condition of “does not contain any implausible subgraphs” is highly related to the condition of “has very good vertex expansion”. Still, we believe the right way to think about the requirement is in terms of forbidden subgraphs.
Our lower bound doesn’t really involve CSPs and constraints, per se. For each constraint-vertex in the underlying factor graph, rather than assuming it comes equipped with a constraint predicate applied to its vertex-variable neighbors, we assume it comes equipped with a probability distribution on assignments to its vertex-variable neighbors. We can have a different for every constraint-vertex if we want (indeed, the constraints need not even have the same arity).
Our SOS lower bounds now take the following form: Assume we are given a factor graph with no implausible subgraphs, and assume each constraint-vertex has an associated distribution that is -wise uniform. Then the low-degree SOS proof system “thinks” that there is a global assignment to the variables such that, at every constraint-vertex , the local assignment to the neighboring variable-vertices is in the support of . (Indeed, it “thinks” that there is a probability distribution on global assignments such that for almost all , the marginal distribution on ’s neighbors is equal to .)
Let us make some of these notions more precise.
We fix an alphabet of cardinality , and a maximum constraint arity .
The reader is strongly advised to focus on the case , with , as the only real difficulty posed by larger alphabets is notational. Also, although we describe as a maximum arity, there will be no loss in thinking of every constraint as having arity .
A probability distribution on is said to be -wise uniform if its marginal on every subset of coordinates is uniform.
Rather than our full Theorem 1.1 concerning -refutation, the reader is advised to mainly keep in mind our Theorem 1.2, which is concerned with (weak) refutation of CSPs for which the predicates support a -wise uniform distribution. Given our proof of Theorem 1.2, the more general Theorem 1.1 will fall out fairly easily.
We fix an integer satisfying .
The reader is advised to focus on the simplest case of (corresponding to predicates supporting pairwise-uniform distributions), as the value of makes no real difference to our proofs.
The instance we work with consists of two parts: a factor graph and its constraint distributions. The factor graph, denoted , is a bipartite graph with edges going between variable-vertices and constraint-vertices. For a constraint-vertex we write for the neighborhood of , which we take to be an ordered list of the variable-vertices adjacent to . We assume that the degree (“arity”) of every constraint-vertex satisfies . Finally, each constraint-vertex also comes with a constraint distribution on . It is assumed that each is -wise uniform.
2 Plausible factor graphs
As mentioned earlier, our SOS lower bounds will hold whenever the factor graph has no “implausible” subgraphs. The meaning of this will be discussed in much greater detail in Section 4, but here we will give the briefest possible definition.
We introduce two parameters: and . (For the sake of intuition, the reader might think of, e.g., and .) The parameters are assumed to satisfy .
Henceforth the factor graph is assumed to satisfy the following property: Let be an edge-induced subgraph in which every constraint-vertex has minimum degree . Suppose has constraint-vertices, variable-vertices, and edges, with . Then .
We call the subgraphs for which the inequality holds plausible because they are indeed the ones that may plausibly show up when the factor graph is randomly chosen:
(Roughly stated; see Theorem 4.12 for a precise statement.) A random with constraint density will satisfy the Plausibility Assumption whp provided .
The Plausibility Assumption is highly similar to the assumption that has good vertex-expansion, and indeed our proof of Theorem 4.12 in Appendix A is a completely standard variant of the well-known proof that random bipartite graphs have good vertex-expansion.
3 The Sum of Squares algorithm, and pseudoexpectations
We give a brief overview of the Sum of Squares algorithm/proof system here. For more general background see, e.g., [BS]; for more details germane to this paper, see Section 5.3.
The Sum of Squares (SOS) algorithm is a hierarchy of semidefinite programming-based relaxations applicable to polynomial optimization problems; i.e., maximizing an -variate polynomial subject to polynomial inequality and equality constraints. Each algorithm in the hierarchy is indexed by a parameter known as the degree of the relaxation. Central to the algorithm is the concept of pseudoexpectations that describe the feasible points of the SOS algorithm of degree .
Given indeterminates, a degree- pseudoexpectation is a linear operator on the space of real polynomials of degree at most in those indeterminates, such that . We also generally want it to satisfy the Positive Semidefiniteness condition: for every polynomial of degree at most .
A degree- pseudoexpectation is said to satisfy a polynomial identity “” if, for every polynomial with , we have .
Given a polynomial optimization problem — say, maximizing a polynomial subject to constraints — the degree- SOS relaxation maximizes over all degree- pseudoexpectations that satisfy the identities . A feasibility problem, in particular, would ask if there is a degree- pseudoexpectation satisfying certain polynomial equality constraints. These SOS relaxations can be expressed using a semidefinite program (SDP) of size . The Sum of Squares algorithm refers to (approximately) solving the SDP, which can generally be done in time.
As suggested by the name, pseudoexpectations generalize the notion of expectations with respect to a probability distribution on real indeterminate values satisfying the given polynomial identity constraints. In particular, if there is at least one real solution for the polynomial identity constraints, then any probability distribution on solutions yields a valid degree- pseudoexpectation, for any . However, even when the polynomial constraints have no real solution, there may well be pseudoexpectations of limited degree that satisfy all the constraints. As one would expect, as the degree grows, the pseudoexpectations resemble actual expectations more and more. Indeed, if the constraints include that the indeterminates are Boolean (“” or “”) then every degree- pseudoexpectation in fact corresponds to an actual distribution on real solutions.
In our context of CSPs, we can think of a constraint satisfaction problem over Boolean variables as a polynomial feasibility problem, with (the arithmetization of) the constraints as polynomial identities. As we know, randomly chosen CSPs with are unsatisfiable whp; to show a lower bound on the degree- SOS refutation algorithm amounts to showing that there exists a degree- pseudoexpectation that satisfies all the constraints. In more casual terminology, we say that degree- SOS “thinks” that the CSP is satisfiable.
4 Main result
We can now describe our main result with the terminology and set-up developed above.
In particular, if our instance comes from an actual random CSP with predicates, where for each the distribution is supported on satisfying assignments for the predicate at , then the degree- SOS algorithm “thinks” that the CSP is completely satisfiable. This is of course despite the fact that, whp, the CSP is not satisfiable.
Sketch of our techniques
Throughout this section, we describe our techniques in the context of CSPs on Boolean variables and -ary predicates that are -wise uniform. As stated before, almost all of our ideas are present in this special case. Our goal is to build a degree- pseudoexpectation operator as described in Theorem 2.9.
As in all previous works on CSP lower bounds for hierarchies, we use a variant of the natural pseudoexpectation introduced by Benabbas et al. [BGMT12]. This pseudoexpectation is always defined in terms of a certain “closure” operator on instance graphs; previous works have used slightly different notions of “closure”. Our method introduces yet another definition of closure that we believe is the “right” one; at the very least, it seems to be precisely the right definition for facilitating our proofs.
We can describe a pseudoexpectation by prescribing its values on the basis of monomials of degree at most . We work with the Fourier basis; i.e., notation.
In the context of CSPs, a natural way to come up with a pseudoexpectation is via the idea of local distributions. If is a degree- pseudoexpectation, then for every collection of at most variables, agrees with the expectation of an actual probability distribution. In particular, the pseudoexpectation of a monomial for (or indeed any function on ) can then be described as the expectation of with respect to the local distribution that induces on the set of variables. For such a definition to make sense, the local distributions must satisfy consistency: the pseudoexpectation of should equal the expectation of with respect to the local distribution for any that includes and is of size at most .
We would like to choose local distributions that are supported on satisfying assignments of all constraints completely included in (we call these the constraints covered by ). At first blush, we could choose the uniform distribution over the set of satisfying assignments for the constraints covered by . However, this choice doesn’t satisfy the consistency constraints. The -wise uniform distributions that are supported on satisfying assignments of the predicate now come to our rescue: if we obtain a local probability distribution that induces on the literals of any constraint in our CSP instance, we should intuitively expect be in good shape because -wise uniformity roughly guarantees that any constraint that intersects in or less variables has a satisfying assignment that agrees with the assignment sampled for . A natural choice is to define the probability of an assignment to to be the product of the probabilities (with respect to ) of the partial assignments corresponding to the constraints covered by . This doesn’t work as-is, either: there could be constraints that intersect in many variables and yet are not completely contained inside . A sample from thus might already force such a constraint to not be satisfied.
To correct for this, we want to collect all such “dependencies” before choosing the local distribution. Benabbas et al. [BGMT12] make this idea precise by defining a notion of closure for a set of variables : intuitively, these are all the variables that one should care about when defining the local distribution on . Concretely, their closure maps into a larger set such that for any , the marginal of on is equal to the marginal of on . We then choose to be the local distribution on and define to be the marginal of on . For such an effort to be feasible, shouldn’t be much bigger than : if in the extreme case the closure happened to be the whole set of variables , we cannot define a distribution on satisfying assignments of all constraints covered by .
The closure of Benabbas et al. [BGMT12] guarantees local consistency as we wanted. Local consistency is all that is required for showing a Sherali–Adams lower bound and is equivalent to the following local positivity condition, which is weaker than positive semidefiniteness: for for every truly nonnegative polynomial depending on at most variables. However, when trying to show that the more global positive-semidefiniteness condition holds, the [BGMT12] construction seems hard to analyze.
To address this problem, Barak, Chan, and Kothari [BCK15] introduced a simpler variant of the [BGMT12] closure in order to show that the defined above satisfies the positive-semidefiniteness condition for certain pruned random instances of the CSP, when supports a pairwise-uniform distribution. However, their definition of closure degenerates into the set of all variables with high probability when the random CSP has .
One of the main innovations in our work is the introduction of a new, simpler definition of closure that plays a key role in our proof of positive semidefiniteness and gives a definition of that works even when the number of constraints is superlinear in . In addition, our definition of closure enables us to extend our results to -refutation.
Our closure for a set of variables is a subgraph of the factor graph of the CSP instance, including both variables and constraints. We think of the closure of as being the set of variables and constraints that “matter” when defining the distribution . Given that a predicate supports a -wise uniform distribution, any constraint that affects must have at least variables in . Otherwise, -wise uniformity implies that we could ignore such a constraint without changing . Any variable not in that occurs in only one constraint isn’t necessary for defining , either. We could sum over the two assignments to to get a new distribution that no longer depends on . This leads to a natural choice of the closure as the union of all small subgraphs of the factor graph such that each constraint contains at least variables and each variable outside of occurs in at least two constraints. For a formal definition, see Section 5.
2 Proving positivity
Once we have the definition of the pseudoexpectation, we get to the main challenge in showing any SOS lower bound: arguing positive-semidefiniteness of the constructed. The high level idea in our analysis builds on the work of Barak, Chan and Kothari [BCK15]. Their idea of proving positive-semidefiniteness is simple. They begin by observing that it suffices to verify positive-semidefiniteness for a basis that satisfies orthogonality under , meaning, the pseudoexpectation of the product of any distinct pair of basis polynomials is .
Suppose there exists a basis for degree- polynomials such that the following two properties hold:
for all .
for all .
Then for all of degree at most .
Write as . Then
Notice that the standard Fourier monomial basis guarantees us positivity (since satisfies the local Sherali–Adams positivity condition by construction). However, it is not orthogonal in general. How can we construct such a basis? One way to construct a basis that is orthogonal under is to perform the Gram–Schmidt process on, say, the monomial basis to get a new basis . Now, Property 1 above holds for this new basis by construction. However, the Gram–Schmidt process is highly sequential and, in particular, the basis function towards the end could depend on all variables. Thus, we cannot appeal to local positivity of in order to argue positive-semidefiniteness of the newly generated basis. It appears that we have made no progress, ensuring orthogonality but potentially losing positivity.
The idea of Barak et al. to escape this pitfall is to show that local orthogonalization is enough. Before the start of the Gram–Schmidt process, we fix an order on basis vectors. In each step of the process, one orthogonalizes a basis function against all previous basis functions in this order by subtracting off its projection onto their span. Barak et al. analyze the variant of this process in which one orthogonalizes a basis function by subtracting off its projection onto the span of all basis functions the precede it in the order and are functions of variables that lie in a small “ball” around in the factor graph of the instance. This lets them ensure that the new basis satisfies positivity (since it now depends only on a small number of variables, one can appeal to the local positivity of ), and they show that this relaxed variant of the Gram–Schmidt process still ensures orthogonality.
Their proof, however, is highly combinatorial and requires various assumptions on the factor graph of the instance that intuitively shouldn’t matter. In particular, they need that the factor graph have no small cycles (girth should be logarithmic): while this can be ensured by pruning fraction of the constraints in a random instance with constraints, this proof strategy breaks down for super-linear number of constraints .
Our main idea simplifies the analysis without requiring the assumptions of [BCK15] and yields tight results. It also naturally extends to the case of -wise uniform predicates and further to -approximate -wise uniform predicates. We next describe our key technical ideas that makes this possible.
At a high level, our argument drops the local orthogonalization strategy of Barak et al. [BCK15] and instead runs the Gram–Schmidt procedure “as-is”. Thus orthogonality of the resulting basis functions is immediate, and we need only show positive-semidefiniteness. We show that for any sequential ordering of the basis monomials in the Gram–Schmidt procedure, so long as it is of increasing degree, whenever we orthogonalize a monomial , the result basis function depends only on a small number of variables.
To see why such an assertion might be plausible, let us consider the task of orthogonalizing the singletons. The monomial basis may not orthogonal under ; e.g., consider the following -XOR instance:
Observe that and each appear in exactly one constraint and all other variables each occur in exactly two constraints. Multiplying each block of constraints together, we see that if satisfies all constraints then and . So neither nor are orthogonal to . Since the two sets of equations are disjoint, we also know that , so and are not orthogonal. We note that many such blocks may occur in a random instance with constraints. Let’s try to understand what happens when we run the Gram–Schmidt procedure on this basis. Consider an instance consisting of such disjoint blocks of constraints on variables. Let be the variables that is fixed in block . Then every is not orthogonal to and every pair is not orthogonal. Intuitively, the variables behave independently, but are biased. To fix this bias, consider the functions (where we use the notation ). Now we have that is orthogonal to and, by independence of the blocks, for all .
Ideally, we might hope this this new basis satisfies orthogonality when we move to degree , as well. Unfortunately, in general the basis again need not be orthogonal. Consider a -XOR instance with constraints for ; call this an -star. Random instances contain stars of superconstant size with high probability. For all pairs , it holds that and are not orthogonal under :
A simple calculation shows that these basis functions are orthogonal. Each basis function depends on at most variables, so the degree- Sherali-Adams positivity condition and Fact 3.1 imply that degree- positive semidefiniteness holds. We give a proof of orthogonality of and that illustrates the underlying intuition. Observe that and are independent conditioned on for all , and we can write
where is the indicator function for . Since we have orthogonalized against all degree- basis functions and is a degree- polynomial, this expression is equal to . Therefore, and and are orthogonal. In this case, and are correlated because they are connected by . After subtracting off their correlation with , the resulting functions are orthogonal and no longer correlated.
Let us now formalize this intuition and generalize it to higher degree. At a high level, our idea is to show that the Gram–Schmidt process produces a basis such that each new basis element depends only on a small number of variables. Let be the result of applying the Gram–Schmidt process to . If appears in with a nonzero coefficient, then it must be the case that . That is, and are correlated under . We show that this correlation is “witnessed” by some small, “dense” subgraph containing many constraints covered by few variables. If has many variables in its support, then there must be many such subgraphs. We show that the union of these subgraphs is dense enough to be “implausible”. This means that cannot have too many variables in its support.
Our witness can be seen as a generalization of the connected sets in the degree- case discussed above. Call two sets of vertices -connected if removing any set of vertices cannot disconnect them. In the degree- case, nonzero correlation between and with is witnessed by a small, dense, connected (-connected) subgraph. In the degree- case after orthogonalizing against degree- terms, we expect based on the star example that if and are only -connected, then and will no longer be correlated. We show that nonzero correlation between and with is then witnessed by a small, dense, -connected subgraph. In general, we show that nonzero correlation between and with is witnessed by a small, dense, -connected subgraph. This stronger connectivity requirement enables us to show that these witness subgraphs and their unions are dense enough to be implausible if the support of a basis function grows too large. For details of this argument, see Section 6.
Forbidden subgraphs for the factor graph
Let us make a few definitions concerning factor graphs, after which we will elaborate on the “Plausibility Assumption”.
We call a subgraph of if it is an edge-induced subgraph; i.e., for some subset of the edges of . We explicitly allow and hence . The subgraph need not be connected.
We will typically measure the “size” of a subgraph by the number of constraints in it:
Now regarding the Plausibility Assumption, for intuition’s sake let us suppose we are concerned with weak refutation and degree- SOS, as in Corollary 1.5. Thus we have some -ary predicate with , and we are selecting a random CSP with slightly fewer than constraints; say . What does a random factor graph look like in this case? Which small subgraphs may appear? A quick-and-dirty method to analyze this is as follows. Consider the fixed small subgraph in Figure 1; call it .
What is the expected number of copies of in a random factor graph with variable-vertices and constraint-vertices? There are choices for ’s constraint-vertices and choices for ’s variable-vertices. Thinking of each constraint-vertex as choosing random neighbors, the chance that the edges of show up is roughly . Thus, very roughly, we expect about copies of in a random . Thus copies of “plausibly” show up if and only ; i.e., if and only if . Since always, this means we should certainly expect copies of in .
This inequality is precisely the one occurring in the Plausibility Assumption from Section 2.2.
Despite the simple form of the inequality, we will find it helpful to view it in a different way. For reasons that will become clear in Section 5, we will be concerned almost exclusively with subgraphs of in which all constraint-vertices have degree at least :
The empty subgraph is always trivially a -subgraph. Also, if and are -subgraphs then so is .
Given a subgraph , we classify the variable-vertices in as either leaf or interior depending on whether they have degree or at least . (Since is an edge-induced subgraph, it does not have any isolated vertices.)
For -subgraphs, there is a different way to view the “plausibility inequality” that will be more useful for us. We define it with some “accounting” terminology.
Let be a -subgraph. For the purposes of this definition, consider each of its edges to be two directed edges.
For each variable-vertex, any out-edges in excess of are called excess, and we assign a debit for each. We’ll write for the total number of these.
For each constraint-vertex, any out-edges in excess of are called excess, and we assign a debit for each. We’ll write for the total number of these, and for the total debit (number of excess edges).
Let be a -subgraph. We say that is plausible if .
The next lemma implies that the inequality is the same as the inequality appearing in the Plausibility Assumption and in (1).
In light of this, we may restate the Plausibility Assumption:
As mentioned earlier, for an appropriate choice of SMALL , the Plausibility Assumption holds for a random instance. More precisely, in Appendix A we prove the below theorem. The reader is advised that in this theorem, the first claim is the main one; it is used to show our Theorem 1.2 concerning weak refutation. The second claim (“Moreover…”) is a technical variant needed to extend our results to give Theorem 1.1 concerning -refutation.
Let . Fix , . Then except with probability at most , when is a random instance with constraints, the Plausibility Assumption holds provided
where . Moreover, assuming , except with probability at most we have
Defining the pseudoexpectation
In this section we define the “closure” of a set of variables. Roughly speaking, this can be thought of as the smallest -subgraph of that fully determines the distribution on under a natural “planted distribution”.
Let be a set of variables. We say that a subgraph is -closed if it is a -subgraph and all its leaf vertices are in .
For every constraint in , if is taken to be the full neighborhood of that constraint, and is the set of variables in that constraint, then is -closed.
Note that a union of -closed -subgraphs is -closed. This leads us to the following definition:
If is -closed then its revenue is at most . Hence if it is plausible, its cost is . ∎
We will now give an important generalization of this fact for -closures,
Suppose that is a -subgraph formed as a union, , where each is small and where we have for all . Then is small.
showing that is small, completing the induction. ∎
2 The planted distribution
We’ll write for the probability distribution on associated to this planted distribution on , and we’ll write for the associated expectation.
Although the notation in the below proof looks cumbersome, the calculations are actually fairly straightforward. We strongly encourage the reader to work through the proof in the case of , , with “” replaced by .
since for any fixed value . Thus in (3) it is equivalent to sum over -subgraphs , and so returning to (2) we get
Suppose now that is a set of variables. We’ll decompose an into its projection onto the coordinates in and onto the coordinates not in . Then
where we used (4). Now suppose the -subgraph has a leaf vertex that is in ; i.e., it’s not in . Then appears exactly once in the above, within the expression
As is chosen uniformly and independently of all random variables, the above contains a factor of the form . But for any fixed outcome of , this expectation is , meaning (6) will vanish. Thus any summand in (5) will vanish if has a leaf variable outside . Thus we may equivalently sum only over -closed . That is,
Suppose we took above. Since is small, every subgraph is plausible and hence Fact 5.6 implies that the above has only one summand, corresponding to . The summand is trivially , and hence
Observe that this does not depend at all on the ’s; in particular, it is easily seen to the be the probability of consistent suggestions under completely uniform ’s. In any case, since (8) is positive, as promised, we may condition on the associated event; thus from (7) we obtain
3 Pseudoexpectations
In this section, we formally define the pseudoexpectation with which we will work.
Given a polynomial expression in the indeterminates , we write
Recall that a pseudoexpectation on polynomials of degree at most is a linear map satisfying . We can uniquely define it by specifying its values on all monomials of degree at most . Further, recall that if is a polynomial, we say that satisfies the identity if for all polynomials with .
Let be a polynomial expression of multilinear-degree at most . Let be any small subgraph containing
This is immediate from Theorem 5.12 and Remark 5.5. ∎
Let be a nonzero polynomial with . Writing where each is a monomial, we have
We have the following immediate corollaries:
Our pseudoexpectation satisfies the following identities:
for all (i.e., the identity ).
for all .
Another corollary is the following (cf. the rough statement of our main technical result, Theorem 2.9):
Our pseudoexpectation satisfies the identity
The proof of positive semidefiniteness
Throughout this section, fix a degree satisfying . Our goal will be to establish:
If is a polynomial expression of degree at most , then .
A monomial index will be a set of pairs , with no variable occurring more than once. We write for the monomial , with the usual convention that . Finally, we write for the collection of monomial indices with .
We abuse notation as follows: If a monomial index occurs in a place where a subset of variables is expected, we intend the subset of variables \{i:(i,c)\in S\text{ for somec}\}.
2 Gram–Schmidt overview
Our goal in this section is to show that the modified Gram–Schmidt process from linear algebra can be successfully applied to the monomials , in the ordering , using as the “inner product”: . Of course, we don’t know that this is a genuine inner product (indeed, that’s essentially what we’re trying to prove). We will discuss this issue shortly, but we first remind the reader that the modified Gram–Schmidt process would typically produce a collection of polynomials , for , that are orthogonal under (meaning if ) and that have the same span as . As well, it would produce “normalized” versions of these polynomials , satisfying .
We now address the obviously difficulty that is not (known to be) an inner product, because we don’t know it’s positive definite on the monomials of . Our goal will be to show that as we follow the Gram–Schmidt process, it never encounters any “positive definiteness problems”, and therefore “succeeds”. The main “positive definiteness problem” Gram–Schmidt might encounter would be if it creates a polynomial with . In this case, when it tries to produce the normalized polynomial , it would certainly fail.
There is one additional potential problem, occurring if Gram–Schmidt produces a with . In the usual process from linear algebra this may indeed occur, and the Gram–Schmidt algorithm copes by treating as (effectively, throwing it out of the span). This is a valid strategy because genuine inner products are strictly positive definite. However we only expect our “inner product” to be positive semidefinite. We therefore need a different coping mechanism. For us, when occurs, we will simply define its “normalized” version to be . The challenge of this is that Gram–Schmidt’s guarantee of producing an orthogonal collection relies syntactically on all the polynomials satisfying . Thus we will have an additional burden: we will have to “manually” show that implies that is orthogonal under to all other polynomials. It will count as a “positive definiteness problem” if we are unable to show this; we will call this the “pseudovariance zero problem”. We remark that the main positive definiteness problem is fundamentally more important than this “pseudovariance zero problem”, and the reader may wish to ignore the pseudovariance zero issue on first reading.
We now describe the modified Gram–Schmidt process in detail. The process works in stages, named after the elements of and in order of . At the end of stage it creates a certain polynomial . Stage always “succeeds” and simply consists of defining . In some cases it may happen that . In this case we say that has pseudovariance zero, and the Gram–Schmidt algorithm will add to a growing collection called PvZ .
Each stage is further divided into substages, associated to monomial indices in order of . Let us introduce some notation:
Let denote the collection of all pairs with . We define a total ordering on via
Thus the overall progression of substages in Gram–Schmidt is through the elements of in order of . Substage creates a polynomial as follows:
Of course, if then we have encountered a positive definiteness problem. Indeed, to be conservative we will treat it as a problem if for any .
We may now summarize the discussion so far:
Suppose the modified Gram–Schmidt process succeeds through substage . Then we have:
for some polynomial supported on monomials with ;
for all , and hence for all polynomials supported on monomials with ;
.
In particular, if the process succeeds through stage , we have:
for some positive constant and some polynomial supported on monomials with ;
for all , and hence for all polynomials supported on monomials with ;
if is put in PvZ , else .
Our main Theorem 6.1 follows provided the modified Gram–Schmidt process succeeds through all substages in . The reason is that then any multilinear of degree at most can be expressed as . This implies
3 Advanced accounting
A -subgraph+ is defined to be a -subgraph, together with zero or more isolated variable-vertices.
For a -subgraph+ , we extend the definition of revenue by assigning two credits for all isolated variable-vertices in .
Let be a small -subgraph+ with . Let be a small -subgraph with at most leaf variables that are not in . Assume . Then is small and satisfies .
Adding into cannot remove any of the debits of , and the only additional credits that can be created come from the leaf variables in that are not in . (Since is only a -subgraph it has no isolated variables.) This establishes . The smallness conclusion follows immediately from Lemma 5.8 (here it does not matter that is a -subgraph+). ∎
A key aspect to our main theorem will be that in some cases this revenue bound can be improved:
In the setup of Lemma 6.12, suppose also that has edges that are “boundary” for , in the sense that each has exactly one endpoint in . Then in fact .
Let be an edge in with exactly one endpoint, call it , in . We show that the addition of this edge to causes a drop of in revenue. If is a constraint-vertex, then this follows because already had degree at least in , so becomes a new excess edge in , creating a new debit. So suppose is a variable-vertex. If had degree at least in then is again excess and creates a new debit. If had degree in then the addition of changes from a leaf variable to an interior variable, removing credit from . Finally, if was isolated in then the addition of turns it into a leaf variable, again removing credit from . Repeating this argument for all boundary edges completes the proof. ∎
4 The key lemma
Recall that the proof is complete once we show that contradicts (10). Now
We claim that every summand above equals . The reason is that for each summand , either is always under (establishing the claim), or else we may condition on the event, yielding
Combining the previous two equations yields
Finally, using we will show that the first factor above is (thereby establishing the claim that every term in (11) is , in contradiction to (10)). To see this, we have
5 Gram–Schmidt details
We wish to show that Gram–Schmidt succeeds through substage for all . We will do this by induction along the order . The key to showing that no positive definiteness problem is encountered at stage will be the existence of a witness:
For any substage of the form , we may always take as a witness the -subgraph+ consisting of all variables in as isolated vertices.
As the below proposition shows, witnesses are useful for showing that one kind of positive definiteness problem does not occur. (They will also assist in showing the other kind does not occur.)
The existence of a witness for substage implies .
We now come to our main technical theorem:
Let . Then:
Given any witness for substage , there is a witness for substage satisfying .
The Gram–Schmidt process succeeds through substage .
The proof will be by (strong) induction on along . Observe that in proving part (ii) of the theorem, by induction we only need to show that no positive definiteness problem occurs at substage . Further, if we can inductively establish part (i) of the theorem, then Remark 6.18 and Proposition 6.19 imply that . Thus to also establish part (ii), it would only remain to prove that no “pseudovariance zero problem” problem occurs. Also, observe that the pseudovariance zero problem can never occur when . Thus for substages , we only need to establish part (i) of the theorem statement. But part (i) is trivial for substages. Thus all substages of the form are taken care of, including the base case of the induction (namely substage , where is the first singleton in the order ).
Wrapping things up by setting parameters
To prove our main result on weak refutation, Theorem 1.2, we simply need to combine Theorems 4.12 and Theorem 6.1. Together these give us a pseudoexpectation defined up to degree
We need to decide how to best set parameters, which we do under the assumption that .
We start with the special but interesting case when is thought of very large; specifically, . This case arises, e.g., for high-arity -SAT (where ) with clause density . In this case, by choosing and for our probability bound, we get . Note that if , as it is in the case of -SAT, then our SOS degree lower bound is linear in with absolutely no dependence on (all the way up to )!
In the more general regime (e.g., when one thinks of as “constant” and as asymptotically large), a good choice for is , which entails
With this setting, Theorem 4.12 tells us that with high probability we get a pseudoexpectation satisfying Corollaries 5.18, 5.19. Thus we have established the following more precise version of Theorem 1.2:
The result also holds if is a predicate over an alphabet of size (with an appropriate notion of “literals”), with no change in parameters.
With the parameter settings chosen earlier, Theorem 4.12 tells us moreover that
Observe that this bound is always , and in the very typical case that , the bound is . Let us see what this bound means for the pseudodistribution.
But (14) bounds the number of -subgraphs with the first two properties above, and every -subgraph with the latter two properties uniquely determines . Thus we conclude:
In summary, we have proven the following more precise version of Theorem 1.1:
We remark that always, and whenever . Finally, the result also holds if is a predicate over an alphabet of size (with an appropriate notion of “literals”), with no change in parameters.
We should mention that in our -refutation result Theorem 7.2, our pseudoexpectation does not satisfy “solution value ” as a constraint for any ; it merely has . Achieving the (stronger) former condition is a direction for future work. By contrast, for our weak refutation result Theorem 1.2, the pseudoexpectation does satisfy all the constraints and hence also satisfies as a constraint.
We would like to thank the Institute for Mathematical Sciences, National University of Singapore in 2016; a visit there was where some of the initial research for this work began.
References
Appendix A Proof that random graphs satisfy the Plausibility Assumption
Here we prove Theorem 4.12, which we restate for convenience:
Let . Fix , . Then except with probability at most , when is a random instance with constraints, the Plausibility Assumption holds provided
where . Moreover, assuming , except with probability at most we have
A remark before we begin: the expression in (15) was chosen precisely so that
provided the in the definition of is a sufficiently large universal constant.
The proof is a standard argument of the kind used to show that a random bipartite graph has good expansion. Fixing , , and , let us upper-bound
There are choices for the constraints and choices for the variables. Then by using Lemma 4.11,
where . In (19), we may imagine that a constraint’s variables are chosen uniformly and independently (i.e., without conditioning on them being distinct), as this only increases the probability in question. Now any fixed set of constraints has at most edges coming out it, so the probability that some integer of them will go into a fixed set of variables is at most
where the equality used the definition of and the subsequent inequality used .
We now split into two cases, depending on whether is or . When we use
using (17). Summing over the at most possibilities for gives
Now summing this expression over all we get
Thus Markov’s inequality implies that the Plausibility Assumption holds except with probability at most .
The analysis for is similar. In this case, we use
and again Markov’s inequality establishes that (16) holds except with probability at most . ∎