On the Complexity of Random Satisfiability Problems with Planted Solutions

Vitaly Feldman, Will Perkins, Santosh Vempala

Introduction

Boolean satisfiability and constraint satisfaction problems are central to complexity theory; they are canonical NP-complete problems and their approximate versions are also hard. Are they easier on average for natural distributions? An instance of random satisfiability is generated by fixing a distribution over clauses, then drawing i.i.d. clauses from this distribution. The average-case complexity of satisfiability problems is also motivated by its applications to models of disorder in physical systems, and to cryptography, which requires problems that are hard on average.

Here we study planted satisfiability, in which an assignment is fixed in advance, and clauses are selected from a distribution defined by the planted assignment. Planted satisfiability and, more generally, random models with planted solutions appear widely in several different forms such as network clustering with planted partitions (the stochastic block model and its variants), random kk-SAT with a planted assignment, and a proposed one-way function from cryptography [Gol00].

It was noted in [BHL+02] that drawing satisfied kk-SAT clauses uniformly at random from all those satisfied by an assignment σ∈{±1}n\sigma\in\{\pm 1\}^{n} often does not result in a difficult instance of satisfiability even if the number of observed clauses is relatively small. However, by changing the proportions of clauses depending on the number of satisfied literals under σ\sigma, one can create more challenging distributions over instances. Such “quiet plantings” have been further studied in [JMS05, AJM05, KZ09, KMZ14]. Algorithms for planted 33-SAT with various relative proportions were given by Flaxman [Fla03] and Coja-Oghlan et al. [COCF10], the first of which works for Θ(nlog⁡n)\Theta(n\log n) clauses but excludes distributions close to 33-XOR-SAT, and the second of which works for all planted 33-SAT distributions but requires Θ(n3/2ln⁡10n)\Theta(n^{3/2}\ln^{10}n) clauses (note that a satisfiable kk-XOR-SAT formula can be viewed as a satisfiable kk-SAT formula with the same literals since XOR implies OR). As kk increases, the problem exhibits a larger algorithmic gap: the number of clauses required by known algorithms to efficiently identify a planted assignment is Ω(nk/2)\Omega(n^{k/2}) while the number at which the planted assignment is the unique satisfying assignment is O(nlog⁡n)O(n\log n).

We give a simple model for producing instances of planted kk-SAT that generalizes and unifies past work on specific distributions for planted satisfiability. In this model, each clause CC, a kk-tuple of the 2n2n literals (variables and their negations), is included in the random formula with probability proportional to Q(y)Q(y) where y∈{±1}ky\in\{\pm 1\}^{k} is the value of the literals in CC on the planted assignment σ\sigma. Here QQ can be an arbitrary probability distribution over {±1}k\{\pm 1\}^{k}. By choosing QQ supported only on kk-bit strings with at least one true value, we can ensure that only satisfiable kk-SAT formulas will be produced, but the model is more general and allows “noisy” versions of satisfiability. We refer to an instance obtained by taking QQ to be uniform over kk-bit strings with an even number of 1’s as kk-XOR-SAT (since each clause also satisfies an XOR constraint).

Our general formulation of the planted kk-SAT problem and the notion of distribution complexity reveal a connection between planted kk-SAT and the problem of inverting a PRG based on Goldreich’s candidate one-way function [Gol00], for which the link between rr-wise independence and algorithmic tractability was known before [MST06, AM09, BQ09, ABR12]. In this problem for a fixed predicate P:{±1}k→{−1,1}P:\{\pm 1\}^{k}\rightarrow\{-1,1\}, we are given access to samples from a distribution PσP_{\sigma}, for a planted assignment σ∈{±1}n\sigma\in\{\pm 1\}^{n}. A random sample from this distribution is a randomly and uniformly chosen ordered kk-tuple of variables (without repetition) xi1,…,xikx_{i_{1}},\ldots,x_{i_{k}} together with the value P(σi1,…,σik)P(\sigma_{i_{1}},\ldots,\sigma_{i_{k}}). As in the problem above, the goal is to recover σ\sigma given mm random and independent samples from PσP_{\sigma} or at least to be able to distinguish any planted distribution from one in which the value is a uniform random coin flip (in place of P(σi1,…,σik)P(\sigma_{i_{1}},\ldots,\sigma_{i_{k}})). The number of evaluations of PP for which the problem remains hard determines the stretch of the pseudo-random generator (PRG). We note that despite the similarities between these two types of planted problems, we are not aware of any reductions between them (in Section 6 we show some relationships between these models and an even more general planted CSP model of Abbe and Montanari [AM15]).

Bogdanov and Qiao [BQ09] show that an SDP-based algorithm of Charikar and Wirth [CW04] can be used to find the input (which is the planted assignment) for any predicate that is not pairwise-independent using m=O(n)m=O(n) such evaluations. The same approach can be used to recover the input for any (r−1)(r-1)-wise (but not rr-wise) independent predicate using O(nr/2)O(n^{r/2}) evaluations [App16].

Another important family of algorithms for recovering the planted assignment in Goldreich’s PRG is algebraic, based on Gaussian elimination and its generalizations [MST06, AL16]. These attack algorithms are not captured by the framework of statistical algorithms we work with in this paper. While algebraic approaches also apply to planted satisfiability problems, almost all planting functions QQ (in a measure-theoretic sense) are resilient against such algorithms, and any planted satisfiability problem can be made resistant by adding an ϵ\epsilon-fraction of uniformly random constraints.

The assumption that recovering the planted assignment in this problem is hard for some predicate has been used extensively in complexity theory and cryptography [Ale11, Gol00, IKOS08, ABW10, App13], and the hardness of a decision version of this planted kk-CSP is stated as the DCSP hypothesis in [BKS13]. Applebaum [App13] reduced the search problem (finding the planted assignment) to the decision problem (distinguishing the output from uniformly random). Our lower bounds below will be for this second, a priori easier, task.

Nearly optimal integrality gaps for LP and SDP hierarchies were recently given for this problem [OW14] (and references therein) for Ω(nr/2−ϵ)\Omega(n^{r/2-\epsilon}) evaluations of a predicate that is (r−1)(r-1)-wise but not rr-wise independent. Goldreich’s PRG is shown to be an ϵ\epsilon-biased generator in [MST06, ABR12], and lower bounds against DPLL-style algorithms are given in [CEMT09]. Applebaum and Lovett [AL16] give lower bounds against algebraic attacks in a framework based on polynomial calculus.

For a survey of these developments, see [App16].

For the planted kk-SAT problems and the planted kk-CSPs arising from Goldreich’s construction we address the following question: How many random constraints are needed to efficiently recover the planted assignment?

For these problems we prove unconditional lower bounds for a broad class of algorithms. Statistical (query) algorithms, defined by Kearns in the context of PAC learning [Kea98] and by Feldman et al. [FGR+12] for general problems on distributions, are algorithms that can be implemented without explicit access to random clauses, only being able to estimate expectations of functions of a random constraint to a desired accuracy. Many of the algorithmic approaches used in machine learning theory and practice have been shown to be implementable using statistical queries (e.g. [BFKV98, DV08, BDMN05, CKL+06, BF15]; see [Fel17] for a brief overview) including most standard approaches to convex optimization [FGV15]. Other common techniques such as Expectation Maximization (EM) [DLR77], MCMC optimization [TW87, GS90], (generalized) method of moments [Han12], and simulated annealing [KJV83, Č85] are also known to fit into this framework. The only known problem for which a superpolynomial separation between the complexity of statistical algorithms and the usual computational complexity is known is solving linear equations over a finite field (which can be done via Gaussian elimination).

The simplest form of algorithms that we refer to as statistical are algorithm that can be implemented using evaluations of Boolean functions on a random sample. Formally, for a distribution DD over some domain (in our case all kk-clauses) 1-STAT oracle is the oracle that given any function h:X→{0,1}h:X\rightarrow\{0,1\} takes a random sample xx from DD and returns h(x)h(x). While lower bounds for this oracle are easiest to state and interpret, the strongest form of our lower bounds is for algorithms that use VSTAT oracle defined in [FGR+12]. \mboxVSTAT(t){\mbox{VSTAT}}(t) oracle captures the information about the expectation of a given function that is obtained by estimating it on tt independent samples.

This oracle is based on the well-known statistical query oracle defined by Kearns [Kea98] that uses the same tolerance τ\tau for all query functions. The \mboxVSTAT(t){\mbox{VSTAT}}(t) oracle corresponds more tightly to access to tt samples and allows us to prove upper and lower bounds that closely correspond to known algorithmic bounds.

More formally, for a clause distribution QQ and an assignment σ\sigma let QσQ_{\sigma} denote the distribution over clauses proportional to QQ for the planted assignment σ\sigma (see Section 2 for a formal definition). Let UkU_{k} denote the uniform distribution over kk-clauses.

Let QQ be a distribution over kk-clauses of complexity rr. Then any (randomized) statistical algorithm that, given access to a distribution DD that equals UkU_{k} with probability 1/21/2 and equals QσQ_{\sigma} with probability 1/21/2 for a randomly and uniformly chosen σ∈{±1}n\sigma\in\{\pm 1\}^{n}, decides correctly whether D=QσD=Q_{\sigma} or D=UkD=U_{k} with probability at least 2/32/3 needs either:

Ω(q)\Omega(q) calls to \mboxVSTAT(nr(log⁡q)r){\mbox{VSTAT}}(\frac{n^{r}}{(\log q)^{r}}) for any q≥1q\geq 1, or,

Ω((nlog⁡n)r)\Omega((\frac{n}{\log n})^{r}) calls to 1-STAT.

Let QQ be a clause distribution of distribution complexity rr. Then there exists an algorithm that uses O(nr/2log⁡2n)O(n^{r/2}\log^{2}n) calls to \mbox1−MSTAT(n⌈r/2⌉){\mbox{1-MSTAT}}(n^{\lceil r/2\rceil}) and time linear in the number of oracle calls to identify the planted assignment with probability 1−o(1)1-o(1).

We prove this bound by showing that the algorithm from [FPV14] based on a subsampled power iteration can be implemented using statistical query oracles. The same upper bound holds for Goldreich’s planted kk-CSP.

In addition to providing a matching lower bound, the algorithm gives an example of statistical query algorithm for performing power iteration to compute eigenvectors or singular vectors. Spectral algorithms are among the most commonly used for problems with planted solutions (including Flaxman’s algorithm [Fla03] for planted satisfiability) and our lower bounds can be used to derive lower bounds against such algorithms. The alternative approach for solving planted constraint satisfaction problems with O(nr/2)O(n^{r/2}) samples is to use an SDP solver as shown in [BQ09] (with the “birthday paradox” as shown in [OW14]; see also [App16]). This approach can also be implemented using statistical queries, although a direct implementation using a generic SDP solver such as the one we describe in Section 4 will require quadratically more samples and will not give a non-trivial statistical algorithm for the problem (since solving using O(nr)O(n^{r}) clauses is trivial).

We now briefly mention some of the corollaries and applications of our results.

A closely related problem is refuting the satisfiability of a random kk-SAT formula (with no planting), a problem conjectured to be hard by Feige [Fei02]. A refutation algorithm takes a kk-SAT formula Φ\Phi as an input and returns either SAT or UNSAT. If Φ\Phi is satisfiable, the algorithm always returns SAT and for Φ\Phi drawn uniformly at random from all kk-SAT formulas of nn variables and mm clauses the algorithm must return UNSAT with probability at least 2/32/3. For this refutation problem, an instance becomes unsatisfiable w.h.p. after O(n)O(n) clauses, but algorithmic bounds are as high as those for finding a planted assignment under the noisy XOR distribution: O(nk/2)O(n^{k/2}) clauses suffice[FGK05, COGLS04, HPS09, GL03, FO04, AOW15].

