Strongly Refuting Random CSPs Below the Spectral Threshold

Prasad Raghavendra, Satish Rao, Tselil Schramm

Introduction

Random instances of constraint satisfaction problems (CSPs) have been a subject of intense study in computer science, mathematics and statistical physics. Even if we restrict our attention to random kk-SAT, there is already a vast body of work across various communities–see [Ach09] for a survey. In this paper, our focus is on refuting random CSPs: the task of algorithmically proving that a random instance of a CSP is unsatisfiable. Refutation is a well-studied problem with connections to myriad areas of theoretical computer science including proof complexity [BB02], inapproximability [Fei02], SAT solvers, cryptography [ABW10], learning theory [DLS14], statistical physics [CLP02] and complexity theory [BKS13].

For the sake of concreteness, we will for a moment restrict our attention to kk-SAT, the most well-studied random CSP. In the random kk-SAT model, we choose a kk-uniform CNF formula Φ\Phi over nn variables by drawing mm clauses independently and uniformly at random. The density of Φ\Phi is given by the ratio α=m/n\alpha=m/n. It is conjectured that for each kk, there is a critical value αk\alpha_{k} such that Φ\Phi is satisfiable with high probability if α<αk\alpha<\alpha_{k}, and unsatisfiable with high probability for α>αk\alpha>\alpha_{k}. Such phase transition phenomena are conjectured to occur for all nontrivial random CSPs; for the specific case case of kk-SAT, it was only recently rigorously established for all sufficiently large kk [DSS15].

In the unsatisfiable regime, when α>αk\alpha>\alpha_{k}, the natural algorithmic problem we associate with random kk-SAT formulas is the problem of refutation. We define the notion of a refutation algorithm formally:

(Refutation Algorithm) An algorithm A\mathcal{A} is a refutation algorithm for random kk-SAT at density α\alpha, if given a random instance Φ\Phi of kk-SAT with density α\alpha, the algorithm A\mathcal{A}:

Outputs YES with probability at least 12\frac{1}{2} over the choice of Φ\Phi.The choice of the fraction 12\frac{1}{2} here is arbitrary, and one could potentially consider any fixed constant.

Note that if the algorithm A\mathcal{A} outputs YES on an instance Φ\Phi, it certifies that the instance Φ\Phi is unsatisfiable.

At densities far exceeding the unsatisfiability threshold, i.e., α≫αk\alpha\gg\alpha_{k}, a simple union bound argument can be used to show that a random instance Φ\Phi has no assignment satisfying more than a 1−12k+δ(α)1-\frac{1}{2^{k}}+\delta(\alpha) fraction of constraints, where δ(α)→0\delta(\alpha)\to 0 as α→∞\alpha\to\infty. In this regime, a natural algorithmic task is strong refutation:

(Strong Refutation) An algorithm A\mathcal{A} is a strong refutation algorithm for random kk-SAT at density α\alpha, if for a fixed constant δ>0\delta>0, given a random instance Φ\Phi of kk-SAT with density α\alpha, the algorithm A\mathcal{A}:

Outputs YES with probability at least 12\frac{1}{2} over the choice of Φ\Phi.

Outputs NO if Φ\Phi has an assignment satisfying at least a (1−δ)(1-\delta)-fraction of clauses.

An important conjecture in complexity theory is Feige’s “R3SAT hypothesis,” which states that for any δ>0\delta>0, there exists some constant cc such that there is no polynomial-time algorithm that can certify that a random 33-SAT instance has value at most 1−δ1-\delta (that is, strongly refute 33-SAT) at clause density m/n=cm/n=c. Feige exhibited hardness of approximation results based on the hypothesis for a class of otherwise elusive problems such as densest-kk subgraph and min-bisection [Fei02]. This hypothesis has subsequently been used as the starting point in a variety of reductions (see e.g. [AAM+11, BKS13, DLS13]).

The problem of strong refutation is non-trivial even for polynomial-time solvable CSPs such as kk-XOR. The weak refutation problem for kk-XOR can be easily solved using Gaussian elimination. A random kk-XOR instance Φ\Phi on nn variables x1,…,xn∈{±1}x_{1},\ldots,x_{n}\in\{\pm 1\} consists of mm equations of the form xi1⋅xi2⋯xik=±1x_{i_{1}}\cdot x_{i_{2}}\cdots x_{i_{k}}=\pm 1 By a simple union bound, one can show that at all super-linear densities m/n=ω(1)m/n=\omega(1), with high probability, no assignment satisfies more than 12+o(1)\frac{1}{2}+o(1)-fraction of the equations.Random kk-XOR can also be equivalently defined in terms of equations of the form xi1⊕⋯xik=0/1x_{i_{1}}\oplus\cdots x_{i_{k}}=0/1. The equivalence follows by mapping 0→10\to 1, 1→−11\to-1, and ⊕→⋅\oplus\to\cdot. The problem of strong refutation for random kk-XOR amounts to certifying that no assignment satisfies more than 1−δ1-\delta fraction of equations for some constant δ>0\delta>0. A natural spectral algorithm can efficiently strongly refute kk-XOR at densities m/n≥nk/2−1m/n\geq n^{k/2-1} [CGL04, CGL07, AOW15, BM15]. However, strong refutation at any lower density is widely believed to be an intractable problem [ABW10, BM15, DLS14, Dan15]. We refer the reader to [Dan15] for a survey of the evidence pointing to the intractability of the problem.

To expose the stark difficulty of strongly refuting random kk-XOR, consider the easier task of distinguishing random kk-XOR instances from those generated from the following distribution: first, sample a satisfiable instance of kk-XOR uniformly at random, by sampling a planted solution z∈{±1}nz\in\{\pm 1\}^{n} and randomly choosing mm equations, each on kk variables, satisfied by zz. Then, corrupt each of the mm equations (so that zz does not satisfy it) with probability δ\delta. Equivalently, this problem can be described as learning parity with noise, wherein z∈{±1}nz\in\{\pm 1\}^{n} defines the unknown parity and each equation CiC_{i} is an example to the learning algorithm. An algorithm to learn parity from noisy examples can be used to distinguish the planted instances sampled as described above from uniformly random instances of kk-XOR. There is no known distinguishing algorithm at any density m/n<nk/2−1m/n<n^{k/2-1}, and the computational intractability of this problem has recently been used to obtain lower bounds for improper learning [Dan15].

A natural proof system for strong refutation is the sum-of-squares (SoS) proof system. Given an instance Φ\Phi of a Boolean kk-CSP, the fraction of constraints satisfied by an assignment xx can be written as a polynomial PΦ(x)P_{\Phi}(x) of degree at most kk in xx. Let opt⁡(Φ)\operatorname{opt}(\Phi) denote the largest fraction of constraints satisfied by any assignment to the variables, i.e.,

Therefore, certifying an upper bound cc on opt⁡(Φ)\operatorname{opt}(\Phi) reduces to certifying that max⁡x∈{±1}nPΦ(x)<c\max_{x\in\{\pm 1\}^{n}}P_{\Phi}(x)<c.

A degree-dd sum-of-squares proof for this fact is a polynomial identity of the form,

where deg⁡(qi2)≤d\deg(q_{i}^{2})\leq d and I\mathcal{I} is the ideal generated by the polynomials {xj2−1}\{x_{j}^{2}-1\} that define the variety {±1}n\{\pm 1\}^{n}.

The size of a degree-dd SoS proof is at most nO(d)n^{O(d)}, assuming the coefficients have a bit-complexity of at most nO(d)n^{O(d)}. Moreover, finding a degree-dd SoS proof can be formulated as a semidefinite program, also known as the degree-dd sum-of-squares hierarchy or the dd-round Lasserre/Parrillo SDP hierarchy [Las00, Par00]. Therefore, if there is a degree-dd SoS proof with bit complexity nO(d)n^{O(d)}, then one can be found in time nO(d)n^{O(d)}.

SoS proof systems are very powerful in that they capture both local arguments, such as resolution-based proofs, and global methods like spectral techniques. Furthermore, these proof systems subsume various linear programming and SDP hierarchies such as the Sherali-Adams, Lovász Schrijver (LS) and LS+ hierarchies. In the recent past, the SoS SDP hierarchy has received considerable attention due to its ability to certify the objective value on many candidate hard instances for the unique games problem [BBH+12].

Unfortunately, the lower bounds of Grigoriev [Gri01] and Schoenebeck [Sch08] rule out efficient strong SoS refutations for random kk-XOR and random kk-SAT at densities significantly smaller than m/n<nk/2−1m/n<n^{k/2-1}. Specifically, Schonebeck’s result implies that with high probability over kk-XOR instances Φ\Phi with clause density m/n<O(n(k/2−1)(1−δ))m/n<O(n^{(k/2-1)(1-\delta)}), the SoS hierarchy cannot refute Φ\Phi at degree O(nδ)O(n^{\delta}).

Note that this leaves open the possibility that random kk-XOR and random kk-SAT admit subexponential-sized strong refutations well-below the nk/2−1n^{k/2-1} threshold. This sets the stage for our main result.

For all δ∈[0,1)\delta\in[0,1) given a random kk-XOR instance Φ\Phi on nn variables, with high probability over Φ\Phi, the degree O(nδ)O(n^{\delta}) sum-of-squares hierarchy can strongly refute Φ\Phi, certifying that

for any constant ε>0\varepsilon>0 as long as Φ\Phi has clause density m/n≥O~(n(k/2−1)(1−δ))m/n\geq\widetilde{O}(n^{(k/2-1)(1-\delta)}), where the O~\widetilde{O} notation hides logarithmic factors and a dependence on ε\varepsilon and kk. Further, there is a spectral algorithm achieving the same guarantees by computing the eigenvalue of an 2O~(nδ)×2O~(nδ)2^{\widetilde{O}(n^{\delta})}\times 2^{\widetilde{O}(n^{\delta})} matrix.

The algorithm from Theorem 1.3 yields tight refutations–certifying a tight upper bound of opt⁡(Φ)+ε\operatorname{opt}(\Phi)+\varepsilon for any constant ε>0\varepsilon>0.

Notice that the result establishes a smooth trade-off between the clause density of Φ\Phi and the running time of the refutation algorithm. Specifically for all δ∈[0,1)\delta\in[0,1), the algorithm strongly refutes at density m/n=O~(n(k/2−1)(1−δ))m/n=\widetilde{O}(n^{(k/2-1)(1-\delta)}) in time exp⁡(O~(nδ))\exp(\widetilde{O}(n^{\delta})), so that when δ=0\delta=0 the result matches the performance of the best known polynomial-time algorithms, and at δ=1\delta=1, the algorithm refutes instances just above the threshold of satisfiability in exponential time. Moreover, the degree of the sum-of-squares refutations matches the degree lower bounds of [Gri01, Sch08] up to polylogarithmic factors.

Feige [Fei02] introduced a connection between the refutation of random XOR instances and the refutation of other CSPs, and this connection was later used in several other works (e.g. [FKO06, AOW15, BM15]). Using the machinery developed by Allen et al. [AOW15], we apply our algorithm for kk-XOR to refute other random CSPs involving arbitrary Boolean predicates PP; for example to kk-SAT.

for any constant ε>0\varepsilon>0 so long as Φ\Phi has density at least m/n≥O~(n(k/2−1)(1−δ))m/n\geq\widetilde{O}(n^{(k/2-1)(1-\delta)}), where the O~\widetilde{O} hides a dependence on a polylog factor, kk and ε\varepsilon. Further, there is a spectral algorithm achieving the same guarantees.

We can extend Theorem 1.5 so that the density/runtime trade-off depends on the independence parameter of the predicate PP as defined by [AOW15]–we defer the details to Section 5.

Injective tensor norm

The proof techniques we develop are applicable beyond strongly refuting random kk-XOR, to the problem of certifying upper bounds on the injective tensor norm of random tensors.

The injective tensor norm generalizes the matrix operator norm, in the following sense. For an order-kk symmetric tensor with all dimensions equal to nn, the injective tensor norm is defined as

where by x⊗kx^{\otimes k} we mean the symmetric rank-1 tensor of order kk given by tensoring xx with itself, and by the inner product we mean the entry-wise sum of the products of the entries of T{\bf T} and x⊗kx^{\otimes k}, as is standard.

When k=2k=2, computing ∥T∥inj\|{\bf T}\|_{inj} is equivalent to computing the matrix operator norm. Yet when k≥3k\geq 3, the injective tensor norm is hard to compute. The hardness of approximating the injective tensor norm is not fully understood, but we do know that, assuming the exponential-time hypothesis, the injective tensor norm requires quasipolynomial time to approximate, even within super-constant factors [BBH+12]. There are also reductions to the problem from a variety of problems such as Planted Clique [BV09] and Small-Set Expansion [BBH+12].

The problem is nontrivial even when the tensor has i.i.d. random entries. It is well-known that the norm of a tensor with i.i.d. symmetric subgaussian entries is of the same order as the norm of a random matrix:

So the question arises naturally: is it easy to certify tensor norm bounds under distributional assumptions on the entries? The current known polynomial-time algorithms fall short of the bound O~(n)\widetilde{O}(\sqrt{n}), and can only certify bounds of ∥T∥inj≤O~(nk/4)\|{\bf T}\|_{inj}\leq\widetilde{O}(n^{k/4}) for tensors of order kk [RM14, HSS15, HSSS15]. The algorithm of Hopkins et al. [HSS15] is based on the degree-kk SoS relaxation for the tensor norm problem. They also give a lower bound for the SoS relaxation for the order-33 tensor at degree 44, proving that the relaxation has value Ω~(n3/4)\widetilde{\Omega}(n^{3/4}), which implies that their analysis is tight for the SoS hierarchy at degree 44.

By applying our techniques for random kk-XOR refutations to the problem of certifying bounds on tensor norms, we have the following result:

For any δ∈[0,1/120)\delta\in[0,1/120), given a symmetric order-kk tensor T{\bf T} with i.i.d. standard Gaussian entries, with high probability over the choice of T{\bf T}, the degree O(nδ)O(n^{\delta}) SoS hierarchy relaxation certifies that

where the O~\widetilde{O} notation hides a polylogarithmic factor and a dependence on kk. Furthermore, there is a spectral algorithm that computes the eigenvalues of a 2O~(nδ)×2O~(nδ)2^{\widetilde{O}(n^{\delta})}\times 2^{\widetilde{O}(n^{\delta})} matrix that certifies the same bound.

In an independent work, Bhattiprolu et al. [BGL16] have obtained a result similar to Theorem 1.7 for low-order tensors (for order k=3,4k=3,4); at k=3,4k=3,4, they certify tighter bounds. They also obtain a tight lower bound on the integrality gap of degree-kk SoS relaxations for kk-tensor norms.

