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 P≠NP\mathsf{P}\neq\mathsf{NP}. 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 NP\mathsf{NP}-completeness and NP\mathsf{NP}-hardness-of-approximation, we know relatively little about the nature of hard instances. For example, 33-SAT is conjecturally hard to solve — or even approximate to factor 78+ϵ\frac{7}{8}+\epsilon — in 2o(n)2^{o(n)} 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, Δ<αc\Delta<\alpha_{c}, 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 Δ\Delta quite large and even approaching αc\alpha_{c} [Gab16, MPRT16]. On the other hand, for random instances with supercritical constraint density, Δ>αc\Delta>\alpha_{c}, 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 33-SAT instances are unsatisfiable (whp) once Δ>4.49\Delta>4.49 [DKMPG08]; however, even for Δ\Delta as large as n.49n^{.49} 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 δ>0\delta>0 and for large enough constant Δ\Delta, there is no polynomial-time algorithm that succeeds in δ\delta-refuting random instances of 33-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 kk-Subgraph, 22-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 33-SAT to hardness of refuting 33-XOR. The assumption that refuting 33-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 NC0\mathsf{NC}^{0}, 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 NC0\mathsf{NC}^{0}, 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 33-SAT and 33-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 22-Catalog problem assuming hardness of refuting random kk-AND for large kk. 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 δ\delta-refutation algorithm when Δ=O(1)\Delta=O(1). 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 kk-Subgraph. Bhaskara et al. [BCG+12] prove an SOS lower bound for Densest kk-Subgraph via a reduction from Tulsiani’s SOS lower bound for random instances of CSP(P)(P) with PP a qq-ary linear code [Tul09]. A computational hardness assumption for refutation of this CSP would therefore give a hardness result for Densest kk-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 kk-SAT. A seminal early work of Chvátal and Szemerédi [CS88] showed that Resolution refutations of random instances of kk-SAT require exponential size when Δ\Delta is a sufficiently large constant. Ben-Sasson and Wigderson [BSW01, BS01] later strengthened this result to show that Resolution refutations require width Ω(nΔ1/(k−2)+ϵ)\Omega(\frac{n}{\Delta^{1/(k-2)+\epsilon}}) for any ϵ>0\epsilon>0. 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 kk-SAT instances with density Δ\Delta require degree Ω(nΔ2/(k−2)log⁡Δ)\Omega(\frac{n}{\Delta^{2/(k-2)}\log\Delta}).

On the other hand, much of the positive work on refuting random kk-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 δ\delta-refutation algorithms. As examples, Goerdt and Krivelevich [GK01] showed that spectral techniques (which can be captured by SDP hierarchies) enable refutation of random kk-SAT with m=n⌈k/2⌉m=n^{\lceil k/2\rceil} constraints; Friedman and Goerdt [FG01] improved this to m=n3/2+o(1)m=n^{3/2+o(1)} in the case of random 33-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 kk-SAT with k≥5k\geq 5 and constant Δ\Delta. Alekhnovich, Arora, and Tourlakis [AAT05] extended this result to random instances of 33-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 dd, is known to be very powerful; e.g., it generalizes the degree-dd Sherali–Adams+ (SA+) and LS+ proof systems. In the context of CSP(P)(\mathcal{P}) over domain {0,1}\{0,1\}, it is also (approximately) automatizable in nO(d)n^{O(d)} 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 Ω(n)\Omega(n) could not refute kk-XOR instances on sufficiently good expanders. Schoenebeck [Sch08] essentially rediscovered this proof and showed that it applied to random instances of kk-SAT and kk-XOR, specifically showing that SOS degree nΔ2/(k−2)−ϵ\frac{n}{\Delta^{2/(k-2)-\epsilon}} is required to refute instances with density Δ\Delta. Tulsiani [Tul09] extended this result to the alphabet-qq generalization of random 33-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(P±)(P^{\pm}) using statistical algorithms when PP supports a (t−1)(t-1)-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 P\mathcal{P}, 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 P:Ωk→{0,1}P:\Omega^{k}\to\{0,1\} and an integer 1<t≤k1<t\leq k, we define δP(t)\delta_{P}(t) to be PP’s distance from supporting a tt-wise uniform distribution. Formally,

We can now (slightly informally) state our main theorem in the context of Boolean predicates:

Additionally, in the case that δP(t)=0\delta_{P}(t)=0, our result does not need the additive o(1)o(1) in refutation strength. That is:

We comment here on the (surprisingly mild) parameter-dependence hidden by the Ω~(⋅)\widetilde{\Omega}(\cdot) and o(1)o(1) in these bounds. See Section 7 for full details.

In terms of Δ\Delta, the Ω~(⋅)\widetilde{\Omega}(\cdot) is only hiding a factor of log⁡Δ\log\Delta. Thus we get a full linear Ω(n)\Omega(n)-degree lower bound for m=O(n)m=O(n) in both theorems above.

Indeed in this case of t=Θ(k)t=\Theta(k), if we also have Δ=2Θ(k)\Delta=2^{\Theta(k)} then the degree lower bound for weak refutation in Theorem 1.2 is Ω(n)\Omega(n) for kk as large as Ω(n)\Omega(n); here, both Ω(⋅)\Omega(\cdot)’s hide only a universal constants. The regime of Δ=2Θ(k)\Delta=2^{\Theta(k)} is the algorithmically hardest one for kk-SAT, and thus in this very natural case we have a linear-degree lower bound even for k=Ω(n)k=\Omega(n).

The refutation strength δP(t)+o(1)\delta_{P}(t)+o(1) in Theorem 1.1 is more precisely δP(t)+O(1/n)\delta_{P}(t)+O(1/\sqrt{n}) whenever Δ=nΩ(1)\Delta=n^{\Omega(1)}.

Theorem 1.1 also holds for predicates PP with alphabet size q>2q>2, with absolutely no additional parameter dependence on qq.

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 o(1)o(1) term in the strength of the refutation. The tightness follows from the below theorem, which is an immediate consequence of the general δ\delta-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 PP and a fixed number of random constraints m=n1+cm=n^{1+c}, we provably get a “time vs. quality” tradeoff with an intriguing discrete set of breakpoints: With constant degree, SOS can δP(2)\delta_{P}(2)-refute, and then as the degree increases to n1−2cn^{1-2c}, n1−cn^{1-c}, n1−2c/3n^{1-2c/3}, etc., SOS can δP(3)\delta_{P}(3)-refute, δP(4)\delta_{P}(4)-refute, δP(5)\delta_{P}(5)-refute, etc.