To relate this problem to our lower bounds we define an equivalent distributional version of the problem. In this version the input formula is obtained by sampling mm i.i.d. clauses from some unknown distribution DD over clauses. The goal is to say UNSAT (with probability at least 2/32/3) when clauses are sampled from the uniform distribution and to say SAT for every distribution supported on simultaneously satisfiable clauses.

In the distributional setting, an immediate consequence of Theorem 1.2 is that Feige’s hypothesis holds for the class of statistical query algorithms. The proof (see Theorem 3.8) follows from the fact that our decision problem (distinguishing between a planted kk-SAT instance and the uniform kk-SAT instance) is a special case of the distributional refutation problem.

1.2 Hard instances of k𝑘k-SAT:

Finding distributions of planted kk-SAT instances that are algorithmically intractable has been a pursuit of researchers in both computer science and physics. The distribution complexity parameter defined here generalizes the notion of “quiet plantings” studied in physics [BHL+02, JMS05, KZ09, KMZ14] to an entire hierarchy of “quietness”. In particular, there are easy to generate distributions of satisfiable kk-SAT instances with distribution complexity as high as k−1k-1 (r=kr=k can be achieved using XOR constraints but these instances are solvable by Gaussian elimination). These instances can also serve as strong tests of industrial SAT solvers as well as the underlying hard instances in cryptographic applications. In recent work, Blocki et al. extended our lower bounds from the Boolean setting to Zd{\mathcal{Z}}_{d} and applied them to show the security of a class of humanly computable password protocols [BBDV14].

1.3 Lower bounds for convex programs:

We note that conditions on the value of the convex program that we make are weaker than the standard conditions that a convex relaxation must satisfy. Specifically, it is usually assumed that a convex relaxation does not increase the value of the objective (for example, the value for a satisfiable instance must be 0) and also that the minimum of the objective function for all “bad” instances will be noticeably larger than that of the “good” instances. In Section 4 we also prove lower bounds against convex programs in exponentially high dimension as long as the appropriate norms of points in the domain and gradients are not too large. We are not aware of this form of lower bounds against convex programs for planted satisfiability stated before. We also remark that our lower bounds are incomparable to lower bounds for programs given in [OW14] since they analyze a specific SDP for which the mapping M\cal M maps to functions over an O(nk)O(n^{k})-dimensional set KK is defined using a high level of the Sherali-Adams or Lovász-Schrijver hierarchies. Further details are given in Section 4.

2 Overview of the technique

Our proof of the lower bound builds on the notion of statistical dimension given in [FGR+12] which itself is based on ideas developed in a line of work on statistical query learning [Kea98, BFJ+94, Fel12].

Our primary technical contribution is a new, stronger notion of statistical dimension and its analysis for planted kk-CSP problems. The statistical dimension in [FGR+12] is based on upper-bounding average or maximum pairwise correlations between appropriately defined density functions. While these dimensions can be used for our problem (and, indeed, were a starting point for this work) they do not lead to the tight bounds we seek. Specifically, at best they give lower bounds for \mboxVSTAT(nr/2){\mbox{VSTAT}}(n^{r/2}), whereas we will prove lower bounds for \mboxVSTAT(nr){\mbox{VSTAT}}(n^{r}) to match the current best upper bounds.

Our stronger notion directly examines a natural operator, which, for a given function, evaluates how well the expectation of the function discriminates between different distributions. We show that a norm of this operator for large sets of input distributions gives a lower bound on the complexity of any statistical query algorithm for the problem. Its analysis for our problem is fairly involved and a key element of the proof is the use of concentration of polynomials on {±1}n\{\pm 1\}^{n} (derived from the hypercontractivity results of Bonami and Beckner [Bon70, Bec75]).

We remark that the kk-XOR-SAT problem is equivalent to PAC learning of (general) parity functions from random kk-sparse examples. The latter is the classic problem addressed by Kearns’ original lower bound [Kea98]. While superficially the planted setting is similar to learning of kk-sparse parities from random uniform examples for which optimal statistical query lower bounds are well-known and easy to derive, the problems, techniques and the resulting bounds are qualitatively different. One significant difference is that the correlation between parity functions on the uniform distribution is 0, whereas in our setting the distributions are not uniform and pairwise correlations between them can be relatively large. Moreover, as mentioned earlier, the techniques based on pairwise correlations do not suffice for the strong lower bounds we give.

Our stronger technique gives further insight into the complexity of statistical algorithms and has a natural interpretation in terms of the geometry of the space of all planted assignments with a metric defined (between pairs of assignments) to capture properties of statistical algorithms. The fraction of solutions that are at distance greater than some threshold from a fixed assignment goes up sharply from exponentially small to a polynomial fraction as the distance threshold increases. We call this a ‘paring’ transition as a large number of distributions become amenable to being separated from the planted solution and discarded.

We conjecture that our lower bounds hold for all algorithms with the exception of those based on Gaussian elimination. Formalizing “based on Gaussian elimination” requires substantial care. Indeed, in an earlier version of this work we excluded Gaussian elimination by only excluding density functions of low algebraic degree. (Here algebraic degree refers to the degree of the polynomial over Z2k{\mathcal{Z}}_{2}^{k} required to represent the function. For example, the parity function equals to x1+x2+⋯+xkx_{1}+x_{2}+\cdots+x_{k} and therefore has algebraic degree 11). This resulted in a conjecture that was subsequently disproved by Applebaum and Lovett [AL16] using an algorithm that combines Gaussian elimination with fixing some of the variables. An alternative approach to excluding Gaussian elimination-based methods is to exploit their fragility to even low rates of random noise. Here random noise would correspond to mixing in of random and uniform constraints to the distribution. In other words for α∈\alpha\in, QQ becomes Qα=(1−α)Q+αUkQ^{\alpha}=(1-\alpha)Q+\alpha U_{k}. Observe that for all constant α<1\alpha<1, the complexity of QαQ^{\alpha} is the same as the complexity of QQ.

We conjecture that an analogous statement also holds for Goldreich’s kk-CSP. Note that in this case mixing in an α\alpha-fraction of random and uniform constraints can be equivalently seen as flipping the given value of the predicate with probability α/2\alpha/2 randomly and independently for each constraint.

3 Other related work

Hypergraph Partitioning. Another closely related model to planted satisfiability is random hypergraph partitioning, in which a partition of the vertex set is fixed, then kk-uniform hyperedges added with probabilities that depend on their overlap with the partition. To obtain a planted satisfiability model from a planted hypergraph, let the vertex set be the set of 2n2n literals, with the partition given by the planted assignment σ\sigma. A kk-clause is then a kk-uniform hyperedge. The two models are not exactly equivalent, as in planted satisfiability we have the extra information that pairs of literals corresponding to the same variable must receive different assignments; however, to the best of our knowledge all the known algorithmic approaches to planted satisfiability work for planted hypergraph partitioning as well. The Goldreich CSP model is closely related to a hypergraph version of the censored block model [AM15, ABBS14] in which random hyperedges are labeled with values that depend on how the edges overlap with a planted partition.

The case k=2k=2 of kk-uniform hypergraph partitioning is called the stochastic block model. The input is a random graph with different edge probabilities within and across an unknown partition of the vertices, and the algorithmic task is to recover partial or complete information about the partition given the resulting graph. Work on this model includes Bopanna [Bop87], McSherry’s general-purpose spectral algorithm [McS01], and Coja-Oghlan’s algorithm that works for graphs of constant average degree [CO06].

Shattering and paring. Random satisfiability problems (without a planted solution) such as kk-SAT and kk-coloring random graphs exhibit a shattering phenomenon in the solution space for large enough kk [KMRT+07, ACO08]: as the density of constraints increases, the set of all solutions evolves from a large connected cluster to a exponentially large set of well-separated clusters. The shattering threshold empirically coincides with the threshold for algorithmic tractability (while this is the case for large kk, for k=3,4k=3,4 there is some evidence that the survey propagation algorithm may succeed beyond the shattering threshold [MPRT16]). Shattering has also been used to prove that certain algorithms fail at high enough densities [GS14].

Both the shattering and paring phenomena give an explanation for the failure of known algorithms on random instances. Both capture properties of local algorithms, in the sense that in both cases, the performance of Gaussian elimination, an inherently global algorithm, is unaffected by the geometry of the solution space: both random kk-XOR-SAT and random planted kk-XOR-SAT are solvable at all densities despite exhibiting shattering and paring respectively.

The paring phenomenon differs from shattering in several significant ways. As the paring transition is a geometric property of a carefully chosen metric, there is a direct and provable link between paring and algorithmic tractability, as opposed to the empirical coincidence of shattering and algorithmic failure. In addition, while shattering is known to hold only for large enough kk, the paring phenomenon holds for all kk, and already gives strong lower bounds for 33-uniform constraints.

One direction for future work would be to show that the paring phenomenon exhibits a sharp threshold; in other words, improve the analysis of the statistical dimension of planted satisfiability in Section 5 to remove the logarithmic gap between the upper and lower bounds. An application of such an improvement would be to apply the lower bound framework to the planted coloring conjecture from [DKMZ11]; as the gap between impossibility and efficient recovery is only a constant factor there, the paring transition would need to be located more precisely.

Definitions

We now define a general model for planted satisfiability problems that unifies various previous ways to produce a random kk-SAT formula where the relative probability that a clause is included in the formula depends on the number of satisfied literals in the clause [Fla03, JMS05, AJM05, KV06b, KZ09, COCF10, KMZ14].

Fix an assignment σ∈{±1}n\sigma\in\{\pm 1\}^{n}. We represent a kk-clause by an ordered kk-tuple of literals from x1,…xn,x‾1,…x‾nx_{1},\dots x_{n},\overline{x}_{1},\dots\overline{x}_{n} with no repetition of variables and let XkX_{k} be the set of all such kk-clauses. For a kk-clause C=(l1,…,lk)C=(l_{1},\ldots,l_{k}) let σ(C)∈{±1}k\sigma(C)\in\{\pm 1\}^{k} be the kk-bit string of values assigned by σ\sigma to literals in CC, that is σ(l1),…,σ(lk)\sigma(l_{1}),\dots,\sigma(l_{k}), where σ(li)\sigma(l_{i}) is the value of literal lil_{i} in assignment σ\sigma with −1-1 corresponding to TRUE and 1 to FALSE. In a planted model, we draw clauses with probabilities that depend on the value of σ(C)\sigma(C).

To generate a random formula, F(Q,σ,m)F(Q,\sigma,m) we draw mm i.i.d. kk-clauses according to the probability distribution QσQ_{\sigma}, where

Problems. The algorithmic problems studied in this paper can be stated as follows: Given the function QQ and a sample of mm independent clauses drawn according to QσQ_{\sigma}, recover σ\sigma, or some τ\tau correlated with σ\sigma. Note that since unsatisfiable clauses are allowed to have non-zero weight, for some distributions the problem is effectively satisfiability with random noise. Our lower bounds are for the potentially easier problem of distinguishing a randomly and uniformly chosen planted distribution from the uniform distribution over kk-clauses. Namely, let DQ{\mathcal{D}}_{Q} denote the set of all distributions QσQ_{\sigma}, where σ∈{±1}k\sigma\in\{\pm 1\}^{k} and UkU_{k} be the uniform distribution over kk-clauses. Let B(DQ,Uk){\mathcal{B}}({\mathcal{D}}_{Q},U_{k}) denote the decision problem in which given samples from an unknown input distribution D∈DQ∪{Uk}D\in{\mathcal{D}}_{Q}\cup\{U_{k}\} the goal is to output 11 if D∈DQD\in{\mathcal{D}}_{Q} and 0 if D=UkD=U_{k}.

As in the problem above, the goal is to recover σ\sigma given mm random and independent samples from PσP_{\sigma} or at least to be able to distinguish any planted distribution from one in which the value is a uniform random coin flip (or, equivalently, the distribution obtained when the function P≡0P\equiv 0). Our goal is to understand the smallest number mm of kk-clauses that suffice to find the planted assignment or at least to distinguish a planted distribution from a uniform one.