Roughly speaking, our spectral algorithm relies mainly on the symmetry constraints in the SDP. In Section 2, we describe how to harness these symmetry constraints to obtain better approximations with increasing SoS degree (by showing how the symmetry constraints can be used to improve a spectral algorithm). This technique adds to the arsenal of tools for algorithm design via the SoS SDP hierarchy, and is the main technical contribution of this work.

1 Related work

We briefly survey the prior work on refuting random CSPs–we refer the reader to [AOW15] for a thorough survey on the topic. Work on refuting random CSPs began with Chvátal and Szemerédi [CS88], who showed that a random kk-SAT instance with clause density α>c\alpha>c (for cc constant) with high probability requires Resolution refutations of exponential size. This lower bound was later complemented by the works of [Fu98, BKPS98], which show that at clause density α≥O(nk−1)\alpha\geq O(n^{k-1}), polynomial-sized resolution proofs exist and can be found efficiently. At the turn of the century, Goerdt and Krivelevich [GK01] pioneered the spectral approach to refuting CSPs, showing that a natural spectral algorithm gives refutations for kk-SAT in polynomial time when α=m/n≥n⌈k/2⌉−1\alpha=m/n\geq n^{\lceil k/2\rceil-1}. A series of improvements followed, first achieving bounds for α≥O(n1/2+ε)\alpha\geq O(n^{1/2+\varepsilon}) for any constant ε\varepsilon for the special case of 33-SAT [FG01, FGK05], then achieving strong refutation at densities α≥O~(n⌈k/2⌉−1)\alpha\geq\widetilde{O}(n^{\lceil k/2\rceil-1}) [CGL04, CCF10]. Finally, the works of Allen et al. and Barak and Moitra gave spectral algorithms for strongly refuting kk-XOR and kk-SAT for any α≥O~(nk/2−1)\alpha\geq\widetilde{O}(n^{k/2-1}) [AOW15, BM15], and Allen et al. also give a reduction from any CSP which is far from supporting a tt-wise independent distribution to tt-XOR. These spectral algorithms are the algorithmic frontier for efficient refutations of random CSPs.

Though not algorithmic, the work of [FKO06] is worth mentioning as well. Feige et al. show that, at clause density α=m/n≥O~(n0.4)\alpha=m/n\geq\widetilde{O}(n^{0.4}), there exists a polynomial-sized (weak) refutation for random 33-SAT given by a subset of O(n0.2)O(n^{0.2}) unsatisfiable clauses. Understanding whether polynomial-sized weak refutations exist for smaller α\alpha is an intriguing open problem.

In a concurrent and independent work, Bhattiprolu et al. [BGL16] obtained a result similar to Theorem 1.7 for bounding the norms of tensors of order 33 and 44. The bounds obtained in [BGL16] are tighter for k=3k=3 and k=4k=4. The results of [BGL16] do not imply new results for refutation even for CSPs of arity 33 and 44, since their upper bound is too weak on sparse tensors–a regime that poses additional technical hurdles.

2 Organization

In Section 2, we illustrate our core ideas via a detailed exposition of our proof for certifying bounds on the norm of order-44 tensors, and explain how these techniques can be built upon to strongly refute CSPs. Section 3 contains the full proof our tensor norm results. Section 4 contains our results for refuting kk-XOR instances. In Section 5, we combine our kk-XOR refutation algorithms with the framework of [AOW15] to refute other CSPs. Finally, in Section 6 we argue that our spectral algorithms give SoS proofs.

3 Preliminaries

Main Ideas: Proof for Random 444-Tensors

In this section, we will survey the main ideas in our paper by proving Theorem 1.7 (our tensor norm certification algorithm) for the case of random 44-tensors. This specific case yields the simplest proof, while encapsulating the core ideas of our techniques for both injective tensor norm and kk-XOR. We formally state the injective tensor norm problem here.

First, we briefly outline the connection between kk-XOR refutation and certifying bounds on tensor norms. Let Φ\Phi be a random kk-XOR formula on x∈{±1}nx\in\{\pm 1\}^{n} with m≈pnkm\approx pn^{k} clauses, sampled as follows: for each S⊂[n]kS\subset[n]^{k} independently with probability pp, add the constraint that ∏i∈Sxi=ηS\prod_{i\in S}x_{i}=\eta_{S} where ηS\eta_{S} is a uniform bit ±1\pm 1, and with probability 1−p1-p, add no constraint. We can form an order-kk tensor T{\bf T} so that for each S∈[n]kS\in[n]^{k}, TS=0{\bf T}_{S}=0 if there is no constraint, and otherwise TS=ηS{\bf T}_{S}=\eta_{S}.

For any assignment x∈{±1}nx\in\{\pm 1\}^{n}, the inner product ⟨T,x⊗k⟩\langle{\bf T},x^{\otimes k}\rangle is equal to the difference in the number of Φ\Phi’s constraints that xx does and does not satisfy. Since Φ\Phi has mm constraints in all, certifying that max⁡x∈{±1}n∣⟨T,x⊗k⟩∣≤o(m)\max_{x\in\{\pm 1\}^{n}}|\langle{\bf T},x^{\otimes k}\rangle|\leq o(m) is equivalent to certifying that opt⁡(Φ)≤12+o(1)\operatorname{opt}(\Phi)\leq\tfrac{1}{2}+o(1). On the other hand, certifying the injective tensor norm amounts to exhibiting an upper bound on max⁡∥y∥≤1∣⟨T,y⊗k⟩∣\max_{\lVert y\rVert\leq 1}|\langle{\bf T},y^{\otimes k}\rangle| where the maximization is over all unit vectors yy. Every Boolean vector x∈{±1}nx\in\{\pm 1\}^{n} is of length ∥x∥=n\lVert x\rVert=\sqrt{n}, which implies that max⁡x∈{±1}n∣⟨T,x⊗k⟩∣≤nk/2⋅∥T∥inj\max_{x\in\{\pm 1\}^{n}}|\langle{\bf T},x^{\otimes k}\rangle|\leq n^{k/2}\cdot\lVert{\bf T}\rVert_{inj}.

In what follows, we will give a spectral algorithm for Problem 2.1 for random 44-tensors with i.i.d. subgaussian entries. We will show that this spectral algorithm is subsumed by a SoS relaxation of appropriate degree in Section 6. The rest of this section is organized as follows.

We first describe the matrix whose maximum eigenvalue provides the upper bound on the injective tensor norm. Rather than writing down the matrix immediately, we will build up our intuition by first considering a simple spectral approach, and then seeing how we can improve.

We then obtain bounds on the eigenvalues of the matrix, which will hold with high probability for tensors with i.i.d. subgaussian entries–this is the step in which we analyze the performance of our algorithm. Because our matrix is somewhat complicated and not amenable to the application of black-box matrix concentration inequalities, we will apply the trace power method. This amounts to bounding the expected trace of a large power of our matrix, a goal which we split in to two steps.

First, we reduce computing the expected trace to a hypergraph counting problem.

Then, we simplify the counting by analyzing a particular hypergraph sampling process.

1 Improving on the natural spectral algorithm with higher-order symmetries

A natural spectral algorithm for Problem 2.1 is to flatten the tensor to a matrix, and then compute the operator norm of the matrix. This is a valid relaxation because, given an order-44 tensor A{\bf A} with symmetric i.i.d. standard normal entries, if we take AA to be the natural n2×n2n^{2}\times n^{2} matrix flattening of A{\bf A},

So ∥A∥op\|A\|_{op} gives a valid upper bound for ∥A∥inj\|{\bf A}\|_{inj}. This is great–on the left, we have a program that we cannot efficiently optimize, and on the right we have a relaxation which we can compute in polynomial time.

A tensored vector of the form x⊗xx\otimes x satisfies the symmetry that (x⊗x)ij=(x⊗x)ji=xixj(x\otimes x)_{ij}=(x\otimes x)_{ji}=x_{i}x_{j}. Therefore, a natural approach to decrease the spectrum of AA along the non-tensor product directions is to average the matrix AA, along these symmetries. Specifically, for each (i,j)(i,j), we would average the ijthij^{th} and jithji^{th} rows, and then repeat the same operation on columns. Formally, the averaged matrix A′A^{\prime} is given by,

where S^2\hat{\mathcal{S}}_{2} is the set of matrices which perform the permutations corresponding to the symmetric group on 22 elements on the rows and columns of matrices indexed by [n]2[n]^{2}. Unfortunately, for a symmetric 44-tensor A{\bf A}, the matrix AA is also symmetric with respect to these operations, so that A′=AA^{\prime}=A.

The operator norm of the above described matrix will certify our upper bounds:

The sequence of calculations culminating in (2.2) gives the proof. ∎

Now, how can this give an improved upper bound over ∥A⊗d∥op=∥A∥opd\|A^{\otimes d}\|_{op}=\|A\|_{op}^{d}? The reason is that although A{\bf A} had 44-wise symmetry, the tensor A⊗d{\bf A}^{\otimes d} does not have 4d4d-wise symmetry. For I,J∈[n]2dI,J\in[n]^{2d}, I=(i1,i1′),…,(id,id′)I=(i_{1},i^{\prime}_{1}),\ldots,(i_{d},i^{\prime}_{d}) and J=(j1,j1′),…,(jd,jd′)J=(j_{1},j^{\prime}_{1}),\ldots,(j_{d},j^{\prime}_{d}) and for permutations π,σ\pi,\sigma on 2d2d elements,

By Wigner’s semicircle law, matrices with independent entries have eigenvalues that are all roughly of the same magnitude. Because our matrix has roughly independent entries, we may hope that the semicircle law holds for us, so that from the above heuristic calculations and from (2.2),

Thus, we expect that as we increase dd, and therefore increase the symmetry of the tensored vectors x⊗xx\otimes x relative to the “noisy” non-tensor product eigenvectors of AA, we can certify a tighter upper bound on ∥A∥inj\|{\bf A}\|_{inj}. Of course, since our certificate is the eigenvalue of a n2d×n2dn^{2d}\times n^{2d} matrix, the running time the refutation algorithm grows exponentially in the choice of dd.

2 Matrix concentration for the certificate

Our algorithm is now clear: we form our matrix certificate by averaging overrows and columns corresponding to permutations of row and column indices in A⊗dA^{\otimes d}, then use the certificate matrix’s eigenvalues to upper bound ∥A∥injd\|{\bf A}\|^{d}_{inj} (by Proposition 2.2).

As a corollary of Theorem 2.3 and Proposition 2.2, we get Theorem 1.7 for the case of order-44 tensors.

The proof is essentially an application of Markov’s inequality; we give it in Appendix A.

Our reduction is now complete. Because we will be dealing with subgaussian random variables, the entries of A{\bf A} will concentrate well enough for us to reduce to the Rademacher case.

2.2 Bounding the probability of an even hypergraph

From Lemma 2.5 and Proposition 2.4, in order to prove Theorem 2.3 it suffices for us to bound

Next, pair up the edges between Ij,Ij+1I_{j},I_{j+1} and merge each pair to form a hyperedge.

We will use step 1 to bound the dependence on nn, and step 2 to bound the dependence on dd. In particular, our arguments from Lemma 2.5 give us the following lemma almost immediately:

To use (2.4), we need to relate the probability that the edges sampled in step 1 have even multiplicity to the probability that the hyperedges sampled in step 2 have even multiplicity.

Balancing the terms concludes the proof; we will fill in the few remaining details in Section 3.1.

3 From k𝑘k-XOR to tensor norms, and odd-order tensors

The proof of Theorem 2.3 generalizes to tensors of all even orders kk almost immediately. For odd kk we need an extra idea or two, since all natural flattenings of the tensor to a matrix result in a non-square matrix. We give the details for even and odd kk in Section 3.1 and Section 3.2 respectively.

Injective Tensor Norm for Subgaussian Random Tensors

In this section, we show how to certify bounds on the norm of a random tensor, building on our proof of the order-44 case in Section 2. We handle the even-order and odd-order cases separately, as the odd-order case contains some additional intricacies.

Section 3.1 contains the proof for even tensors. Section 3.2 contains the proof for odd tensors. In Section 3.3, we prove a combinatorial lemma that we rely upon in both proofs.

The case of order-kk tensors when kk is even is almost completely outlined in Section 2, in the proof overview of Theorem 2.3. Some of the statements from the overview need additional proof, and some need generalization for k>4k>4. We briefly fill in the gaps.

Recall that in our setting, we are given a symmetric order-kk tensor A{\bf A} with i.i.d. standard Gaussian entries, where kk is even. Our algorithm consists of computing the operator norm of a certificate matrix; though we described this certificate ion Section 2, we will require one small twist to make our proofs easier:

Input: An order-kk dimension-nn tensor A{\bf A}, for even kk.

Form the asymmetric tensor A′{\bf A}^{\prime} from A{\bf A} as follows. For each S∈[n]kS\in[n]^{k},

if SS is lexicographically first among all permutations of SS, set AS′=∑π∈SkAπ(S){\bf A}^{\prime}_{S}=\sum_{\pi\in\mathcal{S}_{k}}{\bf A}_{\pi(S)}.

Take the natural nk/2×nk/2n^{k/2}\times n^{k/2} matrix flattening AA of A′{\bf A}^{\prime}, and form A⊗dA^{\otimes d}.

Letting S^dk/2\hat{\mathcal{S}}_{dk/2} be the set of all permutation matrices that perform the index permutations corresponding to Sdk/2\mathcal{S}_{dk/2} on the rows and columns of A⊗dA^{\otimes d}, form

Output: ∥Cd∥1/d\|C_{d}\|^{1/d} as a bound on the objective value.

First, we verify the completeness of the certificate:

Let A{\bf A} be a symmetric order-kk tensor for even kk, and let AA be the natural matrix flattening of A′{\bf A}^{\prime} the asymmetrization of A{\bf A} described in Algorithm 3.1. Let Sdk/2\mathcal{S}_{dk/2} be the symmetric group on dk/2dk/2 elements, and further let S^dk/2\hat{\mathcal{S}}_{dk/2} be the set of ndk/2×ndk/2n^{dk/2}\times n^{dk/2} matrices that apply the permutations of Sdk\mathcal{S}_{dk} to matrices whose rows and columns are identified with multisets in [n]dk[n]^{dk}. Then

The proof is identical to that of Proposition 2.2, up to noticing that ⟨A,x⊗k⟩=⟨A′,x⊗k⟩\langle{\bf A},x^{\otimes k}\rangle=\langle{\bf A}^{\prime},x^{\otimes k}\rangle. ∎

Now, we will prove that in the case that A{\bf A} is a random tensor with i.i.d. subgaussian entries, our certification algorithm improves smoothly upon the simple spectral algorithm as we invest more computational resources.

The proof is nearly identical to the k=4k=4 case from Section 2, so we will be brief.