An alternative way to look at the tradeoff is by fixing the SOS degree to some nϵn^{\epsilon} and considering how refutation strength varies with the number of constraints. So for mm between nn and n3/2−ϵ/2n^{3/2-\epsilon/2} SOS can δP(2)\delta_{P}(2)-refute; for mm between n3/2−ϵ/2n^{3/2-\epsilon/2} and n2−ϵn^{2-\epsilon} SOS can δP(3)\delta_{P}(3)-refute; for mm between n2−ϵn^{2-\epsilon} and n5/2−3ϵ/2n^{5/2-3\epsilon/2} SOS can δP(4)\delta_{P}(4)-refute; etc.

The results in this corollary are tight up to the polylogs on mm, 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 P\mathcal{P}. 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 ff in the underlying factor graph, rather than assuming it comes equipped with a constraint predicate PP applied to its vertex-variable neighbors, we assume it comes equipped with a probability distribution μf\mu_{f} on assignments to its vertex-variable neighbors. We can have a different μf\mu_{f} for every constraint-vertex ff 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 GG with no implausible subgraphs, and assume each constraint-vertex ff has an associated distribution μf\mu_{f} that is tt-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 ff, the local assignment to the neighboring variable-vertices is in the support of μf\mu_{f}. (Indeed, it “thinks” that there is a probability distribution on global assignments such that for almost all ff, the marginal distribution on ff’s neighbors is equal to μf\mu_{f}.)

Let us make some of these notions more precise.

We fix an alphabet Ω\Omega of cardinality q≥2q\geq 2, and a maximum constraint arity K≥3K\geq 3.

The reader is strongly advised to focus on the case q=2q=2, with Ω={±1}\Omega=\{\pm 1\}, as the only real difficulty posed by larger alphabets is notational. Also, although we describe KK as a maximum arity, there will be no loss in thinking of every constraint as having arity KK.

A probability distribution μ\mu on Ωk\Omega^{k} is said to be tt-wise uniform if its marginal on every subset of tt coordinates is uniform.

Rather than our full Theorem 1.1 concerning δ\delta-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 (τ−1)(\tau-1)-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 τ\tau satisfying 3≤τ≤K3\leq\tau\leq K.

The reader is advised to focus on the simplest case of τ=3\tau=3 (corresponding to predicates supporting pairwise-uniform distributions), as the value of τ\tau 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 GG, is a bipartite graph with edges going between nn variable-vertices and mm constraint-vertices. For a constraint-vertex ff we write N(f)N(f) for the neighborhood of ff, which we take to be an ordered list of the variable-vertices adjacent to ff. We assume that the degree (“arity”) of every constraint-vertex ff satisfies τ−1≤∣N(f)∣≤K\tau-1\leq|N(f)|\leq K. Finally, each constraint-vertex ff also comes with a constraint distribution μf\mu_{f} on ΩN(f)\Omega^{N(f)}. It is assumed that each μf\mu_{f} is (τ−1)(\tau-1)-wise uniform.

2 Plausible factor graphs

As mentioned earlier, our SOS lower bounds will hold whenever the factor graph GG 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: 1≤\scalebox0.75[1.0]SMALL≤n/21\leq\scalebox{0.75}[1.0]{{SMALL}}\leq n/2 and 0<ζ<10<\zeta<1. (For the sake of intuition, the reader might think of, e.g., \scalebox0.75[1.0]SMALL=nΩ(1)\scalebox{0.75}[1.0]{{SMALL}}=n^{\Omega(1)} and ζ=1log⁡n\zeta=\frac{1}{\log n}.) The parameters are assumed to satisfy K≤ζ⋅\scalebox0.75[1.0]SMALLK\leq\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}}.

Henceforth the factor graph GG is assumed to satisfy the following property: Let HH be an edge-induced subgraph in which every constraint-vertex has minimum degree τ\tau. Suppose HH has cc constraint-vertices, vv variable-vertices, and ee edges, with c≤2⋅\scalebox0.75[1.0]SMALLc\leq 2\cdot\scalebox{0.75}[1.0]{{SMALL}}. Then (τ−ζ)c≥2(e−v)(\tau-\zeta)c\geq 2(e-v).

We call the subgraphs HH for which the inequality holds plausible because they are indeed the ones that may plausibly show up when the factor graph GG is randomly chosen:

(Roughly stated; see Theorem 4.12 for a precise statement.) A random GG with constraint density Δ\Delta will satisfy the Plausibility Assumption whp provided \scalebox0.75[1.0]SMALL≪nΔ2/(τ−2−ζ)\displaystyle\scalebox{0.75}[1.0]{{SMALL}}\ll\frac{n}{\Delta^{2/(\tau-2-\zeta)}}.

The Plausibility Assumption is highly similar to the assumption that GG 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 nn-variate polynomial subject to polynomial inequality and equality constraints. Each algorithm in the hierarchy is indexed by a parameter dd 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 dd.

Given nn indeterminates, a degree-dd pseudoexpectation is a linear operator E~\/\mathop{\bf\widetilde{E}\/} on the space of real polynomials of degree at most dd in those indeterminates, such that E~\/=1\mathop{\bf\widetilde{E}\/}=1. We also generally want it to satisfy the Positive Semidefiniteness condition: E~\/[p2]≥0\mathop{\bf\widetilde{E}\/}[p^{2}]\geq 0 for every polynomial pp of degree at most d/2d/2.

A degree-dd pseudoexpectation E~\/\mathop{\bf\widetilde{E}\/} is said to satisfy a polynomial identity “p=0p=0” if, for every polynomial qq with deg⁡(p)+deg⁡(q)≤d\deg(p)+\deg(q)\leq d, we have E~\/[pq]=0\mathop{\bf\widetilde{E}\/}[pq]=0.

Given a polynomial optimization problem — say, maximizing a polynomial p1p_{1} subject to constraints {qi=0:i∈[m]}\{q_{i}=0:i\in[m]\} — the degree-dd SOS relaxation maximizes E~\/[p1]\mathop{\bf\widetilde{E}\/}[p_{1}] over all degree-dd pseudoexpectations E~\/\mathop{\bf\widetilde{E}\/} that satisfy the identities {qi=0:i∈[m]}\{q_{i}=0:i\in[m]\}. A feasibility problem, in particular, would ask if there is a degree-dd pseudoexpectation satisfying certain polynomial equality constraints. These SOS relaxations can be expressed using a semidefinite program (SDP) of size nO(d)n^{O(d)}. The Sum of Squares algorithm refers to (approximately) solving the SDP, which can generally be done in nO(d)n^{O(d)} 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-dd pseudoexpectation, for any dd. 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 dd grows, the pseudoexpectations resemble actual expectations more and more. Indeed, if the constraints include that the nn indeterminates are Boolean (“xi2=xix_{i}^{2}=x_{i}” or “xi2=1x_{i}^{2}=1”) then every degree-2n2n pseudoexpectation in fact corresponds to an actual distribution on real solutions.