For a clause distribution QQ, we define its distribution complexity r(Q)r(Q) as the smallest integer r≥1r\geq 1 for which there exists a set S⊆[k]S\subseteq[k] of size rr and

To see the difference between a hard and easy distribution QQ, first consider planted uniform kk-SAT: Q(0)=0Q(0)=0, Q(i)=1/(2k−1)Q(i)=1/(2^{k}-1) for i≥1i\geq 1. The distribution complexity of QQ is r=1r=1.

Next, consider the noisy parity distribution (or noisy planted kk-XOR-SAT) with Q(l)=δ/2k−1Q(l)=\delta/2^{k-1} for ll even, and Q(l)=(2−δ)/2k−1Q(l)=(2-\delta)/2^{k-1} for ll odd, for some δ≠1\delta\neq 1. In this case, we have Q^(l)=0\hat{Q}(l)=0 for 1≤l≤k−11\leq l\leq k-1, and so the distribution complexity of QQ is r=kr=k. We will see that such parity-type distributions are in fact the hardest for statistical algorithms to detect.

2 Statistical algorithms

We can define planted satisfiability as the problem of identifying an unknown distribution DD on a domain XX given mm independent samples from DD. For us, XX is the set of all possible kk-clauses or kk-hyperedges, and each partition or assignment σ\sigma defines a unique distribution DσD_{\sigma} over XX.

Extending the work of Kearns [Kea98] in learning theory, Feldman et al. [FGR+12] defined statistical query algorithms for problems over distributions. Roughly speaking, these are algorithms that do not see samples from the distribution but instead have access to estimates of the expectation of any bounded function of a sample from the distribution. More formally, a statistical algorithm can access the input distribution via one of the following oracles.

Let DD be the input distribution over the domain XX. Given any function h:X→{0,1,…,L−1}h:X\rightarrow\{0,1,\ldots,L-1\}, \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) takes a random sample xx from DD and returns h(x)h(x).

This oracle is a generalization of the 1-STAT oracle from [FGR+12] and was first defined by Ben-David and Dichterman in the context of PAC learning [BD98]. It was also more recently studied in [SD15, SVW15]. For the planted SAT problem this oracle allows an algorithm to evaluate a multi-valued function on a random clause. By repeating the query, the algorithm can estimate the expectation of the function as its average on independent samples. Being able to output one of multiple possible values gives the algorithm considerable flexibility, e.g., each value could correspond to whether a clause has a certain pattern on a subset of literals. With L=nkL=n^{k}, the algorithm can identify the random clause. We will therefore be interested in the trade-off between LL and the number of queries needed to solve the problem.

The definition of τ\tau means that \mboxVSTAT(t){\mbox{VSTAT}}(t) can return any value vv for which the distribution B(t,v)B(t,v) (outcomes of tt independent Bernoulli variables with bias vv) is close to B(t,E[h])B(t,E[h]) in total variation distance [FGR+12]. In most cases p>1/tp>1/t and then τ\tau also corresponds to returning the expectation of a function to within the standard deviation error of averaging the function over tt samples. However, it is important to note that within this constraint on the error, the oracle can return any value, possibly in an adversarial way.

In this paper, we also define the following generalizationFor simplicity, this definition generalizes VSTAT only for Boolean query functions. of the VSTAT oracle to multi-valued functions.

where pZ=Pr⁡D[h(x)∈Z]p_{Z}=\Pr_{D}[h(x)\in Z]. The query cost of such a query is ∣S∣|\mathcal{S}|.

We note that \mboxVSTAT(t){\mbox{VSTAT}}(t) is equivalent to \mboxMVSTAT(2,t){\mbox{MVSTAT}}(2,t) (the latter only allows Boolean queries but that is not an essential difference) and any query to \mboxMVSTAT(L,t){\mbox{MVSTAT}}(L,t) can be easily answered using LL queries to \mboxVSTAT(4⋅Lt){\mbox{VSTAT}}(4\cdot Lt) (see Theorem 7.2 for a proof). The additional strength of this oracle comes from allowing the sets in S\mathcal{S} to depend on the unknown distribution DD and, in particular, be fixed but unknown to the algorithm. This is useful for ensuring that potential functions of our discrete power iteration algorithm for planted SAT behave in the same way as if the algorithm were executed on true samples (see Section 8.4). Another useful way to think of LL-valued oracles in the context of vector-based algorithms is as a vector of LL Boolean functions which are non-zero on disjoint parts of the domain. This view also allows to extend MVSTAT to bounded-range (non-Boolean) functions.

An important property of every one of these oracles is that it can be easily simulated using tt samples (in the case of VSTAT/MVSTAT the success probability is a positive constant but it can be amplified to 1−δ1-\delta using O(tlog⁡(1/δ))O(t\log(1/\delta)) samples). The goal of our generalization of oracles to L>2L>2 was to show that even nearly optimal sample complexity can be achieved by a statistical algorithm using an oracle for which a nearly matching lower bound applies.

Results

We state our upper and lower bounds for the planted satisfiability problem. Identical upper and lower bounds apply to Goldreich’s planted kk-CSPs with rr being the degree of lowest-degree non-zero Fourier coefficient of PP. For brevity, we omit the repetitive definitions and statements in this section. In Section 6 we give the extension of our lower bounds to this problem and also make the connections between the two problems explicit.

We begin with lower bounds for any statistical algorithm. For a clause distribution QQ let B(DQ,Uk){\mathcal{B}}({\mathcal{D}}_{Q},U_{k}) denote the decision problem of distinguishing whether the input distribution is one of the planted distributions or is uniform.

For an assignment σ∈{±1}n\sigma\in\{\pm 1\}^{n}, let QσQ_{\sigma} be a distribution over kk-clauses of complexity rr and DQ{\mathcal{D}}_{Q} be this family of distributions. Assume that the input distribution DD is UkU_{k} with probability 1/21/2 and with the remaining probability 1/21/2 it is QσQ_{\sigma} for a uniform random σ∈{±1}n\sigma\in\{\pm 1\}^{n}. Then any (randomized) statistical algorithm that decides correctly whether D∈DQD\in{\mathcal{D}}_{Q} or D=UkD=U_{k} with probability at least 2/32/3 (over the choice of DD and randomness of the algorithm) needs either

mm calls to the \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) oracle with m⋅L≥c1(nlog⁡n)rm\cdot L\geq c_{1}\left(\frac{n}{\log n}\right)^{r} for a constant c1=Ωk(1)c_{1}=\Omega_{k}(1), OR

qq queries to \mboxMVSTAT(L,c2L⋅nr(log⁡q)r){\mbox{MVSTAT}}\left(L,\frac{c_{2}}{L}\cdot\frac{n^{r}}{(\log q)^{r}}\right) for a constant c2=Ωk(1)c_{2}=\Omega_{k}(1) and any q≥Lq\geq L.

The first part of the theorem exhibits the trade-off between the number of queries mm and the number of values the query can take LL. It might be helpful to think of the latter as evaluating LL disjoint functions on a random sample, a task that would have complexity growing with LL. The second part of the theorem is a superpolynomial lower bound (in nn, for any fixed rr) if the parameter tt (recall the oracle is allowed only an error equal to the standard deviation of averaging over tt random samples) is less than nr/(log⁡n)2rn^{r}/(\log n)^{2r}.

2 Algorithms

We next turn to our algorithmic results, motivated by two considerations. First, the O(nr/2)O(n^{r/2})-clause algorithm implicit in [BQ09] does not appear to lead to a non-trivial statistical algorithm. Second, much of the literature on upper bounds for planted problems uses spectral methods, and so we aim to implement such spectral algorithms statistically.

The algorithm we present is statistical and nearly matches the lower bound. It can be viewed as a discrete rounding of the power iteration algorithm for a suitable matrix constructed from the clauses of the input.

Let ZQ{\mathcal{Z}}_{Q} be a planted satisfiability problem with clause distribution QQ having distribution complexity rr. Then there exists an algorithm to solve ZQ{\mathcal{Z}}_{Q} using O(nr/2log⁡n)O(n^{r/2}\log n) random clauses and time linear in this number. This algorithm can be implemented statistically in any of the following ways.

Using O(nr/2log⁡2n)O(n^{r/2}\log^{2}n) calls to \mbox1−MSTAT(n⌈r/2⌉){\mbox{1-MSTAT}}(n^{\lceil r/2\rceil});

For even rr: using O(log⁡n)O(\log n) calls to \mboxMVSTAT(nr/2,nr/2log⁡log⁡n){\mbox{MVSTAT}}(n^{r/2},n^{r/2}\log\log n);

For odd rr: using O(log⁡n)O(\log n) calls to \mboxMVSTAT(O(n⌈r/2⌉),O(nr/2log⁡n)){\mbox{MVSTAT}}(O(n^{\lceil r/2\rceil}),O(n^{r/2}\log n));

Thus for any rr, the upper bound matches the lower bound up to logarithmic factors for sample size parameter t=nr/2t=n^{r/2}, with L=n⌈r/2⌉L=n^{\lceil r/2\rceil} being only slightly higher in the odd case than the L=nr/2L=n^{r/2} that the lower bound implies for such tt. The algorithm is a discretized variant of the algorithm based on power iteration with subsampling from [FPV14]. The upper bound holds for the problem of finding the planted assignment exactly, except in the case r=1r=1. Here Ω(nlog⁡n)\Omega(n\log n) clauses are required for complete identification since that many clauses are needed for each variable to appear at least once in the formula. In this case O(n1/2log⁡n)O(n^{1/2}\log n) samples suffice to find an assignment with non-trivial correlation with the planted assignment, i.e. one that agrees with the planted assignment on n/2+tnn/2+t\sqrt{n} variables for an arbitrary constant tt.

3 Statistical dimension for decision problems

For a domain XX, let D{\mathcal{D}} be a set of distributions over XX and let DD be a distribution over XX which is not in D{\mathcal{D}}. For t>0t>0, the distributional decision problem B(D,D){\mathcal{B}}({\mathcal{D}},D) using tt samples is to decide, given access to tt random samples from an arbitrary unknown distribution D′∈D∪{D}D^{\prime}\in{\mathcal{D}}\cup\{D\}, whether D′∈DD^{\prime}\in{\mathcal{D}} or D′=DD^{\prime}=D. Lower bounds on the complexity of statistical algorithms use the notion of statistical dimension introduced in [FGR+12], based on ideas from [BFJ+94, Fel12].

Our concept of statistical dimension is essentially the same as in [FGR+12] but uses κ2(D′,D)\kappa_{2}({\mathcal{D}}^{\prime},D) instead of average correlations.

The dimension is equal to (at least) dd if there exists a reference distribution DD and a “hard” subset of distributions DD{\mathcal{D}}_{D}, such that no large subset of DD{\mathcal{D}}_{D} has discrimination norm larger than κ\kappa (and, consequently, cannot be distinguished from DD using a single query to \mboxVSTAT(1/(3κ2)){\mbox{VSTAT}}(1/(3\kappa^{2}))). Here large subset means at least 1/d1/d fraction of distributions in DD{\mathcal{D}}_{D}. We remark that this statistical dimension can be easily extended to general search problems as in [FGR+12] (the extension can be found in an earlier version of this work [FPV13, v5]). A detailed treatment and additional approaches to proving statistical query lower bounds for search problems can be found in a subsequent work of Feldman [Fel16].

The statistical dimension with discrimination norm κ\kappa of a problem over distributions gives a lower bound on the complexity of any statistical algorithm.

Any randomized statistical algorithm that solves B(D,D){\mathcal{B}}({\mathcal{D}},D) with probability ≥2/3\geq 2/3 over the randomness in the algorithm requires Ω(d/L)\Omega(d/L) calls to \mboxMVSTAT(L,1/(12⋅κ2⋅L)){\mbox{MVSTAT}}(L,1/(12\cdot\kappa^{2}\cdot L)).

