Statistical Algorithms and a Lower Bound for Detecting Planted Clique
Vitaly Feldman, Elena Grigorescu, Lev Reyzin, Santosh Vempala, Ying Xiao
Introduction
We study the complexity of problems where the input consists of independent samples from an unknown distribution. Such problems are at the heart of machine learning and statistics (and their numerous applications) and also occur in many other contexts such as compressed sensing and cryptography. While several methods have been developed to estimate the sample complexity of such problems (e.g. VC dimension [Vapnik and Chervonenkis, 1971] and Rademacher complexity [Bartlett and Mendelson, 2002]), proving lower bounds on the computational complexity of these problems has been much more challenging. The traditional approach to proving lower bounds is via reductions and by finding distributions that can generate instances of some problem conjectured to be intractable (e.g., assuming ).
Here we present a different approach. We show that algorithms which access the unknown distribution only via a statistical query (SQ) oracle have high complexity, unconditionally. Most algorithmic approaches used in practice and in theory on a wide variety of problems can be implemented using only access to such an oracle; these include Expectation Maximization (EM) [Dempster et al., 1977], local search, MCMC optimization [Tanner and Wong, 1987, Gelfand and Smith, 1990], simulated annealing [Kirkpatrick et al., 1983, Černý, 1985], first and second order methods for linear/convex optimization, [Dunagan and Vempala, 2008, Belloni et al., 2009], -means, Principal Component Analysis (PCA), Independent Component Analysis (ICA), Naïve Bayes, Neural Networks and many others (see [Chu et al., 2006] and [Blum et al., 2005] for proofs and many other examples). In fact, we are aware of only one algorithm that provably does not have a statistical query counterpart: Gaussian elimination for solving linear equations over a field (e.g. ).
Informally, a statistical query oracle provides an estimate of the expected value of any given bounded real-valued function within some tolerance. Many popular algorithms rely only on the average value of various functions over random samples (commonly referred to as empirical averages). Standard Chernoff-Hoeffding bounds imply that the average value of a bounded function on the independent samples will be highly concentrated around the expectation on the unknown distribution (and, indeed in many cases the empirical average is used precisely to obtain an estimate of the expectation). As a result such algorithms can often be equivalently analyzed in our oracle-based model.
Our approach also allows proving lower bounds against algorithms that rely on a -bit sampling oracle, referred to as -bit sampling algorithms. This oracle provides the value of any Boolean function on a fresh random sample from the distribution. Many existing algorithms require only such limited access to random samples. Others can be implemented using such access to samples (possibly using a polynomially larger number of samples). For brevity, we refer to algorithms that rely on either of these types of oracles as statistical algorithms.
For example, many problems over distributions are solved using convex programs. Such a problem is typically formulated as finding an approximation to for some convex set and functions that are convex in the second parameter . A standard approach (both in theory and practice) to solve such a problem is to use a gradient descent-based technique. The gradient of the objective function is
and is usually estimated using the average value of on (some of) the given random samples. However, standard analysis of gradient descent-based algorithms implies that a sufficiently accurate estimate of each of the coordinates of would also suffice. Hence, for an objective function of the form above, gradient descent can be implemented using either of the above oracles (detailed analysis of such implementations can be found in a subsequent work [Feldman et al., 2015]).
The key motivation for our framework is the empirical observation that almost all algorithms that work on random samples are either already statistical in our sense or have natural statistical counterparts. Thus, lower bounds for statistical algorithms can be directly translated into lower bounds against a large number of existing approaches. We present the formal oracle-based definitions of statistical algorithms in Section 2.
Our model is based on the statistical query learning model [Kearns, 1998] defined as a restriction of Valiant’s PAC learning model. The primary goal of the restriction was to simplify the design of noise-tolerant learning algorithms. As was shown by Kearns and others in subsequent works, almost all classes of functions that can be learned efficiently can also be efficiently learned in the SQ model. A notable and so far unique exception is the algorithm for learning parities, based on Gaussian elimination. As was already shown by Kearns , parities require exponentially many queries to learn in the SQ model. Further, Blum et al. proved that the number of SQs required for weak learning (that is, for obtaining a non-negligible advantage over the random guessing) of a class of functions over a fixed distribution is characterized by a combinatorial parameter of and , referred to as SQ-DIM, the SQ dimension.
We consider SQ algorithms in the broader context of arbitrary computational problems over distributions. We also define an SQ oracle that strengthens the oracle introduced by Kearns . For any problem over distributions we define a parameter of the problem that lower bounds the complexity of solving the problem by any SQ algorithm in the same way that SQ-DIM lower bounds the complexity of learning in the SQ model. Our techniques for proving lower bounds are also based on methods developed for lower-bounding the complexity of SQ learning algorithms. However, as we will describe later, they depart from the known techniques in a number of significant ways that are necessary for our more general setting and our applications.
The -bit sampling oracle and its more general -bit version was introduced by Ben-David and Dichterman . They showed that it is equivalent (up to polynomial factors) to the SQ oracle. Using our stronger SQ oracle we sharpen this equivalence. This sharper relationship is crucial for obtaining meaningful lower bounds against -bit sampling algorithms in our applications.
We demonstrate our techniques by applying them to the problems of detecting planted bipartite cliques and planted bipartite dense subgraphs. We now define these problems precisely and give some background.
Detecting Planted Cliques. In the planted clique problem, we are given a graph whose edges are generated by starting with a random graph , then “planting,” i.e., adding edges to form a clique on randomly chosen vertices. Jerrum and Kucera introduced the planted clique problem as a potentially easier variant of the classical problem of finding the largest clique in a random graph [Karp, 1979]. A random graph contains a clique of size with high probability, and a simple greedy algorithm can find one of size . Finding cliques of size is a hard problem for any . Planting a larger clique should make it easier to find one. The problem of finding the smallest for which the planted clique can be detected in polynomial time has attracted significant attention. For , simply picking vertices of large degrees suffices [Kucera, 1995]. Cliques of size can be found using spectral methods [Alon et al., 1998, McSherry, 2001, Coja-Oghlan, 2010], via SDPs [Feige and Krauthgamer, 2000], combinatorial methods [Feige and Ron, 2010, Dekel et al., 2011], nuclear norm minimization [Ames and Vavasis, 2011] and belief propagation [Deshpande and Montanari, 2013].
While there is no known polynomial-time algorithm that can detect cliques of size below the threshold of , there is a quasipolynomial algorithm for any : enumerate subsets of size ; for each subset that forms a clique, take all common neighbors of the subset; one of these will be the planted clique. This is also the fastest known algorithm for any , where .
Some evidence of the hardness of the problem was shown by Jerrum who proved that a specific approach using a Markov chain cannot be efficient for . Additional evidence of hardness is given in [Feige and Krauthgamer, 2003], where it is shown that Lovász-Schrijver SDP relaxations, which include the SDP used in [Feige and Krauthgamer, 2000], cannot be used to efficiently find cliques of size . Most recently, lower bounds against a constant level of the more powerful Sum-of-Squares SDP hierarchy were shown by Meka et al. and Deshpande and Montanari . The problem has been used to generate cryptographic primitives [Juels and Peinado, 2000], and as a hardness assumption in a large number of works (e.g. [Alon et al., 2007, Hazan and Krauthgamer, 2011, Minder and Vilenchik, 2009, Berthet and Rigollet, 2013, Dughmi, 2014]).
We focus on the bipartite planted clique problem, where a -biclique is planted in a random bipartite graph. A densest-subgraph version of the bipartite planted clique problem has been used as a hard problem for cryptographic applications [Applebaum et al., 2010]. The bipartite version can be easily seen to be at least as hard as the original version. At the same time all known bounds and algorithms for the -clique problem can be easily adapted to the bipartite case (e.g. [Ames and Vavasis, 2011]). Therefore it is natural to expect that new upper bounds on the planted -clique problem would also yield new upper bounds for the bipartite case.
The starting point of our investigation for this problem is the property of the planted -biclique problem that it has an equivalent formulation as a problem over distributions defined as follows.
Fix an integer , , and a subset of indices . The input distribution on vectors is defined as follows: with probability , is uniform over ; and with probability , is such that its coordinates from are set to , and the remaining coordinates are uniform in . For an integer , the distributional planted -biclique problem with samples is the problem of finding the unknown subset using samples drawn randomly from .
One can view samples as adjacency vectors of the vertices of a bipartite graph as follows: the bipartite graph has vertices on the right (with marked as members of the clique) and vertices on the left. Each of the samples gives the adjacency vector of the corresponding vertex on the left. It is not hard to see that for , conditioned on the event of getting exactly samples with planted indices, we will get a random bipartite graph with a planted -biclique (we prove the equivalence formally in Appendix A).
As we will see presently, these approaches can be easily implemented in our framework and will have provably high complexity. For the distributional planted biclique problem, SQ algorithms need queries to detect planted bicliques of size for any . Even stronger exponential bounds apply for the more general problem of detecting planted dense subgraphs of the same size. These bounds match the known upper bounds. To describe these results precisely and discuss exactly what they mean for the complexity of these problems, we will need to define the models of statistical algorithms, the complexity measures we use, and our main tool for proving lower bounds, a notion of statistical dimension of a set of distributions. We do this in the next section. In Section 3 we prove our general lower bound results and in Section 5 we estimate the statistical dimension of detecting planted bicliques and dense subgraphs.
Definitions and Overview
Here we formally define statistical algorithms and the key notion of statistical dimension, and then describe the resulting lower bounds in detail.
We begin by formally defining the class of problems addressed by our framework.
For a domain , let be a set of distributions over , let be a set called solutions and be a map from a distribution to a subset of solutions that are defined to be valid solutions for . The distributional search problem over and using samples is to find a valid solution given access (to an oracle or samples from) an unknown .
In some settings it is natural to parameterize the set of valid solutions by additional parameters, such as accuracy. The extension of the definition to such settings is immediate. An example of a distributional search problem is the distributional planted -biclique we described in Definition 1.1. In this case the domain is , the set of input distributions is all the distributions with a planted -biclique and the set of solutions is the set of all subsets of size : . For each there is a single valid solution . For a second example, we point the reader to the distributional MAX-XOR-SAT problem in Section 4.
We note that this definition also captures decision problems by having . A simple example of a decision problem over distributions that is relevant to our discussion is that of distinguishing a planted biclique distribution from the uniform distribution over which we denote by . Here the set of input distributions is . The only valid solution for a planted biclique distribution is 1 and the only valid solution for is 0. For a solution , we denote by the set of distributions in for which is a valid solution.
It is important to note that the number of available random samples can have a major influence on the complexity of the problem. First, for most problems there is a minimum for which the problem is information-theoretically solvable. This value is often referred to as the sample complexity of the problem. But even for which is larger than the sample complexity of the problem, having more samples can make the problem easier computationally. For example, in the context of attribute-efficient learning, there is a problem that is intractable with few samples (under cryptographic assumptions) but is easy to solve with a larger (but still polynomial) number of samples [Servedio, 2000]. Our distributional planted biclique problem exhibits the same phenomenon.
2 Statistical Algorithms
The statistical query learning model of Kearns is a restriction of the PAC model [Valiant, 1984]. It introduces an oracle that allows a learning algorithm to obtain an estimate of the expectation of any bounded function of an example. A query to such an oracle is referred to as statistical query. Kearns showed that many known PAC learning algorithms can be expressed as algorithms using statistical queries instead of random examples themselves. The main goal of Kearns’ model was to give a simple way to design algorithms tolerant to random classification noise. Since the introduction of the model SQ algorithms have been given for many more learning tasks and the model itself found applications in a number of other contexts such as differential privacy [Blum et al., 2005, Kasiviswanathan et al., 2011], learning on massively parallel architectures [Chu et al., 2006] and evolvability [Feldman, 2008].
In the same spirit, for general search problems over a distribution, we define SQ algorithms as algorithms that do not see samples from the distribution but instead have access to a SQ oracle. The first SQ oracle we define is the natural generalization of the oracle defined by Kearns to samples from an arbitrary distribution.
Let be the input distribution over the domain . For a tolerance parameter , oracle is the oracle that for any query function , returns a value
The general algorithmic techniques mentioned earlier can all be expressed as algorithms using STAT oracle instead of samples themselves, in most cases in a straightforward way. We would also like to note that in the PAC learning model some of the algorithms, such as the Perceptron algorithm, did not initially appear to fall into the SQ framework but SQ analogues were later found for all known learning techniques except Gaussian elimination (for specific examples, see [Kearns, 1998] and [Blum et al., 1998]). We expect the situation to be similar even in the broader context of search problems over distributions.
The most natural realization of oracle is one that computes on random samples from and returns their average. Chernoff’s bound implies that the estimate is within the desired tolerance (with constant probability). However, if is very biased (e.g. equal to 0 with high probability), it can be estimated with fewer samples. Our primary application requires a tight bound on the number of samples necessary to solve a problem over distributions. Therefore we define a stronger version of STAT oracle which tightly captures the accuracy of an estimate of the expectation given by random samples. More formally, for a Boolean query function , can return any value for which the Binomial distribution (sum of independent Bernoulli variables with bias ) is statistically close (for some constant distance) to . See Sec. 3.3 for more details on this correspondence.
Let be the input distribution over the domain . For a sample size parameter , oracle is the oracle that for any query function , returns a value where and .
Note that always returns the value of the expectation within . Therefore it is no weaker than and no stronger than .
The STAT and VSTAT oracles we defined can return any value within the given tolerance and therefore can make adversarial choices. We also aim to prove lower bounds against algorithms that use a more benign, -bit sampling oracleIn the STOC 2013 extended abstract, this oracle is also called the unbiased statistical oracle. The -bit sampling oracle gives the algorithm the true value of a Boolean query function on a randomly chosen sample. This oracle is a special case of the -bit sampling oracle introduced by Ben-David and Dichterman who refer to it as the weak Restricted Focus of Attention (wRFA) model and is also equivalent to the Honest SQ oracle of Yang . Learning in this model has been studied in more recent work motivated by communication constraints on data processing in a distributed computing system. [Zhang et al., 2013, Steinhardt and Duchi, 2015, Steinhardt et al., 2016].
Let be the input distribution over the domain . The 1-STAT oracle is the oracle that given any function , takes an independent random sample from and returns .
Note that the 1-STAT oracle draws a fresh sample upon each time it is called. Without re-sampling each time, the answers of the 1-STAT oracle could be easily used to recover any sample bit-by-bit, making it equivalent to having access to random samples. Note that the 1-STAT oracle can be used to simulate VSTAT (with high probability) by taking the average of replies of 1-STAT for the same function . While it might seem that access to 1-STAT gives an algorithm more power than access to VSTAT we will show that samples from 1-STAT can be simulated using access to . This will allow us to translate our lower bounds on SQ algorithms with access to VSTAT to lower bounds against -bit sampling algorithms.
3 Statistical Dimension
The main tool in our analysis is an information-theoretic bound on the complexity of statistical algorithms. Our definitions originate from the statistical query (SQ) dimension [Blum et al., 1994] used to characterize SQ learning algorithms. Roughly speaking, the SQ dimension corresponds to the number of nearly uncorrelated labeling functions in a class (see Section 6.1 for the details of the definition and the relationship to our bounds).
We introduce a natural generalization and strengthening of this approach to search problems over arbitrary sets of distributions and prove lower bounds on the complexity of statistical algorithms based on the generalized notion. Our definition departs from SQ dimension in three aspects. (1) Our notion applies to any set of distributions; in the learning setting all known definitions of statistical dimension require fixing the distribution over the domain and only allow varying the labeling function. Such an extension was not known even in the context of PAC learning. (2) Instead of relying on a bound on pairwise correlations, our dimension relies on a bound on average correlations in a large set of distributions. This weaker condition allows us to derive tight bounds on the complexity of SQ algorithms for the planted -biclique problem. (3) We show that our notion of dimension also gives lower bounds for the stronger VSTAT oracle (without incurring a quadratic loss in the parameter).
We now define our dimension formally. For two functions and a distribution with probability density function , the inner product of and over is defined as
The norm of over is . We remark that, by convention, the integral from the inner product is taken only over the support of , i.e. for such that . Given a distribution over let denote the probability density function of relative to some fixed underlying measure over (for example uniform distribution for discrete or Lebesgue measure over ). Our bound is based on the inner products between functions of the following form: where and are distributions over . For this to be well-defined, we will only consider cases where implies , in which case is treated as 1. To see why such functions are relevant to our discussion, note that for every real-valued function over ,
This means that the inner product of any function with is equal to the difference of expectations of under the two distributions. Analyzing this quantity for an arbitrary set of functions was the high-level approach of statistical query lower bounds for learning. Here we depart from this approach, by defining a pairwise correlation of two distributions, independent of any specific query function. For two distributions and a reference distribution , their pairwise correlation is defined as:
When , the quantity is known as the distance and is widely used for hypothesis testing in statistics [Pearson, 1900].
A key notion for our statistical dimension is the average correlation of a set of distributions relative to a distribution . We denote it by and define as follows:
Bounds on pairwise correlations easily imply bounds on the average correlation (see Lemma 3.10 for a proof). In Section 3.2 we describe a pairwise-correlation version of our bounds. It is sufficient for some applications and generalizes the statistical query dimension from learning theory (see Section 6.1 for the details). However, to obtain our nearly tight lower bounds for planted biclique, we will need to bound the average pairwise correlation directly, and with significantly better bounds than what is possible from pairwise correlations alone.
We are now ready to define the concept of statistical dimension. We first define the statistical dimension with average correlation of a set of distributions relative to some reference distribution. It captures the complexity of distinguishing distributions in from .
Intuitively, the definition says that any fraction of the set of distributions has low pairwise correlation; the largest such is the statistical dimension.
For general search problems over distributions we define the statistical dimension by reducing it to the statistical dimension of some set of input distributions relative to some reference distribution.
The statistical dimension with average correlation of a search problem over distributions gives a lower bound on the complexity of any deterministic statistical algorithm for the problem that uses queries to .
At a high level, our proof works as follows. The first step of the proof is a reduction from a decision problem in which the algorithm only needs to distinguish all the distributions in the set (except those in for some ) from the reference distribution . To distinguish between distributions the algorithm needs to ask a query such that cannot be used as a response of for . In the key component of the proof we show that if a query function to distinguishes between a distribution and any distribution , then must have average correlation of at least relative to . The condition that for any , then immediately implies that at least queries are required to distinguish any distribution in from . We remark that an immediate corollary of this proof technique is that the decision problem in which the algorithm needs to decide whether the input distribution is in or is equal to the reference distribution also has statistical dimension at least . We elaborate on this in Theorem 3.7 where we give a simplified version of our lower bound for decision problems of this type.
4 Applications to the Planted Biclique Problem
We prove the following lower bound for the distributional planted biclique problem.
For any constant , any and , at least queries to are required to solve the distributional planted -biclique with probability at least . In particular, no polynomial-time statistical algorithm can solve the problem using queries to and any SQ algorithm requires queries to . This lower bound also applies to the problem of distinguishing any planted -biclique distribution from the uniform distribution over (no planting).
This bound is essentially tight. For every index in the planted set , the probability that the corresponding bit of a randomly chosen point is set to is , whereas for every index not in , this probability is . Therefore using queries to (i.e., of tolerance ) it is easy to recover . Indeed, this can be done by using the query functions , for each . So, the answers of the VSTAT oracle represent the expected value of the th bit over the sample.
There is also a SQ algorithm that uses queries to (corresponding to a significantly smaller number of samples) to find the planted set for any . In fact, the same algorithm can be used for the standard planted clique problem that achieves complexity . We enumerate over subsets of indices and query with the function defined as if and only if the point has ones in all coordinates in . Therefore, if the set is included in the planted set then
With this expectation, has tolerance at most and will return at least . If, on the other hand, at least one element of is not from the planted set, then and will return at most . Thus, we will know all -sized subsets of the planted set and hence the entire planted set. We remark that this algorithm demonstrates the difference between STAT and VSTAT oracles. Implementing this algorithm using the STAT oracle would require tolerance of which corresponds to samples. This is the same tolerance as the polynomial-time degree-based algorithm needs (estimate degree of each vertex), so one cannot hope to have a superpolynomial lower bound against .
To summarize, samples directly correspond to having access to . The discussion above shows that the distributional planted biclique problem can be solved in polynomial time when . At the same time, Theorem 2.9 implies that for , any SQ algorithm will require queries to .
We now turn to stating our bounds for -bit sampling algorithms.
For any constant and any , any -bit sampling algorithm that with probability at least can distinguish between the uniform distribution and any planted -biclique distribution requires queries to 1-STAT.
A closely related problem is the planted densest subgraph problem, where edges in the planted subset appear with higher probability than in the remaining graph. This is a variant of the densest -subgraph problem, which itself is a natural generalization of -clique that asks to recover the densest -vertex subgraph of a given -vertex graph [Feige, 2002, Khot, 2004, Bhaskara et al., 2010, 2012]. The conjectured hardness of its average case variant, the planted densest subgraph problem, has been used in public key encryption schemes [Applebaum et al., 2010] and in analyzing parameters specific to financial markets [Arora et al., 2010]. We define the following distributional version of this problem:
Fix . For , let be a set of vertex indices and be a distribution over such that when , with probability the entries of are independently -biased Bernoulli variables, and with probability the coordinates in are independently chosen -biased Bernoulli variables, and the rest are independently chosen -biased Bernoulli variables. The distributional -planted densest -subgraph problem is to find the unknown subset given access to samples from .
Our approach and lower bounds extend in a straightforward manner to this problem. In Section 5.2 we analyze this general setting and give lower bounds for all settings of and . Here we describe a special case of our lower bounds when and . Our lower bound becomes exponential as becomes (inverse-polynomially) close to . Specifically:
The upper and lower bounds we described for statistical algorithms match the state of the art for the average-case planted -biclique and planted -clique problems. Moreover, our lower bounds for the distributional versions of the planted -biclique problem have implications for the hardness of the average-case planted -biclique problem. An instance of the latter problem is a random bipartite graph with a biclique planted randomly. In Appendix A, we show that the average-case planted -biclique is equivalent to our distributional planted -biclique with samples. Specifically, a single sample corresponds to the adjacency list of a vertex on the left, and samples correspond to the adjacency matrix of the bipartite graph. By this equivalence, an algorithm that solves the average-case planted bipartite -clique problem will also solve the distributional planted -biclique with samples. Our lower bounds for the distributional problem therefore imply that the planted -biclique problem would require a non-statistical approach, i.e., one for which there is no statistical analogue.
5 Subsequent Work
In subsequent work, Feldman, Perkins and Vempala introduced a notion of statistical dimension that is based on the spectral norm of the correlation matrix of large sets of distributions. It is always at least as large as the average correlation-based dimension defined here and also leads to lower bounds on the complexity of SQ algorithms using VSTAT. Using this dimension they proved tight lower bounds on the complexity of statistical algorithms for planted -SAT and Goldreich’s pseudo-random generator. In addition, they described statistical algorithms based on power iteration with nearly matching upper bounds. Finally, they demonstrate that lower bounds against SQ algorithms can be used to derive concrete lower bounds for convex relaxations of the problem.
Feldman et al. have also extended the lower bounds against 1-STAT to lower bounds against the -bit version of 1-STAT at the expense of factor blow-up in the number of queries. Steinhardt, Valiant and Wager gave a more direct approach for proving lower bounds against this oracle that is closely related to the techniques here and in Feldman et al. . They have further showed that statistical queries can be used to simulate the oracle that that extracts bits from each sample in an interactive way (rather than at once).
Building on our approach, Feldman described new notions of statistical dimension and proved that they tightly characterize the SQ complexity of solving general search problems over distributions for both STAT and VSTAT oracle. He also simplified the analysis of by showing that it is equivalent (up to constant factors) to returning any value such that . Some additional recent applications of SQ lower bounds that are related to our work include learning of the Ising model [Bresler et al., 2014], convex optimization [Feldman et al., 2015] and distribution-independent PAC learning of lines over finite fields [Feldman, 2016].
The distributional planted -biclique problem introduced here is a simple and natural problem that shows a remarkable property: information-theoretically it can be solved with many fewer samples than is necessary for any known efficient algorithm (and no efficient statistical algorithm exists). In particular, any algorithm that solves our problem with less than samples will also solve the average-case -biclique problem (that is at least as hard as the usual planted -clique problem). In several more recent works, reductions from the planted clique problem were used to demonstrate a similar phenomenon in a number of important problems in statistics and machine learning [Berthet and Rigollet, 2013, Ma and Wu, 2013, Hajek et al., 2015, Gao et al., 2014, Wang et al., 2014, Cai et al., 2015].
Lower Bounds from Statistical Dimension
In this section we prove the general lower bounds. In later sections, we will compute the parameters in these bounds for specific problems of interest.
We start by proving Theorem 2.7 which is the basis of all our lower bounds. In fact, we will prove a stronger version of this theorem which also applies to randomized algorithms. For this version we need an additional parameter in the definition of SDA.
We prove our lower bound by exhibiting a distribution over inputs (which are distributions over ) for which every deterministic SQ algorithm that solves with probability (over the choice of input) requires at least calls to . The claim of the theorem will then follow by Yao’s minimax principle [Yao, 1977].
Using the notation of Definition 3.1, let be the reference distribution and be a set of distributions for which the value is achieved. Let be a deterministic SQ algorithm that uses queries to to solve with probability over the random and uniform choice of a distribution from . Consider the execution of in which to each query of , the oracle returns exactly and let denote the output. Let the set be the set of distributions on which is successful for all valid responses of . Let (recall that we defined ). We observe that and therefore
Let be the queries asked by when executed on with the exact responses of the oracle. Let and we denote the distributions in by . For every , let be the set of all distributions such that
where we use to denote and to denote To prove the desired bound we first prove the following two claims:
for every , .
Combining these two implies that or, equivalently, .
To prove the second claim, suppose that for some , . Let and assume that (when we just replace by in the analysis below). First we note that:
Let , (where the convention is that if ). We will next show upper and lower bounds on the following quantity
To evaluate the last term of this inequality we use the fact that . Next we use a simple fact (proved in Lemma 3.5 below) that implies that to obtain: For every ,
By substituting equation (4) into (3) we get that .
We remark that for algorithms using the STAT oracle, the proof can be simplified somewhat. For ,
and the proof could be obtained by directly combining equations (2) and (3) to get a contradiction. This also eliminates the factor of in the bound and the assumption that queries are -valued queries since it suffices that . This leads to an identical lower bound on the number of queries for in place of .
We now prove a bound on the distance between any and which is returned by on a query with expectation in terms of that we used in the proof of Lemma 3.3.
For an integer and any , let be such that . Then .
First note that our conditions and bounds do not change if we replace both and with and , respectively. Therefore it is sufficient to prove the bound when . We know that . If then certainly
Otherwise (when ), . We also know that and therefore . ∎
For decision problems, our dimension and lower bounds can be simplified. We denote by a decision problem in which the input distribution either equals or belongs to and the goal of the algorithm is to identify whether or . For example, for the distributional planted -biclique problem, the decision version is to determine whether the given input distribution corresponds to a planted -biclique or to one with no planting (uniform distribution on .
For the decision problem our notion of dimension simplifies to the following.
Our technique gives the following lower bound for decision problems:
has success probability and therefore, when executed on with exact responses to queries, it must correctly identify (say it outputs 0 in this case). We then define as the set of distributions on which is successful (that is outputs ). The probability of success of implies that . Now, the set is included in the set of distributions for which is not a valid solution. Therefore we can apply Lemma 3.3 with to obtain that the number of queries to is . ∎
2 Statistical Dimension Based on Pairwise Correlations
We say that a set of distributions over is -correlated relative to a distribution over if:
3 Lower Bounds for 111-bit Sampling Algorithms
Next we address lower bounds on algorithms that use the 1-STAT oracle. We recall that the 1-STAT oracle returns the value of a function on a single randomly chosen point. To estimate the expectation of a function, an algorithm can simply query this oracle multiple times with the same function and average the results.
We note that responses of 1-STAT do not have the room for the possibly adversarial deviation afforded by the tolerance of the STAT and VSTAT oracles. The ability to use these slight deviations in a coordinated way is used crucially in our lower bounds against VSTAT and in all known lower bounds for SQ learning algorithms. While it is possible to derive lower bounds against -bit sampling algorithms using queries from lower bounds against algorithms that use queries to [Ben-David and Dichterman, 1998], such lower bound will not suffice for our main application. It would only imply the trivial lower bound of queries to 1-STAT for the planted -biclique problem. Proving tighter lower bounds against -bit sampling algorithms directly is harder and indeed lower bounds for the equivalent Honest SQ learning model required a substantially more involved argument than lower bounds for the regular SQ model [Yang, 2005].
Our lower bounds for -bit sampling algorithms rely on a direct simulation of the 1-STAT oracle using the VSTAT oracle. This simulation allows us to derive lower bounds against -bit sampling algorithms from Theorem 3.2. We also provide a reverse simulation of VSTAT oracle using 1-STAT oracle.
Let be a search problem and let be a (possibly randomized) -bit sampling algorithm that solves with probability at least using samples from 1-STAT. For any , there exists a SQ algorithm that uses at most queries to and solves with probability at least .
Our proof relies on a simple simulation. Given query from to 1-STAT, we make the same query to for . Let be the response. We flip a coin with bias (that is one that outputs with probability and with probability ) and return it to the algorithm. We do the same for the remaining queries which we denote by . We then prove that the true samples of 1-STAT and our simulated coin flips are statistically close by upper bounding the expected ratio of their density functions (which is equal to the divergence plus 1) . This implies that the success probability of the simulated algorithm is not much worse than that of the -bit sampling algorithm.
In our proof we will, for simplicity and without loss of generality, assume that always outputs a value in the interval . We can always replace a value returned by by which is the closest value to in the above interval. It is easy to see that if is a valid answer of then so is .
We will need the following lemmas for our proof. The first one bounds the total variation distance between two distributions in terms of the expected ratio of probability density functions.
Let and be two distribution over a domain of finiteThis assumption is simply for convenience of notation. It holds in our applications. size such that is non-vanishing. Denote the total variation distance between and by . Then , where .
The key observation is that the -divergence between and is exactly the expected ratio minus 1.
The second lemma is that if is an answer of for a query , such that , then the expected ratio of density functions of Bernoulli random variables with biases and , denoted and , is small.
For an integer and let such that . Then
If , the ratio is and when , then it is . Thus, the expected ratio is
We can assume without loss of generality that .
Now if then . Otherwise (when, ), we know that . This implies that . This means that
This can only be true when , contradicting our assumption that . This implies that
By using this bound in the ratio equation we get that
We can now complete the proof of Theorem 3.13.
We simulate using as described above. We now prove that for any algorithm the total variation distance between the true answers of 1-STAT and the simulated distribution is at most . Formally, let denote the set of all outcomes of ’s random bits and for , let denote the execution of when its random bits are set to . let denote the distribution over the bits obtained by the algorithm when it is run with 1-STAT oracle. Similarly, let denote the distribution over obtained by running the algorithm simulated using as above. By definition, and similarly . This implies that,
The algorithm is deterministic and it is therefore sufficient to prove the bound on total variation distance for deterministic algorithms. For conciseness we assume henceforth that is deterministic.
For any let denote the probability distribution on the first samples of executed with 1-STAT. For let denote the first bits of . Let denote the probability that the first samples of executed with 1-STAT oracle are equal to conditioned on the probability that the first samples are equal to . We define and analogously. We also denote by the query that asks after getting as the response to first samples and let . Let denote the response of on .
For and any , and hence . Similarly, and . This implies that:
Now by Lemma 3.15, this implies that for any of length ,
By our definition, . Therefore, and hence . By Lemma 3.14, we get that . This implies that the success probability of using the simulated oracle is at least .
We now combine Theorems 3.7 and 3.13 to obtain the following lower bound for decision problems.
In particular, any algorithm with success probability of at least requires at least queries to 1-STAT.
Assuming the existence of a -bit sampling algorithm using less than queries, we apply Theorem 3.13 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 3.7 we obtain a contradiction. ∎
For general search problems this leads to the following lower bound.
In particular, if then any algorithm with success probability of at least requires at least queries to 1-STAT.
To conclude, we formally state a simple reduction in the other direction, namely that oracle can be simulated using the 1-STAT oracle. It has been observed that, given a Boolean query function one can obtain an estimate of using -bit samples which with probability at least will be within of [Ben-David and Dichterman, 1998]. Using the multiplicative Chernoff bound, it is not hard to see that samples are sufficient to estimate within tolerance guaranteed by . In addition, we will show how to use 1-STAT oracle to estimate the expectation of real-valued queries.
Let be any integers and . There exists an algorithm that for any input distribution and any algorithm that asks at most queries to VSTAT, with probability at least , provides valid for answers to all the queries of . uses queries to 1-STAT for the same input distribution .
For every query of , the algorithm estimates as follows. To generate a random Bernoulli variable with bias , draws randomly and uniformly and defines: if and otherwise. It then makes the query to 1-STAT. Observe that
The algorithm repeats this times (each time choosing a new random ) and then answers the query with the mean of the obtained samples (for to be defined later). We denote the mean by .
Assuming that , multiplicative Chernoff bounds imply that
The bound in the case of follows from the symmetric argument.
Choosing ensures that . This implies that arbitrary queries for can be answered correctly with probability at least using queries to 1-STAT. ∎
Warm-up: MAX-XOR-SAT
In this section, we demonstrate our techniques on a warm-up problem, MAX-XOR-SAT. For this problem, it is sufficient to use pairwise correlations, rather than average correlations.
For , the -approximate MAX-XOR-SAT problem is defined as follows. Given samples from some unknown distribution over XOR clauses on variables, find an assignment that maximizes up to additive error the probability a random clause drawn from is satisfied.
In the worst case, it is known that MAX-XOR-SAT is NP-hard to approximate to within for any constant [Håstad, 2001]. In practice, local search algorithms such as WalkSat [Selman et al., 1995] are commonly applied as heuristics for maximum satisfiability problems. We give strong evidence that the distributional version of MAX-XOR-SAT is hard for algorithms that locally seek to improve an assignment by flipping variables as to satisfy more clauses, giving some theoretical justification for the observations of [Selman et al., 1995]. Moreover, our proof even applies to the case when there exists an assignment that satisfies all the clauses generated by the target distribution.
The bound we obtain can be viewed as a restatement of the known lower bound for learning parities using statistical query algorithms (indeed, the problem of learning parities is a special case of our distributional MAX-XOR-SAT).
To formalize the search problem, we will denote by the set of XOR clauses in variables, such that for , if for we have then the th variable appears in , and otherwise it does not; for simplicity, no variables are negated in the clauses. Let denote the set of possible assignments to the variables. We will say that the assignment satisfies the clause if (where denotes the inner product modulo ).
Let be the set of distributions over clauses in . For a distribution and an assignment , let be the fraction of clauses that satisfies under . For let . The MAX-XOR-SAT problem asks to find that maximizes , given samples from an unknown distribution .
We are now ready to formalize the search problem that we are interested in, using the notation above and that of Definition 2.1.
(-approximate MAX-XOR-SAT) Let (the set of clauses), be the set of distributions over , (the set of assignments). Let be defined as
For any , any SQ algorithm requires at least queries to to solve -approximate MAX-XOR-SAT.
We will first determine the statistical dimension of our search problem. This will immediately imply Theorem 4.2 using Corollary 3.11 (by choosing ).
We verify the properties of Definition 3.9.
Let the reference distribution , the uniform distribution over . For , let be the uniform distribution over such that . Let , so .
Note that if then , and if , (indeed, since it is the size of two intersecting affine subspaces in ).
Therefore, for and , the set of solutions is
To conclude the proof we will show that for any assignment the set of distributions is -correlated (see Definition 3.8).
In other words, . A well-known (and easy to verify) property of -valued parity functions is that they are -correlated over the uniform distribution. That is, for
Planted Biclique and Densest Subgraph
We now prove the lower bound claimed in Theorem 2.9 on the problem of detecting a planted -biclique in the given distribution on vectors from as defined above.
Throughout this section we will use the following notation. For a subset , let be the distribution over with a planted set . Let denote the set of all subsets of of size and . We index the elements of in some arbitrary order as . For , we use to denote . We will also assume, whenever necessary, that and are larger than some fixed constant.
The reference distribution in our lower bounds will be the uniform distribution over and let denote . In order to apply our lower bounds based on statistical dimension with average correlation we now prove that for the planted biclique problem average correlations of large sets of distributions must be small. We start with a lemma that bounds the correlation of two planted biclique distributions relative to the reference distribution as a function of the overlap between the planted sets:
For the distribution , we consider the probability of generating the vector . Then,
Now we compute the vector :
which holds when We also note that . ∎
We now give a bound on the average correlation of any with a large number of distinct biclique distributions.
In this proof we first show that if the total number of sets in is large then most of sets in have a small overlap with . We then use the bound on the overlap of most sets to obtain a bound on the average correlation of with distributions for sets in .
Formally, we let and using Lemma 5.1 get the bound . Summing over ,
For any set of size this bound is maximized when the sets of include , then all sets that intersect in indices, then all sets that intersect in indices and so on until the size bound is exhausted. We can therefore assume without loss of generality that is defined in precisely this way.
Let denote the subset of all -subsets that intersect with in exactly indices. Let be the smallest for which is non-empty. We first observe that for any ,
By applying this equation inductively we obtain,
where the last inequality holds since whenever . For larger than some fixed constant
To derive the second to last inequality we need to note that for every , whenever . We can therefore telescope the sum. ∎
We can now bound the statistical dimension (with average correlation) of the planted -biclique problem.
For every solution , and let . Note that and therefore . This means that we can use as the solution set bound.
The second claim holds by exactly the same argument since implies . ∎
For any constant , any and , let be the uniform distribution over and be the set of all planted -biclique distributions. For some , any randomized SQ algorithm that solves the decision problem with probability requires queries to .
Theorem 3.13 used with implies that an algorithm that uses queries to 1-STAT and has success probability gives an algorithm that uses queries to and has success probability . For some , Theorem 5.4 applied with implies that such algorithm cannot exist. This implies the lower bound for -bit sampling algorithms stated in Theorem 2.10.
2 Generalized Planted Densest Subgraph
We will now show lower bounds on detecting a -planted densest subgraph, a generalization of the distributional planted biclique problem we defined in Definition 2.11. Note that is precisely the distributional planted -biclique problem. For this generalized problem, we will take , the reference distribution, to be that of independent Bernoulli variables with bias .
First, we give a computation of the correlation. This is a generalized version of Lemma 5.1.
Fix and let . For ,
For any , we have . For :
Now, for where , we want to compute:
There are three types of terms in the product in the summand. We deal with all these terms by repeated applications of the Binomial theorem. The first term illustrates this approach:
The third type of term is more complicated – using the above trick, we can restrict to because the sum taken over the remaining yields 1.
Similarly, we can sum over coordinates in and . Hence, the sum simplifies:
Combining these three calculations yields:
Next, in analogy with Lemma 5.2, we give a bound on average correlation for sufficiently many distributions.
We now bound the average correlation with as follows:
it suffices to show that it is geometrically decreasing as:
We first note that and therefore for ,
From equation (5) in the proof of Lemma 5.2 and our assumption on we obtain the necessary property:
provided that .
Similarly, by Theorem 3.7, the same lower bound applies to the decision version of the problem.
Finally, we give an example of a corollary for the 1-STAT oracle.
For constants , density , and , Let be the uniform distribution over and be the set of all -planted densest -subgraph distributions. Any (randomized) -bit sampling algorithm that solves the decision problem with probability at least , requires queries to 1-STAT.
Applications to Statistical Query Learning
We will now use Corollary 3.12 to demonstrate that our results generalize the notion of statistical query dimension in learning theory and the statistical query lower bounds based on SQ-DIM. We then show that our lower bounds imply stronger and more general lower bounds in the context of learning.
We start with a few relevant definitions. In an instance of a PAC learning problem, the learner has access to random examples of an unknown boolean function from a set of Boolean functions . A random example is a pair including a point and its label such that is drawn randomly from a distribution , which might or might not be known to the learning algorithm (whenever necessary, we use ′ to distinguish variables from the identically named ones in the context of general search problems). Specifically, for a target function and distribution over we denote by over , where and .
For , the goal of an -accurate learning algorithm is to find, with high probability, a Boolean hypothesis for which . A statistical query learning algorithm [Kearns, 1998] has access to the STAT oracle for the input distribution in place of random examples.
Blum et al. defined the statistical query dimension or SQ-DIM of a set of functions and distribution over as follows (we present a simplification and strengthening due to Yang ).
For a concept class and distribution , if is the largest value for which there exist functions such that for every , .
The direct implication of this is that if then there exist distributions over examples that are -correlated relative to . In particular, the decision problem of distinguishing example distributions from has large statistical dimension with pairwise correlations. We state this formally:
Blum et al. proved that if a class of functions is learnable using only a polynomial number of statistical queries of inverse polynomial tolerance then its statistical query dimension is polynomial. Yang strengthened their result and proved the following bound (see [Szörényi, 2009] for a simpler proof).
Let be a class of functions and be a distribution over and let . Any SQ algorithm that learns over with error requires at least queries to .
In this result, the distribution is fixed and known to the learner (such learning is referred to as distribution-specific) and it can be used to lower bound the complexity of learning even in a weak sense. Specifically, when the learning algorithm is only required to output a hypothesis such that for some inverse polynomial . It is well-known that weak learning of functions from implies ability to distinguish examples of any function in from points labeled randomly. This implies that we can apply our lower bound for decision problems to obtain a lower bound for weak learning that is essentially the same as the result of Yang .
Let be a class of functions and be a distribution over and let . Any SQ algorithm that learns over with error requires at least queries to .
Therefore in this case the answer to the query will be and the algorithm will output 1.
This corollary implies that lower bounds based on SQ-DIM are a special case of our lower bounds. One can also similarly show that the lower bounds based on the statistical query dimension of Feldman that characterizes learning to high accuracy are also a special case of our lower bounds.
2 Lower Bounds for 111-bit Sampling Oracle
Let be a class of functions, be a distribution over , and . Then any -bit sampling algorithm that, with probability at least , -accurately learns over requires queries to 1-STAT.
This lower bound is similar to the result of Yang who shows a bound of using a stronger upper bound on correlations (and a substantially more involved proof). Note that the inverse of the maximum pairwise correlation is usually much lower than the number of functions. Therefore our result will give a stronger lower bound in most cases.
3 New Lower Bound for Learning
We now briefly describe a version of our lower bound for weak distribution-specific learning. It is stronger than known SQ-DIM-based bounds in several ways. First, it explicitly decouples the tolerance (or number of samples) from the number of queries. This is particularly relevant for attribute-efficient learning that is learning when the dimension is high but the target function depends on few variables (see [Feldman, 2014] for more details on SQ learning in this setting). Second, it captures sample complexity in a tighter way by going to average correlations and proving lower bounds against VSTAT. Lower bounds against VSTAT also imply tighter lower bounds for 1-STAT and, via the reductions in [Feldman et al., 2013], against stronger oracles.
We now give versions of our main definitions specialized to the case of distribution-specific PAC learning. Although the target distribution is fixed, by varying the concept by which examples are labeled, we effectively generate a large set of different distributions as before. The average correlation can be defined directly for a set of functions relative to a distribution :
Using Theorem 3.7 and the reduction in Corollary 6.5 imply Theorem 2.8.
Acknowledgments
We thank Benny Applebaum, Avrim Blum, Uri Feige, Ravi Kannan, Michael Kearns, Robi Krauthgamer, Moni Naor, Jan Vondrak, and Avi Wigderson for insightful comments and helpful discussions.
References
Appendix A Average-case vs Distributional Planted Bipartite Clique
In this section we show the equivalence between the average-case planted biclique problem (where a single graph is chosen randomly) and the distributional biclique problem (where a bipartite graph is obtained from independent samples over ). The primary issue is that in the distributional biclique problem the biclique does not necessarily have the same size on the left side of vertices as it does on the right side. We show that this is easy to fix by producing planted bicliques of smaller size on one of the sides. We do this by replacing vertices of the graph with randomly connected ones. We now describe the reductions more formally.
[Average-case planted biclique ] Given integers , consider the following distribution on bipartite graphs on vertices. Pick two random sets of and vertices each from left and right side, respectively, say and . Plant a bipartite clique on and add an edge between all other pairs of vertices with probability . The problem is to recover and given a random graph sampled from .
We will refer to the distributional biclique problem with samples as . Recall that in this problem we are given random and independent samples from distribution over for some unknown of size (see Definition 1.1). The goal is to recover .
Suppose that there is an algorithm that solves in time and outputs the correct answer with probability . Then there exists an algorithm that solves in time and outputs the correct answer with probability .
We will think of the distribution on graphs as a distribution on their respective adjacency matrices from . Let be the algorithm that solves an instance of . Given and , and access to samples from for some set of size , we will design an algorithm that finds by making calls to the algorithm that solves an instance of .
Let be the binary matrix whose rows are the samples from . First apply a random permutation to the columns of to obtain (this will ensure that the planted set is uniformly distributed among the coordinates, which is necessary in order to obtain instances distributed according to ).
In what follows we will denote by a biclique with vertices on the left and vertices on the right. Note that has a planted biclique for some that is distributed according to the binomial distribution . We denote the vertices on the left side of this biclique by . By a multiplicative Chernoff bound, . From now on we will condition on this event occurring.
We first suppose that . We aim at obtaining instances of but recall that the left side of the planted bliclique has size . To reduce the size of the left side of the planted biclique to we will be replacing the vertices on the left side by randomly connected ones, one-by-one in a random order. That is, start with . To obtain , we choose a random and uniform row of that was not previously picked and replace it with a random and uniform vector. This gives a sequence of random matrices: . Clearly, has a planted biclique of size and does not have a planted biclique (or, equivalently, has a biclique). A single step reduces the size of the left side of the biclique by at most 1. Therefore for some , has a biclique. We denote the left side of this biclique by . It is also easy to see that for every step , conditioned on containing out of vertices in , is distributed exactly according to . We now condition on the event that for all , does not contain a biclique such that its right side is different from . It is not hard to see that this event happens with probability at least .
To recover , we run on all the matrices . Let be the biclique that outputs on . We verify that is a biclique in . If so we output . Note that when executed on , with probability this procedure will return . In this case we will return exactly . Further, by our conditioning, if the output of is a biclique then its right side must be .
We can now assume that . We aim at obtaining instances of . To achieve this we reduce the size of the right side of the planted biclique to in the same way as we reduced the size of the left side above: we will be replacing the vertices on the right side by randomly connected ones, one-by-one in a random order. As before we start with . To obtain , we choose a random and uniform column of that was not previously picked and replace it with a random and uniform vector. This gives a sequence of random matrices: . We know that for some , has a biclique. We denote the right side of this biclique by . We now condition on the event that for all , does not contain a biclique such that its left side is different from . It is not hard to see that this event happens with probability at least .
Assume for now that we know . To recover , we run on all the matrices . Let be the biclique that outputs on . We verify that is a biclique in . If so we let be the set of all vertices on the right side connected to each vertex in (in the original graph after the permutation). If , we output . Note that when executed on , with probability , this procedure will return . Further, by our conditioning if the output of is a biclique then its left side must be . All vertices in are connected to . The probability that any other vertex on the right side of is connected to all vertices in is at most . Hence, conditioned on this event not occurring, we will recover exactly .
To address the fact that is not known, for each value of , we run the algorithm under the assumption that and stop once the algorithm has found a biclique. If then, by our conditioning on none of containing a biclique such that its left side is different from there cannot exist a biclique in the graph. Therefore the algorithm will not output anything until at which point our analysis above applies.
To analyze the success probability and running time we can assume for simplicity that it is harder to find smaller planted bicliques than larger ones, and so for , and . Therefore the running time of our algorithm is , and its success probability is . ∎
We now prove the converse of Theorem A.2.
Suppose that there is an algorithm that solves that runs in time and outputs the correct answer with probability . Then there exists an algorithm that solves in time and outputs the planted biclique with probability .
Let denote the algorithm for solving , which, for any of size , takes samples chosen according to and outputs the planted set with probability . We will construct an algorithm for that takes as input an adjacency matrix chosen randomly according to , (as in Definition A.1) and outputs a biclique of size . Note that, with probability , the set is the unique biclique in and we will condition on this event.
Let be the adjacency matrix of the given instance of . For each column of (corresponding to a vertex on the right side), with probability we replace it with a random and uniform vector from and let denote the obtained adjacency matrix. We denote by the subset of containing vertices that were not replaced by randomly connected vertices. Let . With probability at least , and we will condition on this event.
To address the fact that is not known, for each value of , we run the algorithm under the assumption that and stop once the algorithm has found a biclique. The algorithm can only output the true planted biclique and therefore this will not reduce the success probability.
As before, to analyze the success probability and running time we assume for simplicity that it is harder to find smaller planted sets than larger ones, and so for , and . Therefore the running time of our algorithm is , and its success probability is . ∎