In our context of CSPs, we can think of a constraint satisfaction problem E={(Pi,Si)}\mathcal{E}=\{(P_{i},S_{i})\} over nn Boolean variables x1,…,xnx_{1},\dots,x_{n} as a polynomial feasibility problem, with (the arithmetization of) the constraints Pi(xSi)=1P_{i}(x_{S_{i}})=1 as polynomial identities. As we know, randomly chosen CSPs with Δ≫1\Delta\gg 1 are unsatisfiable whp; to show a lower bound on the degree-dd SOS refutation algorithm amounts to showing that there exists a degree-dd pseudoexpectation that satisfies all the constraints. In more casual terminology, we say that degree-dd 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 ff the distribution μf\mu_{f} is supported on satisfying assignments for the predicate at ff, then the degree-DD 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 nn Boolean variables and kk-ary predicates that are (τ−1)(\tau-1)-wise uniform. As stated before, almost all of our ideas are present in this special case. Our goal is to build a degree-dd pseudoexpectation operator E~\/\mathop{\bf\widetilde{E}\/} 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 dd. We work with the Fourier basis; i.e., ±1\pm 1 notation.

In the context of CSPs, a natural way to come up with a pseudoexpectation is via the idea of local distributions. If E~\/\mathop{\bf\widetilde{E}\/} is a degree-dd pseudoexpectation, then for every collection SS of at most d/2d/2 variables, E~\/\mathop{\bf\widetilde{E}\/} agrees with the expectation of an actual probability distribution. In particular, the pseudoexpectation of a monomial xS:=∏i∈Sxix^{S}:=\prod_{i\in S}x_{i} for S⊆[n]S\subseteq[n] (or indeed any function on SS) can then be described as the expectation of xSx^{S} with respect to the local distribution ηS\eta_{S} that E~\/\mathop{\bf\widetilde{E}\/} induces on the set SS of variables. For such a definition to make sense, the local distributions must satisfy consistency: the pseudoexpectation of xTx^{T} should equal the expectation of xTx^{T} with respect to the local distribution ηS\eta_{S} for any SS that includes TT and is of size at most dd.

We would like to choose local distributions ηS\eta_{S} that are supported on satisfying assignments of all constraints completely included in SS (we call these the constraints covered by SS). At first blush, we could choose the uniform distribution over the set of satisfying assignments for the constraints covered by SS. However, this choice doesn’t satisfy the consistency constraints. The tt-wise uniform distributions that are supported on satisfying assignments of the predicate PP now come to our rescue: if we obtain a local probability distribution that induces μ\mu on the literals of any constraint in our CSP instance, we should intuitively expect be in good shape because tt-wise uniformity roughly guarantees that any constraint that intersects SS in tt or less variables has a satisfying assignment that agrees with the assignment sampled for SS. A natural choice is to define the probability of an assignment to SS to be the product of the probabilities (with respect to μ\mu) of the partial assignments corresponding to the constraints covered by SS. This doesn’t work as-is, either: there could be constraints that intersect SS in many variables and yet are not completely contained inside SS. A sample from ηS\eta_{S} 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 SS: intuitively, these are all the variables that one should care about when defining the local distribution on SS. Concretely, their closure maps SS into a larger set S′S^{\prime} such that for any T⊇S′T\supseteq S^{\prime}, the marginal of ηT\eta_{T} on SS is equal to the marginal of ηS′\eta_{S^{\prime}} on SS. We then choose ηS′\eta_{S^{\prime}} to be the local distribution on S′S^{\prime} and define ηS\eta_{S} to be the marginal of ηS′\eta_{S^{\prime}} on SS. For such an effort to be feasible, S′S^{\prime} shouldn’t be much bigger than SS: if in the extreme case the closure happened to be the whole set of variables [n][n], we cannot define a distribution on satisfying assignments of all constraints covered by S′S^{\prime}.

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: E~\/[p]≥0\mathop{\bf\widetilde{E}\/}[p]\geq 0 for pp for every truly nonnegative polynomial pp depending on at most dd variables. However, when trying to show that the more global E~\/[p2]\mathop{\bf\widetilde{E}\/}[p^{2}] 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 E~\/\mathop{\bf\widetilde{E}\/} defined above satisfies the positive-semidefiniteness condition for certain pruned random instances of the CSP(P±)(P^{\pm}), when PP 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 Δ=ω(1)\Delta=\omega(1).

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 E~\/\mathop{\bf\widetilde{E}\/} that works even when the number of constraints is superlinear in nn. In addition, our definition of closure enables us to extend our results to δ\delta-refutation.

Our closure for a set of variables SS is a subgraph of the factor graph of the CSP instance, including both variables and constraints. We think of the closure of SS as being the set of variables and constraints that “matter” when defining the distribution ηS\eta_{S}. Given that a predicate PP supports a (τ−1)(\tau-1)-wise uniform distribution, any constraint that affects ηS\eta_{S} must have at least τ−1\tau-1 variables in SS. Otherwise, (τ−1)(\tau-1)-wise uniformity implies that we could ignore such a constraint without changing ηS\eta_{S}. Any variable vv not in SS that occurs in only one constraint isn’t necessary for defining ηS\eta_{S}, either. We could sum ηS\eta_{S} over the two assignments to vv to get a new distribution that no longer depends on vv. 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 τ−1\tau-1 variables and each variable outside of SS 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 E~\/\mathop{\bf\widetilde{E}\/} 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 E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot], meaning, the pseudoexpectation of the product of any distinct pair of basis polynomials is .

Suppose there exists a basis f1,f2,…f_{1},f_{2},\ldots for degree-dd polynomials such that the following two properties hold:

E~\/[fifj]=0\mathop{\bf\widetilde{E}\/}[f_{i}f_{j}]=0 for all i≠ji\neq j.

E~\/[fi2]≥0\mathop{\bf\widetilde{E}\/}[f_{i}^{2}]\geq 0 for all ii.

Then E~\/[g2]≥0\mathop{\bf\widetilde{E}\/}[g^{2}]\geq 0 for all gg of degree at most dd.