Any randomized statistical algorithm that solves B(D,D){\mathcal{B}}({\mathcal{D}},D) with probability ≥2/3\geq 2/3 over the randomness in the algorithm requires at least mm calls to \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) for m=Ω(min⁡{d,1/κ2}/L)m=\Omega\left(\min\left\{d,1/\kappa^{2}\right\}/L\right).

Further, the lower bound also holds when the input distribution D′D^{\prime} is chosen randomly as follows: D′=DD^{\prime}=D with probability 1/21/2 and D′D^{\prime} equals a random and uniform element of DD{\mathcal{D}}_{D} with probability 1/21/2, where DD{\mathcal{D}}_{D} is the set of distributions for which the value of dd is attained.

We prove this theorem in a slightly more general form in Section 7. Our proof relies on techniques from [FGR+12] and simulations of MVSTAT and 1-MSTAT using VSTAT and 1-STAT, respectively.

In our setting the domain XkX_{k} is the set of all clauses of kk ordered literals (without variable repetition); the class of distributions DQ{\mathcal{D}}_{Q} is the set of all distributions QσQ_{\sigma} where σ\sigma ranges over all 2n2^{n} assignments; the distribution DD is the uniform distribution over XkX_{k} referred to as UkU_{k}.

In the Section 5 we prove the following bound on the statistical dimension with discrimination norm of planted satisfiability.

For any distribution QQ over kk-clauses of distributional complexity rr, there exists a constant c>0c>0 (that depends on QQ) such that for any q≥1q\geq 1,

In Section 6.1 we prove the same lower bound for the generalized planted kk-CSP problem. Our proof is based on a reduction showing that any statistical query for an instance of the kk-CSP problem of complexity rr can be converted to a query for a planted kk-SAT instance of distribution complexity rr. The reduction ensures that the resulting query is essentially as informative in distinguishing the planted distribution from the reference one as the original query. As a result it reduces a bound on κ2\kappa_{2} of a planted kk-CSP problem to an almost equivalent bound on κ2\kappa_{2} of the corresponding planted kk-SAT problem.

4 Corollaries and applications

Finding distributions of planted kk-SAT instances that are algorithmically intractable has been a pursuit of researchers in both computer science and physics. It was recognized in [BHL+02, JMS05] that uniform planted kk-SAT is easy algorithmically due to the bias towards true literals, and so they proposed distributions in which true and false literals under the planted assignment appear in equal proportion. Such distributions have complexity r≥2r\geq 2 in our terminology. These distributions have been termed ‘quiet plantings’ since evidence of the planting is suppressed.

Further refinement of the analysis of quiet plantings was given in [KMZ14], in which the authors analyze belief propagation equations and give predicted densities at which quiet plantings transition from intractable to tractable. Their criteria for a quiet planting is exactly the equation that characterizes distribution complexity r≥2r\geq 2, and the conditions under which the tractability density diverges to infinity corresponds to distribution complexity r≥3r\geq 3.

The distribution complexity parameter defined here generalizes quiet plantings to an entire hierarchy of quietness. In particular, there are distributions of satisfiable kk-SAT instances with distribution complexity as high as k−1k-1 (r=kr=k can be achieved using XOR constraints but these instances are solvable by Gaussian elimination). Our main results show that for distributions with complexity r≥3r\geq 3, the number of clauses required to recover the planted assignment is super-linear (for statistical algorithms with L≤nr/2L\leq n^{r/2}).

4.2 Feige’s Hypothesis

As a second application of our main result, we show that Feige’s 33-SAT hypothesis [Fei02] holds for the class of statistical algorithms. A refutation algorithm takes a kk-SAT formula Φ\Phi as an input and returns either SAT or UNSAT. The algorithm must satisfy the following:

If Φ\Phi is satisfiable, the algorithm always returns SAT.

If Φ\Phi is drawn uniformly at random from all kk-SAT formulas of nn variables and mm clauses, where m/nm/n is above the satisfiability threshold (the clause density at which the formula become unsatisfiable with high probability), then the algorithm must return UNSAT with probability at least 2/32/3 (or some other arbitrary constant).

As with planted satisfiability, the larger mm is the easier refutation becomes, and so the challenge becomes finding efficient refutation algorithms that succeed on the sparsest possible instances. Efficient 33-SAT refutation algorithms are known for m=Ω(n3/2)m=\Omega(n^{3/2}) [COGL04, FO04]. Feige hypothesized 1) that no polynomial-time algorithm can refute formulas with m≤Δnm\leq\Delta n clauses for any constant Δ\Delta and 2) for every ϵ>0\epsilon>0 and large enough constant Δ\Delta, there is no polynomial-time algorithm that answers UNSAT on most 3-SAT formulas but answers SAT on all formulas that have assignments satisfying (1−ϵ)(1-\epsilon)-fraction of constraints. Hypothesis 2 is strictly weaker than hypothesis 1. Based on these hypotheses he derived hardness-of-approximation results for several fundamental combinatorial optimization problems.

To apply our bounds we need to first define a distributional version of the problem.

In the distributional kk-SAT refutation problem the input formula is obtained by sampling mm i.i.d. clauses from some unknown distribution DD over clauses. An algorithm successfully solves the distributional problem if:

The algorithm returns SAT for every distribution supported on simultaneously satisfiable clauses.

The algorithm returns UNSAT with probability at least 2/32/3 when clauses are sampled from the uniform distribution and m/nm/n is above the satisfiability threshold.

The original refutation problem and distributional refutation problem are equivalent: a refutation algorithm for the original problem solves the distributional version and vice versa.

The first direction is immediate: assume that we have a refutation algorithm AA for a fixed formula. We run the refutation algorithm on the mm clauses sampled from the input distribution and output the algorithm’s answer. By definition, if the input distribution is uniform then the sampled clauses will give a random formula from this distribution. So AA will return UNSAT with probability at least 2/32/3. If the clauses in the support of the input distribution can be satisfied then the formula sampled from it will be necessarily satisfiable and AA must return SAT.

In the other direction, we again run the distributional refutation algorithm AA on the mm clauses of Φ\Phi and output its answer (each clause is used as a new sample consecutively). If Φ\Phi was sampled from the uniform distribution above the satisfiability threshold, then the samples we produced are distributed according to the uniform distribution. Therefore, with probability at least 2/32/3 AA returns UNSAT. If Φ\Phi is satisfiable then consider the distribution DΦD_{\Phi} which is uniform over the mm clauses of Φ\Phi. Φ\Phi has non-zero probability to be the outcome of mm i.i.d. clauses sampled from DΦD_{\Phi}. Therefore AA must output SAT on it since otherwise it would violate its guarantees. Therefore the output of our algorithm will be SAT for Φ\Phi. ∎

In the distributional setting, an immediate consequence of Theorem 3.1 is that Feige’s hypothesis holds for the class of statistical algorithms.

Any (randomized) statistical algorithm that solves the distributional kk-SAT refutation problem requires:

mm calls to the \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) oracle with m⋅L≥c1(nlog⁡n)km\cdot L\geq c_{1}\left(\frac{n}{\log n}\right)^{k} for a constant c1=Ωk(1)c_{1}=\Omega_{k}(1).

qq queries to \mboxMVSTAT(L,c2L⋅nk(log⁡q)k){\mbox{MVSTAT}}\left(L,\frac{c_{2}}{L}\cdot\frac{n^{k}}{(\log q)^{k}}\right) for a constant c2=Ωk(1)c_{2}=\Omega_{k}(1) and any q≥Lq\geq L.

The decision problem in Theorem 3.1 is a special case of the distributional refutation problem. Specifically, say there is such a refutation algorithm. Let QQ be a fully satisfiable clause distribution with distribution complexity kk. Then consider a distribution DD so that either D=UkD=U_{k} or D=Qσ∈DQD=Q_{\sigma}\in{\mathcal{D}}_{Q} for a uniformly chosen σ∈{±1}n\sigma\in\{\pm 1\}^{n}. Then run the refutation algorithm on DD. If D∈DQD\in{\mathcal{D}}_{Q}, then the algorithm must output SAT, and so we conclude D∈DQD\in{\mathcal{D}}_{Q}. If D=UkD=U_{k}, then with probability 2/32/3 the algorithm must output UNSAT in which case we conclude that D=UkD=U_{k}. This gives an algorithm for distinguishing UkU_{k} from DQ{\mathcal{D}}_{Q} with probability at least 2/32/3, a contradiction to Theorem 3.1. ∎

We note that the only distributions with r=kr=k are noisy kk-XOR-SAT distributions. Such distributions generate satisfiable formulas only when the noise rate is 0 and then formulas are refutable via Gaussian elimination. Therefore if one excludes the easy (noiseless) kk-XOR-SAT distribution then we obtain only the stronger form of Feige’s conjecture (ϵ>0\epsilon>0) with r=k=3r=k=3.

4.3 Hardness of approximation

We note finally that optimal inapproximability results can be derived from Theorem 3.1 as well, including the fact that pairwise independent predicates (as studied in [AM09]) are approximation-resistant for the class of statistical algorithms.

Our work provides a means to generate candidate distributions of hard instances for approximation algorithms for CSP’s: find a distribution QQ on {±1}k\{\pm 1\}^{k} supported only on vectors that satisfy the CSP predicate with high distribution complexity (as in the example of 44-SAT above). Then statistical algorithms cannot efficiently distinguish the planted distribution (all constraints satisfied) from the uniformly random distribution (eg. (1−2−k1-2^{-k})-fraction of constraints satisfied in the case of kk-SAT).

Convex Programs and SQ Algorithms for Solving CSPs

In this section we show how our lower bounds for planted kk-SAT together with general statistical query algorithms for solving stochastic convex programs from [FGV15] imply lower bounds on convex programs that can be used to solve planted kk-SAT (analogous results also hold for Goldreich’s kk-CSP but we omit them for brevity). At a high level we observe that a convex relaxation can be viewed as a reduction from our planted constraint satisfaction problem to a stochastic convex optimization problem. Existence of such a reduction together with a statistical query algorithm for the corresponding stochastic convex program would violate the lower bounds that we prove. Hence, as a contrapositive, we rule out existence of several types of convex relaxations for the planted CSPs.

We first describe several standard ways in which Boolean constraint satisfaction problemsAs usual in this literature, constraint satisfaction also refers to the problem of maximizing the number of satisfied constraints. are relaxed to an LP or an SDP.

More generally, the canonical LP relaxation of a kk-CSP with mm constraints results in a program of the following type (see [O’D11] for a textbook version or [Rag08, BKS13, OW14] for some applications):

subject to xˉ∈K\bar{x}\in K. Here, CiC_{i} denotes the kk-ary Boolean predicate of the ii-th constraint, ViV_{i} denotes the kk-tuple of variables of ii-th constraint and xVi,yx_{V_{i},y} is the variable that tells whether variables in ViV_{i} are assigned values yy (its constrained to be in $andinterpretedasprobability).Thesetand interpreted as probability). The setKisanis anO_{k}(n^{k})−dimensionalconvexsetthatmakessurethat-dimensional convex set that makes sure thatx_{V_{i},y}$’s are consistent in a natural sense (with additional PSD cone constraints in the case of SDPs).

2 Statistical Query Algorithms for Stochastic Convex Optimization

We now describe several results from [FGV15] giving upper bounds on solving various stochastic convex programs by statistical query algorithms. Bounds for a number of additional types of convex programs are given in [FGV15] and can be applied in this context in a similar way. We start by defining the problem of distribution-independent stochastic convex optimization formally.

For general convex functions with range scaled to $,Feldmanetal.[FGV15]describetwostatisticalqueryalgorithmsthatbothuse, Feldman et al. [FGV15] describe two statistical query algorithms that both use{\mbox{VSTAT}}(O(N^{2}/\epsilon^{2}))tofindanto find an\epsilon$-approximate solution to the stochastic convex program. The first algorithm is based on the random walk approach from [KV06a, LV06]. The second algorithm is based on the classic center-of-gravity method [Lev65] and requires fewer queries.

