A Coding Method for Efficient Subgraph Querying on Vertex- and Edge-Labeled Graphs

作者:Zhu, Lei; Song, Qinbao*; Guo, Yuchen; Du, Lei; Zhu, Xiaoyan; Wang, Guangtao
来源:PLos One, 2014, 9(5): e97178.
DOI:10.1371/journal.pone.0097178

摘要

Labeled graphs are widely used to model complex data in many domains, so subgraph querying has been attracting more and more attention from researchers around the world. Unfortunately, subgraph querying is very time consuming since it involves subgraph isomorphism testing that is known to be an NP-complete problem. In this paper, we propose a novel coding method for subgraph querying that is based on Laplacian spectrum and the number of walks. Our method follows the filtering-and-verification framework and works well on graph databases with frequent updates. We also propose novel two-step filtering conditions that can filter out most false positives and prove that the two-step filtering conditions satisfy the no-false-negative requirement (no dismissal in answers). Extensive experiments on both real and synthetic graphs show that, compared with six existing counterpart methods, our method can effectively improve the efficiency of subgraph querying.