Write gg as ∑iaifi\sum_{i}a_{i}f_{i}. Then E~\/[g2]=∑i,jaiajE~\/[fifj]=∑iai2E~\/[fi2]≥0.\qed\displaystyle\mathop{\bf\widetilde{E}\/}[g^{2}]=\sum_{i,j}a_{i}a_{j}\mathop{\bf\widetilde{E}\/}[f_{i}f_{j}]=\sum_{i}a_{i}^{2}\mathop{\bf\widetilde{E}\/}[f_{i}^{2}]\geq 0.\qed

Notice that the standard Fourier monomial basis guarantees us positivity (since E~\/\mathop{\bf\widetilde{E}\/} 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 E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] is to perform the Gram–Schmidt process on, say, the monomial basis 1,x1,x2,…,x1x2,…1,x_{1},x_{2},\ldots,x_{1}x_{2},\ldots to get a new basis f1,f2,…f_{1},f_{2},\dots. 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 nn variables. Thus, we cannot appeal to local positivity of E~\/\mathop{\bf\widetilde{E}\/} 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 xSx^{S} 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 SS in the factor graph GG 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 E~\/\mathop{\bf\widetilde{E}\/}), 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 o(n)o(n) fraction of the constraints in a random instance with Θ(n)\Theta(n) 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 tt-wise uniform predicates and further to δ\delta-approximate tt-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 xSx^{S}, 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~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot]; e.g., consider the following 33-XOR instance:

Observe that x1x_{1} and y1y_{1} 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 E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] satisfies all constraints then E~\/[x1]=1\mathop{\bf\widetilde{E}\/}[x_{1}]=1 and E~\/[y1]=−1\mathop{\bf\widetilde{E}\/}[y_{1}]=-1. So neither x1x_{1} nor y1y_{1} are orthogonal to 11. Since the two sets of equations are disjoint, we also know that E~\/[x1y1]=−1\mathop{\bf\widetilde{E}\/}[x_{1}y_{1}]=-1, so x1x_{1} and y1y_{1} are not orthogonal. We note that many such blocks may occur in a random instance with m≫n1.4m\gg n^{1.4} constraints. Let’s try to understand what happens when we run the Gram–Schmidt procedure on this basis. Consider an instance consisting of nn such disjoint blocks of 55 constraints on 8n8n variables. Let xi1x_{i1} be the variables that is fixed in block ii. Then every xi1x_{i1} is not orthogonal to 11 and every pair xi1,xj1x_{i1},x_{j1} is not orthogonal. Intuitively, the variables xi1,xj1x_{i1},x_{j1} behave independently, but are biased. To fix this bias, consider the functions x‾i1\overline{x}_{i1} (where we use the notation z‾≔z−E~\/[z]\overline{z}\coloneqq z-\mathop{\bf\widetilde{E}\/}[z]). Now we have that x‾i1\overline{x}_{i1} is orthogonal to 11 and, by independence of the blocks, E~\/[x‾i1⋅x‾j1]=0\mathop{\bf\widetilde{E}\/}[\overline{x}_{i1}\cdot\overline{x}_{j1}]=0 for all i,ji,j.

Ideally, we might hope this this new basis satisfies orthogonality when we move to degree 22, as well. Unfortunately, in general the basis {1,x‾1,x‾2,…,x‾n,x1x2‾,…}\{1,\overline{x}_{1},\overline{x}_{2},\ldots,\overline{x}_{n},\overline{x_{1}x_{2}},\ldots\} again need not be orthogonal. Consider a 33-XOR instance with nn constraints x0xiyi=bix_{0}x_{i}y_{i}=b_{i} for i∈[n]i\in[n]; call this an nn-star. Random instances contain stars of superconstant size with high probability. For all (n2)\binom{n}{2} pairs i,ji,j, it holds that xiyi‾\overline{x_{i}y_{i}} and xjyj‾\overline{x_{j}y_{j}} are not orthogonal under E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot]:

A simple calculation shows that these basis functions are orthogonal. Each basis function depends on at most 33 variables, so the degree-33 Sherali-Adams positivity condition and Fact 3.1 imply that degree-22 positive semidefiniteness holds. We give a proof of orthogonality of xiyi^\widehat{x_{i}y_{i}} and xjyj^\widehat{x_{j}y_{j}} that illustrates the underlying intuition. Observe that xiyi^\widehat{x_{i}y_{i}} and xjyj^\widehat{x_{j}y_{j}} are independent conditioned on x0x_{0} for all i≠ji\neq j, and we can write

where 1{x0=b}1_{\{x_{0}=b\}} is the indicator function for x0=bx_{0}=b. Since we have orthogonalized xiyi^\widehat{x_{i}y_{i}} against all degree-11 basis functions and 1{x0=b}1_{\{x_{0}=b\}} is a degree-11 polynomial, this expression is equal to . Therefore, E\/[xiyi^∣x0]=0\mathop{\bf E\/}[\widehat{x_{i}y_{i}}|x_{0}]=0 and xiyi^\widehat{x_{i}y_{i}} and xjyj^\widehat{x_{j}y_{j}} are orthogonal. In this case, xiyix_{i}y_{i} and xjyjx_{j}y_{j} are correlated because they are connected by x0x_{0}. After subtracting off their correlation with x0x_{0}, 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 ySy_{S} be the result of applying the Gram–Schmidt process to xSx^{S}. If yTy_{T} appears in ySy_{S} with a nonzero coefficient, then it must be the case that E~\/[xS⋅yT]≠0\mathop{\bf\widetilde{E}\/}[x^{S}\cdot y_{T}]\neq 0. That is, xSx^{S} and yTy_{T} are correlated under E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot]. We show that this correlation is “witnessed” by some small, “dense” subgraph containing many constraints covered by few variables. If ySy_{S} 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 ySy_{S} cannot have too many variables in its support.