The theorem above ignores computational considerations since those do not play any role in our information-theoretic lower bounds. An efficient version of this algorithm is also given in [FGV15].

Let p∈p\in, L,R>0L,R>0, and K⊆BpN(R)K\subseteq{\mathcal{B}}_{p}^{N}(R) be a convex body. Let F\mathcal{F} be the set of all functions ff that satisfy, for all x∈Kx\in K, ∥∇f(x)∥q≤L\|\nabla f(x)\|_{q}\leq L for q=1−(1/p)q=1-(1/p). Then there is an algorithm that solves \mboxOpt(K,F,ϵ){\mbox{Opt}}(K,\mathcal{F},\epsilon) using O(Nlog⁡N⋅(LR/ϵ)2)O\left(N\log N\cdot(LR/\epsilon)^{2}\right) queries to \mboxVSTAT(O((log⁡N⋅LR/ϵ)2)){\mbox{VSTAT}}(O((\log N\cdot LR/\epsilon)^{2})).

3 Corollaries for Planted k𝑘k-CSPs

Now observe that a convex relaxation (of the type that we defined) is just a mapping from Boolean constraints to convex functions in some class of functions F\mathcal{F} over a convex body KK. Such mapping allows to implement a statistical query oracle for the distribution over convex functions given a statistical query oracle for the input distribution over Boolean constraints. In particular, it allows us to run a statistical query algorithm for \mboxOpt(K,F,ϵ){\mbox{Opt}}(K,\mathcal{F},\epsilon) on the stochastic convex program that corresponds to the input distribution over kk-clauses. Now assume that the value of the solution for the stochastic convex program corresponding to a planted kk-CSP is smaller than the value of the solution for the the stochastic convex program corresponding to the uniform distribution over constraints by at least ϵ\epsilon. Then a statistical query algorithm for \mboxOpt(K,F,ϵ){\mbox{Opt}}(K,\mathcal{F},\epsilon) solves the decision version of our planted kk-CSP. Hence, if \mboxOpt(K,F,ϵ){\mbox{Opt}}(K,\mathcal{F},\epsilon) can be solved using some number of queries to a statistical oracle that violates our lower bound then a convex relaxation that satisfies these properties cannot exist. We now make these statements formally.

Let QQ be a distribution over kk-clauses of complexity rr. Assume that there exists a mapping that maps each kk-clause C∈XkC\in X_{k} to a convex function fC:K→f_{C}:K\rightarrow over some convex NN-dimensional set KK that for some ϵ>0\epsilon>0 and α\alpha satisfies:

Then for every q≥1q\geq 1, solving \mboxOpt(K,F,ϵ){\mbox{Opt}}(K,\mathcal{F},\epsilon) using \mboxVSTAT(nr(log⁡q)r){\mbox{VSTAT}}\left(\frac{n^{r}}{(\log q)^{r}}\right) requires Ω(q)\Omega(q) queries.

For instances of planted satisfiability there is a constant gap between the fraction of clauses that can be satisfied in a formula sampled from UkU_{k} and the fraction of clauses that can be satisfied in a formula sampled from QσQ_{\sigma}. Thus, for convex relaxations that satisfy the conditions of Corollary 4.5 the lower bounds imply a large integrality gap.

Note that these corollaries give concrete lower bounds on the dimension and other structural properties of convex programs that can be used to solve an average-case kk-CSP without any assumptions about how the convex program is solved. In particular, it does not need to be solved via a statistical algorithm or even computationally efficiently. As far as we know, this approach to obtaining lower bounds for convex relaxations from convex optimization algorithms and statistical query lower bounds is new.

We observe that standard lift-and-project procedures (Sherali-Adams, Lovász-Schrijver, Lasserre) for strengthening LP/SDP formulations do not affect the analysis above. While these procedures add a large number of auxiliary variables and constraints the resulting program is still a convex optimization problem in the same dimension (although implementation of the separation oracle becomes more computationally intensive). Hence the use of such procedures does not necessarily affect the bounds on the number of queries and tolerance we gave above.

At a more conceptual level, the primary difference between the commonly considered hierarchies of LP/SDP relaxations and our approach is as follows. The expected objective value of the stochastic convex programs corresponding to these hierarchies of relaxations captures the expected objective of the original Boolean kk-CSP. Yet, solving stochastic convex programs corresponding to these relaxations for all distributions requires Ω(nr/2)\Omega(n^{r/2}) samples information theoretically (e.g. [FGV15]). Lower bounds against such relaxations effectively prove that this number of samples is necessary even for the uniform distribution over the clauses: given fewer samples the optimum of the objective based on the given random samples will have a much lower value than the optimum of the expected objective (a phenomenon that is referred to as overfitting). In contrast, our approach rules out relaxations for which the resulting stochastic convex program can be solved by a statistical query algorithm using qq queries to \mboxVSTAT(nr(log⁡q)r){\mbox{VSTAT}}\left(\frac{n^{r}}{(\log q)^{r}}\right). In particular there is no overfitting. However, such relaxations end up not being sufficiently expressive: the optimum of the expected objective of the relaxation does not differentiate between the planted distributions and the uniform one. This difference makes our lower bounds incomparable and, in a way, complementary to existing work on lower bounds for specific hierarchies of convex relaxations.

Statistical Dimension of Planted Satisfiability

In this section, we prove our lower bound on the statistical dimension with discrimination norm of the planted satisfiability problem (Theorem 3.5). Recall that the theorem states that for any distribution QQ over kk-clauses of distributional complexity rr, there exists a constant c>0c>0 such that for any q≥1q\geq 1,

where χS(x)=∏i∈Sxi\chi_{S}(x)=\prod_{i\in S}x_{i} is a parity or Walsh basis function, and the Fourier coefficient of the set SS is defined as:

where Q^(∅)=2−k\hat{Q}(\emptyset)=2^{-k} follows from QQ being a distribution over {±1}k\{\pm 1\}^{k}. Plugging this into eq.(2) we obtain

In addition we will use the following simple way to convert strong concentration to a bound on expectation over subsets of assignments.

The set S\mathcal{S} contains 1/d1/d fraction of points in {±1}n\{\pm 1\}^{n} and therefore

Let S⊆{±1}n\mathcal{S}\subseteq\{\pm 1\}^{n} be a set of assignments for which d=2n/∣S∣d=2^{n}/|\mathcal{S}|. Then

We are now ready to bound the discrimination norm.

Let QQ be a clause distribution of the distributional complexity r=r(Q)r=r(Q), let D′⊆{Qσ}σ∈{±1}n{\mathcal{D}}^{\prime}\subseteq\{Q_{\sigma}\}_{\sigma\in\{\pm 1\}^{n}} be a set of distributions over clauses and d=2n/∣D′∣d=2^{n}/|{\mathcal{D}}^{\prime}|. Then κ2(D′,Uk)=Ok((ln⁡d/n)r/2)\kappa_{2}({\mathcal{D}}^{\prime},U_{k})=O_{k}\left((\ln d/n)^{r/2}\right).

By plugging this into eq.(3) and using the fact that ln⁡d<n\ln d<n we get,

By the definition of κ2(D′,Uk)\kappa_{2}({\mathcal{D}}^{\prime},U_{k}) we obtain the claim. ∎

(of Theorem 3.5) Our reference distribution is the uniform distribution UkU_{k} and the set of distributions D=DQ={Qσ}σ∈{±1}n{\mathcal{D}}={\mathcal{D}}_{Q}=\{Q_{\sigma}\}_{\sigma\in\{\pm 1\}^{n}} is the set of distributions for all possible assignments. Let D′⊆D{\mathcal{D}}^{\prime}\subseteq{\mathcal{D}} be a set of distributions of size ∣D∣/q|{\mathcal{D}}|/q and S={σ ∣ Qσ∈D′}\mathcal{S}=\{\sigma\ |\ Q_{\sigma}\in{\mathcal{D}}^{\prime}\}. Then, by Lemma 5.7, we get

Planted k𝑘k-CSPs

Before going into the proof of the lower bound for this model we show two additional connections between this model and our planted satisfiability model. First we show that planted satisfiability can be easily reduced to the planted kk-CSP above while preserving the complexity parameter (we remark that the reduction will always produce a non-boolean PP and hence requires our generalization). The second connection is that both of these models can be seen as special cases of a more general model of planted constraint satisfaction introduced by Abbe and Montanari [AM15].

There exists an algorithm that for every distribution QQ over {±1}k\{\pm 1\}^{k} of complexity rr, and any σ∈{±1}n\sigma\in\{\pm 1\}^{n}, given a random sample distributed according to QσQ_{\sigma} outputs a random sample distributed according to PσP_{\sigma}, where P≡Q−2−kP\equiv Q-2^{-k}. Further, r(Q)=r(P)r(Q)=r(P).

Given a random clause CC the algorithm outputs the tuple of variables v(C)v(C) together with a bit bb chosen according to the following rule. With probability 1/21/2: if s(C)=1ks(C)={\bf 1}_{k} then output 1, otherwise −1-1; with probability 1/2−2−k−11/2-2^{-k-1} output 1 and −1-1 with probability 2−k−12^{-k-1}.

Let us analyze the resulting distribution. First we note that the output distribution is uniform over YkY_{k}. This follows from the fact that for every u∈Yku\in Y_{k}, ∑v(C)=uQσ(C)=∑y∈{±1}kQ(y)=1\sum_{v(C)=u}Q_{\sigma}(C)=\sum_{y\in\{\pm 1\}^{k}}Q(y)=1. We now evaluate the expectation of the bit bb produced by our reduction as a function of σ(u)\sigma(u) (the values assigned by σ\sigma to variables in uu). From the definition of QσQ_{\sigma}, for every u∈Yku\in Y_{k} and z∈{±1}kz\in\{\pm 1\}^{k},

where we use ∘\circ to denote the element-wise product of two vectors. In particular, Pr⁡C∼Qσ[s(C)=1k ∣ v(C)=u]=Q(σ(u))\Pr_{C\sim Q_{\sigma}}[s(C)={\bf 1}_{k}\ |\ v(C)=u]=Q(\sigma(u)). This means that

This means that the reduction produces a random sample from PσP_{\sigma} for P(y)≡Q(y)−2−kP(y)\equiv Q(y)-2^{-k}. Note that P^(∅)=0\hat{P}(\emptyset)=0 and hence this reduction satisfies r(Q)=r(P)r(Q)=r(P).

We now show how both of these models can be seen as special cases of the model in [AM15]. The model is specified by a collection of distributions {Φ(⋅ ∣ y)}y∈{±1}k\{\Phi(\cdot\ |\ y)\}_{y\in\{\pm 1\}^{k}} over some output alphabet ZZ. For a planted assignment σ∈{±1}n\sigma\in\{\pm 1\}^{n} (their model allows a more general alphabet for each variable but {±1}\{\pm 1\} suffices to subsume the models discussed in this paper) the planted distribution Φσ\Phi_{\sigma} is defined as follows. A random sample from this distribution is a randomly and uniformly chosen ordered kk-tuple of variables u∈Yku\in Y_{k} together with value zz chosen randomly and independently according to Φ(⋅ ∣ σ(u))\Phi(\cdot\ |\ \sigma(u)). We first observe that for any P:{±1}k→P:\{\pm 1\}^{k}\rightarrow, setting Z={±1}Z=\{\pm 1\} and having Φ(b ∣ y)=(1+b⋅P(y))/2\Phi(b\ |\ y)=(1+b\cdot P(y))/2 recovers exactly the generalized Goldreich’s planted kk-CSP for function PP.

