计算机科学 ›› 2026, Vol. 53 ›› Issue (5): 149-156.doi: 10.11896/jsjkx.250300166

• 数据库 & 大数据 & 数据科学 • 上一篇    下一篇

优化的彩色h星核分解算法

梁玥, 周军锋, 杜明   

  1. 东华大学计算机科学与技术学院 上海 201620
  • 收稿日期:2025-03-31 修回日期:2025-06-18 发布日期:2026-05-08
  • 通讯作者: 周军锋(zhoujf@dhu.edu.cn)
  • 作者简介:(liangyue9977@163.com)
  • 基金资助:
    国家自然科学基金(62372101,61873337,62272097)

Optimized Algorithm for Colorful h-star Core Decomposition

LIANG Yue, ZHOU Junfeng, DU Ming   

  1. School of Computer Science and Technology, Donghua University, Shanghai 201620, China
  • Received:2025-03-31 Revised:2025-06-18 Online:2026-05-08
  • About author:LIANG Yue,born in 1999,postgra-duate,is a member of CCF(No.Z2757G).Her main research interest is dense subgraph query.
    ZHOU Junfeng,born in 1977,Ph.D,professor,is a member of CCF(No.16083M).His main research interests include query processing techniques on large scale graph and recommender system key technology.
  • Supported by:
    National Natural Science Foundation of China(62372101,61873337,62272097).

摘要: 彩色h星核是基于彩色h星定义的内聚子图模型,该模型在理解网络复杂关系、分析社区高阶结构等方面具有广泛的应用价值。然而,现有的彩色h星核分解算法存在显著局限性:随着h值的增大,h星度呈指数级增长,易造成数据溢出,导致计算结果出现错误。针对这一问题,提出一种剪枝方法来识别对h星核值无影响的顶点,并进一步通过数学推导得出h星核值的紧致上界,该上界在核分解过程中可替代h星度,解决因h星度过大而导致的计算错误问题。实验结果表明,所提出的方法可以正确计算h星核分解,计算效率提升10倍以上。

关键词: 图, 核分解, 高阶内聚子图模型, 上界

Abstract: The colorful h-star core is a cohesive subgraph model defined based on colorful h-stars,which has a wide range of applications in understanding the complex relationships of networks and analyzing the higher-order structure of communities.However,the existing colorful h-star core decomposition algorithms have significant limitations:as the h-value increases,the h-star degree grows exponentially,which is prone to data overflow and leads to erroneous computation results.To address this problem,this paper proposes a pruning method to identify the vertices that have no effect on the h-star core number,and further derives a tight upper bound for the h-star core number by mathematical derivation,which can effectively replace the h-star degree during the core decomposition process,thus solving the problem of computational errors due to the excessive h-star.Experimental results show that the proposed method can correctly compute the h-star core decomposition with more than 10 times improvement in computational efficiency.

Key words: Graph, Core decomposition, High-order cohesive subgraph model, Upper bound

中图分类号: 

  • TP301
[1]XU Y J,ZHAO X H,LIANG Y C.Robust Power Control and Beamforming in Cognitive Radio Networks:a Survey[J].IEEE Communications Surveys & Tutorials,2015,17(4):1834-1857.
[2]HUANG X,LAKSHMANAN L V S,XU J.Community Search Over Big Graphs:Models,Algorithms,and Opportunities[C]//ICDE.San Diego:IEEE Computer Society,2017:1451-1454.
[3]MALLIAROS F D,ROSSI M E G,VAZIRGIANNIS M.Locating Influential Nodes in Complex Networks[J].Scientific Reports,2016,6(1):1-10.
[4]FANG Y,YU K,CHENG R,et al.Efficient Algorithms forDensest Subgraph Discovery[J].Proceedings of the VLDB Endowment,2019,12(11):1719-1732.
[5]ZHANG Y,PARTHASARATHY S.Extracting,Analyzing and Visualizing Triangle k-core Motifs within Networks[C]//ICDE.Washington DC:IEEE Computer Society,2012:1049-1060.
[6]GUO B,ZHAO R Z.Experimental Evaluation of Distributed k-Core Decomposition[J].arXiv:2406.17580,2024.
[7]HUANG X,CHENG H,QIN L,et al.Querying k-truss Com-munity in Large and Dynamic Graphs[C]//SIGMOD.ACM,2014:1311-1322.
[8]TSOURAKAKIS C E.The k-clique Densest Subgraph Problem[C]//WWW.ACM,2015:1122-1132.
[9]CONTE A,FIRMANI D,MORDENTE C,et al.Fast Enumeration of Large k-plexes[C]//KDD.ACM,2017:115-124.
[10]CHANG L,QIN L.Cohesive Subgraph Computation Over Large Sparse Graphs[C]//ICDE.IEEE Computer Society,2019:2068-2071.
[11]BENSON A R,GLEICH D F,LESKOVEC J.Higher-order Organization of Complex Networks[J].Science,2016,353(6295):163-166.
[12]GAO S,QIN H,LI R H,et al.Parallel Colorful h-star Core Maintenance in Dynamic Graphs[J].Proceedings of the VLDB Endowment,2023,16(10):2538-2550.
[13]GAO S,LI R H,QIN H,et al.Colorful h-star Core Decomposition[C]//ICDE.IEEE Computer Society,2022:2588-2601.
[14]ZHOU R,LIU C,YU J X,et al.Finding Maximal k-edge-connected Subgraphs from a Large Graph[C]//EDBT.Berlin:Open Proceedings,2012:480-491.
[15]BRON C,KERBOSCH J.Finding All Cliques of an Undirected Graph[J].Communications of the ACM,1973,16(9):575-576.
[16]LI R H,QIN L,YU J X,et al.Influential Community Search in Large Networks[J].PVLDB,2015,8(5):509-520.
[17]BONCHI F,KHAN A,SEVERINI L.Distance-generalized Core Decomposition[C]//SIGMOD.ACM,2019:1006-1023.
[18]WENG T F,ZHOU X,LI K L,et al.Distributed Approaches to Core Decomposition on Large-scale Graphs[J].Journal of Software,2024,35(12):5341-5362.
[19]SARIYÜCE A E,SESHADHRI C,PINAR A,et al.Nucleus Decompositions for Identifying Hierarchy of Dense Subgraphs[J].TWEB,2017,11(3):16:1-16:27.
[20]LI X,YIN S,LIU X,et al.Consensus Subspace Graph Regularization Based on Prior Information for Multiplex Network Clustering[J].Engineering Applications of Artificial Intelligence,2024,135:108851.
[21]WU Y,WANG L,HAN X,et al.Graph Contrastive Learning with Cohesive Subgraph Awareness[C]//Proceedings of the ACM Web Conference 2024.2024:629-640.
[22]WEN Q,ZHANG Y,YE Y,et al.GCLS2:Towards Efficient Community Detection using Graph Contrastive Learning with Structure Semantics[J].arXiv:2410.11273,2024.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!