Our witness can be seen as a generalization of the connected sets in the degree-22 case discussed above. Call two sets of vertices cc-connected if removing any set of c−1c-1 vertices cannot disconnect them. In the degree-11 case, nonzero correlation between xSx^{S} and yTy_{T} with ∣S∣=∣T∣=1|S|=|T|=1 is witnessed by a small, dense, connected (11-connected) subgraph. In the degree-22 case after orthogonalizing against degree-11 terms, we expect based on the star example that if SS and TT are only 11-connected, then xSx^{S} and yTy_{T} will no longer be correlated. We show that nonzero correlation between xSx^{S} and yTy_{T} with ∣S∣=∣T∣=2|S|=|T|=2 is then witnessed by a small, dense, 22-connected subgraph. In general, we show that nonzero correlation between xSx^{S} and yTy_{T} with ∣S∣=∣T∣=d|S|=|T|=d is witnessed by a small, dense, dd-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 HH a subgraph of GG if it is an edge-induced subgraph; i.e., H=G[A]H=G[A] for some subset AA of the edges of GG. We explicitly allow A=∅A=\emptyset and hence H=∅H=\emptyset. The subgraph HH 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-O(1)O(1) SOS, as in Corollary 1.5. Thus we have some kk-ary predicate PP with C(P)=τ\mathcal{C}(P)=\tau, and we are selecting a random CSP with slightly fewer than nτ/2n^{\tau/2} constraints; say m=n(τ−ζ)/2m=n^{(\tau-\zeta)/2}. 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 HH.

What is the expected number of copies of HH in a random factor graph GG with nn variable-vertices and m=n(τ−ζ)/2m=n^{(\tau-\zeta)/2} constraint-vertices? There are (m2)≈m2\binom{m}{2}\approx m^{2} choices for HH’s 22 constraint-vertices and (n4)≈n4\binom{n}{4}\approx n^{4} choices for HH’s 44 variable-vertices. Thinking of each constraint-vertex as choosing k=O(1)k=O(1) random neighbors, the chance that the 66 edges of HH show up is roughly n−6n^{-6}. Thus, very roughly, we expect about m2n4n−6=n2⋅(τ−ζ)/2+(4−6)m^{2}n^{4}n^{-6}=n^{2\cdot(\tau-\zeta)/2+(4-6)} copies of HH in a random GG. Thus copies of HH “plausibly” show up if and only 2⋅(τ−ζ)/2+(4−6)≥02\cdot(\tau-\zeta)/2+(4-6)\geq 0; i.e., if and only if τ≥2+ζ\tau\geq 2+\zeta. Since τ≥3\tau\geq 3 always, this means we should certainly expect copies of HH in GG.

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 GG in which all constraint-vertices have degree at least τ\tau:

The empty subgraph ∅\emptyset is always trivially a τ\tau-subgraph. Also, if HH and H′H^{\prime} are τ\tau-subgraphs then so is H∪H′H\cup H^{\prime}.

Given a subgraph HH, we classify the variable-vertices in HH as either leaf or interior depending on whether they have degree 11 or at least 22. (Since HH is an edge-induced subgraph, it does not have any isolated vertices.)

For τ\tau-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 HH be a τ\tau-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 22 are called excess, and we assign a debit for each. We’ll write eve_{v} for the total number of these.

For each constraint-vertex, any out-edges in excess of τ\tau are called excess, and we assign a debit for each. We’ll write ece_{c} for the total number of these, and e=ec+eve=e_{c}+e_{v} for the total debit (number of excess edges).

Let HH be a τ\tau-subgraph. We say that HH is plausible if I(H)≥0I(H)\geq 0.

The next lemma implies that the inequality I(H)≥0I(H)\geq 0 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 δ\delta-refutation.

Let λ=τ−2≥1\lambda=\tau-2\geq 1. Fix 0<ζ≤.99λ0<\zeta\leq.99\lambda, 0<β<120<\beta<\frac{1}{2}. Then except with probability at most β\beta, when G\boldsymbol{G} is a random instance with m=Δnm=\Delta n constraints, the Plausibility Assumption holds provided

where γ=1K(β1/λ2K/λ)O(1)\gamma=\frac{1}{K}\left(\frac{\beta^{1/\lambda}}{2^{K/\lambda}}\right)^{O(1)}. Moreover, assuming ζ<1\zeta<1, except with probability at most β\beta 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 τ\tau-subgraph of GG that fully determines the distribution on SS under a natural “planted distribution”.

Let SS be a set of variables. We say that a subgraph HH is SS-closed if it is a τ\tau-subgraph and all its leaf vertices are in SS.

For every constraint in GG, if HH is taken to be the full neighborhood of that constraint, and SS is the set of variables in that constraint, then HH is SS-closed.

Note that a union of SS-closed τ\tau-subgraphs is SS-closed. This leads us to the following definition:

If HH is ∅\emptyset-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 SS-closures, ∣S∣>0|S|>0

Suppose that HH is a τ\tau-subgraph formed as a union, H=H1∪⋯∪HtH=H_{1}\cup\cdots\cup H_{t}, where each HjH_{j} is small and where we have R(H1∪⋯∪Hj)≤ζ⋅\scalebox0.75[1.0]SMALLR(H_{1}\cup\cdots\cup H_{j})\leq\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}} for all 1≤j≤t1\leq j\leq t. Then HH is small.

showing that H′∪HtH^{\prime}\cup H_{t} is small, completing the induction. ∎

2 The planted distribution

We’ll write ηH\eta_{H} for the probability distribution on Ωn\Omega^{n} associated to this planted distribution on HH, and we’ll write E\/H[⋅]\mathop{\bf E\/}_{H}[\cdot] 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 q=2q=2, Ω={±1}\Omega=\{\pm 1\}, with “1c‾(xi)\overline{1_{c}}(x_{i})” replaced by cxi∈{±1}cx_{i}\in\{\pm 1\}.

since E\/c∼Ω[1c‾(xi)]=0\mathop{\bf E\/}_{\boldsymbol{c}\sim\Omega}[\overline{1_{\boldsymbol{c}}}(x_{i})]=0 for any fixed value x∈Ωx\in\Omega. Thus in (3) it is equivalent to sum over τ\tau-subgraphs H′H^{\prime}, and so returning to (2) we get

Suppose now that T⊆[n]T\subseteq[n] is a set of variables. We’ll decompose an x∈Ωnx\in\Omega^{n} into its projection xTx_{T} onto the coordinates in TT and xT‾x_{\overline{T}} onto the coordinates not in TT. Then

where we used (4). Now suppose the τ\tau-subgraph H′H^{\prime} has a leaf vertex jj that is in T‾\overline{T}; i.e., it’s not in TT. Then xj{\boldsymbol{x}}_{j} appears exactly once in the above, within the expression

As xj{\boldsymbol{x}}_{j} is chosen uniformly and independently of all random variables, the above contains a factor of the form E\/xj∼Ω[1wf,j‾(xj)]\mathop{\bf E\/}_{{\boldsymbol{x}}_{j}\sim\Omega}[\overline{1_{\boldsymbol{w}_{f,j}}}({\boldsymbol{x}}_{j})]. But for any fixed outcome of wf,j\boldsymbol{w}_{f,j}, this expectation is , meaning (6) will vanish. Thus any summand H′H^{\prime} in (5) will vanish if H′H^{\prime} has a leaf variable outside TT. Thus we may equivalently sum only over TT-closed H′H^{\prime}. That is,

