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 -SAT with a planted assignment, and a proposed one-way function from cryptography [Gol00].
It was noted in [BHL+02] that drawing satisfied -SAT clauses uniformly at random from all those satisfied by an assignment 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 , one can create more challenging distributions over instances. Such “quiet plantings” have been further studied in [JMS05, AJM05, KZ09, KMZ14]. Algorithms for planted -SAT with various relative proportions were given by Flaxman [Fla03] and Coja-Oghlan et al. [COCF10], the first of which works for clauses but excludes distributions close to -XOR-SAT, and the second of which works for all planted -SAT distributions but requires clauses (note that a satisfiable -XOR-SAT formula can be viewed as a satisfiable -SAT formula with the same literals since XOR implies OR). As increases, the problem exhibits a larger algorithmic gap: the number of clauses required by known algorithms to efficiently identify a planted assignment is while the number at which the planted assignment is the unique satisfying assignment is .
We give a simple model for producing instances of planted -SAT that generalizes and unifies past work on specific distributions for planted satisfiability. In this model, each clause , a -tuple of the literals (variables and their negations), is included in the random formula with probability proportional to where is the value of the literals in on the planted assignment . Here can be an arbitrary probability distribution over . By choosing supported only on -bit strings with at least one true value, we can ensure that only satisfiable -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 to be uniform over -bit strings with an even number of 1’s as -XOR-SAT (since each clause also satisfies an XOR constraint).
Our general formulation of the planted -SAT problem and the notion of distribution complexity reveal a connection between planted -SAT and the problem of inverting a PRG based on Goldreich’s candidate one-way function [Gol00], for which the link between -wise independence and algorithmic tractability was known before [MST06, AM09, BQ09, ABR12]. In this problem for a fixed predicate , we are given access to samples from a distribution , for a planted assignment . A random sample from this distribution is a randomly and uniformly chosen ordered -tuple of variables (without repetition) together with the value . As in the problem above, the goal is to recover given random and independent samples from 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 ). The number of evaluations of 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 such evaluations. The same approach can be used to recover the input for any -wise (but not -wise) independent predicate using 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 (in a measure-theoretic sense) are resilient against such algorithms, and any planted satisfiability problem can be made resistant by adding an -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 -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 evaluations of a predicate that is -wise but not -wise independent. Goldreich’s PRG is shown to be an -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 -SAT problems and the planted -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 over some domain (in our case all -clauses) 1-STAT oracle is the oracle that given any function takes a random sample from and returns . 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]. oracle captures the information about the expectation of a given function that is obtained by estimating it on independent samples.
This oracle is based on the well-known statistical query oracle defined by Kearns [Kea98] that uses the same tolerance for all query functions. The oracle corresponds more tightly to access to samples and allows us to prove upper and lower bounds that closely correspond to known algorithmic bounds.
More formally, for a clause distribution and an assignment let denote the distribution over clauses proportional to for the planted assignment (see Section 2 for a formal definition). Let denote the uniform distribution over -clauses.
Let be a distribution over -clauses of complexity . Then any (randomized) statistical algorithm that, given access to a distribution that equals with probability and equals with probability for a randomly and uniformly chosen , decides correctly whether or with probability at least needs either:
calls to for any , or,
calls to 1-STAT.
Let be a clause distribution of distribution complexity . Then there exists an algorithm that uses calls to and time linear in the number of oracle calls to identify the planted assignment with probability .
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 -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 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 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 -SAT formula (with no planting), a problem conjectured to be hard by Feige [Fei02]. A refutation algorithm takes a -SAT formula as an input and returns either SAT or UNSAT. If is satisfiable, the algorithm always returns SAT and for drawn uniformly at random from all -SAT formulas of variables and clauses the algorithm must return UNSAT with probability at least . For this refutation problem, an instance becomes unsatisfiable w.h.p. after clauses, but algorithmic bounds are as high as those for finding a planted assignment under the noisy XOR distribution: 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 i.i.d. clauses from some unknown distribution over clauses. The goal is to say UNSAT (with probability at least ) 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 -SAT instance and the uniform -SAT instance) is a special case of the distributional refutation problem.
1.2 Hard instances of k𝑘k-SAT:
Finding distributions of planted -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 -SAT instances with distribution complexity as high as ( 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 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 maps to functions over an -dimensional set 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 -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 , whereas we will prove lower bounds for 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 (derived from the hypercontractivity results of Bonami and Beckner [Bon70, Bec75]).
We remark that the -XOR-SAT problem is equivalent to PAC learning of (general) parity functions from random -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 -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 required to represent the function. For example, the parity function equals to and therefore has algebraic degree ). 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 , becomes . Observe that for all constant , the complexity of is the same as the complexity of .
We conjecture that an analogous statement also holds for Goldreich’s -CSP. Note that in this case mixing in an -fraction of random and uniform constraints can be equivalently seen as flipping the given value of the predicate with probability 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 -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 literals, with the partition given by the planted assignment . A -clause is then a -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 of -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 -SAT and -coloring random graphs exhibit a shattering phenomenon in the solution space for large enough [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 , for 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 -XOR-SAT and random planted -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 , the paring phenomenon holds for all , and already gives strong lower bounds for -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 -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 . We represent a -clause by an ordered -tuple of literals from with no repetition of variables and let be the set of all such -clauses. For a -clause let be the -bit string of values assigned by to literals in , that is , where is the value of literal in assignment with corresponding to TRUE and 1 to FALSE. In a planted model, we draw clauses with probabilities that depend on the value of .
To generate a random formula, we draw i.i.d. -clauses according to the probability distribution , where
Problems. The algorithmic problems studied in this paper can be stated as follows: Given the function and a sample of independent clauses drawn according to , recover , or some correlated with . 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 -clauses. Namely, let denote the set of all distributions , where and be the uniform distribution over -clauses. Let denote the decision problem in which given samples from an unknown input distribution the goal is to output if and 0 if .
As in the problem above, the goal is to recover given random and independent samples from 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 ). Our goal is to understand the smallest number of -clauses that suffice to find the planted assignment or at least to distinguish a planted distribution from a uniform one.
For a clause distribution , we define its distribution complexity as the smallest integer for which there exists a set of size and
To see the difference between a hard and easy distribution , first consider planted uniform -SAT: , for . The distribution complexity of is .
Next, consider the noisy parity distribution (or noisy planted -XOR-SAT) with for even, and for odd, for some . In this case, we have for , and so the distribution complexity of is . 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 on a domain given independent samples from . For us, is the set of all possible -clauses or -hyperedges, and each partition or assignment defines a unique distribution over .
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 be the input distribution over the domain . Given any function , takes a random sample from and returns .
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 , the algorithm can identify the random clause. We will therefore be interested in the trade-off between and the number of queries needed to solve the problem.
The definition of means that can return any value for which the distribution (outcomes of independent Bernoulli variables with bias ) is close to in total variation distance [FGR+12]. In most cases and then also corresponds to returning the expectation of a function to within the standard deviation error of averaging the function over 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 . The query cost of such a query is .
We note that is equivalent to (the latter only allows Boolean queries but that is not an essential difference) and any query to can be easily answered using queries to (see Theorem 7.2 for a proof). The additional strength of this oracle comes from allowing the sets in to depend on the unknown distribution 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 -valued oracles in the context of vector-based algorithms is as a vector of 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 samples (in the case of VSTAT/MVSTAT the success probability is a positive constant but it can be amplified to using samples). The goal of our generalization of oracles to 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 -CSPs with being the degree of lowest-degree non-zero Fourier coefficient of . 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 let denote the decision problem of distinguishing whether the input distribution is one of the planted distributions or is uniform.
For an assignment , let be a distribution over -clauses of complexity and be this family of distributions. Assume that the input distribution is with probability and with the remaining probability it is for a uniform random . Then any (randomized) statistical algorithm that decides correctly whether or with probability at least (over the choice of and randomness of the algorithm) needs either
calls to the oracle with for a constant , OR
queries to for a constant and any .
The first part of the theorem exhibits the trade-off between the number of queries and the number of values the query can take . It might be helpful to think of the latter as evaluating disjoint functions on a random sample, a task that would have complexity growing with . The second part of the theorem is a superpolynomial lower bound (in , for any fixed ) if the parameter (recall the oracle is allowed only an error equal to the standard deviation of averaging over random samples) is less than .
2 Algorithms
We next turn to our algorithmic results, motivated by two considerations. First, the -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 be a planted satisfiability problem with clause distribution having distribution complexity . Then there exists an algorithm to solve using random clauses and time linear in this number. This algorithm can be implemented statistically in any of the following ways.
Using calls to ;
For even : using calls to ;
For odd : using calls to ;
Thus for any , the upper bound matches the lower bound up to logarithmic factors for sample size parameter , with being only slightly higher in the odd case than the that the lower bound implies for such . 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 . Here 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 samples suffice to find an assignment with non-trivial correlation with the planted assignment, i.e. one that agrees with the planted assignment on variables for an arbitrary constant .
3 Statistical dimension for decision problems
For a domain , let be a set of distributions over and let be a distribution over which is not in . For , the distributional decision problem using samples is to decide, given access to random samples from an arbitrary unknown distribution , whether or . 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 instead of average correlations.
The dimension is equal to (at least) if there exists a reference distribution and a “hard” subset of distributions , such that no large subset of has discrimination norm larger than (and, consequently, cannot be distinguished from using a single query to ). Here large subset means at least fraction of distributions in . 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 of a problem over distributions gives a lower bound on the complexity of any statistical algorithm.
Any randomized statistical algorithm that solves with probability over the randomness in the algorithm requires calls to .
Any randomized statistical algorithm that solves with probability over the randomness in the algorithm requires at least calls to for .
Further, the lower bound also holds when the input distribution is chosen randomly as follows: with probability and equals a random and uniform element of with probability , where is the set of distributions for which the value of 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 is the set of all clauses of ordered literals (without variable repetition); the class of distributions is the set of all distributions where ranges over all assignments; the distribution is the uniform distribution over referred to as .
In the Section 5 we prove the following bound on the statistical dimension with discrimination norm of planted satisfiability.
For any distribution over -clauses of distributional complexity , there exists a constant (that depends on ) such that for any ,
In Section 6.1 we prove the same lower bound for the generalized planted -CSP problem. Our proof is based on a reduction showing that any statistical query for an instance of the -CSP problem of complexity can be converted to a query for a planted -SAT instance of distribution complexity . 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 of a planted -CSP problem to an almost equivalent bound on of the corresponding planted -SAT problem.
4 Corollaries and applications
Finding distributions of planted -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 -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 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 , and the conditions under which the tractability density diverges to infinity corresponds to distribution complexity .
The distribution complexity parameter defined here generalizes quiet plantings to an entire hierarchy of quietness. In particular, there are distributions of satisfiable -SAT instances with distribution complexity as high as ( can be achieved using XOR constraints but these instances are solvable by Gaussian elimination). Our main results show that for distributions with complexity , the number of clauses required to recover the planted assignment is super-linear (for statistical algorithms with ).
4.2 Feige’s Hypothesis
As a second application of our main result, we show that Feige’s -SAT hypothesis [Fei02] holds for the class of statistical algorithms. A refutation algorithm takes a -SAT formula as an input and returns either SAT or UNSAT. The algorithm must satisfy the following:
If is satisfiable, the algorithm always returns SAT.
If is drawn uniformly at random from all -SAT formulas of variables and clauses, where 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 (or some other arbitrary constant).
As with planted satisfiability, the larger is the easier refutation becomes, and so the challenge becomes finding efficient refutation algorithms that succeed on the sparsest possible instances. Efficient -SAT refutation algorithms are known for [COGL04, FO04]. Feige hypothesized 1) that no polynomial-time algorithm can refute formulas with clauses for any constant and 2) for every and large enough constant , there is no polynomial-time algorithm that answers UNSAT on most 3-SAT formulas but answers SAT on all formulas that have assignments satisfying -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 -SAT refutation problem the input formula is obtained by sampling i.i.d. clauses from some unknown distribution 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 when clauses are sampled from the uniform distribution and 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 for a fixed formula. We run the refutation algorithm on the 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 will return UNSAT with probability at least . If the clauses in the support of the input distribution can be satisfied then the formula sampled from it will be necessarily satisfiable and must return SAT.
In the other direction, we again run the distributional refutation algorithm on the clauses of and output its answer (each clause is used as a new sample consecutively). If 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 returns UNSAT. If is satisfiable then consider the distribution which is uniform over the clauses of . has non-zero probability to be the outcome of i.i.d. clauses sampled from . Therefore must output SAT on it since otherwise it would violate its guarantees. Therefore the output of our algorithm will be SAT for . ∎
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 -SAT refutation problem requires:
calls to the oracle with for a constant .
queries to for a constant and any .
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 be a fully satisfiable clause distribution with distribution complexity . Then consider a distribution so that either or for a uniformly chosen . Then run the refutation algorithm on . If , then the algorithm must output SAT, and so we conclude . If , then with probability the algorithm must output UNSAT in which case we conclude that . This gives an algorithm for distinguishing from with probability at least , a contradiction to Theorem 3.1. ∎
We note that the only distributions with are noisy -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) -XOR-SAT distribution then we obtain only the stronger form of Feige’s conjecture () with .
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 on supported only on vectors that satisfy the CSP predicate with high distribution complexity (as in the example of -SAT above). Then statistical algorithms cannot efficiently distinguish the planted distribution (all constraints satisfied) from the uniformly random distribution (eg. ()-fraction of constraints satisfied in the case of -SAT).
Convex Programs and SQ Algorithms for Solving CSPs
In this section we show how our lower bounds for planted -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 -SAT (analogous results also hold for Goldreich’s -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 -CSP with 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 . Here, denotes the -ary Boolean predicate of the -th constraint, denotes the -tuple of variables of -th constraint and is the variable that tells whether variables in are assigned values (its constrained to be in $KO_{k}(n^{k})x_{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 ${\mbox{VSTAT}}(O(N^{2}/\epsilon^{2}))\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 , , and be a convex body. Let be the set of all functions that satisfy, for all , for . Then there is an algorithm that solves using queries to .
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 over a convex body . 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 on the stochastic convex program that corresponds to the input distribution over -clauses. Now assume that the value of the solution for the stochastic convex program corresponding to a planted -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 . Then a statistical query algorithm for solves the decision version of our planted -CSP. Hence, if 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 be a distribution over -clauses of complexity . Assume that there exists a mapping that maps each -clause to a convex function over some convex -dimensional set that for some and satisfies:
Then for every , solving using requires 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 and the fraction of clauses that can be satisfied in a formula sampled from . 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 -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 -CSP. Yet, solving stochastic convex programs corresponding to these relaxations for all distributions requires 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 queries to . 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 over -clauses of distributional complexity , there exists a constant such that for any ,
where is a parity or Walsh basis function, and the Fourier coefficient of the set is defined as:
where follows from being a distribution over . 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 contains fraction of points in and therefore
Let be a set of assignments for which . Then
We are now ready to bound the discrimination norm.
Let be a clause distribution of the distributional complexity , let be a set of distributions over clauses and . Then .
By plugging this into eq.(3) and using the fact that we get,
By the definition of we obtain the claim. ∎
(of Theorem 3.5) Our reference distribution is the uniform distribution and the set of distributions is the set of distributions for all possible assignments. Let be a set of distributions of size and . 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 -CSP above while preserving the complexity parameter (we remark that the reduction will always produce a non-boolean 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 over of complexity , and any , given a random sample distributed according to outputs a random sample distributed according to , where . Further, .
Given a random clause the algorithm outputs the tuple of variables together with a bit chosen according to the following rule. With probability : if then output 1, otherwise ; with probability output 1 and with probability .
Let us analyze the resulting distribution. First we note that the output distribution is uniform over . This follows from the fact that for every , . We now evaluate the expectation of the bit produced by our reduction as a function of (the values assigned by to variables in ). From the definition of , for every and ,
where we use to denote the element-wise product of two vectors. In particular, . This means that
This means that the reduction produces a random sample from for . Note that and hence this reduction satisfies .
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 over some output alphabet . For a planted assignment (their model allows a more general alphabet for each variable but suffices to subsume the models discussed in this paper) the planted distribution is defined as follows. A random sample from this distribution is a randomly and uniformly chosen ordered -tuple of variables together with value chosen randomly and independently according to . We first observe that for any , setting and having recovers exactly the generalized Goldreich’s planted -CSP for function .
To recover the planted satisfiability model for distribution , we let and then define . Here the output alphabet represents the negation signs of variables. A -tuple of variables with negation signs uniquely describes a clause such that and . Further, by Eqn. (4), we get that for defined as above is exactly . It is not hard to see that the techniques in this work can also be applied to characterize the SQ complexity of solving planted -CSPs in this more general model.
We prove the analogue of Theorem 3.5 for the planted -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 such that for some distribution over . Unfortunately, this is not sufficient to obtain a lower bound for all functions . Indeed, this does not give a lower bound for any Boolean . 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 -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 be a function on -bits. Let denote the set of all distributions , where and be the uniform distribution over . Let denote the decision problem in which given samples from an unknown input distribution the goal is to output if and 0 if . Our goal is to prove the following results.
For any function of complexity , there exist a constant (that depends on ) such that for any ,
As in the case of Theorem 3.5, it suffices to prove the following analogue of Lemma 5.7.
Let be any function of complexity , let be a set of distributions over clauses and . Then .
where . Note that defined in this way is a distribution since for all , and .
Distributions , and are uniform over -tuples of variables and therefore to prove eq. (5), it suffices to prove that for every ,
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 to obtain the equality of the second line to the third one.
Now all we need to bound is an upper bound on . First, note that by our assumption,
Using this bound on the norm and eq. (5) we can now bound as follows. Let .
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 be the set of distributions on which is successful (that is outputs ) and we denote these distributions by . We recall that, crucially, for to be considered successful it needs to be successful for any valid responses of VSTAT to ’s queries. We note that the success probability of is and therefore .
For every , let be the set of all distributions such that
for every , .
Combining these two implies that and therefore giving the desired lower bound.
By our assumption for , . If then
Otherwise (when ), . We also know that and therefore . 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 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 to denote .
Let be the input distribution over the domain , be integers. For any multi-valued function and any set of subsets of , queries to can be used to give a valid answer to query with set to .
For we define as if and otherwise. Let be the response of on query . For any ,
We now describe our lower bound for oracle.
In particular, any algorithm with success probability of at least requires at least samples from .
The proof of this result is based on the following simulation of using VSTAT.
Let be a search problem and let be a (possibly randomized) statistical algorithm that solves with probability at least using samples from . For any , there exists a statistical algorithm that uses at most queries to and solves with probability at least .
A special case of this theorem for 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 samples of using 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 be the input distribution over and let be any function. Then using samples from 1-STAT it is possible to output a random variable , such that
for every , .
is defined as follows. For every ask a sample for from 1-STAT and let be equal to the outcome with probability and with probability (independently). If the number of ’s that are equal to is different from 1 then . Otherwise let be the index such that . Ask a sample for from 1-STAT and let be the outcome with probability and 0 with probability . If let , otherwise . From the definition of , we obtain that for every ,
This implies that for every , . Also
where we used that for , . ∎
Given this lemma we can simulate by sampling until . It is easy to see that simulating samples from will require at most with probability at least for exponentially small in .
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 samples we apply Theorem 7.4 for to simulate the algorithm using VSTAT. The bound on ensures that the resulting algorithm uses less than queries to and has success probability of at least . 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.
calls to ;
at least calls to for .
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 -CSP by considering only the -tuples of variables that the predicate evaluates to on the planted assignment .
We present statistical algorithms to recover the partition of the variables into positive and negative literals. We will recover the partition, which gives up to a sign change.
The algorithm proceeds by constructing a biadjacency matrix of size with , . We set . For even , we have and thus is a square matrix. The rows of the matrix are indexed by ordered subsets of literals and columns by subsets of literals. For a formula , we construct a matrix as follows. For each -clause in , we put a in the entry of whose row is indexed by the set and column by the set .
Let denote the distribution on random matrices induced by drawing a random formula according to and forming the associated matrix as above.
For even, let be the vector with a entry in every coordinate indexed by subsets containing an even number of true literals under , and a entry for every odd subset. For odd, define the analogous vectors and , again with ’s for even subsets and for odd subsets.
The algorithm will apply a modified power iteration procedure with rounding to find or (up to a change of sign). From these vectors the partition into true and false literals can be determined by solving a system of linear equations.
For even , the discrete power iteration begins by sampling a random vector and multiplying by a sample of . We then randomly round each coordinate of to to get , and then repeat, drawing a fresh sample from 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 samples from , our original formula needs density . Obtaining (nearly) independent samples of from one sample of 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 , we begin with a random and a random sample , then form by deterministically rounding to a vector with entries or . Then we form by taking a fresh sample of and perform a randomized rounding of , and repeat. There is a final rounding step to find a vector that matches or .
In Section 8.4 we will prove that this algorithm can be implemented statistically in any of the following ways:
Using calls to ;
For even : using calls to ;
For odd : using calls to .
2 Algorithm Discrete-Power-Iterate (even k𝑘k).
Pick uniformly at random. For , repeat the following:
Draw a sample matrix .
Randomly round each coordinate of to to get as follows: let
Let and set by rounding each coordinate to its sign.
Output the solution by solving the system of parity equations defined by .
If for a sufficiently large constant , then with probability the above algorithm returns the planted assignment.
The main idea of the analysis is to keep track of the random process . It starts at with the initial randomly chosen vector , and then after an initial phase, doubles on every successive step whp until it reaches .
We will use the following Chernoff bound several times (see eg. Corollary A.1.14 in [AS11]).
Let and , where the ’s are independent Bernoulli random variables and the ’s are fixed constants. Then
If , then with probability ,
We assume WLOG that and in what follows. Let , , , and . For a given , let . We have for all .
Let . Note that the coordinates are independent and if ,
We can write a similar expression if , with the probabilities swapped. For we calculate,
For each ordered set of literals indexed by , there is a set indexed by that is identical except the first literal in is the negation of the first literal in . Note that , and so we can calculate:
which is simply times the dot product of and restricted to the coordinates . Summing over all we get
Now we round to a vector as above. Let be the number of ’s so that . Then, conditioning on and as above,
If , we have
If , we have
Note that the variance of is at most . From Chebyshev’s inequality, with probability , , which completes the proof of Proposition 8.3. ∎
We consider two phases. When , with probability at least , . This follows from Berry-Esseen bounds in the Central Limit Theorem: is the sum of independent random variables with different probabilities, and we know at least have a probability between and (comparing a typical with ). This shows the variance of is at least when is this small.
Now call a step ‘good’ if . Then in steps whp there is at least one run of at least good steps, and after any such run we have with certainty, completing the first phase.
Similarly, if , , and thus whp rounding to the sign of will give us exactly. The same holds in the negative case where we will get exactly.
3 Algorithm Discrete-Power-Iterate (odd k𝑘k)
Pick uniformly at random. For , repeat the following:
Draw a sample matrix .
Let ; round to a vector with entries or , according to the sign of the coordinates.
Draw another sample .
Let . Randomly round each coordinate of to as follows to get :
Set by rounding each coordinate to its sign.
Output the solution by solving the system of parity equations defined by .
Set . Then whp, the algorithm returns the planted assignment.
We will keep track of the inner products and as the algorithm iterates.
If , then with probability ,
Let and . Let . We will assume and for simplicity.
If with , then with probability ,
For as above we calculate,
for . Again we randomly round to a vector , and if is the number of of coordinates on which and agree,
If , we have
If , we have
which shows that for some constant . ∎
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 calls to the oracle and returns the planted assignment with probability . There is a randomized algorithm that makes calls to the oracle with and , and returns the planted assignment with probability .
We can run the above algorithm using the oracle. Given a vector , we compute , the next iteration, as follows: each corresponds to a different value of the query functions and defined as if the clause for and zero otherwise, and similarly if for and zero otherwise. For use in the implementation, we define the Boolean functions as iff . Let denote the corresponding oracle’s responses to the two queries, and . Now to compute , for each coordinate we sum over all samples and subtract . We use such iterations, and we use clauses per iteration (corresponding to ).
To use the MVSTAT oracle, we note that for each query function , we make calls to . We can replace each group of calls with a one call to . Let the response be a vector in , with subsets, namely singleton subsets for each coordinate as well as for the subsets with positive parity and with negative parity on the unknown assignment . For each coordinate , we set , the output of an independent random coin toss with bias . 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 .
For , versions of equations (10) and (11) (properly scaled) hold due to the oracle’s bound on and the bound on .
Now we do the same randomized rounding as above, and we see that
If , we have
If , we have
The variance of is at most , and with probability we start with . Then successive applications of Chebyshev’s inequality as above show that whp after at most steps, we have .
There is a randomized algorithm that makes calls to the oracle for , and returns the planted assignment with probability .
We run the algorithm using 1-MSTAT, alternately querying -valued functions and -valued functions, each with samples per iteration. Since there are iterations in all, this gives the claimed bound of calls to .
To implement using MVSTAT, we do as described in proof for the even case. Evaluation of an -valued query with samples via calls to is replaced by one call to and this response is used to generate a vector, each time with subsets corresponding to all singletons and the two subsets with different parities according to the planted assignment . 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 when 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 . ∎
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 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 . A special case of this problem is planted -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.