journal article·2018-02-02Open access

A Parallel Approach for Frequent Subgraph Mining in a Single Large Graph Using Spark

Fengcai Qiao, Xin Zhang, Pei Li, Zhaoyun Ding, Shanshan Jia, Hui Wang

Applied Sciences· Volume 8· Issue 2

Abstract

Frequent subgraph mining (FSM) plays an important role in graph mining, attracting a great deal of attention in many areas, such as bioinformatics, web data mining and social networks. In this paper, we propose SSiGraM (Spark based Single Graph Mining), a Spark based parallel frequent subgraph mining algorithm in a single large graph. Aiming to approach the two computational challenges of FSM, we conduct the subgraph extension and support evaluation parallel across all the distributed cluster worker nodes. In addition, we also employ a heuristic search strategy and three novel optimizations: load balancing, pre-search pruning and top-down pruning in the support evaluation process, which significantly improve the performance. Extensive experiments with four different real-world datasets demonstrate that the proposed algorithm outperforms the existing GraMi (Graph Mining) algorithm by an order of magnitude for all datasets and can work with a lower support threshold.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Data Mining Algorithms and Applications · Graph Theory and Algorithms · Complex Network Analysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Engineering System, National University of Defense Technology, Changsha 410073, Hunan, China

Digital Media Center, Hunan Education Publishing House, Changsha 410073, Hunan, China

References (37)