To recover the planted satisfiability model for distribution QQ, we let Z={±1}kZ=\{\pm 1\}^{k} and then define Φ(z ∣ y)=Q(y∘z)\Phi(z\ |\ y)=Q(y\circ z). Here the output alphabet represents the negation signs of variables. A kk-tuple of variables u∈Yku\in Y_{k} with kk negation signs z∈{±1}kz\in\{\pm 1\}^{k} uniquely describes a clause C∈XkC\in X_{k} such that v(C)=uv(C)=u and s(C)=zs(C)=z. Further, by Eqn. (4), we get that Φσ\Phi_{\sigma} for Φ\Phi defined as above is exactly QσQ_{\sigma}. It is not hard to see that the techniques in this work can also be applied to characterize the SQ complexity of solving planted kk-CSPs in this more general model.

We prove the analogue of Theorem 3.5 for the planted kk-CPS, which, in turn, immediately implies that the lower bounds stated in Theorem 3.1 apply to this problem verbatim. We first note that the reduction in Lemma 6.1 implies the desired lower bound for all functions PP such that P≡Q−2−kP\equiv Q-2^{-k} for some distribution QQ over {±1}k\{\pm 1\}^{k}. Unfortunately, this is not sufficient to obtain a lower bound for all functions P:{±1}−k→P:\{\pm 1\}^{-k}\rightarrow. Indeed, this does not give a lower bound for any Boolean PP. At the same time, we show that the reduction in Lemma 6.1 can be used to reduce bounds on the discrimination norm of the planted kk-CSP problem to the bounds on the discrimination norm for planted satisfiability that we gave in Section 5A direct proof of this bound can be found in an earlier version of this work [FPV13, v5].. We are not aware of similar reductions in the literature and our technique might be useful for relating the complexity of other problems for which standard reductions are not known.

We now give the formal details. Let P:{±1}k→P:\{\pm 1\}^{k}\rightarrow be a function on kk-bits. Let DP{\mathcal{D}}_{P} denote the set of all distributions PσP_{\sigma}, where σ∈{±1}n\sigma\in\{\pm 1\}^{n} and Uk′U^{\prime}_{k} be the uniform distribution over Xk′=Yk×{−1,1}X^{\prime}_{k}=Y_{k}\times\{-1,1\}. Let B(DP,Uk′){\mathcal{B}}({\mathcal{D}}_{P},U^{\prime}_{k}) denote the decision problem in which given samples from an unknown input distribution D∈DP∪{Uk′}D\in{\mathcal{D}}_{P}\cup\{U^{\prime}_{k}\} the goal is to output 11 if D∈DPD\in{\mathcal{D}}_{P} and 0 if D=Uk′D=U^{\prime}_{k}. Our goal is to prove the following results.

For any function P:{±1}k→P:\{\pm 1\}^{k}\rightarrow of complexity rr, there exist a constant c>0c>0 (that depends on PP) such that for any q≥1q\geq 1,

As in the case of Theorem 3.5, it suffices to prove the following analogue of Lemma 5.7.

Let P:{±1}k→P:\{\pm 1\}^{k}\rightarrow be any function of complexity r=r(P)r=r(P), let D′⊆{Pσ}σ∈{±1}n{\mathcal{D}}^{\prime}\subseteq\{P_{\sigma}\}_{\sigma\in\{\pm 1\}^{n}} be a set of distributions over clauses and d=2n/∣D′∣d=2^{n}/|{\mathcal{D}}^{\prime}|. Then κ2(D′,Uk′)=Ok((ln⁡d/n)r/2)\kappa_{2}({\mathcal{D}}^{\prime},U^{\prime}_{k})=O_{k}\left((\ln d/n)^{r/2}\right).

where Q≡(P+1)/2kQ\equiv(P+1)/2^{k}. Note that QQ defined in this way is a distribution since for all y∈{±1}ky\in\{\pm 1\}^{k}, Q(y)≥0Q(y)\geq 0 and ∑y∈{±1}kQ(y)=2k⋅P^(∅)+1=1\sum_{y\in\{\pm 1\}^{k}}Q(y)=2^{k}\cdot\hat{P}(\emptyset)+1=1.

Distributions QσQ_{\sigma},PσP_{\sigma} UkU_{k} and Uk′U^{\prime}_{k} are uniform over kk-tuples of variables and therefore to prove eq. (5), it suffices to prove that for every u∈Yku\in Y_{k},

The left hand side of this equality is equal to

By equation (4), the right side of eq. 6 is equal to

where we used the fact that ∑y∈{±1}kP(y)=2k⋅P^(∅)=0\sum_{y\in\{\pm 1\}^{k}}P(y)=2^{k}\cdot\hat{P}(\emptyset)=0 to obtain the equality of the second line to the third one.

Now all we need to bound κ2(D′,Uk′)\kappa_{2}({\mathcal{D}}^{\prime},U^{\prime}_{k}) is an upper bound on ∥h∥Uk\|h\|_{U_{k}}. First, note that by our assumption,

Using this bound on the norm and eq. (5) we can now bound κ2(D′,Uk′)\kappa_{2}({\mathcal{D}}^{\prime},U^{\prime}_{k}) as follows. Let DQ′≐{Qσ ∣ σ∈S}{\mathcal{D}}^{\prime}_{Q}\doteq\{Q_{\sigma}\ |\ \sigma\in\mathcal{S}\}.

where we used Lemma 5.7 to obtain the last bound. ∎

Lower Bounds using Statistical Dimension

We first prove an analogue of lower-bound for VSTAT from [FGR+12] but using the statistical dimension based on discrimination norm instead of the average correlation. It is not hard to see that discrimination norm is upper-bounded by the square root of average correlation and therefore our result subsumes the one in [FGR+12].

We prove our lower bound for any deterministic statistical algorithm and the claim for randomized algorithms follows from the fact that the success probability of a randomized algorithm is just the expectation of its success probability for a random fixing of its coins.

Let the set D+⊆DD{\mathcal{D}}^{+}\subseteq{\mathcal{D}}_{D} be the set of distributions on which A{\mathcal{A}} is successful (that is outputs b=1b=1) and we denote these distributions by {D1,D2,…,Dm}\{D_{1},D_{2},\ldots,D_{m}\}. We recall that, crucially, for A{\mathcal{A}} to be considered successful it needs to be successful for any valid responses of VSTAT to A{\mathcal{A}}’s queries. We note that the success probability of A{\mathcal{A}} is 12+12m∣DD∣\frac{1}{2}+\frac{1}{2}\frac{m}{|{\mathcal{D}}_{D}|} and therefore m≥(2γ−1)∣DD∣m\geq(2\gamma-1)|{\mathcal{D}}_{D}|.

For every k≤qk\leq q, let AkA_{k} be the set of all distributions DiD_{i} such that

for every kk, ∣Ak∣≤∣DD∣/d|A_{k}|\leq|{\mathcal{D}}_{D}|/d.

Combining these two implies that q≥d⋅m/∣DD∣q\geq d\cdot m/|{\mathcal{D}}_{D}| and therefore q≥(2γ−1)dq\geq(2\gamma-1)d giving the desired lower bound.

By our assumption for Di∈AkD_{i}\in A_{k}, ∣pi,k−pk∣>τi,k=max⁡{1/t,pi,k(1−pi,k)/t}|p_{i,k}-p_{k}|>\tau_{i,k}=\max\{1/t,\sqrt{p_{i,k}(1-p_{i,k})/t}\}. If pi,k≥2pk/3p_{i,k}\geq 2p_{k}/3 then

Otherwise (when pi,k<2pk/3p_{i,k}<2p_{k}/3), pk−pi,k>pk−2pk/3=pk/3p_{k}-p_{i,k}>p_{k}-2p_{k}/3=p_{k}/3. We also know that ∣pi,k−pk∣>τi,k≥1/t|p_{i,k}-p_{k}|>\tau_{i,k}\geq 1/t and therefore ∣pi,k−pk∣>pk3t|p_{i,k}-p_{k}|>\sqrt{\frac{p_{k}}{3t}}. Substituting this into eq. (8) we get that

Now, by the definition of discrimination norm and its linearity we have that

2 Lower bounds for MVSTAT and 1-MSTAT

We now describe the extension of our lower bound to MVSTAT and \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) oracles. For simplicity we state them for the worst case search problems but all these results are based on a direct simulation of an oracle using a VSTAT oracle and therefore they equivalently apply to the average-case versions of the problem defined in Theorem 7.1.

Given the lower bound VSTAT we can obtain our lower bound for MVSTAT via the following simple simulation. For conciseness we use L0L_{0} to denote {0,1,…,L−1}\{0,1,\ldots,L-1\}.

Let DD be the input distribution over the domain XX, t,L>0t,L>0 be integers. For any multi-valued function h:X→L0h:X\rightarrow L_{0} and any set S\mathcal{S} of subsets of L0L_{0}, LL queries to \mboxVSTAT(4L⋅t){\mbox{VSTAT}}(4L\cdot t) can be used to give a valid answer to query hh with set S\mathcal{S} to \mboxMVSTAT(L,t){\mbox{MVSTAT}}(L,t).

For i∈L0i\in L_{0} we define hi(x)h_{i}(x) as hi(x)=1h_{i}(x)=1 if h(x)=ih(x)=i and otherwise. Let viv_{i} be the response of \mboxVSTAT(4L⋅t){\mbox{VSTAT}}(4L\cdot t) on query hih_{i}. For any Z⊆L0Z\subseteq L_{0},

We now describe our lower bound for \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) oracle.

In particular, any algorithm with success probability of at least 2/32/3 requires at least Ω(1L⋅min⁡{d,1/κ2})\Omega\left(\frac{1}{L}\cdot\min\{d,1/\kappa^{2}\}\right) samples from \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L).

The proof of this result is based on the following simulation of \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) using VSTAT.

Let Z{\mathcal{Z}} be a search problem and let A{\mathcal{A}} be a (possibly randomized) statistical algorithm that solves Z{\mathcal{Z}} with probability at least γ\gamma using mm samples from \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L). For any δ∈(0,1/2]\delta\in(0,1/2], there exists a statistical algorithm A′{\mathcal{A}}^{\prime} that uses at most O(m⋅L)O(m\cdot L) queries to \mboxVSTAT(L⋅m/δ2){\mbox{VSTAT}}(L\cdot m/\delta^{2}) and solves Z{\mathcal{Z}} with probability at least γ−δ\gamma-\delta.

A special case of this theorem for L=2L=2 is proved in [FGR+12]. Their result is easy to generalize to the statement of Theorem 7.4 but is it fairly technical. Instead we describe a simple way to simulate mm samples of \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) using O(mL)O(mL) samples from 1-STAT. This simulation (together with the simulation of 1-STAT from [FGR+12]) imply Theorem 7.4. It also allows to easily relate the powers of these oracles. The simulation is based on the following lemma (proof by Jan Vondrak).

Let DD be the input distribution over XX and let h:X→L0h:X\rightarrow L_{0} be any function. Then using L+1L+1 samples from 1-STAT it is possible to output a random variable Y∈L0∪{⊥}Y\in L_{0}\cup\{\bot\}, such that

for every i∈L0i\in L_{0}, Pr⁡[Y=i ∣ Y≠⊥]=pi\Pr[Y=i\ |\ Y\neq\bot]=p_{i}.

YY is defined as follows. For every i∈L0i\in L_{0} ask a sample for hih_{i} from 1-STAT and let BiB_{i} be equal to the outcome with probability 1/21/2 and with probability 1/21/2 (independently). If the number of BiB_{i}’s that are equal to 11 is different from 1 then Y=⊥Y=\bot. Otherwise let jj be the index such that Bj=1B_{j}=1. Ask a sample for hjh_{j} from 1-STAT and let Bj′B^{\prime}_{j} be the outcome with probability 1/21/2 and 0 with probability 1/21/2. If Bj′=0B^{\prime}_{j}=0 let Y=jY=j, otherwise Y=⊥Y=\bot. From the definition of YY, we obtain that for every i∈L0i\in L_{0},

This implies that for every i∈L0i\in L_{0}, Pr⁡[Y=i ∣ Y≠⊥]=pi\Pr[Y=i\ |\ Y\neq\bot]=p_{i}. Also

