Journal of Guangxi Normal University(Natural Science Edition) ›› 2024, Vol. 42 ›› Issue (2): 105-119.doi: 10.16088/j.issn.1001-6600.2023052903

Previous Articles     Next Articles

Genetic Algorithm for Community Detection Accelerated by Matrix Operations

YU Qian, CHEN Qingfeng*, HE Naixu, HAN Zongzhao, LU Jiahui   

  1. School of Computer Electronics and Information, Guangxi University, Nanning Guangxi 530004, China
  • Received:2023-05-29 Revised:2023-09-05 Published:2024-04-22

Abstract: Community detection algorithms are critical research tools in the field of complex networks. However, traditional community detection genetic algorithms have the problems with poor initial population quality and low computational efficiency under large-scale networks. To address this, an improved community detection genetic algorithm based on matrix computation acceleration is proposed. To tackle the problem of subpar initial population quality, a novel initialization operator is proposed to construct high-quality initial communities using the closure coefficient with biases node selection. To address the issue of low computational efficiency, the traditional community detection genetic algorithm operators are restructured based on matrix operations, enabling the use of GPU acceleration to enhance computational efficiency. Experimental results indicate that the proposed algorithm maintains good partitioning accuracy and demonstrates higher computational efficiency than other algorithms of the same type under different scales of real networks and LFR synthetic networks.

Key words: complex network, community detection, genetic algorithm, matrix operation, modularity