Show source-provided references
1. Graph mining: Laws, generators, and algorithms10.1145/1132952.1132954 ↗
2. Yan, X., and Han, J. (2002, January 9–12). gSpan: Graph-based substructure pattern mining. Proceedings of the 2002 IEEE International Conference on Data Mining (ICDM 2002), Maebashi City, Japan.
3. Liu, Y., Xu, S., and Duan, L. (2014, January 3–7). Relationship Emergence Prediction in Heterogeneous Networks through Dynamic Frequent Subgraph Mining. Proceedings of the 23rd ACM International Conference on Information and Knowledge Management, Shanghai, China.10.1145/2661829.2661916 ↗
4. A novel rule generator for intrusion detection based on frequent subgraph mining10.4067/S0718-33052017000200226 ↗
5. Qiao, F., and Wang, H. (2015, January 22–23). Computational Approach to Detecting and Predicting Occupy Protest Events. Proceedings of the 2015 International Conference on Identification, Information, and Knowledge in the Internet of Things (IIKI), Beijing, China.10.1109/IIKI.2015.28 ↗
6. Pak, A., and Paroubek, P. (2013). Extracting Sentiment Patterns from Syntactic Graphs. Social Media Mining and Social Network Analysis: Emerging Research, IGI Global.10.4018/978-1-4666-2806-9.ch001 ↗
7. Discriminative subgraphs for discovering family photos10.1007/s41095-016-0054-4 ↗
8. Keneshloo, Y., Cadena, J., Korkmaz, G., and Ramakrishnan, N. (2014, January 23–26). Detecting and forecasting domestic political crises: A graph-based approach. Proceedings of the 2014 ACM Conference on Web Science, Bloomington, IN, USA.10.1145/2615569.2615698 ↗
9. A survey of frequent subgraph mining algorithms10.1017/S0269888912000331 ↗
10. Finding Frequent Patterns in a Large Sparse Graph10.1007/s10618-005-0003-9 ↗
11. Berlingerio, M., Bonchi, F., Bringmann, B., and Gionis, A. (2009). Mining graph evolution rules. Machine Learning and Knowledge Discovery in Databases, MIT Press.10.1007/978-3-642-04180-8_25 ↗
12. GraMi: Frequent Subgraph and Pattern Mining in a Single Large Graph10.14778/2732286.2732289 ↗
13. Wang, K., Xie, X., Jin, H., Yuan, P., Lu, F., and Ke, X. (2016). Frequent Subgraph Mining in Graph Databases Based on MapReduce. Advances in Services Computing, Proceedings of the 10th Asia-Pacific Services Computing Conference (APSCC 2016), Zhangjiajie, China, 16–18 November 2016, Springer.10.1007/978-3-319-49178-3_35 ↗
14. Liu, Y., Jiang, X., Chen, H., Ma, J., and Zhang, X. (2009). Mapreduce-based pattern finding algorithm applied in motif detection for prescription compatibility network. Advanced Parallel Processing Technologies, Springer International Publishing AG.10.1007/978-3-642-03644-6_27 ↗
15. Distributed discovery of frequent subgraphs of a network using MapReduce10.1007/s00607-015-0446-9 ↗
16. Density-based data partitioning strategy to approximate large-scale subgraph mining10.1016/j.is.2013.08.005 ↗
17. Hill, S., Srichandan, B., and Sunderraman, R. (2012, January 7–10). An iterative mapreduce approach to frequent subgraph mining in biological datasets. Proceedings of the ACM Conference on Bioinformatics, Computational Biology and Biomedicine, Orlando, FL, USA.10.1145/2382936.2383055 ↗
18. Luo, Y., Guan, J., and Zhou, S. (2011). Towards Efficient Subgraph Search in Cloud Computing Environments. Database Systems for Adanced Applications, Springer International Publishing AG.10.1007/978-3-642-20244-5_2 ↗
19. A distributed approach for graph mining in massive networks10.1007/s10618-016-0466-x ↗
20. White, T. (2009). Hadoop: The Definitive Guide, O’Reilly Media, Inc.. [1st ed.].
21. Zaharia, M., Chowdhury, M., Franklin, M.J., Shenker, S., and Stoica, I. (2010, January 22–25). Spark: Cluster Computing with Working Sets. Proceedings of the 2nd USENIX Conference on Hot Topics in Cloud Computing (HotCloud’10), Boston, MA, USA.
22. Mllib: Machine learning in apache spark
23. Huan, J., Wang, W., and Prins, J. (2003, January 22–22). Efficient mining of frequent subgraphs in the presence of isomorphism. Proceedings of the Third IEEE International Conference on Data Mining (ICDM 2003), Melbourne, FL, USA.
24. Jiang, C. (2011). Frequent Subgraph Mining Algorithms on Weighted Graphs. [Ph.D. Thesis, University of Liverpool].
25. Chen, Y., Zhao, X., Lin, X., and Wang, Y. (2015, January 14–17). Towards frequent subgraph mining on single large uncertain graphs. Proceedings of the 2015 IEEE International Conference on Data Mining (ICDM), Atlantic City, NJ, USA.10.1109/ICDM.2015.88 ↗
26. Gibbons, A. (1985). Algorithmic Graph Theory, Cambridge University Press.
27. West, D.B. (2001). Introduction to Graph Theory, Prentice Hall Upper Saddle River.
28. Gerner, D.J., Schrodt, P.A., Yilmaz, O., and Abu-Jabr, R. (2002). Conflict and Mediation Event Observations (CAMEO): A New Event Data Framework for the Analysis of Foreign Policy Interactions, International Studies Association.
29. He, H., and Singh, A.K. (2008, January 9–12). Graphs-at-a-time: Query language and access methods for graph databases. Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, Vancouver, BC, Canada.10.1145/1376616.1376660 ↗
30. Fiedler, M., and Borgelt, C. (2007, January 28–31). Subgraph support in a single large graph. Proceedings of the Seventh IEEE International Conference on Data Mining Workshops (ICDM Workshops 2007), Omaha, NE, USA.10.1109/ICDMW.2007.74 ↗
31. Bringmann, B., and Nijssen, S. (2008, January 20–23). What is Frequent in a Single Graph?. Proceedings of the 12th Pacific-Asia Conference on Advances in Knowledge Discovery and Data Mining (PAKDD’08), Osaka, Japan.
32. A quantitative comparison of the subgraph miners MoFa, gSpan, FFSM, and Gaston
33. Jin, R., Liu, L., and Aggarwal, C.C. (2011, January 21–24). Discovering highly reliable subgraphs in uncertain graphs. Proceedings of the 17th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Diego, CA, USA.10.1145/2020408.2020569 ↗
34. Zou, Z., Li, J., Gao, H., and Zhang, S. (2009, January 2–6). Frequent subgraph pattern mining on uncertain graph data. Proceedings of the 18th ACM Conference on Information and Knowledge Management, Hong Kong, China.10.1145/1645953.1646028 ↗
35. Jamil, S., Khan, A., Halim, Z., and Baig, A.R. (2011, January 16–18). Weighted muse for frequent sub-graph pattern finding in uncertain dblp data. Proceedings of the 2011 International Conference on Internet Technology and Applications (iTAP), Wuhan, China.10.1109/ITAP.2011.6006415 ↗
36. Papapetrou, O., Ioannou, E., and Skoutas, D. (2011, January 21–24). Efficient discovery of frequent subgraph patterns in uncertain graph databases. Proceedings of the 14th International Conference on Extending Database Technology, Uppsala, Sweden.10.1145/1951365.1951408 ↗
37. Zou, Z., Gao, H., and Li, J. (2010, January 25–28). Discovering frequent subgraphs over uncertain graph databases under probabilistic semantics. Proceedings of the 16th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Washington, DC, USA.10.1145/1835804.1835885 ↗