We will assume that each entry of A′{\bf A}^{\prime} is bounded in absolute value by γ=O(dlog⁡n))\gamma=O(\sqrt{d\log n})), as by the subgaussian assumption this is true with high probability, even after symmetrization. This assumption preserves the symmetry of the distribution.

For H∈HH\in\mathcal{H} and V∈VV\in\mathcal{V}, we let wA(V,H)w_{{\bf A}}(V,H) denote the product of all hyperedge weights in the hyperedge cycle (V,H)(V,H) when the weights are given by entries of the tensor A{\bf A}. Because the entries are distributed symmetrically about , we have that

Sample a random perfect matching (of edges, not hyperedges) between every two consecutive vertex sets Ii,Ii+1I_{i},I_{i+1}, letting the configuration of edges we chose be EE from the set of all such possible configurations M\mathcal{M}.

Group the edges between IiI_{i} and Ii+1I_{i+1} into groups of size k/2k/2, and merge every group into a hyperedge (of order kk).

Let (V,E)(V,E) be the intermediate graph in this process that produces the hypergraph (V,H)(V,H). Notice that now, We restate, then prove, a more precise version of Lemma 2.7

We now prove and apply the following proposition, which is a restatement of Lemma 2.6 for arbitrary kk:

and the conclusion follows from combining the above with (3.3). ∎

The proof of Lemma 3.7 proceeds by a cute inductive argument, which we will reserve for Section 3.3.

for some constant cβc_{\beta} depending only on β\beta. Putting this together with (3.1),(3.2), and (3.4),

for some constant cβ′c^{\prime}_{\beta}. Choosing β=2(k−1)log⁡dk(3k−7)log⁡d+log⁡n\beta=\frac{2(k-1)\log d}{k(3k-7)\log d+\log n} balances the terms, so for smaller β\beta we have

Now, requiring that d≤n1/3k2d\leq n^{1/3k^{2}} and choosing β←(k−1)log⁡dlog⁡n\beta\leftarrow(k-1)\frac{\log d}{\log n}, we have that

2 Odd-order tensors

In this section, we give our algorithm for certifying bounds on the injective tensor norm of random odd-order tensors. Because there is no canonical way to flatten an odd-order tensor to a square matrix, the algorithm includes an additional step, similar to the one we employ for kk-XOR instances when kk is odd (Section 4.2).

Using the Cauchy-Schwarz inequality, we can bound the injective norm in terms of the matrices AiA_{i},

Therefore, in order to bound ∥A∥inj\|{\bf A}\|_{inj}, it is sufficient to bound the following quantity.

For a tensor A{\bf A} whose entries are i.i.d. subgaussian variables, we bound the value of the maximization problem (3.6).

We can rewrite the polynomial in (3.6) as,

And we can upper bound the latter term by

where we have used the fact that ∥x∥2=1\|x\|^{2}=1. Bounding the norm of tensor A{\bf A} thus reduces to upper bounding ⟨x⊗2κ,(∑iNi)x⊗2κ⟩\langle x^{\otimes 2\kappa},\left(\sum_{i}N_{i}\right)x^{\otimes 2\kappa}\rangle. Now our strategy is as before–we take a ddth tensor power of our matrix, then average over the symmetries of x⊗2κdx^{\otimes 2\kappa d}.

Having discussed the differences between the even and odd cases, we are ready to give our algorithm.

Input: A random tensor A{\bf A} of dimension nn and odd order k=2κ+1k=2\kappa+1, and a parameter dd.

Form the asymmetric tensor A′{\bf A}^{\prime} as described in Algorithm 3.1, so that ⟨x⊗k,A⟩=⟨x⊗k,A′⟩\langle x^{\otimes k},{\bf A}\rangle=\langle x^{\otimes k},{\bf A}^{\prime}\rangle but only lexicographically first entries are nonzero.

Let AiA_{i} be the nκ×nκn^{\kappa}\times n^{\kappa} matrix flattening of the iith slice of A′{\bf A}^{\prime}, and form the matrix

Zero out all entries of the matrix corresponding to (I1,I2),(J1,J2)∈[n]2κ(I_{1},I_{2}),(J_{1},J_{2})\in[n]^{2\kappa} such that (I1,J1)=(I2,J2)(I_{1},J_{1})=(I_{2},J_{2}), forming a new matrix NN:

Symmetrize the rows and columns of N⊗dN^{\otimes d} according to the symmetries of S2dκ\mathcal{S}_{2d\kappa} to obtain the matrix CC,

Output: The quantity (∥Cd∥1/d+max⁡a,b∈[n]κ∑i∈[n]Ai(a,b)2)1/2\left(\|C_{d}\|^{1/d}+\max_{a,b\in[n]^{\kappa}}\sum_{i\in[n]}A_{i}(a,b)^{2}\right)^{1/2} as an upper bound on ∥A∥inj\|{\bf A}\|_{inj}.

For any symmetric tensor A{\bf A}, Algorithm 3.9 outputs a valid upper bound on ∥A∥inj\|{\bf A}\|_{inj}.

Our asymmetrization in step 1 ensures that ⟨x⊗k,A⟩=⟨x⊗k,A′⟩\langle x^{\otimes k},{\bf A}\rangle=\langle x^{\otimes k},{\bf A}^{\prime}\rangle. The proof then follows from the calculations above, beginning at (3.5) and ending at (3.7), and then using that the symmetrization step fixes vectors of the form x⊗2dκx^{\otimes 2d\kappa}. ∎

We prove that when A{\bf A} has subgaussian, centered, independent entries, Algorithm 3.9 improves over the basic spectral algorithm.

For any symmetric tensor A{\bf A} with independent subgaussian centered entries, with high probability over the choice of A{\bf A}, Algorithm 3.9 certifies that

First, the very straightforward observation that subtracting the maximum element cannot have too strong of a negative effect:

If A{\bf A} is an order-DD tensor with i.i.d. symmetric subgaussian entries, then

The lemma follows from the fact that the variables are subgaussian, and by applying first a Chernoff bound and then a union bound over the indices. ∎

Now, we bound the norm of the matrix ∥Cd∥\|C_{d}\|.

Because the entries of A{\bf A} are subgaussian, with high probability all entries of the tensor are bounded in magnitude by γ=O(κlog⁡n)\gamma=O(\sqrt{\kappa\log n}). We will assume this to be the case in the remainder of the proof.

Interpreting the variables Aai,ci,ui{\bf A}_{a_{i},c_{i},u_{i}} as k=(2κ+1)k=(2\kappa+1)-uniform hyperedges, we have that each entry is a sum over hypergraphs indexed by U∈[n]dU\in[n]^{d}.

For each U∈[n]dU\in[n]^{d}, we have a hypergraph on the following vertex configuration: on the left, we have the vertices from the multiset A,BA,B. On the right, we have the vertices from the multiset C,DC,D. In the center, we have the vertices from UU. On this vertex set, we have 2d2d hyperedges. Of these hyperedges, dd form a tripartite matching on the vertices in A,C,UA,C,U, with κ\kappa vertices from each of A,CA,C and one vertex in UU. The other dd form a similar tripartite matching on the vertices in B,D,UB,D,U. Every hyperedge on A,C,UA,C,U shares exactly one vertex in UU with exactly one hyperedge from B,D,UB,D,U. See Figure 2 for an illustration.

To this end, we describe an equivalent definition of the matrix C(d)C_{(d)}. Specifically, given a,b∈[n]2κda,b\in[n]^{2\kappa d} the entry C(d)(a,b)C_{(d)}(a,b) can be evaluated as follows:

Sample a random matching E={e1,…,e2κd}\mathcal{E}=\{e_{1},\ldots,e_{2\kappa d}\} between the multisets aa and bb.

Group the edges of E\mathcal{E} in to 2d2d groups of size κ\kappa, to obtain 2d2d blocks F={f1,…,f2d}\mathcal{F}=\{f_{1},\ldots,f_{2d}\}.

Pick a random matching M\mathcal{M} between the blocks in F\mathcal{F}. Let M\mathcal{M} be given by dd pairs {(hi,hi′)}i∈[d]\{(h_{i},h_{i}^{\prime})\}_{i\in[d]}.

For each choice of “pivot vertices” σ∈[n]d\sigma\in[n]^{d}, we get a (2κ+1)(2\kappa+1)-uniform hypergraph Hσ\mathcal{H}_{\sigma} with 2d2d hyperedges given by

The entries of the matrix CC are given by,

We will call the hypergraph Hσ\mathcal{H}_{\sigma} diagonal-free (or d-free) if there are no pairs of identical blocks matched with each other in M\mathcal{M}. We will use the notation ∥⋅∥⊕\|\cdot\|_{\oplus} to denote the number of elements of odd multiplicity in a multiset, and similarly the notation ∥⋅∥0\|\cdot\|_{0} to denote the number of distinct elements in a multiset. We will say Hσ\mathcal{H}_{\sigma} is even if the number of occurrences of each hyperedge is even. Now, dividing by our upper bound on the absolute value of the maximum entry,

First we will bound the value of term in (3.9). Recall that by Lemma 3.7, if E\mathcal{E} is even then the number of distinct labels in V∈VV\in\mathcal{V} is less than ∥E∥0\lVert\mathcal{E}\rVert_{0}. Therefore,

For every choice of V∈V,E,F,MV\in\mathcal{V},\mathcal{E},\mathcal{F},\mathcal{M},

Now we bound (3.8). Using Proposition 3.6 and reasoning similar to that in the proof of Theorem 3.3, by making an analogy between the set of configurations with even E\mathcal{E} and the norm of a random matrix under our tensoring and averaging operations, we know that

for a constant cκβc_{\kappa\beta} depending only on κ,β\kappa,\beta in Lemma 3.15. By the preceding pair of inequalities, we get that

We can now put together the easy bound on the maximum diagonal entry with the bound on ∥C∥\|C\| to prove Theorem 3.11.

We combine Lemma 3.12 with Theorem 3.13, and we have that with high probability, for constants cβc_{\beta} and c2c_{2},

Now, we prove some of the lemmas we have relied upon in the proof of Theorem 3.13. We begin with a lemma bounding the probability that the hyperedges we sample all have even multiplicity.

where cdβc_{d\beta} is a constant depending on β\beta and dd.

Using (3.13) and (3.14) we conclude that,

Since k<nβ/4k<n^{\beta/4} and β<1/30\beta<1/30, we have that k1−14β<<nβ/3k^{1-14\beta}<<n^{\beta/3}, and so the first term in the latter parenthesis dominates. This implies that,

where cdβc_{d\beta} is a constant depending on dd and β\beta, and where we have used the fact that 8d2≥8d2−6d+48d^{2}\geq 8d^{2}-6d+4 for all d≥1d\geq 1.

The following lemma we employ in bounding the probability that our blocks from F\mathcal{F} are matched in a way that gives hyperedges with even multiplicity. We do this via reducing the problem to counting the number of multigraphs with labeled edges in which every subgraph induced by a given label is Eulerian.

Define a multigraph G\mathcal{G} as follows. In the multigraph G\mathcal{G}, there is a vertex vfv_{f} for each distinct block f∈Ff\in\mathcal{F}. There is an edge in G\mathcal{G} for each edge in the matchings M\mathcal{M} between the blocks. Every choice of pivot vertices σ∈[n]k\sigma\in[n]^{k} corresponds to a labeling of the edges σ:E(G)→[n]\sigma:E(\mathcal{G})\to[n]. For each edge e∈E(G)e\in E(\mathcal{G}) incident at a vertex vf∈V(G)v_{f}\in V(\mathcal{G}), there is a hyperedge in Hσ\mathcal{H}_{\sigma} corresponding to (σ(e),vf)(\sigma(e),v_{f}). The hypergraph Hσ\mathcal{H}_{\sigma} is even if and only if for each pivot vertex i∈[n]i\in[n], and each vertex vf∈V(G)v_{f}\in V(\mathcal{G}), the number of edges labeled ii incident at vfv_{f} is even. This implies that σ−1(i)\sigma^{-1}(i) form an Eulerian subgraph for each i∈[n]i\in[n]. By Lemma 3.17, the number of such labelings σ:E(G)→[n]\sigma:E(\mathcal{G})\to[n] is at most (2∣E(G)∣−2∣V(G)∣)!⋅n\nicefracE(G)2−\nicefracE⊕(G)6(2|E(\mathcal{G})|-2|V(\mathcal{G})|)!\cdot n^{\nicefrac{{E(\mathcal{G})}}{{2}}-\nicefrac{{E_{\oplus}(\mathcal{G})}}{{6}}}.

Now we are ready to wrap up the proof of the lemma.

Our final lemma of this section is a bound on the number of labelings of a multigraph such that the subgraphs induced by all edge labels are Eulerian, given a bound on the number of multi-edges appearing with odd multiplicity.

Given a multigraph G\mathcal{G}, a labeling of its edges σ:E(G)→[n]\sigma:E(\mathcal{G})\to[n] is said to be even, if the preimage of every label ii forms an Eulerian subgraph (not necessarily connected) of G\mathcal{G}. Specifically, the set of edges σ−1(i)⊆E(G)\sigma^{-1}(i)\subseteq E(\mathcal{G}) induce a subgraph where the degree of every vertex is even.

where ∣E⊕(G)∣|E_{\oplus}(\mathcal{G})| is the number of multi-edges with odd multiplicity within G\mathcal{G}.

We will count the number of even labelings σ\sigma as follows:

Pick a unordered partition of the edges of the graph in to Eulerian subgraphs. By Claim 3.18, there are at most (2∣E(G)∣−2∣V(G)∣)!(2|E(\mathcal{G})|-2|V(\mathcal{G})|)! of them.

Assign a label from [n][n] to each Eulerian subgraph in the partition. The number of labelings is clearly at most ntn^{t} where tt is the number of subgraphs in the partition. By Claim 3.19, there are at most ∣E(G)∣2−∣E⊕(G)∣6\frac{|E(\mathcal{G})|}{2}-\frac{|E_{\oplus}(\mathcal{G})|}{6} subgraphs in any partition. Hence, there are at most n∣E(G)∣2−∣E⊕(G)∣6n^{\frac{|E(\mathcal{G})|}{2}-\frac{|E_{\oplus}(\mathcal{G})|}{6}} labelings for each partition of G\mathcal{G} in to Eulerian subgraphs.

The lemma follows immediately from the Claim 3.18 and Claim 3.19 which we will show now.

The number of unordered partitions of the edges of the graph in to Eulerian subgraphs is at most (2∣E(G)∣−2∣V(G)∣)!(2|E(\mathcal{G})|-2|V(\mathcal{G})|)!.

Let dvd_{v} denote the degree of vertex v∈V(G)v\in V(\mathcal{G}). We can specify a partition of the edges of G\mathcal{G} in to Eulerian subgraphs, by specifying a sequence of Eulerian traversals whose union covers all the edges in the graph exactly once.