CLC Number:  TP18
[1] 乔雨露. 基于亲和传播的复杂网络社团探测方法研究[D].南宁:广西大学,2021.DOI:10.27034/d.cnki.ggxiu.2021.000715.
[2] 黄杰,武瑞梓,李均利.进化算法在复杂网络中的应用综述[J].计算机系统应用,2023,32(4):16-41. DOI:10.15888/j.cnki.csa.009037.
[3] 刘扬,郑文萍,张川,等.一种基于局部随机游走的标签传播算法[J].计算机科学,2022,49(10):103-110.DOI:10.11896/jsjkx.220400145.
[4] 曾祥宇,龙海霞,杨旭华.基于马尔可夫相似性增强和网络嵌入的社区发现[J].计算机科学,2023,50(4):56-62.DOI:10.11896/jsjkx.220100155.
[5] 杨煜,段威威.基于谱聚类的社交网络动态社区发现算法[J].计算机应用,2023,43(10):3129-3135. DOI:10.11772/j.issn.1001-9081.2022101517.
[6] 付立东,刘佳会,王秋红.基于密度峰值的标签传播社区发现算法[J].计算机应用研究,2023,40(8):2323-2328. DOI:10.19734/j.issn.1001-3695.2002.12.0796.
[7] 刘志远. 复杂网络中的社团探测研究及应用[D].济南:山东师范大学,2020.DOI:10.27280/d.cnki.gsdsu.2020.002123.
[8] JAVEDM A, YOUNIS M S, LATIF S, et al. Community detection in networks: a multidisciplinary review[J]. Journal of Network and Computer Applications, 2018, 108: 87-111.DOI: 10.1016/j.jnca.2018.02.011.
[9] BUI T N, JONES C. Finding good approximate vertex and edge partitions is NP-hard[J]. Information Processing Letters, 1992, 42(3): 153-159. DOI: 10.1016/0020-0190(92)90140-Q.
[10] GUO X C, SU J, ZHOU H, et al. Community detection based on genetic algorithm using local structural similarity[J]. IEEE Access, 2019, 7: 134583-134600.DOI: 10.1109/ACCESS.2019.2939864.
[11] 李萍,汪芬,陈祺东,等.求解多目标社区发现问题的离散化随机漂移粒子群优化算法[J].计算机应用,2021,41(3):803-811.DOI:10.11772/j.issn.1001-9081.2020060800.
[12] 顾军华,江帆,武君艳,等.基于标签传播的蚁群优化算法求解社区发现问题[J].计算机应用与软件,2019,36(6):233-242.DOI: 10.3969/j.issn.1000-386x.2019.06.043.
[13] TASGIN M, HERDAGDELEN A, BINGOL H. Community detection in complex networks using genetic algorithms[EB/OL]. (2007-11-04)[2023-05-29].https://arxiv.org/abs/0711.0491.DOI: 10.48550/arXiv.0711.0491.
[14] CHEN K Q, BI W H. A new genetic algorithm for community detection using matrix representation method[J]. Physica A: Statistical Mechanics and its Applications, 2019, 535: 122259. DOI:10.1016/j.physa.2019.122259.
[15] SAID A, ABBASI R A, MAQBOOL O, et al. CC-GA: a clustering coefficient based genetic algorithm for detecting communities in social networks[J]. Applied Soft Computing, 2018, 63: 59-70.DOI: 10.1016/j.asoc.2017.11.014.
[16] SHISHAVAN S T, GHAREHCHOPOGH F S. An improved cuckoo search optimization algorithm with genetic algorithm for community detection in complex networks[J]. Multimedia Tools and Applications, 2022, 81(18): 25205-25231. DOI: 10.1007/s11042-022-12409-x.
[17] SHAKYA H K, SINGH K, MORE Y S, et al. Opposition-based genetic algorithm for community detection in social networks[J]. Proceedings of the National Academy of Sciences, India Section A: Physical Sciences, 2022, 92(2): 251-263. DOI: 10.1007/s40010-020-00716-7.
[18] GUERRERO M, MONTOYA F G, BAÑOS R, et al. Adaptive community detection in complex networks using genetic algorithms[J]. Neurocomputing, 2017, 266: 101-113. DOI: 10.1016/j.neucom.2017.05.029.
[19] MENG X Y, DONG L Y, LI Y L, et al. A genetic algorithm using K-path initialization for community detection in complex networks[J]. Cluster Computing, 2017, 20(1): 311-320. DOI:10.1007/s10586-016-0698-y.
[20] BOUKARAM W, TURKIYYAH G, KEYES D. Hierarchical matrix operations on GPUs: matrix-vector multiplication and compression[J]. ACM Transactions on Mathematical Software, 2019, 45(1): 3. DOI:10.1145/3232850.
[21] HRICIK T, BADER D, GREEN O. Using RAPIDS AI to accelerate graph data science workflows[C]// 2020 IEEE High Performance Extreme Computing Conference (HPEC).Los Alamitos, CA: IEEE Computer Society, 2020: 1-4.DOI: 10.1109/HPEC43674.2020.9286224.
[22] PASZKE A, GROSS S, MASSA F, et al. PyTorch: an imperative style, high-performance deep learning library[EB/OL]. (2019-12-03)[2023-05-29].https://arxiv.org/abs/1912.01703. DOI: 10.48550/arXiv.1912.01703.
[23] ZHAN Z H, ZHANG J, LIN Y, et al. Matrix-based evolutionary computation[J]. IEEE Transactions on Emerging Topics in Computational Intelligence, 2022, 6(2): 315-328.DOI: 10.1109/TETCI.2020.3047410.
[24] YIN H, BENSON A R, LESKOVEC J. The local closure coefficient: a new perspective on network clustering[C]// WSDM ’19: Proceedings of the Twelfth ACM International Conference on Web Search and Data Mining. New York, NY: Association for Computing Machinery,2019: 303-311.DOI: 10.1145/3289600.3290991.
[25] NEWMAN M E J. Modularity and community structure in networks[J]. Proceedings of the National Academy of Sciences of the United States of America, 2006, 103(23): 8577-8582. DOI:10.1073/pnas.0601602103.
[26] SHI C, YAN Z Y, WANG Y, et al. A genetic algorithm for detecting communities in large-scale complex networks[J]. Advances in Complex Systems, 2010, 13(1): 3-17. DOI:10.1142/S0219525910002463.
[27] PIZZUTI C. Evolutionary computation for community detection in networks: a review[J]. IEEE Transactions on Evolutionary Computation, 2018, 22(3): 464-483.DOI: 10.1109/TEVC.2017.2737600.
[28] MAJEED A, RAUF I. Graph theory: a comprehensive survey about graph theory applications in computer science and social networks[J]. Inventions, 2020, 5(1): 10.DOI: 10.3390/inventions5010010.
[29] 汤洋,赵达非,黄智濒,等.高性能行任务散列法GPU一般稀疏矩阵-矩阵乘法[J].北京邮电大学学报,2019,42(3):106-113.DOI:10.13190/j.jbupt.2018-252.
[30] LE GALL F. Powers of tensors and fast matrix multiplication[C]// Proceedings of the 39th International Symposium on Symbolicand Algebraic Computation. New York, NY: Association for Computing Machinery,2014: 296-303.DOI: 10.1145/2608628.2608664.
[31] DOBRAVEC T, BULIĆ P. Comparing CPU and GPU implementations of a simple matrix multiplication algorithm[J]. International Journal of Computer and Electrical Engineering, 2017, 9(2): 430-438. DOI:10.17706/IJCEE.2017.9.2.430-438.
[32] ROSSI R, AHMED N. The network data repository with interactive graph analytics and visualization[J]. Proceedings of the AAAI Conference on Artificial Intelligence, 2015, 29(1):4292-4293. DOI: 10.1609/aaai.v29i1.9277.
[33] LANCICHINETTI A, FORTUNATO S, RADICCHI F. Benchmark graphs for testing community detection algorithms[J]. Physical Review E, 2008, 78(4): 046110. DOI: 10.1103/PhysRevE.78.046110.
[34] 赵卫绩,张凤斌,刘井莲.复杂网络社区发现研究进展[J].计算机科学,2020,47(2):10-20.DOI:10.11896/jsjkx.190100214.
[1] ZHAO Ming, LUO Qiulian, CHEN Weimeng, CHEN Jiani. Influence of Control Timing and Strength on the Spreading of Epidemic [J]. Journal of Guangxi Normal University(Natural Science Edition), 2023, 41(2): 86-97.
[2] XIAO Fei, KANG Zengyan, WANG Weihong. Two Algorithms for Prognosis of DenitrificationConditions of A2/O Technology [J]. Journal of Guangxi Normal University(Natural Science Edition), 2022, 40(6): 173-184.
[3] ZHU Enwen, ZHU Anqi, WANG Jiedan, LIU Yujiao. Research on Wind Power Short-term Prediction Based on EEMD-GA-BP Model [J]. Journal of Guangxi Normal University(Natural Science Edition), 2022, 40(1): 166-174.
[4] WENG Xiaoxiong, XIE Zhipeng. Study on Freeway Nodes Importance Based on Multilayer Complex Network [J]. Journal of Guangxi Normal University(Natural Science Edition), 2021, 39(5): 78-88.
[5] HU Juntao, SHI Xiaohu, MA Deyin. Nursing Workers Scheduling Based on Mean Shift and Genetic Algorithm [J]. Journal of Guangxi Normal University(Natural Science Edition), 2021, 39(3): 27-39.
[6] HE Hanji, DENG Guangming, GE Menglan. Study on the Spatial Correlation of Air Quality in Central Plains Urban Agglomeration [J]. Journal of Guangxi Normal University(Natural Science Edition), 2021, 39(3): 151-162.
[7] XU Lunhui, CAO Yuchao, LIN Peiqun. Location and Dispatching of Multiple Emergency Materials Center Based on Fusion Immune Optimization and Genetic Algorithm [J]. Journal of Guangxi Normal University(Natural Science Edition), 2020, 38(6): 1-13.
[8] YE Qing, HUANG Qiang, NIE Bin, LI Huan. An Adaptive High-Dimensional Outlier Recognition Method [J]. Journal of Guangxi Normal University(Natural Science Edition), 2020, 38(2): 107-114.
[9] LI Juexuan,ZHAO Ming. Influence of Average Degree and Scale of Network on Partial Synchronization of Complex Networks [J]. Journal of Guangxi Normal University(Natural Science Edition), 2019, 37(1): 115-124.
[10] LIANG Xiaoping, LUO Xiaoshu. The Adaptive Wiener Filtering Deblurring Based on the Genetic Algorithm [J]. Journal of Guangxi Normal University(Natural Science Edition), 2017, 35(4): 17-23.
[11] WANG Yi, ZOU Yanli, LI Ke, HUANG Li. The Influence of the Distributed Power Station Connection Modeson the Power Grid Synchronization [J]. Journal of Guangxi Normal University(Natural Science Edition), 2017, 35(4): 24-31.
[12] LIU Weiming, LI Rongrong, WANG Chao, HUANG Ling. Genetic Algorithm of Allocation of Highway Access Card [J]. Journal of Guangxi Normal University(Natural Science Edition), 2016, 34(1): 1-8.
[13] LIU Hong, WANG Qi-tao, XIA Wei-jun. The Three-dimensional Positioning Method of WSN Based on Quantum Genetic Algorithm [J]. Journal of Guangxi Normal University(Natural Science Edition), 2015, 33(4): 49-54.
[14] LE Mei-long, GAO Jin-min. Coordinated Optimization Model for Air Fleet Assignment and Seat Inventory Control Under Hub-and-Spoke Route Network [J]. Journal of Guangxi Normal University(Natural Science Edition), 2014, 32(3): 33-40.
[15] ZHAO Xin-chao, WU Zhao-jun. Multiple Bits Greedy Mutation-based Genetic Algorithm for Knapsack Problem [J]. Journal of Guangxi Normal University(Natural Science Edition), 2013, 31(4): 41-47.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] YUAN Jingjing, ZHENG Yuzhao, XU Chenfeng, YIN Tingjie. Advances in Cytoplasmic Delivery Strategies for Non-Endocytosis-Dependent Biomolecules[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(1): 1 -8 .
[2] TU Guangsheng, KONG Yongjun, SONG Zhechao, YE Kang. Research Progress and Technical Difficulties of Reversible Data Hiding in Encrypted Domain[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 1 -15 .
[3] YANG Yangyang, ZHU Zhenting, YANG Cuiping, LI Shihao, ZHANG Shu, FAN Xiulei, WAN Lei. Research Progress of Anaerobic Digestion Pretreatment of Excess Activated Sludge Based on Bibliometric Analysis[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 16 -29 .
[4] XU Lunhui, LI Jinlong, LI Ruonan, CHEN Junyu. Missing Traffic Data Recovery for Road Network Based on Dynamic Generative Adversarial Network[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 30 -40 .
[5] YANG Hai, XIE Yaqin. Regional Energy Storage Allocation Strategy of 5G Base Station Based on Floyd Algorithm[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 41 -54 .
[6] YAN Wenwen, WEN Zhong, WANG Shuang, LI Guoxiang, WANG Boyu, WU Yi. AA-CAES Plant and Integrated Demand Response Based Wind Abandonment and Consumption Strategy for the Heating Period[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 55 -68 .
[7] GAN Youchun, WANG Can, HE Xuhui, ZHANG Yu, ZHANG Xuefei, WANG Fan, YU Yazhou. Joint Optimal Operation of Integrated Electricity-Hydrogen-Heat Energy System Based on Concentrating Solar Power Plant and Flexible Load[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 69 -83 .
[8] WANG Xuyang, WANG Changrui, ZHANG Jinfeng, XING Mengyi. Multimodal Sentiment Analysis Based on Cross-Modal Cross-Attention Network[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 84 -93 .
[9] WANG Weiduo, WANG Yisong, YANG Lei. Descriptive Solution of the Answer Set Programming for Cloud Resource Scheduling[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 94 -104 .
[10] LONG Fang, CAI Jing, ZHU Yan. Analysis of Reliability in a Multicomponent Stress-Strength Model for Lomax Distribution under Progressive type-Ⅱ Hybrid Censoring[J]. Journal of Guangxi Normal University(Natural Science Edition), 2024, 42(2): 120 -130 .