Fast Solving Maximum Weight Clique Problem in Massive Graphs

Fast Solving Maximum Weight Clique Problem in Massive Graphs

Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence (IJCAI-16) Fast Solving Maximum Weight Clique Problem in Massive Graphs 1 2 Shaowei Cai ⇤ and Jinkun Lin 1State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China 2Key Laboratory of High Confidence Software Technologies, Peking University, Beijing, China [email protected]; [email protected] Abstract of NP [Fellows and Downey, 1998]. Moreover, MCP (and 1 ✏ thus MWCP) is not approximable within n − for any ✏>0 This paper explores techniques for fast solving the unless NP=P [Zuckerman, 2007]. Nevertheless, these nega- maximum weight clique problem (MWCP) in very tive theoretical results have been established for “worst case”, large scale real-world graphs. Because of the size which does not often happen in practice. We still have hope of such graphs and the intractability of MWCP, of solving MWCP problems which arise in specific problem previously developed algorithms may not be appli- domains. cable. Although recent heuristic algorithms make progress in solving MWCP in massive graphs, they 1.1 Related Work still need considerable time to get a good solu- tion. In this work, we propose a new method for Given their theoretical importance and practical relevance, MWCP which interleaves between clique construc- considerable effort has been devoted to the development of tion and graph reduction. We also propose three various methods for MCP and MWCP, mainly including ex- novel ideas to make it efficient, and develop an al- act algorithms and heuristic algorithms. Exact algorithms can gorithm called FastWClq. Experiments on massive prove the optimality of their solutions, but they may fail to graphs from various applications show that, Fast- solve large graphs within reasonable time. On the other hand, WClq finds better solutions than state of the art al- various heuristic algorithms have been devised with the pur- gorithms while the run time is much less. Further, pose of providing sub-optimal solutions within an acceptable FastWClq proves the optimal solution for about time. half of the graphs in an averaged time less than one Almost all existing exact algorithms for MCP are branch- second. and-bound (BnB) algorithms, and they differ from each other mainly by their techniques to determine the upper bounds and their branching strategies. A large family of BnB algorithms 1 Introduction use coloring to compute upper bounds [Tomita and Seki, The proliferation of massive data sets brings with it a se- 2003; Tomita and Kameda, 2007; Konc and Janezic, 2007; ] ries of special computational challenges. Many data sets Tomita et al., 2010; Segundo et al., 2013 . Another paradigm can be modeled as graphs, and the research of massive real- encodes MCP into MaxSAT and then applies MaxSAT rea- [ world graphs grew enormously in last decade. A clique of soning to improve the upper bound Li and Quan, 2010; ] a graph is a subset of the vertices that are all pairwise ad- Li et al., 2013 . There are also numerous works on heuris- jacent. Clique is an important graph-theoretic concept, and tic algorithms for MCP, most of which are local search al- [ is often used to represent dense clusters. The maximum gorithms Singh and Gupta, 2006b; Pullan and Hoos, 2006; clique problem (MCP) is a long-standing problem in graph Pullan, 2006; Guturu and Dantu, 2008; Benlic and Hao, ] theory, for which the task is to find a clique with the max- 2013 . imum number of vertices in the given graph. An important MWCP is more complicated than MCP and some powerful generalization of MCP is the maximum weight clique prob- techniques for MCP are not applicable or ineffective for solv- lem (MWCP), in which each vertex is associated with a pos- ing MWCP due to the vertex weights. This partly explains itive integer, and the goal is to find a clique with the largest the fact that there are relatively fewer algorithms for MWCP. weight. MWCP has valuable applications in many fields [Bal- Some exact algorithms for MWCP come from and generalize ¨ lard and Brown, 1982; Balasundaram and Butenko, 2006; previous BnB methods designed for MCP [Ostergard,˚ 1999; Gomez Ravetti and Moscato, 2008]. Kumlander, 2004]. The MaxSAT-based method is also gen- The decision version of MCP (and thus MWCP) is one of eralized to MWCP, resulting in a state of the art exact MWCP Karp’s prominent 21 NP-complete problems [Karp, 1972], algorithm named MaxWClq [Fang et al., 2014]. More ef- and is complete for the class W[1], the parameterized analog forts are devoted to heuristic algorithms for MWCP. Mas- saro et al. propose a complementary pivoting algorithm based ⇤Corresponding author on the corresponding linear complementarity problem [Mas- 568 saro et al., 2002]. Busygin presents a heuristic method using find better cliques more easily, which can then be used to a nonlinear programming formulation for MWCP [Busygin, further reduce the graph. As far as we know, this is the 2006]. A hybrid evolutionary approach is offered in [Singh first algorithm that interleaves between construction and re- and Gupta, 2006a]. The Phased Local Search (PLS) algo- duction, although some previous MCP algorithms reduce the rithm is extended to MWCP [Pullan, 2008]. In [Wu et al., graph before calling an exact algorithm [Rossi et al., 2014; 2012], a local search algorithm called MN/NT integrates a Verma et al., 2015]. combined neighborhood and a dedicated tabu mechanism, Moreover, we propose three ideas to make the method ef- and shows better performance than previous heuristic algo- fective and efficient. The fist one is a function for estimat- rithms. A recent local search algorithm based on the config- ing the benefit of adding a vertex, which considers both the uration checking strategy [Cai et al., 2011] called LSCC fur- weight of the vertex and the weight of its effective neighbor- ther improves MN/NT on a wide range of benchmarks [Wang hood w.r.t the current clique. We also propose a dynamic et al., 2016]. BMS heuristic, which is used in choosing the adding ver- Traditional algorithms usually become futile on massive tex. Lastly but very importantly, we propose a fast and effec- graphs, due to their high space complexity and time com- tive graph reduction algorithm, which relies on two reduction plexity. For example, most traditional algorithms utilize adja- rules, including a novel branching-based reduction rule. cency matrix to facilitate fast computation of some operations Based on these ideas, we develop an algorithm called Fast- such as the query of whether two vertices are adjacent. But WClq. Experiments on a wide range of real-world massive the space requirement of this data structure is prohibitive for graphs show that, FastWClq finds better solutions than state massive graphs. Also, most commonly used strategies do not of the art algorithms (including LSCC+BMS and MaxWClq) have sufficiently low time complexity, which severely limits for most of the graphs with less run time. More encourag- their ability to handle massive graphs. ingly, FastWClq finds at least same-quality, sometimes better- Recently, there have been some dedicated algorithms for quality solutions than its competitors even when the time solving MCP in massive graphs. These MCP algorithms limit for the competitors are 10 times and 36 times that for [ ] Rossi et al., 2014; Verma et al., 2015 heavily depend on FastWClq. Further, FastWClq finds and proves the optimal k [ ] the concept of -Core Seidman, 1983 , which is defined as solution for about half of the graphs in one second on aver- k a subgraph where all vertices have degree at least , and can age. be computed in O(m) (m is the number of edges) using bin sorting [Batagelj and Zaversnik, 2003]. However, we are In the next section, we introduce some necessary back- not aware of any work using the k-Core concept to develop ground knowledge. Then, we describe our method in Sec- MWCP algorithms. Moreover, an analogous concept in ver- tion 3, including the FastWClq algorithm and its important tex weighted graphs requires prohibitive space (O(w m), components. Experimental evaluations of our algorithm Fast- where w is the average weight of vertices) for bin sorting,· WClq are presented in Section 4. Finally, we give some con- and does not allow fast computation. As for MWCP, a recent cluding remarks and outline the future work. progress in solving massive graphs is made in local search al- gorithms, by using a probabilistic heuristic called Best from Multiple Selection (BMS) [Cai, 2015]. BMS was first ap- 2 Preliminaries plied to minimum vertex cover problem [Cai, 2015], and then to MWCP, resulting in two efficient local search algorithms Let G=(V ,E) be an undirected graph where V = v1, v2, ..., { for MWCP called MN/TS+BMS and LSCC+BMS [Wang et vn is the set of vertices and E is the set of edges in G.We } al., 2016]. Seen from the literatures, LSCC+BMS is currently use V (G) and E(G) to denote the vertex set and the edge the best algorithm for solving MWCP in massive graphs. set of graph G. A vertex weighted undirected graph is an undirected graph G =(V,E) combined with a weighting 1.2 Contributions and Paper Organization function w so that each vertex v V is associated with a 2 Although recent works made progress in solving MWCP in positive integer number w(v) as its weight. We use a triple massive graphs, the improvements are limited to local search to denote a vertex weighted graph, i.e., G =(V,E,w). For a subset S V , we let G[S] denote the subgraph induced by and the performance is still not satisfactory.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 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