HOPS: Probabilistic Subtree Mining for Small and Large Graphs

Author: P. Welke, F. Seiffarth, M. Kamp, S. Wrobel
Journal: KDD '20: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining
Year: 2020

Citation information

P. Welke, F. Seiffarth, M. Kamp, S. Wrobel,
KDD '20: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining,
2020,
1275–1284,
August,
https://doi.org/10.1145/3394486.3403180

Frequent subgraph mining, i.e., the identification of relevant patterns in graph databases, is a well-known data mining problem with high practical relevance, since next to summarizing the data, the resulting patterns can also be used to define powerful domain-specific similarity functions for prediction. In recent years, significant progress has been made towards subgraph mining algorithms that scale to complex graphs by focusing on tree patterns and probabilistically allowing a small amount of incompleteness in the result. Nonetheless, the complexity of the pattern matching component used for deciding subtree isomorphism on arbitrary graphs has significantly limited the scalability of existing approaches.

In this paper, we adapt sampling techniques from mathematical combinatorics to the problem of probabilistic subtree mining in arbitrary databases of many small to medium-size graphs. By restricting on tree patterns, we provide an algorithm that approximately counts or decides subtree isomorphism for arbitrary transaction graphs in linear time with one-sided error.

Our empirical evaluation on a range of benchmark graph datasets shows that the novel algorithm substantially outperforms state-of-the-art approaches both in the original task of approximate counting of embeddings in a single large graph and in probabilistic frequent subtree mining in large databases of small to medium sized graphs