Suppose we took T=∅T=\emptyset above. Since HH is small, every subgraph H′H^{\prime} is plausible and hence Fact 5.6 implies that the above has only one summand, corresponding to H′=∅H^{\prime}=\emptyset. The summand is trivially 11, and hence

Observe that this does not depend at all on the μf\mu_{f}’s; in particular, it is easily seen to the be the probability of consistent suggestions under completely uniform μf\mu_{f}’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 p(x)p(x) in the indeterminates 1c(xi)1_{c}(x_{i}), we write

Recall that a pseudoexpectation on polynomials of degree at most DD is a linear map E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] satisfying E~\/=1\mathop{\bf\widetilde{E}\/}=1. We can uniquely define it by specifying its values on all monomials of degree at most DD. Further, recall that if p(x)p(x) is a polynomial, we say that E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] satisfies the identity p(x)=0p(x)=0 if E~\/[p(x)⋅q(x)]=0\mathop{\bf\widetilde{E}\/}[p(x)\cdot q(x)]=0 for all polynomials q(x)q(x) with deg⁡(p⋅q)≤D\deg(p\cdot q)\leq D.

Let p(x)p(x) be a polynomial expression of multilinear-degree at most ζ⋅\scalebox0.75[1.0]SMALL\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}}. Let HH be any small subgraph containing

This is immediate from Theorem 5.12 and Remark 5.5. ∎

Let q(x)q(x) be a nonzero polynomial with deg⁡(p⋅q)≤ζ⋅\scalebox0.75[1.0]SMALL\deg(p\cdot q)\leq\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}}. Writing q(x)=∑jMj(x)q(x)=\sum_{j}M_{j}(x) where each Mj(x)M_{j}(x) is a monomial, we have

We have the following immediate corollaries:

Our pseudoexpectation E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] satisfies the following identities:

∑c∈Ω1c(xi)=1\sum_{c\in\Omega}1_{c}(x_{i})=1 for all i∈[n]i\in[n] (i.e., the identity ∑c∈Ω1c(xi)−1=0\sum_{c\in\Omega}1_{c}(x_{i})-1=0).

1c(xi)2=1c(xi)1_{c}(x_{i})^{2}=1_{c}(x_{i}) for all c∈Ω,i∈[n]c\in\Omega,i\in[n].

Another corollary is the following (cf. the rough statement of our main technical result, Theorem 2.9):

Our pseudoexpectation E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] satisfies the identity

The proof of positive semidefiniteness

Throughout this section, fix a degree DD satisfying 1≤D≤13ζ⋅\scalebox0.75[1.0]SMALL1\leq D\leq\frac{1}{3}\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}}. Our goal will be to establish:

If p(x)p(x) is a polynomial expression of degree at most DD, then E~\/[p(x)2]≥0\mathop{\bf\widetilde{E}\/}[p(x)^{2}]\geq 0.

A monomial index will be a set SS of pairs (i,c)∈[n]×Ω(i,c)\in[n]\times\Omega, with no variable i∈[n]i\in[n] occurring more than once. We write xSx^{S} for the monomial ∏(i,c)∈S1c(xi)\prod_{(i,c)\in S}1_{c}(x_{i}), with the usual convention that x∅=1x^{\emptyset}=1. Finally, we write M≤D\mathcal{M}^{\leq D} for the collection of monomial indices SS with ∣S∣≤D|S|\leq D.

We abuse notation as follows: If a monomial index SS 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 (xS:S∈M≤D)({x}^{S}:S\in\mathcal{M}^{\leq D}), in the ordering ⪯\preceq, using E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] as the “inner product”: ⟨p(x),q(x)⟩≔E~\/[p(x)⋅q(x)]\langle p(x),q(x)\rangle\coloneqq\mathop{\bf\widetilde{E}\/}[p(x)\cdot q(x)]. 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 yS=yS(x)y_{S}=y_{S}(x), for S∈M≤DS\in\mathcal{M}^{\leq D}, that are orthogonal under E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] (meaning E~\/[yS⋅yS′]=0\mathop{\bf\widetilde{E}\/}[y_{S}\cdot y_{S^{\prime}}]=0 if S≠S′S\neq S^{\prime}) and that have the same span as (xS:S∈M≤D)({x}^{S}:S\in\mathcal{M}^{\leq D}). As well, it would produce “normalized” versions of these polynomials zS=yS/E~\/[yS2]z_{S}=y_{S}/\sqrt{\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]}, satisfying E~\/[zS2]=1\mathop{\bf\widetilde{E}\/}[z_{S}^{2}]=1.

We now address the obviously difficulty that E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] is not (known to be) an inner product, because we don’t know it’s positive definite on the monomials of M≤D\mathcal{M}^{\leq D}. 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 ySy_{S} with E~\/[yS2]<0\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]<0. In this case, when it tries to produce the normalized polynomial zSz_{S}, it would certainly fail.

There is one additional potential problem, occurring if Gram–Schmidt produces a ySy_{S} with E~\/[yS2]=0\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]=0. In the usual process from linear algebra this may indeed occur, and the Gram–Schmidt algorithm copes by treating zSz_{S} 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” E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] to be positive semidefinite. We therefore need a different coping mechanism. For us, when E~\/[yS2]=0\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]=0 occurs, we will simply define its “normalized” version zSz_{S} to be ySy_{S}. The challenge of this is that Gram–Schmidt’s guarantee of producing an orthogonal collection (yS:S∈M≤D)(y_{S}:S\in\mathcal{M}^{\leq D}) relies syntactically on all the zSz_{S} polynomials satisfying E~\/[zS2]=1\mathop{\bf\widetilde{E}\/}[z_{S}^{2}]=1. Thus we will have an additional burden: we will have to “manually” show that E~\/[yS2]=0\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]=0 implies that ySy_{S} is orthogonal under E~\/[⋅]\mathop{\bf\widetilde{E}\/}[\cdot] 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 M≤D\mathcal{M}^{\leq D} and in order of ⪯\preceq. At the end of stage SS it creates a certain polynomial zSz_{S}. Stage ∅\emptyset always “succeeds” and simply consists of defining z∅=1z_{\emptyset}=1. In some cases it may happen that E~\/[zS2]=0\mathop{\bf\widetilde{E}\/}[z_{S}^{2}]=0. In this case we say that zSz_{S} has pseudovariance zero, and the Gram–Schmidt algorithm will add SS to a growing collection called PvZ .

