Finding a Large Hidden Clique in a Random Graph*

Finding a Large Hidden Clique in a Random Graph*

<} }< Finding a Large Hidden Clique in a Random Graph* Noga Alon,² Michael Krivelevich,³ and Benny Sudakov Department of Mathematics, Raymond and Beverly Sackler Faculty of Exact Sciences, Tel Aviv University, Tel Aviv, Israel; e-mail: [email protected], [email protected], [email protected] Recei¨ed 8 October 1997; accepted 15 June 1998 ABSTRACT: We consider the following probabilistic model of a graph on n labeled vertices. First choose a random graph GnŽ.,1r2 , and then choose randomly a subset Q of vertices of size k and force it to be a clique by joining every pair of vertices of Q by an edge. The problem is to give a polynomial time algorithm for ®nding this hidden clique almost surely for various values of k. This question was posed independently, in various variants, by Jerrum and by Kucera.Ï In this paper we present an ef®cient algorithm for all k)cn0.5, for any ®xed c)0, thus improving the trivial case k)cn0.5Ž.log n 0.5. The algorithm is based on the spectral properties of the graph. Q 1998 John Wiley & Sons, Inc. Random Struct. Alg., 13, 457]466, 1998 1. INTRODUCTION A clique in a graph G is a set of vertices, any two of which are connected by an edge. Let wGŽ.denote the maximum number of vertices in a clique of G. The problem of determining or estimating wGŽ.and that of ®nding a clique of maximum size in G are fundamental problems in theoretical computer science. The problem of computing wGŽ.is well known to be NP-hard wx16 . The best known approximation algorithm for this quantity, designed by Boppana and Halldorsson *A preliminary version of this paper appeared in Proceedings of the Ninth Annual ACM-SIAM SODA, 1998, pp. 594]598. ²Research supported in part by a USA Israeli BSF grant, by a grant from the Israel Science Foundation, and by the Hermann Minkowski Minerva Center for Geometry at Tel Aviv University. ³Research supported in part by a Charles Clore Fellowship. Q 1998 John Wiley & Sons, Inc. CCC 1042-9832r98r030457-10 457 458 ALON, KRIVELEVICH, SUDAKOV 2 wx8,has a performance guarantee of OnŽŽrlog n.., where n is the number of vertices in the graph. When the graph contains a large clique, there are better algorithms, and the best one, given in wx3 , shows that if wGŽ.exceeds nrkqm, where k is a ®xed integer and m)0, then one can ®nd a clique of size 3 Žk 1. VÄ Ž.mr q in polynomial time, where here the notation gnŽ.sVÄ ŽfnŽ..means, as c usual, that gnŽ.GVŽfnŽ.rŽlog n..for some constant c independent of n. On the negative side, it is known, by the work of wx5 following wx9 and wx6 , that for some b)0 it is impossible to approximate wGŽ.in polynomial time for a graph on n vertices within a factor of nb, assuming P/NP. The exponent b has since been improved in various papers, and recently it has been shown by HastadÊ wx13 that it is in fact larger than Ž.1yd for every positive d, assuming NP does not have polynomial time randomized algorithms. Another negative result, proved in wx1 following wx20 , shows that it is impossible to approximate wGŽ.for an n vertex 7 graph within a factor of nrlog n by a polynomial size monotone circuit. These facts suggest that the problem of ®nding the largest clique in a general graph is intractable. It is thus natural to study this problem for appropriately randomly generated input graphs. This is of interest theoretically, and is motivated by the fact that in real applications the input graphs often have certain random properties. The study of the performance of algorithms on random input graphs gained popularity recently; see the survey of Frieze and McDiarmid wx10 and its many references. Let GnŽ.,1r2 denote the random graph on n labeled vertices obtained by choosing, randomly and independently, every pair ij of vertices to be an edge with probability 1r2. It is known that almost surely Žthat is, with a probability that approaches 1 as n tends to in®nity.Ž, the value of wG.is either ?rnŽ.@uor rnŽ.v,for a certain function rnŽ .sŽ2qoŽ1l.. og2 n,which can be written explicitly Žcf., e.g., wx4.Ž.Several simple polynomial time algorithms see, e.g., wx12 .®nd, almost surely, aclique of size ŽŽ1qo 1l..og2 nin GnŽ,1r2., that is, a clique roughly half the size of the largest one. However, there is no known polynomial time algorithm that ®nds, almost surely, a clique of size at least Ž.1qe log 2 n for any ®xed «)0. The problem of ®nding such an algorithm was suggested by Karp wx17 . His results, as well as more recent ones of Jerrum wx14 , implied that several natural algorithms do not achieve this goal, and it seems plausible to conjecture Žsee wx14 .that in fact there is no polynomial time algorithm that ®nds, with probability more than a half, say, a clique of size bigger than Ž.1qe log 2 n. This conjecture has certain interest- ing cryptographic consequences, as shown in wx15 . The situation may become better in a random model in which the biggest clique is larger. Following wx14 , let GnŽ.,1r2, k denote the probability space whose members are generated by choosing a random graph GnŽ.,1r2 and then by placing randomly a clique of size k in it. As observed by KuceraÏ wx18 , if k is bigger than cn' log n for an appropriate constant c, the vertices of the clique would almost surely be the ones with the largest degrees in G, and hence it is easy to ®nd them ef®ciently. Can we design an algorithm that ®nds the biggest clique almost surely if kis onŽ.'log n ? This problem was mentioned in wx18 . Here we solve it, by showing that for every e)0 there is a polynomial time algorithm that ®nds, almost surely, 12 the unique largest clique of size k in GnŽ.,1r2, k , provided kGe n r. Although this beats the trivial algorithm based on the degrees only by a logarithmic factor, FINDING A LARGE HIDDEN CLIQUE IN A RANDOM GRAPH 459 the technique applied here, which is based on the spectral properties of the graph and resembles the basic approach in wx3 , is interesting, and may be useful for tackling related problems as well. 2. THE MAIN RESULT In this section we describe our algorithm and analyze its performance on graphs generated according to the distribution GnŽ.,1r2, k . The results can easily be extended to similar models of random graphs. Since the trivial algorithm based on the degrees solves the clique problem almost surely for k)cn' log n , we assume, from now on, that ksOnŽ.'log n . We also assume, whenever this is needed, that n is suf®ciently large. To simplify the presentation, we omit all ¯oor and ceiling signs whenever these are not crucial. 2.1. The Basic Algorithm In this subsection we describe the basic algorithm dealing with a hidden clique of size at least 10'n . The algorithm is based on the spectral properties of the adjacency matrix of the graph. After the analysis of the algorithm in the next subsection we explain, in Subsection 2.3, how to modify the basic algorithm to reduce the constant 10 to any positive constant. Given a graph GsŽ.V, E , denote by A the adjacency matrix of G, that is, the n Ž. by n matrix au¨ u, ¨ g Vude®ned by a ¨s1if u¨gEand au¨s0 otherwise. It is well known that since A is symmetric, it has real eigenvalues l1 G ??? Gln and an orthonormal basis of eigenvectors ¨ 1,...,¨ni, such that A¨ sli¨i. The crucial point of the algorithm is that one can almost surely ®nd a big portion of the hidden clique from the second eigenvector of A. Since there are several ef®cient algo- rithms to compute the eigenvectors and eigenvalues of symmetric matrices Žsee, e.g., wx19 ., we can certainly calculate ¨ 2 in polynomial time. Our ®rst algorithm is very simple and consists of two stages. Algorithm A. Input: A graph GsŽ.V, E from the distribution GnŽ,1r2, k.with kG10'n . 1. Find the second eigenvector ¨ 2 of the adjacency matrix of G. 2. Sort the vertices of V by decreasing order of the absolute values of their coordinates in ¨ 2 Ž.where equalities are broken arbitrarily and let W be the ®rst k vertices in this order. Let Q;V be the set of all vertices of G that have at least 3kr4 neighbors in W. Output: The subset Q;V. This completes the description of the algorithm. 2.2. The Properties of the Second Eigenvector We claim that almost surely the above algorithm ®nds the Ž.unique clique of size k in G. To prove this fact we ®rst need to establish some results about the spectrum 460 ALON, KRIVELEVICH, SUDAKOV of G. For the analysis of the algorithm we assume that the set of vertices V is Ž1, ...,n4, and the hidden clique Q in G consists of the ®rst k vertices of V. Proposition 2.1. Let GsGnŽ.,1r2, k , where ksonŽ.; then almost surely the eigen¨alues l1 G ??? Gln of the adjacency matrix A of G satisfy () 1 il1GqŽŽ2 o1..n. ()ii li FŽŽ1qo 1..'n for all iG3. Proof. By the variational de®nition of the eigenvalues of A Žsee, e.g., wx23 , pp.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us