吉林大学学报(工学版) ›› 2025, Vol. 55 ›› Issue (6): 2069-2075.doi: 10.13229/j.cnki.jdxbgxb20231043

• 计算机科学与技术 • 上一篇    下一篇

基于相似度随机游走聚合的图节点分类算法

车翔玖(),孙雨鹏   

  1. 吉林大学 计算机科学与技术学院,长春 130012
  • 收稿日期:2023-10-01 出版日期:2025-06-01 发布日期:2025-07-23
  • 作者简介:车翔玖(1969-),男,教授,博士.研究方向:计算机图形学,大数据可视化.E-mail:chexj@jlu.edu.cn
  • 基金资助:
    国家自然科学基金项目(62172184);吉林省科技发展计划项目(20200401077GX);吉林省科技发展计划项目(20200201292JC)

Graph node classification algorithm based on similarity random walk aggregation

Xiang-jiu CHE(),Yu-peng SUN   

  1. College of Computer Science and Technology,Jilin University,Changchun 130012,China
  • Received:2023-10-01 Online:2025-06-01 Published:2025-07-23

摘要:

针对异质图节点分类任务中MLP、GCN等方法准确率相对较低的问题,提出了一种基于相似度随机游走聚合的图神经网络(SRW-GNN)。为降低异质性对节点嵌入的影响,SRW-GNN利用节点间的相似度作为概率进行随机游走,并将采样路径作为邻域以获取更多同质信息。为解决大多数现有GNN聚合器对节点顺序不敏感的问题,本文引入基于循环神经网络(RNN)的路径聚合器来同时提取路径中节点的特征和顺序信息。此外,节点对不同路径有不同的偏好,为了自适应地学习不同路径在节点编码中的重要性,采用注意力机制动态地调整各路径对最终嵌入的贡献。在多个常用的异质图数据集的实验结果表明,本文方法的准确率明显优于MLP、GCN、H2GCN、HOG-GCN等方法,验证了其在异质图节点分类任务中的有效性。

关键词: 计算机应用技术, 图神经网络, 异质图, 节点分类

Abstract:

In addressing the issue of relatively low accuracy in node classification tasks on heterophily graphs using methods such as MLP and GCN, a Graph Neural Network based on Similarity Random Walk Aggregation (SRW-GNN) was proposed. To address the impact of heterophily on node embeddings, SRW-GNN employs the similarity between nodes as probabilities for conducting random walks. The sampled paths serve as the neighborhood, enabling the model to gather more homophily-based information. To address the issue of insensitivity to node order in most existing graph neural network (GNN) aggregators, a path aggregator based on recurrent neural networks (RNNs) was introduced to simultaneously extract features and order information of each node in the path. Furthermore, nodes exhibit varying preferences for different paths. To adaptively learn the importance of different paths in node encoding, an attention mechanism was employed to dynamically adjust the contributions of each path to the final embedding. Experimental results on several commonly used heterophily graph datasets demonstrate that the proposed SRW-GNN method achieves significantly higher accuracy compared to the methods such as MLP, GCN, H2GCN, HOG-GCN, validating its effectiveness in heterophily graph node classification tasks.

Key words: computer application technology, graph neural network, heterophily graph, node classification

中图分类号: 

  • TP391.4

图1

同质还是异质"

图2

模型框架"

表1

数据集统计"

参数数据集
CornellTexasWisconsin
节点数/个183183251
边数/个295309499
特征维数/个1 7031 7031 703
类别数量/个555

表2

实验结果"