Each stage SS is further divided into substages, associated to monomial indices T≺ST\prec S in order of ⪯\preceq. Let us introduce some notation:

Let M2≤D\mathcal{M}^{\leq D}_{2} denote the collection of all pairs (S,T)∈M≤D×M≤D(S,T)\in\mathcal{M}^{\leq D}\times\mathcal{M}^{\leq D} with T≺ST\prec S. We define a total ordering ⪯2\preceq_{2} on M2≤D\mathcal{M}^{\leq D}_{2} via

Thus the overall progression of substages in Gram–Schmidt is through the elements of M2≤D\mathcal{M}^{\leq D}_{2} in order of ⪯2\preceq_{2}. Substage (S,T)(S,T) creates a polynomial yS,Ty_{S,T} as follows:

Of course, if E~\/[yS2]<0\mathop{\bf\widetilde{E}\/}[y_{S}^{2}]<0 then we have encountered a positive definiteness problem. Indeed, to be conservative we will treat it as a problem if E~\/[yS,T2]<0\mathop{\bf\widetilde{E}\/}[y_{S,T}^{2}]<0 for any (S,T)∈M2≤D(S,T)\in\mathcal{M}^{\leq D}_{2}.

We may now summarize the discussion so far:

Suppose the modified Gram–Schmidt process succeeds through substage (S,T)(S,T). Then we have:

yS,T=xS−p(x)y_{S,T}={x}^{S}-p(x) for some polynomial p(x)p(x) supported on monomials xT′{x}^{T^{\prime}} with T′⪯TT^{\prime}\preceq T;

E~\/[yS,T⋅zT′]=0\mathop{\bf\widetilde{E}\/}[y_{S,T}\cdot z_{T^{\prime}}]=0 for all T′⪯TT^{\prime}\preceq T, and hence E~\/[yS,T⋅q(x)]=0\mathop{\bf\widetilde{E}\/}[y_{S,T}\cdot q(x)]=0 for all polynomials q(x)q(x) supported on monomials xT′x^{T^{\prime}} with T′⪯TT^{\prime}\preceq T;

E~\/[yS,T2]≥0\mathop{\bf\widetilde{E}\/}[y_{S,T}^{2}]\geq 0.

In particular, if the process succeeds through stage SS, we have:

zS=c⋅xS−p(x)z_{S}=c\cdot{x}^{S}-p(x) for some positive constant c>0c>0 and some polynomial p(x)p(x) supported on monomials xT{x}^{T} with T≺ST\prec S;

E~\/[zS⋅zT]=0\mathop{\bf\widetilde{E}\/}[z_{S}\cdot z_{T}]=0 for all T≺ST\prec S, and hence E~\/[zS⋅q(x)]=0\mathop{\bf\widetilde{E}\/}[z_{S}\cdot q(x)]=0 for all polynomials q(x)q(x) supported on monomials xT′{x}^{T^{\prime}} with T′≺ST^{\prime}\prec S;

E~\/[zS2]=0\mathop{\bf\widetilde{E}\/}[z_{S}^{2}]=0 if SS is put in PvZ , else E~\/[zS2]=1\mathop{\bf\widetilde{E}\/}[z_{S}^{2}]=1.

Our main Theorem 6.1 follows provided the modified Gram–Schmidt process succeeds through all substages in M2≤D\mathcal{M}^{\leq D}_{2}. The reason is that then any multilinear p(x)p(x) of degree at most DD can be expressed as p(x)=∑∣T∣≤DcTzTp(x)=\sum_{|T|\leq D}c_{T}z_{T}. This implies

3 Advanced accounting

A τ\tau-subgraph+ is defined to be a τ\tau-subgraph, together with zero or more isolated variable-vertices.

For a τ\tau-subgraph+ HH, we extend the definition of revenue by assigning two credits for all isolated variable-vertices in HH.

Let HH be a small τ\tau-subgraph+ with R(H)≤rR(H)\leq r. Let H′H^{\prime} be a small τ\tau-subgraph with at most ss leaf variables that are not in HH. Assume r+s≤ζ⋅\scalebox0.75[1.0]SMALLr+s\leq\zeta\cdot\scalebox{0.75}[1.0]{{SMALL}}. Then H∪H′H\cup H^{\prime} is small and satisfies R(H∪H′)≤r+sR(H\cup H^{\prime})\leq r+s.

