On the limitation of spectral methods: From the Gaussian hidden clique problem to rank one perturbations of Gaussian tensors
Andrea Montanari, Daniel Reichman, Ofer Zeitouni
Introduction
Consider the following detection problem. One is given a symmetric matrix of dimension , such that the entries are mutually independent random variables. Given (a realization of) one would like to distinguish between the hypothesis that all random variables have the same distribution to the hypothesis where there is a set so that all random variables in the submatrix have a distribution which is different from the distribution of all other elements in which are still distributed as .
The same problem was recently studied in and, for the of the asymmetric case (where no symmetry assumption is imposed on the independent entries of ), in . We refer to Section 6 for further discussion of the related literature. An intriguing outcome of these works is that, while the two hypothesis are statistically distinguishable as soon as (for a sufficiently large constant) , practical algorithms require significantly larger . This motivates the study of restricted classes of tests. In this paper we study the class of spectral (or eigenvalue-based) tests detecting the signal. Our proof technique naturally allow to consider two further generalizations of this problem that are of independent interests. We briefly summarize our results below.
The Gaussian hidden clique problem. This is a special case of the above hypothesis testing setting, whereby and (entries on the diagonal are defined slightly differently for simplifying calculations). Here and below denote the Gaussian distribution of mean and variance . Equivalently, let be a random matrix from the Gaussian Orthogonal Ensemble (GOE) i.e. independently for , and . Then, under hypothesis we have ( being the indicator vector on , and ), and under hypothesis , (the factor in the normalization is for technical convenience).
We then consider the following restricted hypothesis testing question. Let be the ordered eigenvalues of . Is there a test that depends only on and that distinguishes from ‘reliably,’ i.e. with error probability converging to as ? Notice that the eigenvalues distribution does not depend on as long as this is independent from the noise . We can therefore think of as fixed for this question.
If then implies that a simple test checking whether for some is reliable. We prove that this result is tight, in the sense that no spectral test is reliable for .
Again, this problem (and a closely related asymmetric version ) has been studied in the literature, and it follows from that a reliable test exists for . We provide a simple proof (based on the second moment method) that no test is reliable for .
Rank-one tensors in Gaussian noise. It turns our that the same proof applies to an even more general problem: detecting a rank-one signal in a noisy tensor. We carry out our analysis in this more general setting for two reasons. First, we think that this clarifies the what aspects of the model are important for our proof technique to apply. Second, the problem estimating tensors from noisy data has attracted significant interest recently within the machine learning community .
Main result for spectral detection
Let be a GOE matrix as defined in the previous section. Equivalently if is an (asymmetric) matrix with i.i.d. entries ,
For a deterministic sequence of vectors , , we consider the two hypotheses
A special example is provided by the Gaussian hidden clique problem in which case and for some set , ,
Observe that the distribution of eigenvalues of , under either alternative, is invariant to the choice of the vector (or subset ), as long as the norm of is kept fixed. Therefore, any successful spectral algorithm will distinguish between and but not give any information on the vector (or subset , in the case of ).
We let (respectively, ) denote the distribution of the eigenvalues of under (respectively or ).
A spectral statistical test for distinguishing between and (or simply a spectral test) is a measurable map . To formulate precisely what we mean by the word distinguish, we introduce the following notion.
Note that contiguity is not in general a symmetric relation.
In the context of the spectral statistical tests described above, the sequences in Definition 1 (with and ) can be put in correspondence with spectral statistical tests by taking . We will thus say that is spectrally contiguous with respect to if is contiguous with respect to .
Our main result on the Gaussian hidden clique problem is the following.
For any sequence satisfying , the hypotheses are spectrally contiguous with respect to .
Equivalently for any sequence of vectors , and any satisfying , the hypotheses are spectrally contiguous with respect to .
Finally Theorem 1 provides an example of two family of distributions and such that the total variation distance between and is whereas and are spectrally contiguous.
Contiguity is related to a notion of uniform absolute continuity of measures. Recall that a probability measure on a measure space is absolutely continuous with respect to another probability measure if for every measurable set , implies that , in which case there exists a -integrable, non-negative function (the Radon-Nikodym derivative of with respect to ), so that for every measurable set . We then have the following known useful fact, which will be the basis for proving contiguity, and whose proof is given for completeness.
2 Method and structure of the paper
Consider problem (2). We use the fact that the law of the eigenvalues under both and are invariant under conjugations by a orthogonal matrix. Once we conjugate matrices sampled under the hypothesis by an independent orthogonal matrix sampled according to the Haar distribution, we get a matrix distributed as
The structure of the paper is as follows. In the next section, we define formally the detection problem for a symmetric tensor of order . We show the existence of a threshold under which detection is not possible (Theorem 3), and show how Theorem 1 follows from this. Section 4 is devoted to the proof of Theorem 3, and concludes with some additional remarks and consequences of Theorem 3. Section 5 treats the case of asymmetric Gaussian tensors. Finally, Section 6 is devoted to a description of the relation between the Gaussian hidden clique problem and hidden clique problem in computer science, and related literature.
A symmetric tensor model and a reduction
Exploiting rotational invariance, we will reduce the spectral detection problem to a detection problem involving a standard detection problem between random matrices. Since the latter generalizes to a tensor setup, we first introduce a general Gaussian hypothesis testing for -tensors, which is of independent interest. We then explain how the spectral detection problem reduces to the special case of .
We define the Frobenius (Euclidean) norm of a tensor by , and its operator norm by
For a permutation , we will denote by the tensor with permuted indices . We call the tensor symmetric if, for any permutation , . It is proved that, for symmetric tensors, for symmetric tensors we have the equivalent representation
2 The symmetric tensor model and main result
Note that the subset of entries with unequal indices form an i.i.d. collection .
Assume . Then, for any , we have
The notation refers to the fact that this is the threshold for the second moment method to work.
3 Reduction of spectral detection to the symmetric tensor model, k=2𝑘2k=2, and proof of Theorem 1
Recall that in the setup of Theorem 1, is the law of the eigenvalues of under and is the law of the eigenvalues of under . Then is invariant by conjugation of orthogonal matrices. Therefore, the detection problem is not changed if we replace by
where is an orthogonal matrix sampled according to the Haar measure. A direct calculations yields
where is uniform on the dimensional sphere, , and is a GOE matrix (with off-diagonal entries of variance ). Furthermore, and are independent of one another.
Let be the -algebra generated by all rotation-invariant events, and let be the -algebra generated by the ordered eigenvalues. Then .
where is the Borel -algebra in . ∎
Remark: The first inequality in (19) (and hence the inequality in point of the statement) is actually an equality, but we will not use this fact.
In view of Lemma 4, Theorem 1 is an immediate consequence of Theorem 3.
Proof of Theorem 3
The proof uses the following large deviations lemma, which follows, for instance, from [13, Proposition 2.3].
where in the first step we used (13) and in the last step, we used rotational invariance.
Using Lemma 5, for any ,
It follows from the definition of that for any . Hence
for some and all large enough. Next notice that, under , where and is a with degrees of freedom independent of . Then, letting (a with degrees of freedom)
For , the argument is independent of and can be integrated immediately, yielding (after taking the limit )
(Indeed, the above calculation implies that the limit exists and is given by the right-hand side.)
The proof is completed by invoking Lemma 2. ∎
Threshold values. In the table below we report the numerical values of for a few values of . The exact value for the matrix case follows from .
Also, it is not difficult to derive the asymptotics for large .
(Here is the Gaussian distribution function.) The same phenomenon for rectangular matrices () is discussed in detail in .
Asymmetric tensor model
In particular, all entries are i.i.d. . With this normalization, we have of course
For , let , i.e.
Assume . Then, for any , we have
Here we introduced the notation Proceeding as in the proof of Eq. (22), we get
Invoking again Lemma 5, we obtain that for any open set
The key observation is that, for , we have , with the maximum being uniquely achieved at . Once this claim is proved, we can restrict the integral (39) to a neighborhood of and obtain by an argument completely analogous to the symmetric case
To prove the above claim, and hence complete the proof, note that: is a local maximum of ; ; if . It is therefore sufficient to prove that any other local maximum has . The stationarity condition of reads
since is strictly monotone increasing on , we deduce that . It is therefore sufficient to check for all . This is guaranteed by . ∎
Related work
Detection problems with similar flavor to the Gaussian hidden clique problem have been studied over the years in several fields including computer science, physics and statistics. Typically, in such problems there is “planted” object with special properties along with random noise which makes the detection of the planted object a nontrivial task. In the classical planted clique problem, the computational problem is to find the planted clique (of cardinality ) efficiently (e.g., in polynomial time) where we assume the location of the planted clique is hidden and is not part of the input. There are several algorithms that recover the planted clique in polynomial time when where is a constant independent of . In it is proven that a planted clique can be recovered in time , whenever . The work of demonstrates that it is possible to find a planted clique of size in time . Despite significant effort, no polynomial time algorithm for this problem is known when In the decision version of the planted clique problem, one seeks an efficient algorithm that distinguishes between a random graph distributed as or a random graph containing a planted clique of size (for ; the natural threshold for the problem is the size of the largest clique in a random sample of , which is asymptotic to ). No polynomial time algorithm is known for this decision problem if . There are several hardness results for computational problems in game theory (see also ) and statistics which are based on the alleged hardness of the the problem of distinguishing between a random graph distributed as to a random graph with a planted clique of size (with ).
As another example, consider the following setting introduced by (see also ): one is given a realization of a -dimensional Gaussian vector with i.i.d. entries. The goal is to distinguish between the following two hypotheses. Under the first hypothesis, all entries in are i.i.d. standard normals. Under the second hypothesis, one is given a family of subsets such that for every and there exists an such that, for any , is a Gaussian random variable with mean and unit variance whereas for every , is standard normal. (The second hypothesis does not specify the index , only its existence). The main question is how large must be such that one can reliably distinguish between these two hypotheses. In , one considers two situations. In the first, are vertices in a two dimensional grid of side length and the family is the set of all directed (i.e., with north or east steps only) paths of length , starting from the bottom-left corner. In the second situation treated in , the s correspond to the vertices of a binary tree, and again the family consists of loopless paths starting at the root. In , both the min-max and Bayesian (with uniform choice of in ) setups are considered. Other choices of are considered in : the family of all subsets of size , the set of all perfect matching in a given graph and other examples. These detection problems have practical applications-see for details.
The Gaussian hidden clique problem is related to various applications in statistics and computational biology . That detection is statistically possible when was established in (the authors consider the case where all diagonal elements are zero, but since the detection algorithm can simply ignore the diagonal elements, their results apply to our setting as well). Similar results for the asymmetric case were obtained by . In terms of polynomial time detection, show that detection is possible when for the symmetric cases. As noted, no polynomial time algorithm is known for the Gaussian hidden clique problem when . In it was hypothesized that the Gaussian hidden clique problem should be difficult when . More specifically [1, Pg. 16, second paragraph] comment that “it seems likely that designing an efficient test in the normal setting will prove as difficult as it proved for planted cliques”. Supporting evidence for this assertion was provided in , who proved that distinguishing between a planted model similar to the Gaussian planted clique model studied in our work and the random case (with entries being independent standard Gaussians) is at least as hard as distinguishing between a graph containing a planted clique and a graph distributed the random graph .
There is a large body of work in RMT that addresses the effect of low rank perturbations on various properties the spectrum and eigenvectors of Wigner matrices (e.g., ), mostly in studying the almost sure limits and limit distributions of extremal eigenvalues and eigenvectors.
Conclusion
In this work we considered detection problems for GOE matrices perturbed by a deterministic rank matrix, including the Gaussian hidden clique problem. We have established that spectral methods stop being effective when the norm of the perturbation drops below a threshold, which translates in the Gaussian hidden clique problem to the size of the planted submatrix being smaller than . In identifying this threshold we have also addressed detectability issues in rank-one perturbations of matrices and tensors which might be of independent interest.
There are several open problems that arise from the current work. First, in the context of the Gaussian hidden clique problem, it would be interesting to provide an efficient algorithm for finding a planted submatrix when or rule out certain algorithmic (non spectral) approaches for this problem. One direction is to study optimization methods such as semidefinite programming and various types of hierarchies (e.g., Lasserre, Sherali-Adams) in dealing with the hidden clique problem for .
A natural question is whether one can use the spectrum in order to distinguish between a graph distributed as and a random graph with a planted clique of size . Proving that one can or cannot distinguish between these cases using eigenvalues is a challenging open problem.
Finally, it might be interesting to study the limitations of spectral techniques for other problems such as coloring and satisfiability .
Acknowledgments
We thank Iain Johnstone for bringing to our attention.