方 法数据集
CornellTexasWisconsin
基线方法MLP84.32±6.1483.24±5.7786.47±3.33
GCN55.14±7.5755.68±9.6153.73±7.65
GraphSAGE78.38±6.8485.41±5.1685.49±3.53
GAT54.59±7.3357.30±3.3854.31±5.62
H2GCN78.92±5.2482.16±8.2182.57±3.21
CPGNN63.51±5.8374.32±7.3881.76±6.74
GPR-GNN82.97±5.6884.59±4.3783.92±3.14
BM-GCN79.14±8.4485.13±4.6482.82±8.89
HOG-GCN84.32±4.3285.17±4.4086.67±3.36
RAW-GNN84.86±5.4385.95±4.1588.24±3.72
消融实验COS-SRW83.78±5.6783.78±4.3687.06±2.35
SRW-MLP56.76±6.6257.57±8.4744.12±9.62
SRW-MEAN84.32±5.6482.97±6.7486.47±2.83
本文方法SRW-GNN86.49±6.4086.76±4.4388.63±3.70
[1] 徐冰冰, 岑科廷, 黄俊杰, 等. 图卷积神经网络综述[J].计算机学报, 2020, 43(5): 755-780.
Xu Bing-bing, Cen Ke-yan, Huang Jun-jie, et al. A survey on graph convolutional neural network[J]. Chinese Journal of Computers, 2020, 43(5): 755-780.
[2] LeCun Y, Bottou L, Bengio Y, et al. Gradient-based learning applied to document recognition[J]. Proceedings of the IEEE, 1998, 86(11): 2278-2324.
[3] Gilmer J, Schoenholz S S, Riley P F, et al. Neural message passing for quantum chemistry[C]∥Proceedings of the International Conference on Machine Learning, Sydney, Australia, 2017: 1263-1272.
[4] Kipf T N, Welling M. Semi-supervised classification with graph convolutional networks[J/OL]. [2023-08-11].
[5] Hamilton W L, Ying R, Leskovec J. Inductive representation learning on large graphs[J/OL]. [2023-08-11].
[6] Veličković P, Cucurull G, Casanova A, et al. Graph attention networks[J]. Stat, 2017, 1050(20): No.48550.
[7] Zhu J, Rossi R A, Rao A, et al. Graph neural networks with heterophily[J]. AAAI Technical Track on Machine Learning V, 2021, 35(12): 11168-11176.
[8] Wang T, Jin D, Wang R, et al. Powerful graph convolutional networks with adaptive propagation mechanism for homophily and heterophily[C]∥Proceedings of the AAAI Conference on Artificial Intelligence, Philadelphia, USA, 2022, 36(4): 4210-4218.
[9] He D, Liang C, Liu H, et al. Block modeling-guided graph convolutional neural networks[C]∥Proceedings of the AAAI Conference on Artificial Intelligence, Philadelphia, USA, 2022: 4022-4029.
[10] Yan Y, Hashemi M, Swersky K, et al. Two sides of the same coin: heterophily and oversmoothing in graph convolutional neural networks[C]∥2022 IEEE International Conference on Data Mining (ICDM), Chennai, India,2022: 1287-1292.
[11] Zhu M, Wang X, Shi C, et al. Interpreting and unifying graph neural networks with an optimization framework[C]∥Proceedings of the Web Conference, New York, NY, USA, 2021: 1215-1226.
[12] Pei H, Wei B, Chang K C C, et al. Geom-GCN: geometric graph convolutional networks[J/OL]. [2023-08-11].
[13] Zhu J, Yan Y, Zhao L, et al. Beyond homophily in graph neural networks: current limitations and effective designs[C]∥Advances in Neural Information Processing Systems, Long Beach, USA,2020, 33: 7793-7804.
[14] Chien E, Peng J, Li P, et al. Adaptive universal generalized pagerank graph neural network[J/OL]. [2023-08-11].
[15] Jin D, Wang R, Ge M, et al. Raw-gnn: random walk aggregation based graph neural network[C]∥Proceedings of the 31st International Joint Conference on Artificial Intelligence,Shenzhen, China, 2022: 2108-2114.
[16] Fu X Y, Zhang J N, Meng Z Q, et al. Magnn: metapath aggregated graph neural network for heterogeneous graph embedding[C]∥Proceedings of the Web Conference, Taipei, China, 2020: 2331-2341.
[17] Luan S, Hua C, Lu Q, et al. Revisiting heterophily for graph neural networks[J]. Advances in Neural Information Processing Systems, 2022, 35: 1362-1375.
[18] Hochreiter S, Schmidhuber J. Long short-term memory[J]. Neural Computation, 1997, 9(8): 1735-1780.
[19] Chung J, Gulcehre C, Cho K H, et al. Empirical evaluation of gated recurrent neural networks on sequence modeling[J/OL].[2023-08-11].
[1] 王健,贾晨威. 面向智能网联车辆的轨迹预测模型[J]. 吉林大学学报(工学版), 2025, 55(6): 1963-1972.
[2] 周丰丰,郭喆,范雨思. 面向不平衡多组学癌症数据的特征表征算法[J]. 吉林大学学报(工学版), 2025, 55(6): 2089-2096.
[3] 蔡晓东,周青松,张言言,雪韵. 基于动静态和关系特征全局捕获的社交推荐模型[J]. 吉林大学学报(工学版), 2025, 55(2): 700-708.
[4] 车翔玖,武宇宁,刘全乐. 基于因果特征学习的有权同构图分类算法[J]. 吉林大学学报(工学版), 2025, 55(2): 681-686.
[5] 张玺君,余光杰,崔勇,尚继洋. 基于聚类算法和图神经网络的短时交通流预测[J]. 吉林大学学报(工学版), 2024, 54(6): 1593-1600.
[6] 金志刚,苏仁鋆,赵晓芳. 基于异质图网络的心理评估方法[J]. 吉林大学学报(工学版), 2024, 54(4): 1078-1085.
[7] 梁礼明,周珑颂,尹江,盛校棋. 融合多尺度Transformer的皮肤病变分割算法[J]. 吉林大学学报(工学版), 2024, 54(4): 1086-1098.
[8] 拉巴顿珠,扎西多吉,珠杰. 藏语文本标准化方法[J]. 吉林大学学报(工学版), 2024, 54(12): 3577-3588.
[9] 叶育鑫,夏珞珈,孙铭会. 增强现实环境中基于假想键盘的手势输入方法[J]. 吉林大学学报(工学版), 2024, 54(11): 3274-3282.
[10] 车娜,朱奕明,赵剑,孙磊,史丽娟,曾现伟. 基于联结主义的视听语音识别方法[J]. 吉林大学学报(工学版), 2024, 54(10): 2984-2993.
[11] 薛珊,张亚亮,吕琼莹,曹国华. 复杂背景下的反无人机系统目标检测算法[J]. 吉林大学学报(工学版), 2023, 53(3): 891-901.
[12] 时小虎,吴佳琦,吴春国,程石,翁小辉,常志勇. 基于残差网络的弯道增强车道线检测方法[J]. 吉林大学学报(工学版), 2023, 53(2): 584-592.
[13] 王振,杨宵晗,吴楠楠,李国坤,冯创. 基于生成对抗网络的序列交叉熵哈希[J]. 吉林大学学报(工学版), 2023, 53(12): 3536-3546.
[14] 周丰丰,颜振炜. 基于混合特征的特征选择神经肽预测模型[J]. 吉林大学学报(工学版), 2023, 53(11): 3238-3245.
[15] 董立岩,梁伟业,王越群,李永丽. 基于会话的结合全局潜在信息的图神经网络推荐模型[J]. 吉林大学学报(工学版), 2023, 53(10): 2964-2972.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] 杨洪秀;左文杰;李亦文;任露泉 . 活塞表面仿生非光滑微坑贮油润滑机理的任意拉格朗日-欧拉法有限元模拟[J]. 吉林大学学报(工学版), 2008, 38(03): 591 -0594 .
[2] 何丽桥,高岩,王国光 . CCD激光衍射测径系统的标定方法[J]. 吉林大学学报(工学版), 2008, 38(增刊): 182 -0184 .
[3] 王旭辉,黄圣国,曹力,施鼎豪,舒平 . 基于LS-SVM的航空发动机气路参数趋势在线预测[J]. 吉林大学学报(工学版), 2008, 38(01): 239 -244 .
[4] 张和生,张毅,温慧敏,胡东成 . 利用GPS数据估计路段的平均行程时间[J]. 吉林大学学报(工学版), 2007, 37(03): 533 -0537 .
[5] 于锡峥;郑建华;高怀宝;刘正常 . 地月系L1和L2点间转移轨道设计[J]. 吉林大学学报(工学版), 2008, 38(03): 741 -0745 .
[6] 姜桂艳,郑祖舵,于妍霞 . 交通诱导系统中道路网络的表达与存储方法[J]. 吉林大学学报(工学版), 2008, 38(04): 797 -801 .
[7] 杨印生;孙赵华;马萍;陶跃;司瑾 . 基于SOMK算法的T-S模糊系统建模方法[J]. 吉林大学学报(工学版), 2008, 38(03): 658 -0661 .
[8] 杨加喜,李磊,,朱辉,王育民 . 一种公平的可公开验证的电子拍卖协议[J]. 吉林大学学报(工学版), 2008, 38(04): 886 -889 .
[9] 赵丁选 ,杨力夫,李锁云,尚 涛,乌效鸣. 国内外非开挖定向钻机及其智能控制技术[J]. 吉林大学学报(工学版), 2005, 35(01): 44 -0048 .
[10] 李明哲,胡志清,蔡中义,龚学鹏 . 自由曲面工件的连续高效塑性成形方法[J]. 吉林大学学报(工学版), 2007, 37(03): 489 -0494 .