Consider a vertex vv. Any sequence of traversals induces a matching MvM_{v} between the edges incident at vv – where e,e′e,e^{\prime} are matched if one of the traversals goes along e→v→e′e\rightarrow v\rightarrow e^{\prime}. Furthermore, given a set of matchings {Mv∣v∈V(G)}\{M_{v}|v\in V(\mathcal{G})\}, it uniquely identifies a set of traversals.

Therefore the number of partitions of E(G)E(\mathcal{G}) in to Eulerian subgraphs is at most

In any partition of G\mathcal{G} in to Eulerian subgraphs, the number of partitions is at most ∣E(G)∣2−∣E⊕(G)∣6\frac{|\mathcal{E}(G)|}{2}-\frac{|\mathcal{E}_{\oplus}(G)|}{6}

Suppose E(G)=∪i=1tEi(G)E(\mathcal{G})=\cup_{i=1}^{t}E_{i}(\mathcal{G}) denote a partition of E(G)E(\mathcal{G}) into Eulerian subgraphs. For each edge e∈Ei(G)e\in E_{i}(\mathcal{G}) assign a weight we=1∣Ei(G)∣w_{e}=\frac{1}{|E_{i}(\mathcal{G})|}. By definition of the weights, we have

Note that we≤12w_{e}\leq\frac{1}{2} for all e∈E(G)e\in E(\mathcal{G}), since each subset Ei(G)E_{i}(\mathcal{G}) contain at least two edges by virtue of being Eulerian. Moreover, we=12w_{e}=\frac{1}{2} if the edge ee belongs to an Eulerian subgraph Ei(G)E_{i}(\mathcal{G}) with exactly two edges. In particular, Ei(G)={e,e′}E_{i}(\mathcal{G})=\{e,e^{\prime}\} where ee and e′e^{\prime} form a 22-cycle. For every multiedge (a,b)(a,b) with odd multiplicity, at least one of its edges has we≤13=12−16w_{e}\leq\frac{1}{3}=\frac{1}{2}-\frac{1}{6}.

These claims together finish the proof. ∎

3 Useful combinatorial lemmas

Define an rr-grouping to be a partition of a set of size c⋅rc\cdot r into cc subsets of size rr. The following lemma bounds the probability that, given a multiset with many distinct elements, an rr-grouping of the elements results in few rr-sets with odd multiplicity. We rely on this lemma in our injective tensor norm upper bounds, to bound the probability that a hypergraph sampled from a simple graph has the evenness property.

We will refer to each s∈[N]s\in[N] as a “type”. Call a type s∈[N]s\in[N] infrequent if the number of occurrences of ss within ∪iEi\cup_{i}E_{i} is nonzero but at most 88.

Suppose a type s∈[N]s\in[N] appears exactly once in the sets E1,…,EME_{1},\ldots,E_{M},then irrespective of the choice of the grouping, the group involving ss appears exactly once. If there are more than rδMcr\delta Mc types that appear exactly once then,

and the lemma holds. Henceforth, we assume that all but rδMcr\delta Mc types appear at least twice.

Call a type to be frequent if it occurs more than 88 times within ∪iEi\cup_{i}E_{i}. Out of the rMcrMc elements, at most an 8β8\beta fraction are occurrences of frequent types. Otherwise, the number of distinct types would be less than rMc((1−8β)/2+8β/8+δ)<rMc2(1−β)rMc\left((1-8\beta)/2+8\beta/8+\delta\right)<\frac{rMc}{2}(1-\beta).

Moreover, this implies that the number of distinct frequent types is at most 8βrMc/8≤βrMc8\beta rMc/8\leq\beta rMc. Finally, the number of distinct infrequent types is at least rcM2(1−β)−βrMc≥rMc2⋅(1−3β)\frac{rcM}{2}(1-\beta)-\beta rMc\geq\frac{rMc}{2}\cdot(1-3\beta).

Let us sample uniform random rr-groupings {Gi}i∈[M]\{G_{i}\}_{i\in[M]} one group at a time. Specifically, we will sample groups g1,…,gcMg_{1},\ldots,g_{cM} where Gi={g(i−1)c+1,…,gic}G_{i}=\{g_{(i-1)c+1},\ldots,g_{ic}\}, one group at a time. We sample the ithi^{th} grouping GiG_{i} as follows:

Pick the element ss with the smallest number of ungrouped occurrences left within ∪j=iMEj\cup_{j=i}^{M}E_{j} (breaking ties lexicographically).

Sample the group g(i−1)c+jg_{(i-1)c+j} by picking the remaining r−1r-1 elements uniformly at random from ungrouped elements in EiE_{i}

It is clear that the above sampling procedure picks a uniformly random grouping {Gi}i∈[M]\{G_{i}\}_{i\in[M]}.

s(Ei)s(\mathcal{E}_{i}) is its final ungrouped occurrence of an infrequent type.

All previous occurrences of s(Ei)s(\mathcal{E}_{i}) has been grouped with infrequent types.

There are at least βrc\beta rc ungrouped elements within the current multiset EjE_{j} that is being grouped.

For every sequence of random choices, the sampling procedure encounters at least cM2⋅(1−(4r+1)β)\frac{cM}{2}\cdot(1-(4r+1)\beta) critical configurations.

There are at most 8βrcM8\beta rcM occurrences of frequent types. This implies that among the rMc2(1−3β)\frac{rMc}{2}(1-3\beta) infrequent labels, at least rMc2(1−3β)−(8βrMc)(r−1)≥rMc2(1−(4r−1)β)\frac{rMc}{2}(1-3\beta)-(8\beta rMc)(r-1)\geq\frac{rMc}{2}(1-(4r-1)\beta) are grouped only with infrequent types.

For each of these rMc2(1−(4r−1)β)\frac{rMc}{2}(1-(4r-1)\beta) types there is one final ungrouped occurrence. Even assuming we match all these final occurrences among themselves, both conditions (1) & (2) are met at least Mc2(1−(4r−1)β)\frac{Mc}{2}(1-(4r-1)\beta) times during the sampling procedure.

Finally, there are at most βc\beta c groups that are picked among the final βrc\beta rc elements within the sets EiE_{i}. Therefore, for at least Mc2(1−(4r−1)β)−βMc≥Mc2(1−(4r+1)β)\frac{Mc}{2}(1-(4r-1)\beta)-\beta Mc\geq\frac{Mc}{2}(1-(4r+1)\beta) steps, Ei\mathcal{E}_{i} is a critical configuration. ∎

Define random variables {Zi}i∈[m]\{Z_{i}\}_{i\in[m]} as follows:

For all α≤(56βc)c−1\alpha\leq\left(\frac{56}{\beta c}\right)^{c-1}, for all t∈[cM]t\in[cM] and all critical configurations Et\mathcal{E}_{t},

where the maximum is taken over all feasible configurations Et+1\mathcal{E}_{t+1} from Et\mathcal{E}_{t}.

At a critical configuration Et\mathcal{E}_{t}, the next group is the last occurrence of s(Et)s(\mathcal{E}_{t}). Recall that s(Et)s(\mathcal{E}_{t}) is infrequent in that it has at most 77 previous occurrences. Moreover, each of its previous occurrences is grouped to an infrequent type (appearing less than 8 times).

There are at least βrc\beta rc ungrouped elements from which the remaining r−1r-1 elements of the group are chosen. For all but at most (56)r−1(56)^{r-1} group choices, the group contains a type s′s^{\prime} such that this is the first occurrence of ss with s′s^{\prime} in a group.

Therefore, for all but at most (56)r−1(56)^{r-1} choices, the group sampled is its first and only occurrence. In particular, this implies that for a critical configuration Et\mathcal{E}_{t},

Combining Claim 3.21 and Claim 3.20, we have that

which yields the following concentration bound for all δ>0\delta>0,

The lemma below shows that in a simple graph formed by matchings with the evenness property, there cannot be too many more distinct vertices than distinct edges.

If each labeled edge appears with multiplicity exactly 22, then L≤m+cL\leq m+c.

In this case, there are exactly 2m2m edges and exactly 2m2m vertices. We proceed by induction on cc and mm. In the base case, we have c=1c=1 component with 22 vertices, in which case we have at most 22 distinct labels on the vertices, confirming the claim.

Assuming the claim for c≥1c\geq 1 components and 2m≥22m\geq 2 vertices, consider an instance on 2m+22m+2 vertices. If all labels appear ≥2\geq 2 times, we are done, since there are 2m+22m+2 vertices and thus at most L≤m+1L\leq m+1 labels. Otherwise, locate a vertex vv whose label has multiplicity 11.

If vv is in a cycle of length 22, remove vv and its neighbor from the graph, obtaining a smaller instance with L′L^{\prime} labels, c′c^{\prime} components, and m′m^{\prime} distinct edge types, with L′+2≥LL^{\prime}+2\geq L, c′=c−1c^{\prime}=c-1, and m′=mm^{\prime}=m. By the induction hypothesis, L′≤m′+c′=m+c−1L^{\prime}\leq m^{\prime}+c^{\prime}=m+c-1, and therefore L≤m+1+cL\leq m+1+c, as desired.

If vv’s cycle has length >2>2, both vv’s vertex neighbors must have the same label in order for the edges incident on vv to appear twice. We remove vv and identify its neighbors, obtaining an instance with L′+1=LL^{\prime}+1=L, m′=mm^{\prime}=m, c′=cc^{\prime}=c. Appealing to the induction hypothesis, we have L′≤m′+cL^{\prime}\leq m^{\prime}+c, from which we conclude that L≤m+1+cL\leq m+1+c, as desired. ∎

Now, we reduce our lemma to the above case. Say an edge appears with even multiplicity μ>2\mu>2, and that the labels of the edge are (a,b)∈[n]2(a,b)\in[n]^{2}. We will remove the occurrences of this edge, and put the graph segments back together. When we remove all occurrences of the edge (a,b)(a,b), we get 33 kinds of graph segments: paths from aa–bb, paths from aa–aa, and paths from bb–bb. Since aa, bb each have to appear μ\mu times, we can form a matching between segments of type aa–bb, gluing them together at the aa endpoint to get a bb–bb segment. Now, we make one cycle by gluing together aa–aa segments, and a separate cycle by gluing together bb–bb segments. Our number of distinct edges has decreased by 11, and our number of cycles has increased by at most 11, since we broke up at least one cycle to remove the edge (a,b)(a,b). We recursively apply this process to our instance, until we reach an instance in which there are only edges of multiplicity 22, never increasing the quantity m+cm+c. In conjunction with our above claim, the conclusion follows. ∎

Refuting Random k𝑘k-XOR Instances

In this section, we give our algorithm for refuting random kk-XOR instances. In Section 4.1, we describe the algorithm for even kk; in Section 4.2, we describe the algorithm for odd kk. We first recall the problem:

A random instance of kk-XOR with density α=pn(k−1)/2\alpha=pn^{(k-1)/2} is a formula Φ\Phi on nn variables x∈{±1}nx\in\{\pm 1\}^{n}, sampled so that for each S∈[n]kS\in[n]^{k}:

Independently with probability pp, add constraint CS:∏i∈Sxi=ηSC_{S}:\prod_{i\in S}x_{i}=\eta_{S}, for ηS\eta_{S} a uniformly random Rademacher variable.

Otherwise, with probability 1−p1-p, add no constraint.

We let m≈pnkm\approx pn^{k} be the number of constraints, and for any assignment x∈{±1}nx\in\{\pm 1\}^{n}, PΦ(x)P_{\Phi}(x) is the fraction of constraints satisfied by xx.

Given a random kk-XOR instance Φ\Phi, certify with high probability over the choice of Φ\Phi that for all assignments x∈{±1}nx\in\{\pm 1\}^{n},

for some constant δ∈[0,\nicefrac12)\delta\in[0,\nicefrac{{1}}{{2}}), where PΦ(x)P_{\Phi}(x) is the fraction of Φ\Phi’s constraints satisfied by xx.

As described in Section 2, there is a natural random order-kk tensor that we can identify with any kk-XOR instance Φ\Phi. Given a kk-XOR instance Φ\Phi with constraints C1,…,CmC_{1},\ldots,C_{m}, form the tensor TΦ{\bf T}_{\Phi} as follows: for each constraint Ci:∏j∈Sixi=ηSiC_{i}:\prod_{j\in S_{i}}x_{i}=\eta_{S_{i}}, set the entry TSi=ηSi{\bf T}_{S_{i}}=\eta_{S_{i}}; in all other entries place a . We then have that for any assignment x∈{±1}nx\in\{\pm 1\}^{n},

That is, the inner product ⟨TΦ,x⊗k⟩\langle{\bf T}_{\Phi},x^{\otimes k}\rangle gives the difference between the number of constraints xx satisfies and the number of constraints xx violates. Our strong refutation algorithm will be based on showing that

for a constant δ\delta arbitrarily close to .

From (4.1), it is clear that a good bound on ∥TΦ∥inj\|{\bf T}_{\Phi}\|_{inj} would give a refutation algorithm, and so we could hope that our algorithms for bounding tensor norms would suffice. However, when the probability of sampling a constraint p≤n−k/2p\leq n^{-k/2}, the tensor TΦ{\bf T}_{\Phi} becomes sparse enough that its norm is maximized by sparse vectors, so that ∥TΦ∥inj≈1\|{\bf T}_{\Phi}\|_{inj}\approx 1. We are only interested in balanced vector x∈{±1}nx\in\{\pm 1\}^{n}, and so this is a poor upper bound–it will only let us certify that PΦ(x)≤12+nk/2m≥1P_{\Phi}(x)\leq\frac{1}{2}+\frac{n^{k/2}}{m}\geq 1.

So our algorithm for the case of kk-XOR is almost identical to our algorithm for bounding tensor norms, but with an additional twist to get rid of the sparse vectors. We form our certificate as we did in the tensor norm algorithm: we flatten TΦ{\bf T}_{\Phi} to a matrix TT, then take the ddth Kronecker power of TT, and we average over rows and columns corresponding to permutations of the same index set. But now, there is one additional step: we delete any row or column indexed by a multiset S∈[n]kd/2S\in[n]^{kd/2} which contains an element ii with multiplicity greater than O(log⁡n)O(\log n).

This introduces some technicalities in the analysis–in particular, once we delete these rows and columns, it is no longer obvious that we are working with a valid relaxation of ⟨TΦ,x⊗k⟩\langle{\bf T}_{\Phi},x^{\otimes k}\rangle over x∈{±1}nx\in\{\pm 1\}^{n}. But as before, the main theorems of this section will have to do with bounding the norm of our matrix certificate–arguing that the matrix certificate is valid will be straightforward.

We begin by detailing our algorithm for even kk, then give the somewhat more involved analysis for odd kk (the additional complication introduced by the lack of a natural matrix flattening for odd-order tensors).

