a warning propagation based linear time and space
play

A Warning Propagation-Based Linear-Time-and-Space Algorithm for the - PowerPoint PPT Presentation

A Warning Propagation-Based Linear-Time-and-Space Algorithm for the Minimum Vertex Cover Problem on Giant Graphs Hong Xu Kexuan Sun Sven Koenig T. K. Satish Kumar {hongx, kexuansu, skoenig}@usc.edu tkskwork@gmail.com January 3, 2018


  1. A Warning Propagation-Based Linear-Time-and-Space Algorithm for the Minimum Vertex Cover Problem on Giant Graphs Hong Xu Kexuan Sun Sven Koenig T. K. Satish Kumar {hongx, kexuansu, skoenig}@usc.edu tkskwork@gmail.com January 3, 2018 University of Southern California, Los Angeles, California 90089, the United States of America The 15th International Symposium on Artifjcial Intelligence and Mathematics (ISAIM 2018) Fort Lauderdale, Florida, the United States of America

  2. Summary The minimum vertex cover (MVC) problem is a classical computer science problem. Local search algorithms often require a good starting state. For giant graphs, it is desirable to develop a linear-time-and-space algorithm to fjnd a vertex cover as small as possible. We developed MVC-WP, a family of warning propagation-based linear-time-and-space algorithms. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 1 / 22

  3. Agenda Motivation MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Experimental Evaluation Conclusion and Future Work Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 2 / 22

  4. Agenda Motivation MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Experimental Evaluation Conclusion and Future Work

  5. Motivation: The Minimum Vertex Cover (MVC) Problem The minimum vertex cover (MVC) problem is a classical computer science problem. such that every edge in G has at least one endpoint vertex in S . The MVC problem is to fjnd a VC of minimum cardinality. Applications: Computer network security (Filiol et al. 2007) Crew scheduling (Sherali et al. 1984) Construction of phylogenetic tree (Abu-Khzam et al. 2004) Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 3 / 22 On a graph G = � V , E � , a vertex cover (VC) is a subset of vertices S ⊆ V

  6. Motivation: A Linear Algorithm for the MVC Problem For giant graphs: Exact algorithms in general do not scale well. Local search algorithms require a small VC as a starting state (Andrade et al. 2012; Cai 2015; Cai et al. 2013; Pullan 2009). A linear-time-and-space algorithm to construct a small VC is desirable. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 4 / 22

  7. Agenda Motivation MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Experimental Evaluation Conclusion and Future Work

  8. Warning Propagation (WP) for the MVC Problem An iterative algorithm proposed and has only been used for theoretical A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem Xu et al. (University of Southern California) message of 0. indicate that u will not be selected in the vertex cover. Otherwise, u sends v a that u and v are two adjacent vertices. u sends v a message of 1 to “warn” v to There is a message of either 0 or 1 along each direction of each edge. Assume incoming messages are 0. (b) u sends a message of 1 to v since all other 0 1 v u incoming messages from other vertices is 1. (a) u sends a message of 0 to v since one of its 0 0 v u analysis of properties of MVC on infjnite graphs by (Weigt et al. 2006). 5 / 22 1 0 0 0

  9. Basic Idea Observation: Warning propagation (WP) does not work well in practice (slow to converge, output often not good). But, each iteration uses only linear amount of time and space. Basic idea of a linear-time-and-space algorithm: Run a few iterations of warning propagation and extract a vertex cover afterwards. However, can we improve the output by having some processing before and after warning propagation iterations? Yes. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 6 / 22

  10. Major Steps of MVC-WP MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Prune Leaves Initialize Messages Run Warning Propagation Iterations Remove Redundant Vertices Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 7 / 22

  11. Major Steps of MVC-WP MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Prune Leaves Initialize Messages Run Warning Propagation Iterations Remove Redundant Vertices

  12. Prune Leaves A leaf vertex is a vertex of degree 1. Idea: Adding a leaf vertex into the vertex cover is no better than adding its neighbor. Adding the blue vertex to the vertex cover is at least as good as adding the red vertex. Therefore, we can remove the two colored vertices from the graph. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 8 / 22

  13. Major Steps of MVC-WP MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Prune Leaves Initialize Messages Run Warning Propagation Iterations Remove Redundant Vertices

  14. Initialize Messages: Assuming Random Graph Models Standard warning propagation initialize all messages to zero, but we should be able to do better. We treat the pruned graph as if it were generated by a random graph model (but the input graph itself is not required to be generated by a random graph model). Basic idea: Initialize messages based on the values of the messages when warning propagation converges on an infjnitely large random graph from analytical results. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 9 / 22 Erdős-Rényi: Vertex degrees follow a Poisson distribution ( P ( d ) ∝ c d / d ! ). Scale-free: Vertex degrees follow a power law ( P ( d ) ∝ d − λ ).

  15. Warning Propagation (WP) for the MVC Problem An iterative algorithm proposed and has only been used for theoretical A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem Xu et al. (University of Southern California) message of 0. indicate that u will not be selected in the vertex cover. Otherwise, u sends v a that u and v are two adjacent vertices. u sends v a message of 1 to “warn” v to There is a message of either 0 or 1 along each direction of each edge. Assume incoming messages are 0. (b) u sends a message of 1 to v since all other 0 1 v u incoming messages from other vertices is 1. (a) u sends a message of 0 to v since one of its 0 0 v u analysis of properties of MVC on infjnite graphs by (Weigt et al. 2006). 10 / 22 1 0 0 0

  16. Initialize Messages: Convergent Message Values on Infjnite Graphs 0 A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem Xu et al. (University of Southern California) according to the calculated p 0 . Randomly initialize messages 1 scale-free: (Weigt et al. 2006) 11 / 22 u v On a given infjnitely large random graph, let p 0 denote the probability that a message is zero and assume that p 0 is constant for all messages. Erdős-Rényi: p 0 = 1 − W ( c ) / c p 0 = ( ζ ( λ ) − 1 ) / ( ζ ( λ ) + 2 λ ) ∞ � 1 − p 0 = P ( d ) p d − 1 d = 1

  17. Major Steps of MVC-WP MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Prune Leaves Initialize Messages Run Warning Propagation Iterations Remove Redundant Vertices

  18. Run Warning Propagation Iterations M : Number of iterations A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem Xu et al. (University of Southern California) effectiveness. has fairly good A small number but How many iterations? 12 / 22 × 10 5 2.44 MVC-WP-ER 2.42 MVC-WP-SF 2.40 Average VC Size 2.38 2.36 We choose M = 3: 2.34 2.32 2.30 2.28 0 1 2 3 4 5 M

  19. Major Steps of MVC-WP MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Prune Leaves Initialize Messages Run Warning Propagation Iterations Remove Redundant Vertices

  20. Remove Redundant Vertices Proposed by (Cai 2015). Starting from a vertex cover, for each edge, if it has both endpoint vertices in the vertex cover, mark them as removable. Recursively remove removable vertices and update marks of other vertices accordingly. Guaranteed to output a minimal vertex cover. Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 13 / 22

  21. Agenda Motivation MVC-WP: Warning Propagation-Based Linear-Time-and-Space Algorithms Experimental Evaluation Conclusion and Future Work

  22. Benchmark Instances Network repository ( http://networkrepository.com/ ) misc networks (397) web networks (18) brain networks (26) Street networks (8) ( http: //www.cc.gatech.edu/dimacs10/archive/streets.shtml ) All graphs have more than 100,000 vertices. We have also converted these graphs in various formats to the DIMACS format: http://files.hong.me/papers/xu2018b-data Xu et al. (University of Southern California) A Warning Propagation-Based Linear-Time-and-Space Algorithm for the MVC Problem 14 / 22

Recommend


More recommend