Detecting positive correlations in a multivariate sample
Ery Arias-Castro, Sébastien Bubeck, Gábor Lugosi
Introduction
We are interested in testing whether the population covariance matrix is the identity matrix, or not, so the null hypothesis is
This testing problem is well studied in the classical regime where the dimension is fixed and the sample size increases to infinity. See, for example, Muirhead , Section 8.4, where the generalized likelihood ratio test (GLRT) – against the alternative hypothesis for some – is studied in detail, as well as some unbiased variant. When the dimension is large (i.e., ), the GLRT may be degenerate. This is discussed in detail in Ledoit and Wolf , where other tests – including a new one – are examined for consistency in this high-dimensional regime. Their ideas are further explored in Srivastava , Fisher and Chen, Zhang and Zhong . All these tests are based on symmetric polynomials of the sample correlation coefficients. We discuss this in Section 3.1. These tests are shown to be consistent when under additional mild conditions.
While these papers focus on general consistency, our focus is on alternatives where the covariance matrix is sparse, meaning that even under the alternative hypothesis, only a few variables are substantially correlated. This sparse setting has been investigated in the last few years, with recent work on the estimation of sparse covariance matrices, see El Karoui , Bickel and Levina and Cai, Zhang and Zhou . To our knowledge, testing for sparse correlation structures in a multivariate sample has not been considered in detail before. This is what we study here.
We introduce sparse models of correlation matrices to test against. Though many more models are possible, we choose a few emblematic examples that are of interest in a much wider sense within the literature on sparse covariance estimation. In all cases, the null hypothesis is that the observed vector has identity covariance matrix. For the alternative hypothesis, we consider the following prototypical examples:
Block model. The covariance under the alternative hypothesis is the identity matrix except for a block on the diagonal. Formally, given , we assume here that there is a subset of indices of the form modulo – for aesthetic reasons – such that if . The set is called the anomalous set.
Clique model. This model is defined as the block model with the possible anomalous set ranging over all the subsets of indices of size .
Perfect matching model. Suppose is a perfect square with . Here the components of the observed vector correspond to edges of the complete bipartite graph on vertices. The alternative hypothesis is that the bipartite graph has a perfect matching such that for all where is the anomalous set of indices corresponding to the edges of the perfect matching.
The block model is closely related to the models used in Cai, Zhang and Zhou to obtain bounds on the minimax risk of estimating sparse matrices. Roughly speaking, Cai, Zhang and Zhou use the block model with and place nonzero entries in a (carefully designed) fashion within that block. The fraction of nonzero entries within the block is about one-half. We could also assume that only a fraction of the entries in the block are nonzero and it would only change constants later on. More importantly, to make the detection problem interesting, we need to consider all possible blocks. Note that the block model is parametric. The clique model is a natural generalization of the block model leading to a nonparametric model. The perfect matching model gives an example of a class of sets with a more intricate combinatorial structure which our approach is able to deal with.
2 Tests and their risks
and indeed all lower bounds derived in this paper start with this inequality. We will derive upper and lower bounds for the minimax risk,
The lower bounds will be obtained by putting a prior on model and obtaining a lower bound on the corresponding Bayesian risk which never exceeds the worst-case risk. In all cases, we draw the set uniformly at random within the class . The upper bounds are obtained by studying the performance of specific tests.
We focus on the case where the dimension and the sample size are both large. Of course, such asymptotic statements only make sense if we define sequences of integers , , positive reals , and classes . This dependency in will be left implicit. In this asymptotic setting, we say that reliable detection is possible (resp. impossible) if (resp. ) as . Also we say that a sequence of tests is asymptotically powerful (resp. powerless) if (resp. ).
3 A preview of results for the clique model
Among the models we consider, the clique model is perhaps the most compelling because of its relevance in applications and its complexity. Also, for a given value of , the clique model is the richest possible and therefore for any given , is larger than for any other model. This makes the clique model an important benchmark.
Here we summarize our main findings for this special class. We discover various types of behavior in distinct ranges of the parameters . Roughly speaking, and ignoring logarithmic factors, we arrive at the following conclusions. Two tests are competing for near-optimality. The first one is a “global” test akin to the classical test Muirhead , Section 8.4, and the refinements in Chen, Zhang and Zhong and Ledoit and Wolf . The second is a “local” test reminiscent to the generalized likelihood ratio test. The latter dominates the former when
is small, corresponding to smaller values of .
The “local” test that achieves near-optimal behavior in a large range of the parameters is a scan statistic that requires the computation of a maximum over all subsets of components of size . In its naive implementation, this test is computationally intractable, unless is very small. We also believe that computing this test is a fundamentally hard computational problem. We do not have a rigorous argument to prove such a hardness result but it is worth pointing out that the problem is quite similar, in spirit, to the notoriously difficult hidden clique problem, see Alon, Krivelevich and Sudakov .
What performance can we achieve with limited computational power? Such questions of trade-off between statistical performance and computational complexity are at the heart of high-dimensional statistics and machine learning. We probe this question and describe a family of tests that balances detection performance and computational complexity.
3.2 An application in the study of random geometric graphs
In Section 7, we apply the lower bound for the optimal risk in the clique model in a perhaps unexpected context and derive a new lower bound for the clique number of a high-dimensional random geometric graph. The setup is as follows.
4 More related work
As mentioned before, the literature on sparse covariance estimation has become quite extensive. In spite of this surge of interest in sparse high-dimensional models, not much has been done in terms of detection of correlations. We note the work of Verzelen and Villers , who consider the task of testing a given dependency structure. Our objective here is admittedly more modest and a more closely related is our own paper , which focuses entirely on the case where the sample size is equal to one (i.e., ). Our results here are seen to extend those in the one-sample case, with the regimes now partitioned according to the sample size.
Note that our work is different from Butucea and Ingster where the task is the detection of a submatrix with higher per-coordinate mean in a large matrix with i.i.d. Gaussian entries, which is more closely related to the literature on the detection of sparse nonzero entries in the mean of a random vector. Our work has parallels with that literature which, for the clique model, focuses on the “detection-of-means” problem (see Jin , Ingster , Baraud , Donoho and Jin , Hall and Jin , Arias-Castro, Candès, Helgason and Zeitouni , Addario-Berry, Broutin, Devroye and Lugosi ) defined as follows: Under the null hypothesis, the vectors are i.i.d. standard normal, while under the alternative hypothesis, there is a subset in some class of interest such that the are i.i.d. normal with mean and identity covariance, where for and for . Thus, is the minimum (per-coordinate) signal amplitude. Of course, one immediately reduces by sufficiency to the case by averaging over the sample. This explains why the literature focuses on the case . The connection between the detection-of-means problem with the correlation detection problem studied here was detailed (for ) in our previous paper , where was found to correspond to . The connection is based on the following simple representation of equi-correlated normal random variables.
Let be standard normal random variables with for . Then there are independent standard normal random variables such that for all .
Thus, given , the problem becomes that of detecting a subset of variables – here implicitly assumed to be indexed by – with nonzero mean (equal to ) and with a variance equal to (instead of ). This representation was used in to obtain a general lower bound that seemed otherwise out of reach of more standard methods based on the second moment of the likelihood ratio.
This connection with the detection-of-means problem also applies in the case where , but with a twist. Indeed, when detecting correlations one does not average the vectors but their covariances. So a simple reduction to the case does not apply. However, one may still apply the representation result Lemma 1 to each observation vector , yielding ’s and ’s that are independent standard normal random variables. By conditioning on , the problem becomes equivalent to detecting a subset of variables with means . What makes the situation more complex is that the signs of the ’s are random. Our approach to finding a general lower bound is based on this representation without which more standard methods seem to fail. The general lower bound, which is the key technical result of this paper, is given in Theorem 2 below.
5 Contribution and content of the paper
We obtain a general lower bound in Section 2 akin to, but not a straightforward extension of, the lower bound we obtained in . We then study a number of tests that are near optimal in the sense that they come close to achieving the detection lower bound for various models. This is done in Section 3. We then specialize these general results in Sections 4, 5 and 6, to the three models described in Section 1.1. We also discuss computational issues, particularly in the clique model. In Section 7, we apply our general lower bound to the problem of studying the size of the clique number of a random geometric graph on a high-dimensional sphere. We close the paper with a discussion in Section 8 of possible extensions and challenges.
Lower bounds
In this section, we derive a general lower bound for the minimax risk . As mentioned in Section 1.2, the first step is to restrict the supremum in the definition of to covariance matrices in which all the nonzero entries are equal to and then lower bound the maximum by an average. In particular, we have where and
Note that is just the Bayes risk for the uniform prior on the models . It is well known that the test that achieves the infimum (i.e., ) is the likelihood ratio test with critical value 1, and there is a whole machinery that can be used to bound that risk from below.
The following lower bound has a similar flavor as the main result in our previous work . In particular, we make appear some moment of , a random variable that represents the size of the overlap of two index sets taken at random from the class . A straightforward adaptation of the arguments we used in leads to a lower bound in terms of the moment generating function of . Here, unfortunately, this quantity is too large to obtain sharp results in most regimes. The key contribution of the following result is to replace the exponential function by the hyperbolic cosine. This allows us to derive much sharper results, essentially because around one has while .
For any class , any , and any ,
and where has chi-squared distribution with degrees of freedom, and with i.i.d. uniform from .
where, for any positive integer , , and are i.i.d. standard normal random variables.
Therefore, using the Cauchy–Schwarz inequality,
where are i.i.d. Rademacher vectors and are i.i.d. uniform in the class . We have
Let . We see that are independent of each other under the null hypothesis with
For the latter, we used the fact that , to get
where the last line comes from a simple change of variables. Hence,
Let . Since are i.i.d. Rademacher, we have
Holding fixed, we maximize this over using Lagrangian multipliers and checking the Karush–Kuhn–Tucker conditions, finding that at a local maximum all must be equal. Hence,
where the last equality comes from the fact that the function is decreasing on and increasing on , so that its maximum over is either at or . Straightforward calculations lead to
Since , the maximum of over is at when
Since we consider , the last inequality is true if and . This inequality is far off when is small, so we need to derive another bound. Noting that is seen to be strictly increasing on with range , is well defined and, as a function of , is infinitely differentiable and strictly increasing. Elementary calculations show that
When , the latter is true when and . Hence, given that by assumption, the maximum in (3) at .
where in the first line we used and in the second line the fact that for all . With this, we conclude. ∎
In Sections 4, 5, and 6, we specialize Theorem 2 to the different models we described in Section 1.1.
Tests
In this section, we introduce and briefly discuss two natural tests that will be seen to perform near optimally in various regimes of the parameters. This optimality property will be established in Sections 4, 5 and 6, by comparing simple performance bounds with the implications of Theorem 2.
The first test, that we call “squared-sum test”, is based on a global test statistic that does not take the class into account at all.
The second test, a “localized” squared-sum test, is based on a simple scan statistic. It may also be interpreted as a simplified version of the generalized likelihood ratio test.
As we will see, one of the two tests above always has a near-optimal performance in all three specific classes we discuss. Thus, the story is essentially complete for the point of view of detection performance. Unfortunately, when the class is large – as in the clique model –, the localized squared-sum test is computationally unfeasible, at least in its naive implementation. We discuss two possible substitutes. The first one is a simple “maximum correlation test” that turns out to be nearly optimal for very small values of . In Section 4.5, we discuss another test in the context of the clique model that is both near-optimal and computationally feasible when the sample size is at most logarithmic in the dimension . In Section 4.6, a conceptually different computationally efficient alternative is discussed.
All performance bounds derived below are in terms of the average correlation
Let denote the covariance matrix of the distribution of . When the alternative hypothesis is simply (where is the identity matrix), without any sign restriction on the entries of , one of the simplest tests is that of Nagao , which is based on the Frobenius norm of the difference between the sample covariance matrix and the identity matrix . Nagao’s test is based on the test statistic
We also refer to Schott , who (like us) assumes that the variables have unit variance under the alternative hypothesis. Ledoit and Wolf show that this test is not always consistent against fixed alternatives. They, and others including Srivastava , Fisher and Chen, Zhang and Zhong , suggest variants based on consistent estimates for the Frobenius norm .
Given that we know that the variances are equal to 1 and the correlations are non-negative under the alternative hypothesis, it is more natural to consider the test that rejects for large
values of , where . For simplicity, we consider instead the squared-sum test that rejects for large values of the test statistic
The two tests are thus closely related. In fact, one may easily check that they have similar asymptotic power properties. Our preference for the second test is only for convenience.
The following result gives a simple characterization of the performance of the squared-sum test. Since the test does not use information about the class , its minimax risk does not depend on the model either.
Using the assumptions on and , we have
and therefore the test with critical value is asymptotically powerful.
Suppose that . We still have that under while under . If is fixed, is asymptotically under the alternative hypothesis since in this case. If , is asymptotically standard normal under both the null and the alternative hypotheses, since under ,
2 A localized squared-sum test
When is smaller, global tests such as the squared-sum test are not very powerful. The generalized likelihood ratio test “scans” over all subsets in the class . Instead of studying the generalized likelihood ratio test, we consider a localized version of the squared-sum test that has similar power and is a little easier to analyze. The localized squared-sum test rejects the null hypothesis for large values of the test statistic
Other consequences of this proposition will be discussed in the next sections. {pf*}Proof of Proposition 2 Observe that under the null hypothesis for all . By a simple Chernoff bound for the chi-square distribution, for all ,
where for . Hence, by the union bound,
When , using the fact that when , we see that the right-hand side in (8) tends to zero when . When , using the fact that when , so the right-hand side in (8) tends to zero when .
The case when can be dealt with in the same way, yielding that, with a proper choice of threshold, the localized squared-sum test is asymptotically powerful when
3 Maximum correlation test
Finally, we mention the possibly simplest test that one would think of when confronted with testing in the sparse regime. This is the test that rejects for large values of the maximum pairwise empirical correlation
In fact, this test does have some power in the sparse regime, and is actually near-optimal when is fixed as the following result shows. However, one cannot expect a good performance of this test for large values of . An advantage of this test is that it may be computed efficiently in a straightforward manner.
The maximum correlation test that rejects when is asymptotically powerful when
From this, the result follows immediately.
Clique model
In this section, we discuss the implications of the general results of the previous sections for the clique model. We derive a lower bound based on Theorem 2 in various ranges of the parameters and compare it with the performance bounds for the squared-sum test and the scan statistics-based test considered in Section 3. We also propose a goodness-of-fit test for the case where , and consider two alternative tests that take computational considerations into account. A digest is provided at the end of the section.
In order to apply Theorem 2, note that in the clique model, has hypergeometric distribution with parameters , which is stochastically bounded by the binomial distribution with parameters , where . In particular, for all ,
where . Note that when and when .
Case 1: large . Suppose that is so large and is so small that
We first note that these conditions imply that . Let and choose such that . When , we use the fact that and when to get that for all sufficiently large ,
We now show that, if, in addition to (14), we have either or , then
This implies that reliable detection is impossible in this range of the parameters.
We choose such that . We use the bound and (13), to get
uniformly over . Hence, eventually,
We may assume that for otherwise , which we already covered. We choose such that – which implies in particular that . We use the bounds for , the fact that – since with – and the fact that , to get
Let and choose such that and . The latter is possible because (17) implies that . Then, as in Case 1(b),
and again, reliable detection is impossible by Theorem 2.
Hence, there is some fixed such that . Let and choose such that . We use the fact that , and use the same bound on the moment generating function of , to get (eventually)
implying that reliable detection is impossible.
This is the only situation where we bound
The discussion of these various regimes leads to the following.
In the clique model, under either (14) with (15) or (16), (17), (18), or (19), .
2 Localized squared-sum test
Next, we take a closer look at the performance of the localized squared-sum test for the clique model. In this case, we have so . Plugging this into (10), we see that the local squared-sum test is asymptotically powerful when
and the constant is large enough. Based on this and Corollary 3, we conclude that the test is near-optimal in regimes (17) and (18), though only up to a logarithmic factor if slower than any power of . It is also near-optimal up to a logarithmic factor in regime (14) when neither (15) nor (16) is satisfied.
However, we do not have such a guarantee in the regime (14) (with either (15) or (16)). In this range of parameters, it is the squared-sum test that yields an optimal performance up to a logarithmic factor. Also, comparing Proposition 1 and Proposition 2, we see that the local test dominates when tends to zero faster than .
We make some progress in this direction in two ways. In Section 4.5, we suggest a test that has good performance and that is efficiently computable if is only logarithmic in . In Section 4.6, inspired by recent work of Berthet and Rigollet , we consider a convex relaxation of the problem following d’Aspremont, El Ghaoui, Jordan and Lanckriet .
3 The case of ρ\rho constant
The situation changes dramatically when the sample size becomes at least logarithmic in the dimension . Indeed, even for , both the localized squared-sum test and the maximum correlation test have a vanishing risk for any constant value of when . This reveals an interesting “phase transition” occurring when the sample size is about logarithmic in the dimension.
4 The case of ρ\rho tending to 1
The regime in (19) does not have a match in either the squared-sum test or the localized squared-sum test. It is instead met by a goodness-of-fit test which is a variant of test proposed and analyzed in our previous work in the same regime with , although the construction here is slightly different.
Here we assume that so fast that
Let denote the last term tending to zero in (4.4), and choose such that .
The test we propose is based on the idea that the variables that are positively correlated are closer together than the other variables that are independent of each other. Take such that
Under the null hypothesis, where
A simple combination of Bernstein’s inequality and the union bound gives
Under the alternative hypothesis where is anomalous, we use the representation (2), to get
by Markov’s inequality. Hence, by another application of Markov’s inequality,
Finally, when , we have
5 Balancing detection ability and running time
Given the often enormous size of data sets that statisticians need to handle as an every-day practice, it is of great interest to design computationally efficient, yet near-optimal tests. In the case of the clique model, this is a highly non-trivial task, because the class has size exponential in and computing the localized squared-sum test (or other versions of the generalized likelihood ratio test and scan statistics) involves a non-trivial optimization problem over all elements of . In fact, often it seems that small testing risk and computational efficiency are contradicting terms. In this section, we show that in at least one non-trivial instance, it is possible to design a computationally efficient (i.e., computable in time quadratic in ) test that has near optimal risk.
This is the case when the sample size is (at most) logarithmic in and for some . (Recall from Section 4.3 that this is a quite interesting range of parameters.)
is asymptotically powerful in the clique model when
Under the alternative hypothesis where is anomalous, we have
where are the ordered values of
In the regime of (18) with , we see that the test is optimal up to a constant factor in when for some . In this range of parameters, it seems hopeless to compute (or even approximate) the local squared-sum test.
However, when is much larger than logarithmic in , this test also requires super-polynomial computational time and therefore it is not useful in practice. In such cases, one may have to resort to sub-optimal tests such as the maximum correlation test described in Section 3.3. It is an important and difficult challenge to find out the possibilities and limitations of powerful detection taking computational constraints into account.
6 A convex relaxation
In parallel to our work, Berthet and Rigollet study a related problem of detecting a sparse principal component. The setting there is the same, except for the alternative hypothesis, where the covariance matrix is of the form , with and a unit vector with at most non-zero components. They study a test based on , the largest -sparse eigenvalue of , defined as
where denotes the principal submatrix of indexed by and the largest eigenvalue of . This test is, in fact, intimately related to our localized squared-sum test, as we shall see in the analysis below. Berthet and Rigollet prove that this test – with a proper choice of critical value – is near-optimal. However, just like our localized squared-sum test, the test of Berthet and Rigollet is also computationally unfeasible due to the maximization over sets. For computational reasons, turn to the convex relaxation of d’Aspremont, El Ghaoui, Jordan and Lanckriet , for which they also establish a performance bound.
Berthet and Rigollet show that, when , with high probability under the null hypothesis,
for a universal constant . Under the alternative hypothesis where is anomalous, we have
which matches the performance of the localized squared-sum test (20) up to a multiplicative constant.
The semidefinite relaxation of d’Aspremont, El Ghaoui, Jordan and Lanckriet for is
for a universal constant , while under the alternative hypothesis,
Hence, the test based on the statistic is asymptotically powerful when
This rate matches (23) when , and is otherwise comparable to what the maximum correlation test achieves (11). Thus, the relaxed test of Berthet and Rigollet is computationally efficient and near-optimal when the sample size is of smaller order that . Note that this allows one to handle larger values of than for the test introduced in Section 4.5 where had to be at most a constant multiple of .
Interestingly, Berthet and Rigollet also show that their analysis of the relaxed test is optimal in the following sense. If one can improve the rate given in (24) for the relaxed test, then one obtains an algorithm that improves by an order of magnitude upon known results for the hidden clique problem, see Alon, Krivelevich and Sudakov . We refer to for a more precise statement.
7 Digest
In this section, we briefly summarize our findings for the case of the clique model in simplified regimes. We consider combinations of the following settings:
The sparse regime corresponds to for some . The non-sparse regime corresponds to .
The ultra-high dimensional setting corresponds to , while the (potentially) high dimensional setting corresponds to .
Our results can be summarized as follows:
In the sparse high dimensional setting, detection is impossible when
(see (17)). On the other hand when , the localized squared-sum test is asymptotically powerful. Furthermore in the extremely sparse case where is a constant, the same performance is achieved by the maximum correlation test.
In the sparse ultra-high dimensional setting, detection is impossible when (see (18)). This rate is matched by the localized squared-sum test, and by the computationally efficient test of Berthet and Rigollet based on (see Section 4.6). Furthermore, when the test of Section 4.5 can also be computed in polynomial time (in ) and is asymptotically powerful for . When , detection is impossible when (see (19)) and the goodness-of-fit test of Section 4.4 matches that bound up to a sub-logarithmic factor.
In the non-sparse regime, the squared sum test is asymptotically powerful for . This rate is optimal (see (14)) if either or is not too large (that is either (15) or (16) is satisfied). In case neither (15) nor (16) is satisfied, the localized squared-sum test is asymptotically powerful. Note that in the non-sparse case we can differentiate two regimes for the value of . If , then condition (16) is more demanding than the last part of condition (14), while for it is the other way around. As a referee kindly pointed out, in the former case one may further tighten the lower bound and recover missing logarithmic factors by a more careful bounding of the moment generating function of .
Block model
Next, we discuss the consequences of our main results for the block model which serves as a prototypical example of a “small” or “parametric” class. We focus on the case where is bounded away from 1. Specifically, we assume that , and define .
We distinguish between two main regimes and we show that in both cases.
Let and choose such that and . The latter is possible because (25) implies that . We use the bound for , to get
by our assumptions. Theorem 1 now implies that reliable detection is impossible in this range of the parameters.
Let and choose such that . We use the bound to get
In the block model, under either (25) or (26), .
In view of Corollary 4, the squared-sum test is near-optimal for the block model only when . However, the localized squared-sum test has a much better performance. We have , and plugging this into (10), we see that the localized squared-sum test is asymptotically powerful when
for a large enough constant . With Corollary 3, we conclude that the test is near-optimal except in the case where slower than any negative power of , where the test is optimal up to a logarithmic factor.
Perfect matching model
Here we work out the corollaries of our main results for the perfect matching model. This model illustrates how one may proceed when the model in question has a non-trivial combinatorial structure. In order to use Theorem 2, one needs to use the specific properties of the class. We focus on the case where is bounded away from 1. Specifically, we assume that , and define .
In the perfect matching model, is distributed as the number of fixed points in a random permutation over . It is well known that
We prove that in two main regimes with the help of Theorem 2. To simplify notation, we assume that is even and recall that in this model.
We choose such that . We use the bounds for and , and the fact that , to get, for sufficiently large,
Now let . Using (27), one obtains
because and as .
We choose such that . Using (27), one obtains
Now we take care separately of these last two terms. First, note that
For the other term, the situation is slightly more subtle. Let be a sum of independent Rademacher random variables. Using the binomial identity, it is easy to prove that
Now thanks to Hoeffding’s inequality, we obtain for any ,
Consider the class of perfect matchings on the complete bipartite graph. Under either of (28), or (29), .
It is easy to derive upper bounds for the performance of the localized squared-sum test in this model. All we need to observe is that and therefore when . Plugging this into (10), we see that the local squared-sum test is asymptotically powerful when
The clique number of random geometric graphs
In this section we describe a, perhaps unexpected, application of Theorem 2. We use this theorem to derive a lower bound for the clique number of random geometric graphs on high-dimensional spheres.
(i.e., the probability that an edge is present equals ). The clique number is the size of the largest clique of (i.e., the largest fully connected subset of vertices). In Devroye, György, Lugosi and Udina the behavior of the random variable is studied for fixed values of when is large and grows as a function of . The rate of growth of is shown to depend in a crucial way of how fast increases with . Specifically, the following results are established (and hold with probability converging to as ):
The above-mentioned results leave open the question of where exactly the “phase transition” occurs, and whether the upper bound in the regime is sharp. In this section we are able to answer both of these questions. Below we establish a general lower bound for the clique number which implies that, perhaps surprisingly, the phase transition occurs around and that the upper bounds above cannot be improved in an essential way. We show that the median of the clique number is bounded from below by where is a positive constant that depends on only. This implies, for example, that if for some , then grows as a positive power of . On the other hand, even when for any fixed , then is much larger than any power of . For the sake of simplicity, we only state the result for the case of . The argument is identical for other values of .
There exist universal constants such that for all such that , the median of the clique number satisfies
One may take , , , and . In particular,
The basic idea of the proof is to define a test that works well whenever the median clique number is small. But then the lower bound of Theorem 2 implies that the clique number cannot be small.
Under the null hypothesis (when ), the ’s are i.i.d. uniform on the sphere implying that and, consequently, . Devroye, György, Lugosi and Udina show that, under the alternative hypothesis, with probability at least , the graph contains a clique of size whenever
where we used Markov’s inequality in the last line.
Combining the bounds on the probabilities of type I and type II errors, we conclude that . Put it another way,
We conclude that, for any ,
Discussion
We close this paper by discussing some open problems and directions of further research.
Sharper bounds. The cornerstone of our analysis is the lower bound stated in Theorem 2. It is powerful enough that we can deduce useful bounds in many different models, which are seen to be optimal up to constant or logarithmic factors. While a considerable effort has been devoted in the related detection-of-means problem for finding the right constants, one wonders if it is possible to obtain results that fine here, at least in some regimes. One possible avenue is via the truncated second moment approach, which underlies the lower bounds in Ingster , Donoho and Jin , Hall and Jin , Butucea and Ingster . The computations are rather daunting in the setup of this paper and we decided not to take this route. Note that the second moment approach (without truncation) has limited applicability, though it is a little more useful here than it is in the case where .
Comparison with the detection-of-means setting. Our results reveal that the dependence on the sample size is different here. In the detection-of-means setting, one reduces by sufficiency to the case where by simply averaging the multiple observations and working with , where . Therefore, if initially when is anomalous, we now have . Therefore, we reduce the problem to where and is replaced by . From this, we know that reliable detection is possible if either
where is a large enough constant. In our previous work, we argued that, at least when is bounded away from 1, the parameter in the correlation-detection problem played a similar role as in the detection-of-means setting. The case when the sample size is, however, quite different both in the “dense” regime , and in the “intermediary” regime . We also note that this regime does seem to have an equivalent in the detection-of-means setting.
General correlations. More generally, the problem of detecting correlations of arbitrary sign – not just positive correlations like we do here – remains open. Even though one can design natural tests akin to our squared-sum and local squared-sum tests for that situation, the challenge is in deriving tight lower bounds. We mention that our approach to obtaining a lower bound in Section 2 does not apply here, since the representation (2) is not valid when the correlations may be negative.
Acknowledgements
We would like to thank the anonymous referees for helpful comments and suggestions. We also thank Quentin Berthet and Philippe Rigollet for shedding some light on their results at the Nonparametric and High-dimensional Statistics conference, held in December of 2012, in Luminy, France. EAC was partially supported by NSF grant DMS-11-20888 and ONR grant N00014-09-1-0258. GL was supported by the Spanish Ministry of Science and Technology grant MTM2012-37195.