We begin by describing our matrix certificate for this case, and establishing an upper bound on its norm–as mentioned above, this is the main result of this section. Later, in Section 4.1.1, we will show how to use the matrix to get a valid certificate.

Form the tensor TΦ{\bf T}_{\Phi} from Φ\Phi as described above (see (4.1)).

Take the natural nk/2×nk/2n^{k/2}\times n^{k/2} matrix flattening TT of Tinj{\bf T}_{inj}, and take the Kronecker power T⊗dT^{\otimes d}

Letting S^dk/2\hat{\mathcal{S}}_{dk/2} be the set of all permutation matrices that perform the permutations corresponding to Sdk/2\mathcal{S}_{dk/2} on the rows and columns of TT, form

Zero out any row or column of C(d)C_{(d)} indexed by a multiset in [n]kd/2[n]^{kd/2} containing more than 10log⁡n10\log n copies of any i∈[n]i\in[n].

The following theorem gives a bound on the value output by Algorithm 4.3.

We will prove the theorem below, in Section 4.1.2. First, we will see how to use this certificate, with the deleted high-multiplicity rows and columns, to strongly refute kk-XOR instances.

When we zero out the high-multiplicity rows and columns in Algorithm 4.3,

where P1(x),…,Pm(x)P_{1}(x),\ldots,P_{m}(x) are the 0−10-1 valued predicates of the instance Φ\Phi, and C1(x),…,Cm(x)C_{1}(x),\ldots,C_{m}(x) are the ±1\pm 1-valued predicates of the instance Φ\Phi. We have that

We will prove that the quantity above is not changed very much if we remove sets i1,…,idi_{1},\ldots,i_{d} corresponding to high-multiplicity rows and columns.

Let Φ\Phi be a random kk-XOR formula in which each clause is sampled independently with probability pp.

Suppose that no variable appears in more than mmax⁡m_{\max} clauses. Then if d≪nd\ll n and dkmmax⁡<200εmlog⁡ndkm_{\max}<200\varepsilon m\log n,

for all x∈{±1}nx\in\{\pm 1\}^{n} with high probability. Furthermore when p≥200log⁡nnk−1p\geq 200\frac{\log n}{n^{k-1}}, we have that ε=o(1)\varepsilon=o(1) with high probability.

Let mmax⁡m_{\max} be an upper bound on the number of clauses any variable xix_{i} appears in the instance Φ\Phi. We sample a uniform element C∼Clowd\mathcal{C}\sim\mathcal{C}_{low}^{d}, C=C1,…,Cd\mathcal{C}=C_{1},\ldots,C_{d} in the following way:

For t=1,…,dt=1,\ldots,d: Let At⊂Φ\mathcal{A}_{t}\subset\Phi be the set of clauses such that for any C′∈AC^{\prime}\in\mathcal{A}, the multiset C1,…,Ct−1,C′C_{1},\ldots,C_{t-1},C^{\prime} is not excluded from Clowt\mathcal{C}_{low}^{t}. Choose a uniformly random C∼AtC\sim\mathcal{A}_{t} and set Ct:=CC_{t}:=C, adding CC to C\mathcal{C}.

This sampling process clearly gives a uniformly random element of Clowd\mathcal{C}^{d}_{low}.

At step t+1t+1 there are at least m−tk⋅mmax⁡200log⁡nm-t\frac{k\cdot m_{\max}}{200\log n} clauses that can be added.

Now, define the random variable Xt=∏j=1tPj(x)X_{t}=\prod_{j=1}^{t}P_{j}(x) to be the value of xx on Ct\mathcal{C}_{t}. We apply Claim 4.6, along with the observation that the total number of satisfied clauses can only drop by 11 for each clause removed regardless of the assignment xx, to conclude that

Which by definition of XdX_{d} gives us our first result.

Now, we can establish that dkmmax⁡≤ε⋅200mlog⁡ndkm_{\max}\leq\varepsilon\cdot 200m\log n with high probability. A Chernoff bound implies that when p≥200log⁡n/nk−1p\geq 200\log n/n^{k-1}, 2pnk≥m≥pnk/22pn^{k}\geq m\geq pn^{k}/2 with probability at least 1−2exp⁡(−pnk/8)1-2\exp(-pn^{k}/8), and that mmax⁡≤2pnk−1m_{\max}\leq 2pn^{k-1} with probability at least 1−exp⁡(−pnk−1/2)1-\exp(-pn^{k-1}/2), and so by a union bound and using the assumption that pnk−1≥200log⁡npn^{k-1}\geq 200\log n, we have our result by taking ε=Θ(1/log⁡n)\varepsilon=\Theta(1/\log n). ∎

We’ll take t=α⋅dt=\alpha\cdot d for some small constant α\alpha, so that the sum on the left is small, and the sum on the right we will bound by applying Theorem 4.4, our upper bound on ∥C(j)∥\|C_{(j)}\|. We will also need a bound on ∣Clowj∣|\mathcal{C}_{low}^{j}|, which we can easily get by modifying our proof of Proposition 4.5:

If Φ\Phi is a random kk-XOR instance on nn variables with mm clauses such that no variable participates in more than mmax⁡m_{\max} clauses, then so long as d≪nd\ll n and dkmmax⁡≤200εmlog⁡ndkm_{\max}\leq 200\varepsilon m\log n,

Furthermore, when p≥200log⁡nnk−1p\geq 200\frac{\log n}{n^{k-1}}, we can take ε=o(1)\varepsilon=o(1) with high probability.

The proof proceeds exactly as the proof of Proposition 4.5, but instead of bounding the decrease in the value as each clause is added, one bounds the probability that a clause is chosen which will make the multiplicity of some index too high.

We are now ready to prove that computing the norm of O(d)O(d) matrices C(αd),…,C(d)C_{(\alpha d)},\ldots,C_{(d)} will give us a strong refutation algorithm for random kk-XOR. This concludes the proof of the refutation theorem, modulo the proof of the C(d)C_{(d)} matrix norm bound from Theorem 4.4, which we give in the next subsection.

Define β:=dkmmax⁡200mlog⁡n\beta:=\frac{dkm_{\max}}{200m\log n}, where mmax⁡m_{\max} is the maximum number of clauses any variable participates in. By Proposition 4.5 and the proceeding calculations culminating in (4.2), with high probability over the choice of the instance Φ\Phi, for any x∈{±1}nx\in\{\pm 1\}^{n},

For the terms in the right-hand sum, we can apply our bound on ∣Clowj∣|\mathcal{C}_{low}^{j}| from Lemma 4.7 and the fact that ∥x∥=n1/2\|x\|=n^{1/2}, to conclude that

for some constant cd′c^{\prime}_{d}, where the second inequality holds with high probability from the conditions of Theorem 4.4, and so also holds with high probability simultaneously for all j∈[δd,d]j\in[\delta d,d] by a union bound.

The term comprised of the sum of binomial coefficients is at most

where H(⋅)H(\cdot) is the binary entropy function, H(δ)=−δlog⁡2δ−(1−δ)log⁡2(1−δ)H(\delta)=-\delta\log_{2}\delta-(1-\delta)\log_{2}(1-\delta).

Since the coefficients of the C(j)C_{(j)} terms sum to <1<1, we have that for some α∈[δ,1]\alpha\in[\delta,1],

1.2 Bounding the even certificate spectral norm

Here, we prove the norm bound on the matrix ∥C(d)∥\|C_{(d)}\| given in Theorem 4.4, the main theorem of this section.

The proof is similar to that of Theorem 3.3, except that, because the moments of the entries of TΦ{\bf T}_{\Phi} depend on pp, and because we rely on getting an accurate bound in terms of pp, our counting arguments have to be much more precise. So we require stricter, specialized analogues of our even simple graphs count (Proposition 3.6) and our even hypergraph sampling probability (Lemma 2.8).

The expectation of each product is if any hyperedge in (V,H)(V,H) appears with odd multiplicity, and is pMp^{M} if exactly MM distinct hyperedges appear in (V,H)(V,H). Thus,

To bound this probability, we will again sample uniformly H∼HH\sim\mathcal{H} in a two step process.

Sample a uniformly random perfect matching (with 22-edges rather than hyperedges) between each set Si,Si+1∈VRS_{i},S_{i+1}\in\mathcal{V}_{R}–call the edge set sampled in this manner EE, so that we now have the graph (V,E)(V,E).

Sample hyperedge matching configuration from EE by choosing a uniform random grouping of the edges between Si,Si+1S_{i},S_{i+1} into groups of k/2=κk/2=\kappa edges.

We invoke the following lemma, which is a very slight embellishment upon Lemma 2.7:

Suppose that (V,H)(V,H) has τ\tau distinct labeled hyperedges and the evenness property, where hyperedges on the same vertex set but with a different partition into Si,Si+1S_{i},S_{i+1} count as distinct. Suppose that we sampled HH by first choosing a set of simple-edge perfect matchings EE on VV, then grouping them into hyperedges. Then

The proof is almost identical to that of Lemma 2.7–choosing a random matching within each hyperedge gives a uniformly random EE from which HH is sampled, and that with probability at least (κ!)−wh(\kappa!)^{-wh} we choose the same matching in every copy of every hyperedge. We need only add that if a hyperedge hi∈(V,H)h_{i}\in(V,H) has multiplicity aa, then if we chose the same matching in every copy of hih_{i}, all κ\kappa of the simple edges making up hih_{i} will have multiplicity at least aa, so if tt is the total number of distinct edges in (V,E)(V,E), we have t≤κτt\leq\kappa\tau and also the evenness property. ∎

Now, we use a lemma to bound the conditional probability of sampling an even hyperedge matching with MM hyperedges, given that we sampled an even matching with at most kM/2kM/2 edges:

Suppose we sample a hyperedge matching configuration HH from EE by uniformly grouping the edges in each matching from SiS_{i} to Si+1S_{i+1} into hyperedges of order 2κ2\kappa, and let τ\tau be a number of distinct hyperedges that is possible to sample from (V,E)(V,E) in this way. Then,

Combining this with the above and letting c1:=4ek/2(k/2)k/2c_{1}:=4e^{k/2}(k/2)^{k/2} for convenience,

We will bound this quantity with the following proposition, which counts the number of V∈VRV\in\mathcal{V}_{R} that yield and even graph with at most tt edges on a fixed E∈ME\in\mathcal{M}.

Let Gw×hα,E\mathcal{G}_{w\times h}^{\alpha,E} be the set of all graphs which have a vertex set comprised of ww RR-multilinear multisets S1,…,Sw∈[n]hS_{1},\ldots,S_{w}\in[n]^{h}, and have edges forming the perfect matching MiM_{i} between Si,Si+1S_{i},S_{i+1} (where the indexing is modulo ww), so that the labels in [n][n] assigned to the vertices induce exactly tt distinct labelings for the edges, and the labeled edges have multiplicities α1,…,αt\alpha_{1},\ldots,\alpha_{t}. In words, Gw×hα,E\mathcal{G}_{w\times h}^{\alpha,E} is the set of w×hw\times h matching cycles with matchings specified by EE that have edge multiplicities α\alpha when labeled with RR-multilinear labels from [n][n].

Combining (4.4) and the above, there is a constant c2c_{2} depending on kk so that

2 Odd k𝑘k-XOR

In this section, we modify our algorithm for refuting random even kk-XOR instances to handle odd kk-XOR instances. The odd kk-XOR algorithm is extremely similar to the algorithm for even kk-XOR, save for complications introduced by the fact that an odd-order tensor has no natural matrix flattening.

Now, the first technicality arises–since the entries (Ti⊗Ti)(ab),(cd)=Ta,c,i⋅Tb,d,i(T_{i}\otimes T_{i})_{(ab),(cd)}={\bf T}_{a,c,i}\cdot{\bf T}_{b,d,i} are always squares when a=ba=b and c=dc=d, we must subtract them from the matrix ∑iTi⊗Ti\sum_{i}T_{i}\otimes T_{i}, as otherwise they contribute too much to the norm. Thus, using squares(⋅)\mathop{\textrm{squares}}(\cdot) to refer to the part of the matrix for which a=ba=b and c=dc=d, we instead will use that the number of constraints m=(x⊗2κ)⊤squares(∑i∈[n]Ti⊗Ti)x⊗2κm=(x^{\otimes 2\kappa})^{\top}\mathop{\textrm{squares}}\left(\sum_{i\in[n]}T_{i}\otimes T_{i}\right)x^{\otimes 2\kappa}, and that

We can also view this as doing one step of resolution, so that we have gotten a 4κ4\kappa-XOR instance starting from a (2κ+1)(2\kappa+1)-XOR instance. That is how we will treat our new instance from now on.

Suppose Φ\Phi has ±1\pm 1-constraint predicates C1,…,CmC_{1},\ldots,C_{m}, so that Ca(x)=ηa⋅∏j∈SaxjC_{a}(x)=\eta_{a}\cdot\prod_{j\in S_{a}}x_{j}. We create a new 2(k−1)2(k-1)-XOR instance Ψ\Psi as follows. For each a,b∈[n]a,b\in[n], a≠ba\neq b: if CaC_{a} and CbC_{b} both contain the variable ii in the kkth position, add the ±1\pm 1 constraint predicate Cab′(x)=ηa⋅ηb⋅(∏j∈Saxj)(∏j∈Saxj)C^{\prime}_{ab}(x)=\eta_{a}\cdot\eta_{b}\cdot\left(\prod_{j\in S_{a}}x_{j}\right)\left(\prod_{j\in S_{a}}x_{j}\right) to Ψ\Psi. Let m′m^{\prime} be the number of clauses in Ψ\Psi.

The right-hand side of (4.6) is n⋅∑abCab′(x)=n⋅2m′⋅(PΨ(x)−12)n\cdot\sum_{ab}C^{\prime}_{ab}(x)=n\cdot 2m^{\prime}\cdot(P_{\Psi}(x)-\tfrac{1}{2}), where PΨ(x)P_{\Psi}(x) is the fraction of clauses of Ψ\Psi satisfied by xx. Combining this with the above calculations,

Now, we will essentially apply our even-kk-XOR strategy to Ψ\Psi. The only issue is that the clauses of Ψ\Psi are not independent, so we will need to zero out not only rows and columns indexed by high-multiplicity subsets of [n]2κ[n]^{2\kappa}, but also get rid of terms that contain the same slice with too high a multiplicity. So, instead of taking the ddth tensor power of the matrix ∑iTi⊗Ti−squares(Ti⊗Ti)\sum_{i}T_{i}\otimes T_{i}-\mathop{\textrm{squares}}(T_{i}\otimes T_{i}), we omit the cross-products in which Ti⊗TiT_{i}\otimes T_{i} appears more than 100log⁡n100\log n times for any i∈[n]i\in[n].

Formalizing this, we introduce our matrix certificate for the odd case:

Input: A kk-XOR instance for odd k=2κ+1k=2\kappa+1 on nn variables with mm clauses C1,…,CmC_{1},\ldots,C_{m}, where Ca(x)=ηa⋅∏j∈SaxjC_{a}(x)=\eta_{a}\cdot\prod_{j\in S_{a}}x_{j} for Sj∈[n]kS_{j}\in[n]^{k} and ηa∈{±1}\eta_{a}\in\{\pm 1\}.

Form the tensor T:=TΦ{\bf T}:={\bf T}_{\Phi} by setting TSa=ba{\bf T}_{S_{a}}=b_{a} for all a∈[m]a\in[m], and setting all other entries to .

Initialize an empty n2dκ×n2dκn^{2d\kappa}\times n^{2d\kappa} matrix Γ\Gamma.

For each ordered multiset U∈[n]dU\in[n]^{d} in which no entry appears with multiplicity >100log⁡n>100\log n:

Add the squared tensor of the slices of TΦ{\bf T}_{\Phi} corresponding to the indices in UU:

where squares(⋅)\mathop{\textrm{squares}}(\cdot) is the restriction to entries (I,J),(K,L)(I,J),(K,L) such that (I,K)=(J,L)(I,K)=(J,L) as ordered multisets.

Letting S^2dκ\hat{\mathcal{S}}_{2d\kappa} be the set of all permutation matrices that perform the index permutations corresponding to S2dκ\mathcal{S}_{2d\kappa} on the rows and columns of Γ\Gamma, form

Set to zero all rows and columns of Γ(d)\Gamma_{(d)} indexed by multisets S∈[n]2dκS\in[n]^{2d\kappa} which contain some element of [n][n] with multiplicity >100log⁡n>100\log n.

The following theorem, which is the main theorem of this section, gives a bound on the value output by Algorithm 4.3.

We will prove the theorem below, in Section 4.2.2, and we will now show how to take this matrix and acquire a certificate from it.

Again, our strategy will be to work with the polynomial (PΨ(x))d(P_{\Psi}(x))^{d}, which is not much altered by removing terms corresponding to the high-multiplicity rows, columns, or slice cross-products.

Let Φ\Phi be a random kk-XOR formula in which each clause is sampled independently with probability pp, and let Ψ\Psi be the 2(k−1)2(k-1)-XOR instance obtained from Φ\Phi as described above, where Ψ\Psi has m′m^{\prime} clauses {Cab}ab\{C_{ab}\}_{ab} corresponding to pairs of clauses from Φ\Phi sharing the same final variable.

Let omax⁡o_{\max} be the maximum number of clauses of Ψ\Psi any variable appears in. Then if d≪nd\ll n and d(2k−1)omax⁡<200εm′log⁡nd(2k-1)o_{\max}<200\varepsilon m^{\prime}\log n,

for all x∈{±1}nx\in\{\pm 1\}^{n} with high probability. When p≥200log⁡nnk−1p\geq 200\frac{\log n}{n^{k-1}}, we have that ε=o(1)\varepsilon=o(1) with high probability.

The proof is very similar to that of Proposition 4.14. First, let m′m^{\prime} be the number of clauses in Ψ\Psi, and let omax⁡o_{\max} be the maximum number of clauses of Ψ\Psi that any variable i∈[n]i\in[n] appears in (even if it the shared variable and is included with multiplicity 2).

By definition, we have that PΨ(x)P_{\Psi}(x) gives the proportion of satisfied clauses, so

Since only a o(1)o(1) fraction of the multisets of indices, [n]dk[n]^{dk}, will not contain any item with multiplicity more than 100log⁡n100\log n, we will be able to prove that those terms contribute negligibly.

We sample a uniform element C∼C^lowd\mathcal{C}\sim\hat{\mathcal{C}}^{d}_{low}, C=(Ca1,Cb2),…,(Cad,Cbd)\mathcal{C}=(C_{a_{1}},C_{b_{2}}),\ldots,(C_{a_{d}},C_{b_{d}}) in the following way. For t=1,…,dt=1,\ldots,d:

Let At⊂I\mathcal{A}_{t}\subset\mathcal{I} be the set of pairs of clauses such that for any (C′,C′′)∈A(C^{\prime},C^{\prime\prime})\in\mathcal{A}, (Ca1,Cb1),…,(Cbt−1,Cbt−1),(C′,C′′)∈C^lowt(C_{a_{1}},C_{b_{1}}),\ldots,(C_{b_{t-1}},C_{b_{t-1}}),(C^{\prime},C^{\prime\prime})\in\hat{\mathcal{C}}^{t}_{low}, that is, the set of clauses from Ψ\Psi that maintain the low-multiplicity conditions.

Choose a uniformly random (C′,C′′)∼At(C^{\prime},C^{\prime\prime})\sim\mathcal{A}_{t} and set Cat,Cbt:=(C′,C′′)C_{a_{t}},C_{b_{t}}:=(C^{\prime},C^{\prime\prime}), adding (C′,C′′)(C^{\prime},C^{\prime\prime}) to C\mathcal{C}.

This sampling process clearly gives a uniformly random element of C^lowt\hat{\mathcal{C}}^{t}_{low}.

At step t+1t+1 there are at least m′−t(2k−1)⋅omax⁡Rm^{\prime}-t\frac{(2k-1)\cdot o_{\max}}{R} clauses that can be added.

Now, define the random variable Xt=∏j=1t12(1−Caj(x)Cbj(x))X_{t}=\prod_{j=1}^{t}\frac{1}{2}(1-C_{a_{j}}(x)C_{b_{j}}(x))–this is the -11 value of xx on Ct\mathcal{C}_{t}. We apply Claim 4.15, along with the observation that PΨ(x)P_{\Psi}(x) can only drop by 1/m′1/m^{\prime} for each clause pair removed, to conclude that

So taking ε=1/log⁡n\varepsilon=1/\log n, if we can establish that the inequality d(2k−1)omax⁡≤100m′d(2k-1)o_{\max}\leq 100m^{\prime} with high probability when p≥Ω(log⁡n/nk−1)p\geq\Omega(\log n/n^{k-1}), then we are done.

A Chernoff bound implies that pnk/2≤m≤2pnkpn^{k}/2\leq m\leq 2pn^{k} with probability at least 1−exp⁡(−Ω(pnk))1-\exp(-\Omega(pn^{k})), and that each variable’s degree mim_{i} is pnk−1/2≤mi≤2pnk−1pn^{k-1}/2\leq m_{i}\leq 2pn^{k-1} with probability at least 1−exp⁡(−Ω(pnk−1))1-\exp(-\Omega(pn^{k-1})). We have that m′=(∑imi2)−mm^{\prime}=(\sum_{i}m_{i}^{2})-m, and so by a union bound and using the assumption that pnk−1≥Ω(log⁡n)pn^{k-1}\geq\Omega(\log n), we have that

Let oio_{i} be the degree of variable ii in Ψ\Psi. To bound omaxo_{max}, we observe that oio_{i} is made up of occurrences of pairs in which ii is the shared variable, and of pairs in which ii is not the shared variable. The contribution of the first category is mi2m_{i}^{2}, and with high probability by our union bound mi2≤(2pnk−1)2m_{i}^{2}\leq(2pn^{k-1})^{2}. In the second category, we have ∑jmj⋅mij\sum_{j}m_{j}\cdot m_{ij}, where mijm_{ij} is the number of clauses containing ii and jj. By our previous assumption regarding the concentration of the mim_{i}, we have that ∑jmj⋅mij≤2pnk−1∑jmij\sum_{j}m_{j}\cdot m_{ij}\leq 2pn^{k-1}\sum_{j}m_{ij}. The quantity ∑jmij=mi\sum_{j}m_{ij}=m_{i}, and so we can conclude that omax⁡≤4p2n2k−2o_{\max}\leq 4p^{2}n^{2k-2}, so that omax⁡/m′≤16/no_{\max}/m^{\prime}\leq 16/n, yielding our result. ∎

The proof above can be modified to give the following lemma, which gives a lower bound on the number of low-multiplicity terms.

If Φ\Phi is a random kk-XOR instance, then so long as d≪nd\ll n and d(2k−1)omax<200εm′log⁡nd(2k-1)o_{max}<200\varepsilon m^{\prime}\log n,

Furthermore, ε=o(1)\varepsilon=o(1) with high probability when p≥Ω(n−k+1log⁡n)p\geq\Omega(n^{-k+1}\log n).

The proof proceeds exactly as the proof of Proposition 4.14, but instead of bounding the decrease in the value as each clause is added, one bounds the probability that a clause the multiplicity restriction is chosen.

Now, we can use the spectral norm of Γ(j)\Gamma_{(j)} as a certificate, for values of j∈[δd,d]j\in[\delta d,d]–we stitch together the details below. The following concludes the proof of the refutation theorem, modulo the proof of the Γ(d)\Gamma_{(d)} matrix norm bound from Theorem 4.13, which we give in the next subsection.

As argued in the proof of Proposition 4.14, we have that m′=Θ(p2n2k−1)m^{\prime}=\Theta(p^{2}n^{2k-1}) and m=Θ(pnk)m=\Theta(pn^{k}) with high probability, as long as p≥Ω(log⁡nnk−1)p\geq\Omega(\frac{\log n}{n^{k-1}}). Suppose that no variable appears in more than omax⁡o_{\max} clauses in Ψ\Psi. Then for β=d(2k−1)omax⁡200m′log⁡n\beta=\frac{d(2k-1)o_{\max}}{200m^{\prime}\log n}, from Proposition 4.14 and (4.2.1),

If we choose t=δdt=\delta d for some constant δ>0\delta>0, then we can bound the jjth term in the second summation by

where the inequality holds with high probability from the conditions of Theorem 4.13, and therefore also holds with high probability simultaneously for all j∈[δk,k]j\in[\delta k,k] by a union bound.

The term comprised of the sum of binomial coefficients is at most

Where H(⋅)H(\cdot) is the binary entropy function, H(δ)=−δlog⁡δ−(1−δ)log⁡(1−δ)H(\delta)=-\delta\log\delta-(1-\delta)\log(1-\delta). Also, β=o(1)\beta=o(1) with high probability. Therefore, for some α∈[δ,1]\alpha\in[\delta,1],

and we can take the quantity within the square root to be an arbitrarily small constant by choosing a constant ε\varepsilon sufficiently small.

We can certify this bound in time nO(d)⋅dn^{O(d)}\cdot d, by running Algorithm 4.12 to compute the top eigenvalue of Γ(j)\Gamma_{(j)} for each j∈[δd,d]j\in[\delta d,d]. ∎

2.2 Bounding the odd certificate spectral norm

We obtain Γ(d)\Gamma_{(d)} by averaging over row and column symmetries of the matrix

then setting rows and columns indexed by high-multiplicity multisets to . Ignoring the subtracted squares for now, this can in turn be understood as the low-multiplicity restriction of the matrix

where the low-multiplicity restriction is occurring on the Cauchy-Schwarz’d mode uu, as well as on the rows and columns. We begin with the hypergraph interpretation of the matrix (∑uTu⊗Tu)⊗k(\sum_{u}T_{u}\otimes T_{u})^{\otimes k}, from which the interpretation for Γ(d)\Gamma_{(d)} will follow by our understanding of symmetrization over S2dκ\mathcal{S}_{2d\kappa} and of low-multiplicity restrictions. Let M:=(∑uTu⊗Tu)⊗dM:=(\sum_{u}T_{u}\otimes T_{u})^{\otimes d} for convenience. We have that the (A,B),(C,D)(A,B),(C,D)th entry of MM (for A,B,C,D∈[n]dκA,B,C,D\in[n]^{d\kappa} with A=a1,…,adA=a_{1},\ldots,a_{d} with ai∈[n]κa_{i}\in[n]^{\kappa}, and with similar decompositions defined for B,C,DB,C,D) has value

Interpreting the variables Tai,ci,ui{\bf T}_{a_{i},c_{i},u_{i}} as k=(2κ+1)k=(2\kappa+1)-uniform hyperedges, we have that each entry is a sum over hypergraphs indexed by U∈[n]dU\in[n]^{d}. For each U∈[n]dU\in[n]^{d}, we have a hypergraph on the following vertex configuration: on the left, we have the vertices from the multiset A,BA,B. On the right, we have the vertices from the multiset C,DC,D. In the center, we have the vertices from UU. On this vertex set, we have 2d2d hyperedges. Of these hyperedges, dd form a tripartite matching on the vertices in A,C,UA,C,U, with κ\kappa vertices from each of A,CA,C and one vertex in UU. The other dd form a similar tripartite matching on the vertices in B,D,UB,D,U. Every hyperedge on A,C,UA,C,U shares exactly one vertex in UU with exactly one hyperedge from B,D,UB,D,U. See Figure 2 for an illustration.

Now, we detail the impact of subtracting the squares, and of removing high-multiplicity rows, columns, and Kronecker powers.

The subtraction of the square terms squares(Tu⊗Tu)\mathop{\textrm{squares}}(T_{u}\otimes T_{u}) forces us to never have two hyperedges sharing a vertex in UU if they contain vertices of the same type in [n][n]: that is, we can never have (ai,ci)=(bi,di)(a_{i},c_{i})=(b_{i},d_{i}) as ordered multisets.

The deletion of high-multiplicity indices, both in the Cauchy-Schwarz’d mode and in the rows and columns, forces us to exclude hypergraphs with (A,B)(A,B), (C,D)(C,D), or UU containing more than 100log⁡n100\log n repetitions of any one vertex type.

We are now ready to prove our upper bound on Γ(d)\Gamma_{(d)}.

We fix dd and take Γ:=Γ(d)\Gamma:=\Gamma_{(d)} for convenience. Also, fix R:=100log⁡nR:=100\log n, and call a multiset S∈[n]mS\in[n]^{m} RR-multilinear if no element of [n][n] appears with multiplicity more than RR in SS. We will apply the trace power method (Proposition 2.4) to Γ\Gamma, for which it suffices to obtain an upper bound on

Applying the above observations, and recalling that we have assembled Γ\Gamma from the random tensor T{\bf T}, we have that

Because TS≠Tπ(S){\bf T}_{S}\neq{\bf T}_{\pi(S)}, our hyperedges are ordered, and so two hyperedge variables are not identical unless the vertices appear in the same order (in particular, the partition into ai,bi,uia_{i},b_{i},u_{i} and the order within each should be the same). The expectation over T{\bf T} of a term is if any ordered hyperedge in (V,U,H)(V,U,H) appears with odd multiplicity or if two identical ordered hyperedges share the same vertex in some UiU_{i}, and is pMp^{M} if exactly MM distinct hyperedges appear in (V,U,H)(V,U,H). Thus,

To bound this probability, we will sample uniformly U∈URU\in\mathcal{U}_{R} and H∼HH\sim\mathcal{H} in a three-step process.