Adding H′H^{\prime} into HH cannot remove any of the debits of HH, and the only additional credits that can be created come from the ss leaf variables in H′H^{\prime} that are not in HH. (Since H′H^{\prime} is only a τ\tau-subgraph it has no isolated variables.) This establishes R(H∪H′)≤r+sR(H\cup H^{\prime})\leq r+s. The smallness conclusion follows immediately from Lemma 5.8 (here it does not matter that HH is a τ\tau-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 H′H^{\prime} has bb edges that are “boundary” for HH, in the sense that each has exactly one endpoint in HH. Then in fact R(H∪H′)≤r+s−bR(H\cup H^{\prime})\leq r+s-b.

Let aa be an edge in H′H^{\prime} with exactly one endpoint, call it ww, in HH. We show that the addition of this edge to HH causes a drop of 11 in revenue. If ww is a constraint-vertex, then this follows because ww already had degree at least τ\tau in HH, so aa becomes a new excess edge in HH, creating a new debit. So suppose ww is a variable-vertex. If ww had degree at least 22 in HH then aa is again excess and creates a new debit. If ww had degree 11 in HH then the addition of aa changes ww from a leaf variable to an interior variable, removing 11 credit from HH. Finally, if ww was isolated in HH then the addition of aa turns it into a leaf variable, again removing 11 credit from HH. Repeating this argument for all bb boundary edges completes the proof. ∎

4 The key lemma

Recall that the proof is complete once we show that ∣V∣<d|V|<d contradicts (10). Now

We claim that every summand above equals . The reason is that for each summand c⃗\vec{c}, either 1[xi=ci ∀i∈V]\boldsymbol{1}[{\boldsymbol{x}}_{i}={c}_{i}\ \forall i\in V] is always under ηB\eta_{B} (establishing the claim), or else we may condition on the event, yielding

Combining the previous two equations yields

Finally, using ∣V∣<d|V|<d 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 (S,T)(S,T) for all (S,T)∈M2≤D(S,T)\in\mathcal{M}^{\leq D}_{2}. We will do this by induction along the order ⪯2\preceq_{2}. The key to showing that no positive definiteness problem is encountered at stage (S,T)(S,T) will be the existence of a witness:

For any substage of the form (S,∅)(S,\emptyset), we may always take as a witness the τ\tau-subgraph+ consisting of all variables in SS 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 HS,TH_{S,T} for substage (S,T)(S,T) implies E~\/[yS,T2]≥0\mathop{\bf\widetilde{E}\/}[y_{S,T}^{2}]\geq 0.

We now come to our main technical theorem:

Let (S,T)∈M2≤D(S,T)\in\mathcal{M}^{\leq D}_{2}. Then:

Given any witness HS,∅H_{S,\emptyset} for substage (S,∅)(S,\emptyset), there is a witness HS,TH_{S,T} for substage (S,T)(S,T) satisfying HS,T⊇HS,∅H_{S,T}\supseteq H_{S,\emptyset}.

The Gram–Schmidt process succeeds through substage (S,T)(S,T).

The proof will be by (strong) induction on (S,T)(S,T) along ⪯2\preceq_{2}. Observe that in proving part (ii) of the theorem, by induction we only need to show that no positive definiteness problem occurs at substage (S,T)(S,T). Further, if we can inductively establish part (i) of the theorem, then Remark 6.18 and Proposition 6.19 imply that E~\/[yS,T2]≥0\mathop{\bf\widetilde{E}\/}[y_{S,T}^{2}]\geq 0. 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 T=∅T=\emptyset. Thus for substages (S,∅)(S,\emptyset), we only need to establish part (i) of the theorem statement. But part (i) is trivial for (S,∅)(S,\emptyset) substages. Thus all substages of the form (S,∅)(S,\emptyset) are taken care of, including the base case of the induction (namely substage ({(i0,c0)},∅)(\{(i_{0},c_{0})\},\emptyset), where {(i0,c0)}\{(i_{0},c_{0})\} is the first singleton in the order ⪯\preceq).

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 Δ≥10\Delta\geq 10.

We start with the special but interesting case when λ\lambda is thought of very large; specifically, λ≥Ω(log⁡Δ)\lambda\geq\Omega(\log\Delta). This case arises, e.g., for high-arity KK-SAT (where λ=K−2\lambda=K-2) with clause density 2Θ(K)2^{\Theta(K)}. In this case, by choosing ζ=12λ\zeta=\frac{1}{2}\lambda and β=e−O(K)\beta=e^{-O(K)} for our probability bound, we get D=n/2O(K/λ)D=n/2^{O(K/\lambda)}. Note that if λ=Θ(K)\lambda=\Theta(K), as it is in the case of KK-SAT, then our SOS degree lower bound is linear in nn with absolutely no dependence on K=K(n)K=K(n) (all the way up to K=Ω(n)K=\Omega(n))!

In the more general regime (e.g., when one thinks of KK as “constant” and Δ\Delta as asymptotically large), a good choice for ζ\zeta is 1log⁡Δ\frac{1}{\log\Delta}, 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 PP is a predicate over an alphabet of size q>2q>2 (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 o(m)o(m), and in the very typical case that Δ≥nΩ(1)\Delta\geq n^{\Omega(1)}, the bound is O(mn)O(\frac{m}{\sqrt{n}}). Let us see what this bound means for the pseudodistribution.

But (14) bounds the number of τ\tau-subgraphs with the first two properties above, and every τ\tau-subgraph with the latter two properties uniquely determines ff. Thus we conclude:

In summary, we have proven the following more precise version of Theorem 1.1:

We remark that ϵ=o(1)\epsilon=o(1) always, and ϵ=O(1n)\epsilon=O(\frac{1}{\sqrt{n}}) whenever Δ=nΩ(1)\Delta=n^{\Omega(1)}. Finally, the result also holds if PP is a predicate over an alphabet of size q>2q>2 (with an appropriate notion of “literals”), with no change in parameters.

We should mention that in our δ\delta-refutation result Theorem 7.2, our pseudoexpectation does not satisfy “solution value =1−δ0=1-\delta_{0}” as a constraint for any δ0≤δ\delta_{0}\leq\delta; it merely has E~\/[solution value]≥1−δ\mathop{\bf\widetilde{E}\/}[\text{solution value}]\geq 1-\delta. 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 E~\/[solution value]=1\mathop{\bf\widetilde{E}\/}[\text{solution value}]=1 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 λ=τ−2≥1\lambda=\tau-2\geq 1. Fix 0<ζ≤.99λ0<\zeta\leq.99\lambda, 0<β<120<\beta<\frac{1}{2}. Then except with probability at most β\beta, when G\boldsymbol{G} is a random instance with m=Δnm=\Delta n constraints, the Plausibility Assumption holds provided

where γ=1K(β1/λ2K/λ)O(1)\gamma=\frac{1}{K}\left(\frac{\beta^{1/\lambda}}{2^{K/\lambda}}\right)^{O(1)}. Moreover, assuming ζ<1\zeta<1, except with probability at most β\beta we have

A remark before we begin: the expression in (15) was chosen precisely so that

provided the O(1)O(1) in the definition of γ\gamma 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 I0∈{0,τ−1}I_{0}\in\{0,\tau-1\}, 1≤c≤2⋅\scalebox0.75[1.0]SMALL1\leq c\leq 2\cdot\scalebox{0.75}[1.0]{{SMALL}}, and 1≤v≤Kc1\leq v\leq Kc, let us upper-bound

There are (mc)\binom{m}{c} choices for the constraints and (nv)\binom{n}{v} choices for the variables. Then by using Lemma 4.11,

where A≔τ−ζ2⋅c+v−I02A\coloneqq\frac{\tau-\zeta}{2}\cdot c+v-\frac{I_{0}}{2}. 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 cc constraints has at most KcKc edges coming out it, so the probability that some integer a>Aa>A of them will go into a fixed set of vv variables is at most

where the equality used the definition of AA and the subsequent inequality used v≤Kcv\leq Kc.

We now split into two cases, depending on whether I0I_{0} is or τ−1\tau-1. When I0=0I_{0}=0 we use

using (17). Summing over the at most KcKc possibilities for vv gives

Now summing this expression over all 1≤c≤2⋅\scalebox0.75[1.0]SMALL1\leq c\leq 2\cdot\scalebox{0.75}[1.0]{{SMALL}} we get

Thus Markov’s inequality implies that the Plausibility Assumption holds except with probability at most β\beta.

The analysis for I0=τ−1I_{0}=\tau-1 is similar. In this case, we use

and again Markov’s inequality establishes that (16) holds except with probability at most β\beta. ∎