where we used that for a∈[0,1/2]a\in[0,1/2], (1−a)≤e−2a(1-a)\leq e^{-2a}. ∎

Given this lemma we can simulate \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) by sampling YY until Y≠⊥Y\neq\bot. It is easy to see that simulating mm samples from \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) will require at most 4e⋅m(L+1)4e\cdot m(L+1) with probability at least 1−δ1-\delta for δ\delta exponentially small in mm.

We now combine Theorems 7.1 and 7.4 to obtain the claimed lower bound for statistical algorithms using MVSTAT.

Assuming the existence of a statistical algorithm using less than mm samples we apply Theorem 7.4 for δ=γ/2−1/4\delta=\gamma/2-1/4 to simulate the algorithm using VSTAT. The bound on mm ensures that the resulting algorithm uses less than Ω(d(2γ−1))\Omega{\left(d(2\gamma-1)\right)} queries to \mboxVSTAT(13κ2){\mbox{VSTAT}}(\frac{1}{3\kappa^{2}}) and has success probability of at least γ/2+1/4\gamma/2+1/4. By substituting these parameters into Theorem 7.1 we obtain a contradiction. ∎

Finally we state an immediate corollary of Theorems 7.1, 7.2 and 7.3 that applies to general search problems and generalizes Theorem 3.4.

Ω(d/L)\Omega(d/L) calls to \mboxMVSTAT(L,1/(12⋅κ2⋅L)){\mbox{MVSTAT}}(L,1/(12\cdot\kappa^{2}\cdot L));

at least mm calls to \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) for m=Ω(min⁡{d,1/κ2}/L)m=\Omega\left(\min\left\{d,1/\kappa^{2}\right\}/L\right).

Algorithmic Bounds

In this section we prove Theorem 3.2. The algorithm is a variant of the subsampled power iteration from [FPV14] that can be implemented statistically. We describe the algorithm for the planted satisfiability model, but it can be adapted to solve Goldreich’s planted kk-CSP by considering only the kk-tuples of variables that the predicate PP evaluates to 11 on the planted assignment σ\sigma.

We present statistical algorithms to recover the partition of the nn variables into positive and negative literals. We will recover the partition, which gives σ\sigma up to a sign change.

The algorithm proceeds by constructing a biadjacency matrix MM of size N1×N2N_{1}\times N_{2} with N1=2⌈k/2⌉n!(n−⌈k/2⌉)!N_{1}=2^{\lceil k/2\rceil}\frac{n!}{(n-\lceil k/2\rceil)!}, N2=2⌊k/2⌋n!(n−⌊k/2⌋)!N_{2}=2^{\lfloor k/2\rfloor}\frac{n!}{(n-\lfloor k/2\rfloor)!}. We set N=N1N2N=\sqrt{N_{1}N_{2}}. For even kk, we have N1=N2=NN_{1}=N_{2}=N and thus MM is a square matrix. The rows of the matrix are indexed by ordered subsets S1,…,SN1S_{1},\ldots,S_{N_{1}} of ⌈k/2⌉\lceil k/2\rceil literals and columns by subsets T1,…,TN2T_{1},\ldots,T_{N_{2}} of ⌊k/2⌋\lfloor k/2\rfloor literals. For a formula F\mathcal{F}, we construct a matrix M^(F)\hat{M}(\mathcal{F}) as follows. For each kk-clause (l1,l2,…,lk)(l_{1},l_{2},\dots,l_{k}) in F\mathcal{F}, we put a 11 in the entry of M^\hat{M} whose row is indexed by the set (l1,…,l⌈k/2⌉)(l_{1},\dots,l_{\lceil k/2\rceil}) and column by the set (l⌈k/2⌉+1,…,lk)(l_{\lceil k/2\rceil+1},\dots,l_{k}).

Let Mσ,pM_{\sigma,p} denote the distribution on random N1×N2N_{1}\times N_{2} matrices induced by drawing a random formula according to Qσ,pQ_{\sigma,p} and forming the associated matrix M(Qσ,p)M(Q_{\sigma,p}) as above.

For kk even, let u∈{±1}Nu\in\{\pm 1\}^{N} be the vector with a +1+1 entry in every coordinate indexed by subsets containing an even number of true literals under σ\sigma, and a −1-1 entry for every odd subset. For kk odd, define the analogous vectors uy∈{±1}N1u_{y}\in\{\pm 1\}^{N_{1}} and ux∈{±1}N2u_{x}\in\{\pm 1\}^{N_{2}}, again with +1+1’s for even subsets and −1-1 for odd subsets.

The algorithm will apply a modified power iteration procedure with rounding to find uu or uxu_{x} (up to a change of sign). From these vectors the partition σ\sigma into true and false literals can be determined by solving a system of linear equations.

For even kk, the discrete power iteration begins by sampling a random vector x0∈{±1}Nx^{0}\in\{\pm 1\}^{N} and multiplying by a sample of Mσ,pM_{\sigma,p}. We then randomly round each coordinate of Mσ,px0M_{\sigma,p}x^{0} to ±1\pm 1 to get x1x^{1}, and then repeat, drawing a fresh sample from Mσ,pM_{\sigma,p} at each step. The rounding at each is probabilistic and depends on the value of each coordinate and the maximum value of all the coordinates. The number of clauses used by the algorithm is the sum of the number of clauses used in each sampled matrix, or in other words, if we use TT samples from Mσ,pM_{\sigma,p}, our original formula needs density T⋅pT\cdot p. Obtaining TT (nearly) independent samples of Mσ,pM_{\sigma,p} from one sample of Mσ,TpM_{\sigma,Tp} is a subtle issue and is addressed in [FPV14]; for the purposes of the implementation by statistical oracles this is irrelevant and so we avoid the discussion here.

For odd kk, we begin with a random x0∈{±1}N2x^{0}\in\{\pm 1\}^{N_{2}} and a random sample Mσ,pM_{\sigma,p}, then form y0y^{0} by deterministically rounding Mσ,px0M_{\sigma,p}x^{0} to a vector with entries −1,0,-1,0, or +1+1. Then we form x1x^{1} by taking a fresh sample of Mσ,pM_{\sigma,p} and perform a randomized ±1\pm 1 rounding of Mσ,pTy0M_{\sigma,p}^{T}y^{0}, and repeat. There is a final rounding step to find a ±1\pm 1 vector that matches uu or uxu_{x}.

In Section 8.4 we will prove that this algorithm can be implemented statistically in any of the following ways:

Using O(nr/2log⁡2n)O(n^{r/2}\log^{2}n) calls to \mbox1−MSTAT(n⌈r/2⌉){\mbox{1-MSTAT}}(n^{\lceil r/2\rceil});

For even rr: using O(log⁡n)O(\log n) calls to \mboxMVSTAT(nr/2,nr/2log⁡log⁡n){\mbox{MVSTAT}}(n^{r/2},n^{r/2}\log\log n);

For odd rr: using O(log⁡n)O(\log n) calls to \mboxMVSTAT(O(n⌈r/2⌉),O(nr/2log⁡n)){\mbox{MVSTAT}}(O(n^{\lceil r/2\rceil}),O(n^{r/2}\log n)).

2 Algorithm Discrete-Power-Iterate (even k𝑘k).

Pick x0∈{±1}Nx^{0}\in\{\pm 1\}^{N} uniformly at random. For i=1,…log⁡Ni=1,\dots\log N, repeat the following:

Draw a sample matrix M∼Mσ,pM\sim M_{\sigma,p}.

Randomly round each coordinate of xx to ±1\pm 1 to get xix^{i} as follows: let

Let x=Mxlog⁡Nx=Mx^{\log N} and set u∗=sign(x)u^{*}=\mathsf{sign}(x) by rounding each coordinate to its sign.

Output the solution by solving the system of parity equations defined by u∗u^{*}.

If p=Klog⁡N(δ−1)2Np=\frac{K\log N}{(\delta-1)^{2}N} for a sufficiently large constant KK, then with probability 1−o(1)1-o(1) the above algorithm returns the planted assignment.

The main idea of the analysis is to keep track of the random process (u⋅xi)(u\cdot x^{i}). It starts at Θ(N)\Theta(\sqrt{N}) with the initial randomly chosen vector x0x^{0}, and then after an initial phase, doubles on every successive step whp until it reaches N/9N/9.

We will use the following Chernoff bound several times (see eg. Corollary A.1.14 in [AS11]).

Let X=∑i=1mξiYiX=\sum_{i=1}^{m}\xi_{i}Y_{i} and Y=∑i=1mYiY=\sum_{i=1}^{m}Y_{i}, where the YiY_{i}’s are independent Bernoulli random variables and the ξi\xi_{i}’s are fixed ±1\pm 1 constants. Then

If ∣xi⋅u∣=βN≥Nlog⁡log⁡N|x^{i}\cdot u|=\beta N\geq\sqrt{N}\log\log N, then with probability 1−O(1/Nβ2)1-O(1/N\beta^{2}),

We assume WLOG that δ>1\delta>1 and x0⋅u>0x^{0}\cdot u>0 in what follows. Let U+={i:ui=+1}U^{+}=\{i:u_{i}=+1\}, U−={i:ui=−1}U^{-}=\{i:u_{i}=-1\}, X+={i:xi=+1}X^{+}=\{i:x_{i}=+1\}, and X−={i:xi=+1}X^{-}=\{i:x_{i}=+1\}. For a given j∈[N]j\in[N], let Aj={i:sets i and j share no variables}A_{j}=\{i:\text{sets }i\text{ and }j\text{ share no variables}\}. We have ∣Aj∣=N∗|A_{j}|=N^{*} for all jj.

Let z=Mxiz=Mx^{i}. Note that the coordinates z1,…zNz_{1},\dots z_{N} are independent and if j∈U+j\in U^{+},

We can write a similar expression if j∈U−j\in U^{-}, with the probabilities swapped. For j∈U+j\in U^{+} we calculate,

For each ordered set of k/2k/2 literals indexed by j∈U+j\in U^{+}, there is a set indexed by j′∈U−j^{\prime}\in U^{-} that is identical except the first literal in j′j^{\prime} is the negation of the first literal in jj. Note that Aj=Aj′A_{j}=A_{j^{\prime}}, and so we can calculate:

which is simply 2(δ−1)p2(\delta-1)p times the dot product of uu and xx restricted to the coordinates AjA_{j}. Summing over all j∈[N]j\in[N] we get

Now we round zz to a ±1\pm 1 vector x′x^{\prime} as above. Let ZZ be the number of jj’s so that xj′=ujx^{\prime}_{j}=u_{j}. Then, conditioning on u⋅zu\cdot z and max⁡∣zj∣\max|z_{j}| as above,

If (δ−1)p(u⋅x)≤(δ−1)Np25(\delta-1)p(u\cdot x)\leq\frac{(\delta-1)Np}{25}, we have

If (δ−1)p(u⋅x)≥(δ−1)Np25(\delta-1)p(u\cdot x)\geq\frac{(\delta-1)Np}{25}, we have

Note that the variance of ZZ is at most N/4N/4. From Chebyshev’s inequality, with probability 1−O(N/(u⋅x)2)1-O(N/(u\cdot x)^{2}), Z≥min⁡{N2+(u⋅x),5N9}Z\geq\min\left\{\frac{N}{2}+(u\cdot x),\frac{5N}{9}\right\}, which completes the proof of Proposition 8.3. ∎

We consider two phases. When ∣u⋅x∣<Nlog⁡log⁡N|u\cdot x|<\sqrt{N}\log\log N, with probability at least 1/21/2, ∣u⋅xi+1∣≥max⁡{N/10,2∣u⋅xi∣}|u\cdot x^{i+1}|\geq\max\{\sqrt{N}/10,2|u\cdot x^{i}|\}. This follows from Berry-Esseen bounds in the Central Limit Theorem: ZZ is the sum of NN independent 0,10,1 random variables with different probabilities, and we know at least 9N/109N/10 have a probability between 2/52/5 and 3/53/5 (comparing a typical ∣zi∣|z_{i}| with max⁡∣zi∣\max|z_{i}|). This shows the variance of ZZ is at least N/5N/5 when u⋅xu\cdot x is this small.