Sample a uniformly random perfect matching (with 22-edges rather than hyperedges) between each set Si,Si+1∈VRS_{i},S_{i+1}\in\mathcal{V}_{R}–call the edge set sampled in this manner EE, so that we now have the graph (V,E)(V,E).

Sample a hyperedge matching configuration GG from EE by choosing a uniform random grouping of the edges between Si,Si+1S_{i},S_{i+1} into groups of dd edges, to obtain the hypergraph (V,G)(V,G) (when k=3  ⟹  κ=1k=3\implies\kappa=1, this step is skipped).

Sample a pairing HH of the hyperedges in GG, a center vertex for each pair in HH and an order on the center vertices to form UU, to obtain the hypergraph (V,U,H)(V,U,H).

For step 2 and 3, we will employ the same Proposition 4.11 and Lemma 4.10 that we used in the proof of the even case (Theorem 4.4) to bound the probability that we sample a (V,E)(V,E) and (V,G)(V,G) with a certain edge multiplicity and the evenness property. For step 4, we will need another lemma along the same lines.

We note that if (V,U,H)(V,U,H) has every hyperedge appearing an even number of times and there are MM distinct edges, then even if all center vertices are removed to obtain a 2κ2\kappa-hypergraph (V,G)(V,G), every ordered hyperedge must still appear with even multiplicity, and there can only be at most MM distinct hyperedges. Therefore, letting EHM\mathcal{E}^{M}_{H} be the event that (V,U,H)(V,U,H) is even with MM edges and no square/sharing hyperedges, letting EGm\mathcal{E}^{m}_{G} be the event that (V,G)(V,G) is even with at most mm edges, we have that

And so now, combining with (4.12), we have that for some constant c1c_{1} depending on κ\kappa,

for some constant c3c_{3} depending on kk. So there is a constant c4c_{4} depending on kk so that,

And combining this with the above, there exists a constant c6c_{6} depending on kk so that

This concludes our bound on ∥Γ∥\|\Gamma\|–in the next subsection, we prove the bounds on the sampling probabilities that we relied upon in the proofs of Theorem 4.4 and Theorem 4.13.

3 Bounding probabilities of sampling even hypergraphs

Our first proposition counts the number of vertex configurations with the evenness property and a given set of edge multiplicities for a fixed edge set EE.

Let Gw×hα,E\mathcal{G}_{w\times h}^{\alpha,E} be the set of all graphs which have a vertex set comprised of ww RR-multilinear multisets S1,…,Sw∈[n]hS_{1},\ldots,S_{w}\in[n]^{h}, and have edges forming the perfect matching MiM_{i} between Si,Si+1S_{i},S_{i+1} (where the indexing is modulo ww), so that the labels in [n][n] assigned to the vertices induce exactly tt distinct labelings for the edges, and the labeled edges have multiplicities α1,…,αt\alpha_{1},\ldots,\alpha_{t}. In words, Gw×hα,E\mathcal{G}_{w\times h}^{\alpha,E} is the set of w×hw\times h matching cycles with matchings specified by EE that have edge multiplicities α\alpha when labeled with RR-multilinear labels from [n][n].

We remark that this proposition resembles a lemma used in establishing exact bounds on the order of the deviation of the second eigenvalue of a Wigner matrix, in the work of [FK81]. Unfortunately, their statement does not directly imply the bounds we require, as they work in a slightly different setting and wished to precisely bound the constant. Our proof is similar to the exposition of [FK81] in [Tao].

We bound the number of such graphs by encoding each graph as a unique string. Since EE is known, it suffices to encode enough information to recover the labels of the vertices.

We will call MiM_{i} (the matching in EE between SiS_{i} and Si+1S_{i+1}) the iith column of edges. We choose an ordering on the edges of EE: we order them first by column, and within each column arbitrarily. Given a G∈Gw×hα,EG\in\mathcal{G}_{w\times h}^{\alpha,E}, we will process the edges one at a time in this pre-specified order, and for each edge we will record either the labels of its incident vertices, or enough information to recover the labels from what we have previously recorded. To reduce the amount of recorded information, it will be helpful to specify several edge types:

reused-endpoint edges: never-before seen edges eie_{i} with ai=2a_{i}=2 which take us to a vertex with a label we have already seen.

Edges we see for the second (and last) time:

return edges: edges eie_{i} with ai=2a_{i}=2 which we see for the second (and last) time.

unforced edges: return edges eie_{i} with ai=2a_{i}=2 which are not the only possible labeled edge we can use from the endpoint vertex of the previous edge.

high-multiplicity edges: edges eie_{i} with ai>2a_{i}>2.

The labels of each vertex belonging to the first column set S1S_{1} (at most n∣S1∣=nhn^{|S_{1}|}=n^{h} choices).

The edge type of every edge in the graph: whether it is a new-endpoint edge, a reused-endpoint edge, a high-multiplicity edge, or a forced or unforced return edge (at most 5∣E∣=5wh5^{|E|}=5^{wh} choices).

The recorded information, along with EE and α\alpha, suffices to reconstruct GG.

We will prove this by induction. Our inductive claim is that in the iith step, we can reconstruct the labels of the iith column of vertices, SiS_{i}.

For the first column, we have recorded all of the labels, so we have S1S_{1}.

In any subsequent column, assuming we know SiS_{i}, we will process the edges in order, and determine their endpoint in Si+1S_{i+1}. For each edge, we can the determine from our edge information whether it is a new-endpoint, reused-endpoint, high-multiplicity, unforced return, or forced return edge. Depending on the type of edge we use different information to discern the label of its endpoint in Si+1S_{i+1}:

If we traversed a new-endpoint edge: we have recorded the label of the endpoint in Si+1S_{i+1}.

If we traversed a reused-endpoint edge: we have recorded the position of the first appearance of the vertex’s label, and we can look it up.

If we traversed an unforced return edge: we have recorded the column index of the first appearance of the edge, as well as the index II within that column of the label corresponding to this edge’s endpoint in SiS_{i}. We go to the column, and then choose the label in Si+1S_{i+1} by finding the IIth edge in that column with a label matching our edge’s known label from SiS_{i}.

If we traversed a forced return edge: there is only one choice for the second endpoint.

If we traversed a high-multiplicity edge: we have recorded the column index of the other appearances of this edge. If this is the first appearance of the edge, we have recorded the label of the second endpoint. Otherwise, we have recorded the column in which this edge first appeared, as well as the index II within that column of the label corresponding to this edge. We go to the column, and then choose the label in Si+1S_{i+1} by finding the IIth edge in that column with a label matching our edge’s known label from SiS_{i}.

All that remains is for us to translate between the above quantity, which is in terms of edge types, to our desired quantity in terms of the parameters t,w,ht,w,h. We do this by observing that

We now prove Lemma 4.10, which gives us a bound on the probability that we sample an even hypergraph cycle with the correct edge multiplicity from a simple edge cycle. Again, the proof of Lemma 4.10 is different from the proof of Lemma 2.8, and is more similar to the proof of Proposition 4.11 (although it is already quite different from the proof of [FK81]).

Suppose we sample a hyperedge matching configuration HH from EE by uniformly grouping the edges in each matching from SiS_{i} to Si+1S_{i+1} into hyperedges of order 2κ2\kappa, and let τ\tau be a number of distinct hyperedges that is possible to sample from (V,E)(V,E) in this way. Then,

We will count the number of possible even HH one can sample from EE with at most τ\tau unique hyperedges by encoding each such HH uniquely as a string, then counting the number of strings.

First, we fix an ordering on the edges of EE, ordering them first by column, then arbitrarily within each column. Now, define a new hyperedge to be a labeled hyperedge which we have never seen before, and define an old hyperedge to be a hyperedge which has already been seen. Let HH be some even hypergraph sampled from GG with at most MM unique labeled hyperedges. We encode HH in a string as follows. We will process the hyperedges of HH one at a time, ordering hyperedges by the first simple edge they contain.

For every hyperedge encountered in HH, record whether it is new or old (2∣H∣=2wh2^{|H|}=2^{wh} options).

For every new hyperedge encountered: record the indices of the 2,...,d2,...,d simple edges that it contains (((dh)(d−1))τ\left((dh)^{(d-1)}\right)^{\tau} options). The identity of the first edge will be obvious from the edge ordering.

For every old hyperedge encountered, record the column index jj of its first appearance (wwh−τw^{wh-\tau} choices). If any of the simple edges ei1,…,eide_{i_{1}},\ldots,e_{i_{d}} appear with multiplicity >1>1 in the old (jjth) column, record the indices of those edge within the identical edges in that column (at most (Rd)wh−τ(R^{d})^{wh-\tau} choices, since no simple edge can appear more than RR times in a column).

We claim that given V,EV,E, and this encoding, we can uniquely recover HH. We process the simple edges in our specified order. If the edge is contained in a new hyperedge, we can deduce the other simple edges belonging with it from what we recorded. If the edge is contained in an old hyperedge, we know the column in which the hyperedge first appears, and we can determine the other edges in the group by looking up the edge in the previous column–if there are multiple copies of the edge in the old column, we have recorded which copy to look up. Furthermore, if the grouping is insufficient due to multiplicities within this column, we have recorded the relative indices of the relevant edges.

giving an upper bound on the number of HH we can sample from (V,E)(V,E) with at most τ\tau distinct edges. There are a total of

possible hyperedge graphs sampleable from (V,E)(V,E), and from this we have that

where we have combined (4.18) with (4.19) and applied Stirling’s inequality. Our conclusion follows. ∎

Now we prove a lemma that bounds the number of even kk-hyperedge configurations with τ\tau hyperedges, each paired and sharing a center vertex, sampleable from an even 2d2d-hyperedge configuration by pairing and labeling.

We will count the number of such HH by encoding each instance uniquely as a string. Fix an order on the hyperedges, first in column order.

A new hyperedge is a hyperedge which introduces a new center vertex.

A reuse hyperedge is a hyperedge which we see for the first time, and whose center vertex is the first of its type in its column, but which reuses a center vertex from a previous column.

A sharing hyperedge is a hyperedge which we see for the first time, but which shares a center vertex with another hyperedge in its own column.

A return hyperedge is a hyperedge which we see for the second or later time.

In the first hwhw positions, we record the type of every hyperedge we see (4hw4^{hw} choices).

We record the permutation of the middle labels in each column ((h2!)w(\frac{h}{2}!)^{w} choices).

Given this information, we can uniquely reconstruct an HH from GG. For every surprise hyperedge we encounter, we have recorded the center label. For every recycle hyperedge we encounter, we can determine the center label by looking at the previous occurrence. For every sharing hyperedge, we can determine its partner. For every return hyperedge, we can determine the label of the center vertex by looking at the previous occurrence, and we can determine partnership by knowing the index of the center label’s occurrence within the column.

We use some observations about these quantities to simplify the above expression. We have that

Strong Refutation for All CSPs

In this section, we consider the problem of refuting Boolean CSP’s with arbitrary predicates.

Let P:{±1}k→{0,1}P:\{\pm 1\}^{k}\to\{0,1\} be a predicate on kk variables. Then we sample a random instance of CSP-PP, Φ\Phi, with clauses C1,…,CmC_{1},\ldots,C_{m}, as follows: for each I∈[n]kI\in[n]^{k}:

With probability pp, sample a uniformly random σ∈{±1}k\sigma\in\{\pm 1\}^{k} and add the constraint P(xI⊕σ)=1P(x_{I}\oplus\sigma)=1 to Φ\Phi as clause CIC_{I}, where ⊕\oplus denotes the entry-wise product and xIx_{I} denotes the ordered subset of variables xix_{i} for each i∈Ii\in I.

The problem of strongly refuting CSP-PP is to devise an algorithm that given an instance Φ\Phi sampled as above, with high probability over Φ\Phi, outputs a certificate that

for any constant ε>0\varepsilon>0. Furthermore, the degree-O(nδ)O(n^{\delta}) SoS relaxation also certifies this bound.

Expand C1(x),…,Cm(x)C_{1}(x),\ldots,C_{m}(x) using the Fourier expansion.

Split the Fourier expansions of C1,…,CmC_{1},\ldots,C_{m} into XOR instances.

Let 1≤t≤k1\leq t\leq k. A predicate P:{±1}k→{0,1}P:\{\pm 1\}^{k}\to\{0,1\} is δ\delta-far from tt-wise supporting if every distribution D\mathcal{D} on {±1}k\{\pm 1\}^{k} which has uniform marginals on all subsets of tt variables only satisfies PP with probability at most 1−δ1-\delta, i.e.

Allen et al. give the following characterization of δ\delta-far from tt-wise supporting predicates:

We will use this theorem to extend the results of [AOW15] for δ\delta-far from tt-wise independent predicates below the spectral threshold.

for any constant ε>0\varepsilon>0. Furthermore, the degree-O(nδ)O(n^{\delta}) SoS relaxation also certifies this bound.

We now prove Theorem 5.2, and then below we will describe the mild changes needed to prove Theorem 5.5. We will utilize our own Theorem 1.3, as well as the following theorem which has appeared in [AOW15] (and also partially in [BM15]). We cite the exact form of the theorem given in [AOW15].

For k≥2k\geq 2, q≥n−k/2q\geq n^{-k/2}, let {wS}S∈[n]k\{w_{S}\}_{S\in[n]^{k}} be independent random variables such that for each S∈[n]kS\in[n]^{k},

Then there is an efficient algorithm certifying that

for all xx with ∥x∥∞≤1\|x\|_{\infty}\leq 1 with high probability.

In [AOW15], the theorem appears without the absolute value–however the statement for the absolute value is implied by the fact that the negated variables −wS-w_{S} also satisfy all of the constraints.

Given the above theorem and our results for refuting XOR instances (Theorem 1.3), the result for arbitrary binary CSPs follows easily.

Let the Fourier expansion of PP on y∈{±1}ky\in\{\pm 1\}^{k} be P(y)=∑S⊆[k]P^(S)⋅χS(y)P(y)=\sum_{S\subseteq[k]}\hat{P}(S)\cdot\chi_{S}(y). Let Φ\Phi have constraints C1,…,CmC_{1},\ldots,C_{m}, chosen independently on each I∈[n]kI\in[n]^{k} with probability pp, so that the constraint CIC_{I} asserts that P(xI⊕σI)=1P(x_{I}\oplus\sigma^{I})=1 for a uniformly chosen signing σI∈{±1}k\sigma^{I}\in\{\pm 1\}^{k}. We have that

where we have abused notation by allowing J∪LJ\cup L to denote the ordered multiset with LL in the exact positions corresponding to SS and JJ in the positions corresponding to k∖Sk\setminus S. Furthermore, by definition,

and so bounding the values of the ΨS\Psi_{S} suffices to get a bound on the value of Φ\Phi.

