Graph pattern matching: from intractable to polynomial time

  • Authors:
  • Wenfei Fan;Jianzhong Li;Shuai Ma;Nan Tang;Yinghui Wu;Yunpeng Wu

  • Affiliations:
  • University of Edinburgh and Harbin Institute of Technologies;Harbin Institute of Technologies;University of Edinburgh;University of Edinburgh;University of Edinburgh;National University of Defense Technology

  • Venue:
  • Proceedings of the VLDB Endowment
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Graph pattern matching is typically defined in terms of subgraph isomorphism, which makes it an np-complete problem. Moreover, it requires bijective functions, which are often too restrictive to characterize patterns in emerging applications. We propose a class of graph patterns, in which an edge denotes the connectivity in a data graph within a predefined number of hops. In addition, we define matching based on a notion of bounded simulation, an extension of graph simulation. We show that with this revision, graph pattern matching can be performed in cubic-time, by providing such an algorithm. We also develop algorithms for incrementally finding matches when data graphs are updated, with performance guarantees for dag patterns. We experimentally verify that these algorithms scale well, and that the revised notion of graph pattern matching allows us to identify communities commonly found in real-world networks.