Now call a step ‘good’ if ∣u⋅xi+1∣≥max⁡{N/10,2∣u⋅xi∣}|u\cdot x^{i+1}|\geq\max\{\sqrt{N}/10,2|u\cdot x^{i}|\}. Then in log⁡N\log N steps whp there is at least one run of at least log⁡log⁡N\log\log N good steps, and after any such run we have ∣u⋅x∣≥Nlog⁡log⁡N|u\cdot x|\geq\sqrt{N}\log\log N with certainty, completing the first phase.

Similarly, if ui=−1u_{i}=-1, Pr⁡[(Mx)i≥0]=o(N−2)\Pr[(Mx)_{i}\geq 0]=o(N^{-2}), and thus whp rounding to the sign of xx will give us uu exactly. The same holds in the negative case where we will get −u-u exactly.

3 Algorithm Discrete-Power-Iterate (odd k𝑘k)

Pick x0∈{±1}N2x^{0}\in\{\pm 1\}^{N_{2}} uniformly at random. For i=1,…log⁡Ni=1,\dots\log N, repeat the following:

Draw a sample matrix M∼Mσ,pM\sim M_{\sigma,p}.

Let y‾i=Mxi−1\overline{y}^{i}=Mx^{i-1}; round y‾i\overline{y}^{i} to a vector yiy^{i} with entries 0,+1,0,+1, or −1-1, according to the sign of the coordinates.

Draw another sample M∼Mσ,pM\sim M_{\sigma,p}.

Let x‾i=MTyi\overline{x}^{i}=M^{T}y^{i}. Randomly round each coordinate of x‾i\overline{x}^{i} to ±1\pm 1 as follows to get xix^{i}:

Set u∗=sign(xlog⁡N)u^{*}=\mathsf{sign}(x^{\log N}) by rounding each coordinate to its sign.

Output the solution by solving the system of parity equations defined by u∗u^{*}.

Set p=Klog⁡N(δ−1)2Np=\frac{K\log N}{(\delta-1)^{2}N}. Then whp, the algorithm returns the planted assignment.

We will keep track of the inner products xi⋅uxx^{i}\cdot u_{x} and yi⋅uyy^{i}\cdot u_{y} as the algorithm iterates.

If ∣xi⋅ux∣=βN2≥N2/log⁡log⁡N|x^{i}\cdot u_{x}|=\beta N_{2}\geq\sqrt{N_{2}}/\log\log N, then with probability 1−o(1/log⁡N)1-o(1/\log N),

Let x∈{±1}N2x\in\{\pm 1\}^{N_{2}} and M∼Mσ,pM\sim M_{\sigma,p}. Let y=Mxy=Mx. We will assume δ>1\delta>1 and x⋅ux>0x\cdot u_{x}>0 for simplicity.

If ∣yi⋅uy∣=γN≥N1log⁡N/log⁡log⁡N|y^{i}\cdot u_{y}|=\gamma N\geq\sqrt{N_{1}}\log N/\log\log N with ∥y∥1=N2p(1+o(1))\|y\|_{1}=N^{2}p(1+o(1)), then with probability 1−o(1/log⁡N)1-o(1/\log N),

For j∈Ux+j\in U_{x}^{+} as above we calculate,

for (uy⋅y)≥N1log⁡N/log⁡log⁡N(u_{y}\cdot y)\geq\sqrt{N_{1}}\log N/\log\log N. Again we randomly round to a vector x∗x^{*}, and if ZZ is the number of of coordinates on which x∗x^{*} and uxu_{x} agree,

If (δ−1)p(uy⋅y)≤N2p2log⁡N(\delta-1)p(u_{y}\cdot y)\leq\frac{N^{2}p^{2}}{\sqrt{\log N}}, we have

If (δ−1)p(u⋅x)≥N2p2log⁡N(\delta-1)p(u\cdot x)\geq\frac{N^{2}p^{2}}{\sqrt{\log N}}, we have

which shows that x∗⋅ux≥min⁡{N2cγlog⁡N,N29}x^{*}\cdot u_{x}\geq\min\left\{\frac{N_{2}c\gamma}{\sqrt{\log N}},\frac{N_{2}}{9}\right\} for some constant c=c(δ,K)c=c(\delta,K). ∎

4 Implementing the algorithms with the statistical oracle

We complete the proof of Theorem 3.2 by showing how to implement the above algorithms with the statistical oracles 1-MSTAT and MVSTAT.

There is a randomized algorithm that makes O(Nlog⁡2N)O(N\log^{2}N) calls to the \mbox1−MSTAT(N){\mbox{1-MSTAT}}(N) oracle and returns the planted assignment with probability 1−o(1)1-o(1). There is a randomized algorithm that makes O(log⁡N)O(\log N) calls to the \mboxMVSTAT(t,L){\mbox{MVSTAT}}(t,L) oracle with L=NL=N and t=Nlog⁡log⁡Nt=N\log\log N, and returns the planted assignment with probability 1−o(1)1-o(1).

We can run the above algorithm using the \mbox1−MSTAT(N){\mbox{1-MSTAT}}(N) oracle. Given a vector x∈{±1}Nx\in\{\pm 1\}^{N}, we compute x′x^{\prime}, the next iteration, as follows: each j∈[N]j\in[N] corresponds to a different value of the query functions h+h^{+} and h−h^{-} defined as h+(X)=ih^{+}(X)=i if the clause X=(i,j)X=(i,j) for j:xj=+1j:x_{j}=+1 and zero otherwise, and similarly h−(X)=ih^{-}(X)=i if X=(i,j)X=(i,j) for j:xj=−1j:x_{j}=-1 and zero otherwise. For use in the implementation, we define the Boolean functions hi+h^{+}_{i} as hi+(X)=1h^{+}_{i}(X)=1 iff h+(X)=ih^{+}(X)=i. Let vi+,vi−v_{i}^{+},v_{i}^{-} denote the corresponding oracle’s responses to the two queries, and vi=vi+−vi−v_{i}=v_{i}^{+}-v_{i}^{-}. Now to compute x′x^{\prime}, for each coordinate we sum viv_{i} over all samples and subtract p∑xip\sum x_{i}. We use O(log⁡N)O(\log N) such iterations, and we use O(Nlog⁡N)O(N\log N) clauses per iteration (corresponding to p=Klog⁡N(δ−1)2Np=\frac{K\log N}{(\delta-1)^{2}N}).

To use the MVSTAT oracle, we note that for each query function vv, we make t=O(Nlog⁡N)t=O(N\log N) calls to \mbox1−MSTAT(N){\mbox{1-MSTAT}}(N). We can replace each group of tt calls with a one call to \mboxMVSTAT(N,t){\mbox{MVSTAT}}(N,t). Let the response be a vector pp in L^{L}, with L+2L+2 subsets, namely singleton subsets for each coordinate as well as for the subsets with positive parity and with negative parity on the unknown assignment σ\sigma. For each coordinate ll, we set vl=\mboxBinom(1,pl)v_{l}=\mbox{Binom}(1,p_{l}), the output of an independent random coin toss with bias plp_{l}. The guarantees on MVSTAT imply that the result of this simulation are equivalent for our purposes to directly querying 1-MSTAT. Here we give a direct simulation with smaller tt.

For t=Nlog⁡log⁡Nt=N\log\log N, versions of equations (10) and (11) (properly scaled) hold due to the oracle’s bound on ∣vi∣|v_{i}| and the bound on ∑Vvi\sum_{V}v_{i}.

Now we do the same randomized rounding as above, and we see that

If (δ−1)βN≤2Nlog⁡log⁡N\frac{(\delta-1)\beta}{N}\leq\frac{2}{N\sqrt{\log\log N}}, we have

If (δ−1)βN≥2Nlog⁡log⁡N\frac{(\delta-1)\beta}{N}\geq\frac{2}{N\sqrt{\log\log N}}, we have

The variance of ZZ is at most N/4N/4, and with probability 1−o(1)1-o(1) we start with ∣x0⋅u∣≥N/log⁡log⁡log⁡N|x^{0}\cdot u|\geq\sqrt{N}/\log\log\log N. Then successive applications of Chebyshev’s inequality as above show that whp after at most log⁡N\log N steps, we have ∣xi⋅u∣≥5N8|x^{i}\cdot u|\geq\frac{5N}{8}.

There is a randomized algorithm that makes O(nk/2log⁡2n)O(n^{k/2}\log^{2}n) calls to the \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) oracle for L=N1L=N_{1}, and returns the planted assignment with probability 1−o(1)1-o(1).

We run the algorithm using 1-MSTAT, alternately querying N1N_{1}-valued functions and N2N_{2}-valued functions, each with t=O(Nlog⁡N)t=O(N\log N) samples per iteration. Since there are O(log⁡N)O(\log N) iterations in all, this gives the claimed bound of O(Nlog⁡2N)O(N\log^{2}N) calls to \mbox1−MSTAT(N1){\mbox{1-MSTAT}}(N_{1}).

To implement using MVSTAT, we do as described in proof for the even case. Evaluation of an LL-valued query hh with tt samples via tt calls to \mbox1−MSTAT(L){\mbox{1-MSTAT}}(L) is replaced by one call to \mboxMVSTAT(L,t){\mbox{MVSTAT}}(L,t) and this response is used to generate a 0/10/1 vector, each time with subsets corresponding to all singletons and the two subsets with different parities according to the planted assignment σ\sigma. This gives the bounds claimed in Theorem 3.2. To see that the algorithm converges as claimed, we note that Prop. 8.5 continues to hold, with a lower order correction term in Equation (12) for the difference when y′⋅uyy^{\prime}\cdot u_{y} when y′y^{\prime} is obtained by the above simulation. This difference is small as guaranteed by the MVSTAT oracle on the two subsets corresponding to the positive support and negative support of uyu_{y}. ∎

Discussion and open problems

By querying well-chosen sequences of functions, statistical query algorithms can be efficient and just as powerful as unconstrained algorithmic approaches, in spite of not being able to directly examine samples from an input distribution. As far as we know, there is only one counterexample, namely solving equations over finite fields, which can be done easily by Gaussian elimination but not with any efficient statistical query algorithm. Here we have given a unifying model of planted constraint satisfaction problems and characterized their SQ complexity. Our bounds correspond closely to known upper bounds for unconstrained algorithms.

Our work also gives a new technique for proving lower bounds on SQ algorithm that strengthens and generalizes previous techniques. It has already been crucial in getting tight lower bounds on SQ complexity of stochastic linear optimization and high-dimensional mean estimation [FGV15]. It also served as a step toward a characterization of the SQ complexity of solving general problems over distributions given in [Fel16].

We conclude with some candidate directions for future research.

A long-standing and intriguing question is to find an additional example (besides solving equations over finite fields) of a natural problem over distributions for which there exists an efficient algorithm that beats the lower bound for statistical algorithms, and disproves our conjecture.

Which additional problems can be addressed using the methods of this paper? One interesting candidate is the problem of detection in a stochastic block model with k>2k>2 blocks? There is currently a gap between the information-theoretic and algorithmic thresholds for the number of edges needed for detection, but the gap is only a factor of roughly k/log⁡kk/\log k. A special case of this problem is planted kk-coloring.

It would be interesting to better understand the relationship of our lower bounds for convex program relaxations to those known for hierarchies of LP and SDP relaxations. Does there exist a unifying approach?

Acknowledgments

We thank Amin Coja-Oghlan, Florent Krzakala, Ryan O’Donnell, Prasad Raghavendra, and Lenka Zdeborová for insightful comments and helpful discussions. We also thank Jan Vondrak for the proof idea of Lemma 7.5.

References