We now perform a case analysis on pp and ∣S∣|S|, which allows us to bound the contributions of each ΨS(x)\Psi_{S}(x) individually.

If pnk−∣S∣≥1pn^{k-|S|}\geq 1 then with high probability, every constraint cLc_{L} has ∣cL∣≤O(pnk−∣S∣log⁡n)|c_{L}|\leq O(\sqrt{pn^{k-|S|}\log n}) (where we have combined Lemma 5.8 with a union bound). Furthermore the cLc_{L} are distributed symmetrically about , and they are nonzero with probability at most 1≤pnk−∣S∣1\leq pn^{k-|S|}.

If ∣S∣=1|S|=1, we have that with high probability,

where we have applied a Chernoff bound to use that m=Θ(pnk)m=\Theta(pn^{k}). By our assumption on the clause density, p≥n−(k−1)⋅polylog⁡np\geq n^{-(k-1)}\cdot\operatorname{polylog}n, and therefore it follows that ∣ΨS(x)∣/m=o(1)|\Psi_{S}(x)|/m=o(1).

Otherwise, if ∣S∣≥2|S|\geq 2, we can divide each cLc_{L} by β=O(pnk−∣S∣log⁡n)\beta=O(\sqrt{pn^{k-|S|}\log n}) to obtain a polynomial with coefficients bounded in absolute value by 11, with independent symmetrically distributed coefficients and probability at most 1≤pnk−∣S∣1\leq pn^{k-|S|} of being nonzero. We can thus apply Theorem 5.6 to get that with high probability we can certify in polynomial time that,

where the last inequality follows by the assumption that pnk−∣S∣≥1pn^{k-|S|}\geq 1.

If pnk−∣S∣<1pn^{k-|S|}<1, then with high probability all ∣cL∣≤O(log⁡n)|c_{L}|\leq O(\log n) (where we have combined Lemma 5.8 with a union bound). We now split into cases in which we can apply Theorem 5.6 and cases in which we must apply Theorem 1.3.

If ∣S∣<k|S|<k and p≥n−∣S∣/2p\geq n^{-|S|/2}, then again letting β=O(log⁡n)\beta=O(\log n), we can divide ΨS\Psi_{S} by β\beta to obtain a polynomial with coefficients that are symmetrically distributed about , bounded by 11 in absolute value, and are nonzero with probability at most pnk−∣S∣pn^{k-|S|}. By Theorem 5.6 and by a Chernoff bound on mm, it follows that we can certify in polynomial time that

where the second-to-last inequality follows by our assumption that pn∣S∣/2≥1pn^{|S|/2}\geq 1.

If ∣S∣<k|S|<k and p<n−∣S∣/2p<n^{-|S|/2}, we must apply Theorem 1.3. We must modify the instances slightly first, since Theorem 1.3 applies to unweighted instances.

To obtain an unweighted instance, we split ΨS\Psi_{S} further into r=log⁡2nr=\log^{2}n instances, ΨS(1),…,ΨS(r)\Psi_{S}^{(1)},\ldots,\Psi_{S}^{(r)}. We split as follows: let cL(i)c_{L}^{(i)} denote the coefficient of χL(x)\chi_{L}(x) in ΨS(i)\Psi_{S}^{(i)}. For each nonzero cLc_{L}, we choose ∣cL∣|c_{L}| uniformly random indices i1,…,i∣cL∣∈[r]i_{1},\ldots,i_{|c_{L}|}\in[r], and assign cL(ij)=cL∣cL∣c_{L}^{(i_{j})}=\frac{c_{L}}{|c_{L}|} for each j=1,…,∣cL∣j=1,\ldots,|c_{L}| (recall that with high probability ∣cL∣≤O(log⁡n)<r|c_{L}|\leq O(\log n)<r). Let mim_{i} be the number of constraints in ΦS(i)\Phi^{(i)}_{S}, so that we have m≥∑imim\geq\sum_{i}m_{i} (since cLc_{L} may be a sum of negative and positive constraints from the full instance Φ\Phi).

It remains to argue that each instance ΨS(i)\Psi_{S}^{(i)} has bounded value with high probability. Towards this, consider the properties of ΨS(i)\Psi_{S}^{(i)}. First, we note that the constraints of ΨS(i)\Psi_{S}^{(i)} are independent of one another and are distributed symmetrically about zero–this is because the cLc_{L} are independent of one another and symmetrically distributed about zero. Furthermore, we have that each cL(i)c_{L}^{(i)} is nonzero with probability q^\hat{q}:

where we have taken the sum up to rr because we implicitly condition on ∣cL∣≤O(log⁡n)|c_{L}|\leq O(\log n) (which occurs with high probability). We thus have that

The last inequality follows by observing that with probability at least pnk−∣S∣pn^{k-|S|}, at least one of the chosen constraints in Φ\Phi contributes to cLc_{L}, and conditioned on this event, the contributions to cLc_{L} sum to zero with probability at most 1/21/2. Therefore, q^=δ⋅pnk−∣S∣\hat{q}=\delta\cdot pn^{k-|S|} for some δ∈[12log⁡2n,1]\delta\in[\frac{1}{2\log^{2}n},1].

Thus, each ΦS(i)′{\Phi^{(i)}_{S}}^{\prime} is a random ∣S∣|S|-XOR instance in which each clause is revealed with probability q^\hat{q}.

The same conclusion holds in the degree-O(nδ)O(n^{\delta}) SoS relaxation, as every step of this proof holds within the SoS proof system (because Theorem 5.6 and Theorem 1.3 hold within the SoS proof system). ∎

The proof of Theorem 5.5 proceeds almost identically, except that instead of using the Fourier expansion of the predicate PP, we use the degree-tt polynomial Q(x)Q(x) given by the work of Allen et al. [AOW15] (Theorem 5.4). Because P(x)≤(1−δ)+Q(x)P(x)\leq(1-\delta)+Q(x), and since Q(x)Q(x) has no constant term, the proof we applied to the degree ≥1\geq 1 terms of the Fourier expansion of PP applies to Q(x)Q(x), and this completes the proof.

For any 0≤q≤10\leq q\leq 1, define k^(N,q)\hat{k}(N,q) to be the distribution over scalars such that X∼k^(N,q)X\sim\hat{k}(N,q) is a sum of NN independent variables, each with probability 1−q1-q, −1-1 with probability q/2q/2, and 11 with probability q/2q/2. Then if Nq≥1Nq\geq 1, for any constant cc, there exists a constant c′c^{\prime} such that

and if Nq<1Nq<1, for any constant cc there exists a constant c′c^{\prime} such that

By definition, for X∼k^(N,q)X\sim\hat{k}(N,q), X=∑i=1NxiX=\sum_{i=1}^{N}x_{i} for xix_{i} distributed according to k^(1,q)\hat{k}(1,q).

and taking t=4cqNlog⁡Nt=\sqrt{4cqN\log N}, and using that qN≥1qN\geq 1, we have the desired result.

When qN<1qN<1, we apply the same bound with t=4clog⁡Nt=4c\log N to obtain our second result. ∎

Sum-of-Squares Algorithms

In this section, we use our spectral algorithms to certify SoS upper bounds.

The basic constraints for the dd-round sum-of-squares relaxation are:

where X\mathcal{X} is a {∅∪[n]}d×{∅∪[n]}d\{\emptyset\cup[n]\}^{d}\times\{\emptyset\cup[n]\}^{d} matrix whose (A,B)(A,B)th entry contains XA,BX_{A,B}. We refer to this set of constraints as SoSd{SoS}_{d}. If there are additional polynomial constraints g1(x)=0,…,gm(x)=0g_{1}(x)=0,\ldots,g_{m}(x)=0, then we also add the constraints

where the notation ∘\circ is used to mean replacing each variable XTX_{T} appearing in gjg_{j} with the variable XS,TX_{S,T}.

A useful alternate characterization of (6.3) is that for any polynomial ff of degree at most dd, we have that f2(X)≥0f^{2}(X)\geq 0, where f2(X)f^{2}(X) is the function given by evaluating the coefficients of f2f^{2} at the stand-in monomials given by the variables of the program. These are all constraints that any true polynomial solution satisfies.

Intuitively, the constraints of the SDP force the solution to behave somewhat like the moments of a probability distribution over feasible maximizing solutions, although they needn’t correspond to the moments of a true distribution, hence the term pseudomoment. See e.g. [Bar14] for more background.

2 Relaxations for tensor norm and k𝑘k-XOR

Given an order-kk tensor T{\bf T}, for any d≥⌈k/2⌉d\geq\lceil k/2\rceil, the dd-round SoS relaxation for the injective tensor norm is

With the addition of the standard dd-round SoS constraints.

Given an instance Φ\Phi of dd-XOR with constraint tensor TΦ{\bf T}_{\Phi} defined as described in Section 4, for any d≥⌈k/2⌉d\geq\lceil k/2\rceil, the dd-round SoS relaxation is given by

With the addition of the standard dd-round SoS constraints.

3 Bounds for tensor norm

We will require the use of the following lemma, which is standard in SoS-proofs.

By assumption, λ⋅I−M⪰0\lambda\cdot I-M\succeq 0, and therefore the expression I−MI-M can be written as a sum-of-squares of degree at most 2d2d. We thus have that

We will also make use of standard SoS versions of the Cauchy-Schwarz Inequality, and Hölder’s Inequality, proofs of which can be found in [BBH+12], for example. Additionally we will use the following fact, which can be proven by induction:

Furthermore, let TT be the natural flattening of T{\bf T} to an nk/2×nk/2n^{k/2}\times n^{k/2} tensor, let S^dk/2\hat{\mathcal{S}}_{dk/2} be the set of matrices that permute rows and columns of matrices in [n]dk/2×[n]dk/2[n]^{dk/2}\times[n]^{dk/2} according to actions of Sdk\mathcal{S}_{dk} on the coordinates in [n][n] Then in the dkdk-round SoS relaxation,

As an immediate corollary of the above and of Theorem 3.3, we have Theorem 1.7 for even kk. To get Theorem 1.7 for odd kk, we can apply Cauchy-Schwarz before applying SoS-convexity, so that we are working with

where TiT_{i} is the iith slice of T{\bf T}, and squares(Ti⊗Ti)\mathop{\textrm{squares}}(T_{i}\otimes T_{i}) corresponds to the entries of Ti⊗TiT_{i}\otimes T_{i} which are squares of the base variables T{\bf T}. The right-hand term is bounded by obtaining a high-probability bound of O(log⁡n)O(\log n) on the maximum coefficient TiA2T_{iA}^{2}, and the left-hand term is bounded by following the same steps as in the proof of Proposition 6.6, then applying Theorem 3.11.

4 Bounds for k𝑘k-XOR

For the case of kk-XOR, the proof is a bit more complicated than for the case of tensor norms, because the matrix certificates we used have certain rows and columns deleted. Still, the arguments are similar to our proof from Section 4. All steps in the proofs from Section 4.1.2 and Section 4.2.2 we can make into SoS proofs in an analogous way to the tensor norm SoS proofs above, except for the steps in which the high-multiplicity rows and columns are deleted. This too is not difficult to see, and we will prove it for the even case. We will require the following SoS fact:

Let q=∑σq^σxσq=\sum_{\sigma}\hat{q}_{\sigma}x_{\sigma} and rr be polynomials such that deg⁡(qr2)≤2d\deg(qr^{2})\leq 2d. Then,

Now, we prove an SoS analogue of Proposition 4.5, which allows us to use the low-multiplicity restrictions of our certificate matrices to get our upper bounds.

for all x∈{±1}nx\in\{\pm 1\}^{n} with high probability.

We sample a uniform element C∼Clowd\mathcal{C}\sim\mathcal{C}_{low}^{d}, C=C1,…,Cd\mathcal{C}=C_{1},\ldots,C_{d} in the following way:

For t=1,…,dt=1,\ldots,d: Let At⊂I\mathcal{A}_{t}\subset\mathcal{I} be the set of clauses such that for any C′∈AC^{\prime}\in\mathcal{A}, C1,…,Ct−1,C′∈ClowtC_{1},\ldots,C_{t-1},C^{\prime}\in\mathcal{C}_{low}^{t}. Choose a uniformly random C∼AtC\sim\mathcal{A}_{t} and set Ct:=CC_{t}:=C, adding CC to C\mathcal{C}.

This sampling process clearly gives a uniformly random element of Clowd\mathcal{C}_{low}^{d}.

Repeating the argument dd times, we can conclude that for even dd,

Where the last inequality follows from SoS convexity. This concludes the argument. ∎

This proposition, plugged into the argument from Section 4.1.2 along with the SoS-ifying steps used for the tensor norm upper bound, gives Theorem 1.3 for the even kk case. The odd kk case can be obtained in a similar way.

Acknowledgements

T.S. thanks Sam Hopkins for helpful conversations, and Jonah Brown-Cohen for helpful comments in the preparation of this manuscript.

References

Appendix A Useful matrix concentration facts

For a positive semidefinite matrix PP, ∥P∥≤Tr⁡(P)\|P\|\leq\operatorname{Tr}(P). We apply this along with Markov’s inequality:

Here, we prove an upper bound on the norm of a Rademacher matrix. Although tighter bounds are known (see e.g. [AKV02], we are off by a constant factor), we include this simpler, looser proof here in an effort to be self-contained.

The following lemma gives a bound on the size of an epsilon net needed to cover the unit sphere.

For every ε>0\varepsilon>0, the unit Euclidean sphere Sn−1S^{n-1} equipped with the Euclidean metric has an ε\varepsilon-net with volume at most (1+2ε)n\left(1+\frac{2}{\varepsilon}\right)^{n}.

Let AA be an n×nn\times n symmetric matrix with i.i.d. Rademacher entries. Then for all s≥0s\geq 0,

Let Λ\Lambda be an ε\varepsilon-net over Sn−1\mathcal{S}_{n-1}, with ε\varepsilon to be chosen later. By Lemma A.1, we can choose ∣Λ∣≤(1+2ε)n|\Lambda|\leq(1+\frac{2}{\varepsilon})^{n}. For any fixed x∈Λx\in\Lambda,

Each xixjAijx_{i}x_{j}A_{ij} is an independent random variable. We have absolute bounds on the values of each variable, so we can apply a Hoeffding bound to this sum,

Taking a union bound over Λ\Lambda, we have

To extend the bound to any point y∈Sn−1y\in\mathcal{S}_{n-1}, let yy be the maximizer of y⊤Ayy^{\top}Ay. We note that there must exist some x∈Λx\in\Lambda so that ∥x−y∥≤ε\|x-y\|\leq\varepsilon by assumption. We have

Taking ε=1/4\varepsilon=1/4 and t=2nlog⁡(1+2ε)+st=2\sqrt{n\log(1+\frac{2}{\varepsilon})}+s concludes the proof. ∎