Journal of Computer Applications ›› 2026, Vol. 46 ›› Issue (6): 1855-1862.DOI: 10.11772/j.issn.1001-9081.2025060793
• Data science and technology • Previous Articles
Yasong ZHANG1, Bihui CONG2, Shuang XU1(
)
Received:2025-07-17
Revised:2025-09-20
Accepted:2025-09-25
Online:2025-10-16
Published:2026-06-10
Contact:
Shuang XU
About author:ZHANG Yasong, born in 2001, M. S. candidate. Her research interests include node classification, attention mechanism.Supported by:通讯作者:
许爽
作者简介:张雅淞(2001—),女,辽宁阜新人,硕士研究生,CCF会员,主要研究方向:节点分类、注意力机制基金资助:CLC Number:
Yasong ZHANG, Bihui CONG, Shuang XU. Graph neural network node classification model incorporating clustering coefficients[J]. Journal of Computer Applications, 2026, 46(6): 1855-1862.
张雅淞, 丛碧辉, 许爽. 引入聚类系数的图神经网络节点分类模型[J]. 《计算机应用》唯一官方网站, 2026, 46(6): 1855-1862.
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/10.11772/j.issn.1001-9081.2025060793
| 数据集 | 节点数 | 边数 | 类别数 | 特征维度 |
|---|---|---|---|---|
| Cora | 2 708 | 5 429 | 7 | 1 433 |
| CiteSeer | 3 312 | 4 732 | 6 | 3 703 |
| PubMed | 19 717 | 44 338 | 3 | 500 |
| Wiki-CS | 11 701 | 431 726 | 10 | 767 |
| AMZ-photo | 7 487 | 245 812 | 745 | 8 |
| AMZ-computers | 13 752 | 491 722 | 10 | 300 |
Tab. 1 Main parameters of datasets
| 数据集 | 节点数 | 边数 | 类别数 | 特征维度 |
|---|---|---|---|---|
| Cora | 2 708 | 5 429 | 7 | 1 433 |
| CiteSeer | 3 312 | 4 732 | 6 | 3 703 |
| PubMed | 19 717 | 44 338 | 3 | 500 |
| Wiki-CS | 11 701 | 431 726 | 10 | 767 |
| AMZ-photo | 7 487 | 245 812 | 745 | 8 |
| AMZ-computers | 13 752 | 491 722 | 10 | 300 |
| 保留百分比/% | Cora | CiteSeer | PubMed | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | |
| 50 | 81.08 | 79.37 | 64 | 68.17 | 61.42 | 75 | 75.36 | 75.01 | 102 |
| 70 | 87.15 | 86.22 | 77 | 69.88 | 66.26 | 100 | 78.65 | 78.33 | 165 |
| 90 | 84.48 | 83.93 | 97 | 66.61 | 65.28 | 122 | 80.96 | 79.74 | 256 |
| 100 | 86.68 | 85.77 | 116 | 68.80 | 65.58 | 210 | 79.83 | 79.54 | 621 |
| 保留百分比/% | Wiki-CS | AMZ-photo | AMZ-computers | ||||||
| Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | |
| 50 | 93.78 | 91.49 | 111 | 91.63 | 86.28 | 117 | 85.27 | 77.83 | 114 |
| 70 | 92.75 | 90.30 | 87 | 92.53 | 90.21 | 145 | 85.79 | 78.26 | 101 |
| 90 | 92.82 | 90.86 | 137 | 94.48 | 93.44 | 137 | 86.79 | 79.94 | 158 |
| 100 | 92.16 | 90.31 | 159 | 94.44 | 92.52 | 259 | 85.33 | 75.19 | 224 |
Tab. 2 Impact of node retention rate on classification results
| 保留百分比/% | Cora | CiteSeer | PubMed | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | |
| 50 | 81.08 | 79.37 | 64 | 68.17 | 61.42 | 75 | 75.36 | 75.01 | 102 |
| 70 | 87.15 | 86.22 | 77 | 69.88 | 66.26 | 100 | 78.65 | 78.33 | 165 |
| 90 | 84.48 | 83.93 | 97 | 66.61 | 65.28 | 122 | 80.96 | 79.74 | 256 |
| 100 | 86.68 | 85.77 | 116 | 68.80 | 65.58 | 210 | 79.83 | 79.54 | 621 |
| 保留百分比/% | Wiki-CS | AMZ-photo | AMZ-computers | ||||||
| Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | Acc/% | F1/% | Time/s | |
| 50 | 93.78 | 91.49 | 111 | 91.63 | 86.28 | 117 | 85.27 | 77.83 | 114 |
| 70 | 92.75 | 90.30 | 87 | 92.53 | 90.21 | 145 | 85.79 | 78.26 | 101 |
| 90 | 92.82 | 90.86 | 137 | 94.48 | 93.44 | 137 | 86.79 | 79.94 | 158 |
| 100 | 92.16 | 90.31 | 159 | 94.44 | 92.52 | 259 | 85.33 | 75.19 | 224 |
| 模型 | Cora | CiteSeer | PubMed | Wiki-CS | AMZ-photo | AMZ-computers | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | |
| GCN | 76.68 | 76.41 | 64.25 | 65.07 | 76.20 | 76.12 | 83.95 | 81.25 | 75.94 | 74.21 | 66.64 | 60.73 |
| Tail-GNN | 81.44 | 80.48 | 67.30 | 61.32 | 76.30 | 75.93 | 90.45 | 90.05 | 90.32 | 88.93 | 85.23 | 76.30 |
| GOAT | 83.13 | 82.36 | 67.85 | 65.28 | 78.81 | 77.37 | 90.81 | 89.40 | 92.85 | 91.65 | 82.74 | 72.55 |
| NodeFormer | 82.28 | 81.58 | 67.55 | 66.91 | 78.65 | 77.36 | 91.92 | 90.24 | 93.13 | 92.62 | 79.11 | 68.33 |
| SGFormer | 84.53 | 83.74 | 67.91 | 65.63 | 78.98 | 77.48 | 91.73 | 90.62 | 94.24 | 92.84 | 83.40 | 72.11 |
| GIN | 84.23 | 83.93 | 67.34 | 66.03 | 78.23 | 77.84 | 91.84 | 90.21 | 94.26 | 93.30 | 85.04 | 75.01 |
| GAT | 82.65 | 82.83 | 67.46 | 63.24 | 77.43 | 76.65 | 90.55 | 90.11 | 93.44 | 92.95 | 82.55 | 71.75 |
| GATcc | 86.68 | 85.77 | 68.80 | 65.51 | 79.83 | 79.54 | 92.16 | 91.74 | 94.48 | 93.38 | 86.43 | 77.66 |
Tab. 3 Comparison of classification performance among different models on real datasets
| 模型 | Cora | CiteSeer | PubMed | Wiki-CS | AMZ-photo | AMZ-computers | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | Acc | F1 | |
| GCN | 76.68 | 76.41 | 64.25 | 65.07 | 76.20 | 76.12 | 83.95 | 81.25 | 75.94 | 74.21 | 66.64 | 60.73 |
| Tail-GNN | 81.44 | 80.48 | 67.30 | 61.32 | 76.30 | 75.93 | 90.45 | 90.05 | 90.32 | 88.93 | 85.23 | 76.30 |
| GOAT | 83.13 | 82.36 | 67.85 | 65.28 | 78.81 | 77.37 | 90.81 | 89.40 | 92.85 | 91.65 | 82.74 | 72.55 |
| NodeFormer | 82.28 | 81.58 | 67.55 | 66.91 | 78.65 | 77.36 | 91.92 | 90.24 | 93.13 | 92.62 | 79.11 | 68.33 |
| SGFormer | 84.53 | 83.74 | 67.91 | 65.63 | 78.98 | 77.48 | 91.73 | 90.62 | 94.24 | 92.84 | 83.40 | 72.11 |
| GIN | 84.23 | 83.93 | 67.34 | 66.03 | 78.23 | 77.84 | 91.84 | 90.21 | 94.26 | 93.30 | 85.04 | 75.01 |
| GAT | 82.65 | 82.83 | 67.46 | 63.24 | 77.43 | 76.65 | 90.55 | 90.11 | 93.44 | 92.95 | 82.55 | 71.75 |
| GATcc | 86.68 | 85.77 | 68.80 | 65.51 | 79.83 | 79.54 | 92.16 | 91.74 | 94.48 | 93.38 | 86.43 | 77.66 |
| 数据集 | 聚类系数 | 残差连接 | 特征缩放 | Acc | F1 |
|---|---|---|---|---|---|
| Cora | √ | √ | √ | 86.68 | 85.77 |
| √ | √ | 84.63 | 83.95 | ||
| √ | √ | 85.80 | 85.02 | ||
| √ | √ | 86.12 | 85.33 | ||
| CiteSeer | √ | √ | √ | 68.80 | 65.51 |
| √ | √ | 66.48 | 63.20 | ||
| √ | √ | 67.91 | 64.73 | ||
| √ | √ | 68.02 | 64.63 | ||
| AMZ-photo | √ | √ | √ | 94.48 | 93.38 |
| √ | √ | 92.82 | 91.90 | ||
| √ | √ | 93.55 | 92.32 | ||
| √ | √ | 93.93 | 92.57 | ||
| AMZ-computers | √ | √ | √ | 86.43 | 77.66 |
| √ | √ | 84.72 | 76.83 | ||
| √ | √ | 85.84 | 77.04 | ||
| √ | √ | 86.16 | 77.58 |
Tab. 4 Ablation study results
| 数据集 | 聚类系数 | 残差连接 | 特征缩放 | Acc | F1 |
|---|---|---|---|---|---|
| Cora | √ | √ | √ | 86.68 | 85.77 |
| √ | √ | 84.63 | 83.95 | ||
| √ | √ | 85.80 | 85.02 | ||
| √ | √ | 86.12 | 85.33 | ||
| CiteSeer | √ | √ | √ | 68.80 | 65.51 |
| √ | √ | 66.48 | 63.20 | ||
| √ | √ | 67.91 | 64.73 | ||
| √ | √ | 68.02 | 64.63 | ||
| AMZ-photo | √ | √ | √ | 94.48 | 93.38 |
| √ | √ | 92.82 | 91.90 | ||
| √ | √ | 93.55 | 92.32 | ||
| √ | √ | 93.93 | 92.57 | ||
| AMZ-computers | √ | √ | √ | 86.43 | 77.66 |
| √ | √ | 84.72 | 76.83 | ||
| √ | √ | 85.84 | 77.04 | ||
| √ | √ | 86.16 | 77.58 |
| 模型 | Cora | AMZ-photo | ||
|---|---|---|---|---|
| MSE | RMSE | MSE | RMSE | |
| GAT | 0.009 0 | 0.094 8 | 0.013 9 | 0.117 9 |
| GOAT | 0.007 8 | 0.088 3 | 0.003 2 | 0.056 6 |
| GIN | 0.007 2 | 0.084 9 | 0.015 0 | 0.122 5 |
| GATcc | 0.006 4 | 0.080 1 | 0.002 1 | 0.045 8 |
Tab. 5 Fitting effects of different models
| 模型 | Cora | AMZ-photo | ||
|---|---|---|---|---|
| MSE | RMSE | MSE | RMSE | |
| GAT | 0.009 0 | 0.094 8 | 0.013 9 | 0.117 9 |
| GOAT | 0.007 8 | 0.088 3 | 0.003 2 | 0.056 6 |
| GIN | 0.007 2 | 0.084 9 | 0.015 0 | 0.122 5 |
| GATcc | 0.006 4 | 0.080 1 | 0.002 1 | 0.045 8 |
| [1] | SHETTY R D, BHATTACHARJEE S, THANMAI K. Node classification in weighted complex networks using neighborhood feature similarity[J]. IEEE Transactions on Emerging Topics in Computational Intelligence, 2024, 8(6): 3982-3994. |
| [2] | QI G J, AGGARWAL C, TIAN Q, et al. Exploring context and content links in social media: a latent space method[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2012, 34(5): 850-862. |
| [3] | YUAN Z, SANG J, LIU Y, et al. Latent feature learning in social media network[C]// Proceedings of the 21st ACM International Conference on Multimedia. New York: ACM, 2013: 253-262. |
| [4] | LI Z, ZHOU L, HOU Y, et al. Node classification in complex networks based on multi-view debiased contrastive learning[J]. Complex Intelligent Systems, 2024, 10(4): 5683-5701. |
| [5] | HE X, DENG K, WANG X, et al. LightGCN: simplifying and powering graph convolution network for recommendation[C]// Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval. New York: ACM, 2020: 639-648. |
| [6] | 刘昕,杨大伟,邵长恒,等. 面向长尾分布的民众诉求层次多标签分类模型[J]. 计算机应用, 2025, 45(1): 82-89. |
| LIU X, YANG D W, SHAO C H, et al. Hierarchical multi-label classification model for public appeals under long-tail distribution[J]. Journal of Computer Applications, 2025, 45(1): 82-89. | |
| [7] | VELIČKOVIĆ P, CUCURULL G, CASANOVA A, et al. Graph attention networks [EB/OL]. [2025-07-29].. |
| [8] | KIPF T N, WELLING M. Semi-supervised classification with graph convolutional networks [C]// Proceedings of the 5th International Conference on Learning Representations. Toulon: ICLR, 2017: 1-12. |
| [9] | HAMILTON W L, YING R, LESKOVEC J. Inductive representation learning on large graphs [C]// Proceedings of the 31st International Conference on Neural Information Processing Systems. Red Hook: Curran Associates Inc., 2017: 1025-1035. |
| [10] | DWIVEDI V P, LUU A T, LAURENT T, et al. Graph neural networks with learnable structural and positional representations[EB/OL]. [2025-07-29].. |
| [11] | XU K, HU W, LESKOVEC J, et al. How powerful are graph neural networks? [C]// Proceedings of the 7th International Conference on Learning Representations. [S.l.]: OpenReview.net, 2019:1-17. |
| [12] | BRESSON X, LAURENT T. Residual gated graph ConvNets [C]//Proceedings of the 6th International Conference on Learning Representations. Toulon: OpenReview.net, 2018: 1-13. |
| [13] | LIU Z, NGUYEN T K, FANG Y. Tail-GNN: tail-node graph neural networks[C]// Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery and Data Mining 2021. New York: ACM, 2021: 1109-1119. |
| [14] | ZHANG M, CHEN Y. Link prediction based on graph neural networks[C]// Proceedings of the 32nd International Conference on Neural Information Processing Systems. Red Hook: Curran Associates Inc., 2018: 5171-5181. |
| [15] | SHAO C, DUAN Y, WANG B. Attractive density: a new node similarity index of link prediction in complex networks[C]// Proceedings of the 5th International Conference on Information Science and Technology. Piscataway: IEEE, 2015: 74-78. |
| [16] | DEYLAMI H A, ASADPOUR M. Link prediction in social networks using hierarchical community detection[C]// Proceedings of the 7th Conference on Information and Knowledge Technology. Piscataway: IEEE, 2015: 1-5. |
| [17] | LI F, HE J, HUANG G, et al. Node-coupling clustering approaches for link prediction[J]. Knowledge-Based Systems, 2015, 89: 669-680. |
| [18] | MA C, BAO Z K, ZHANG H F. Improving link prediction in complex networks by adaptively exploiting multiple structural features of networks[J]. Physics Letters A, 2017, 381(39): 3369-3376. |
| [19] | BOX-STEFFENSMEIER J M, CAMPBELL B W, CHRISTENSON D P, et al. Role analysis using the ego-ERGM: a look at environmental interest group coalitions[J]. Social Networks, 2018, 52: 213-227. |
| [20] | GUPTA A K, SARDANA N. Impact of topological properties over link prediction based on node neighbourhood: a study[C]// Proceedings of the 7th International Conference on Contemporary Computing. Piscataway: IEEE, 2014: 194-198. |
| [21] | LI M, O’RIORDAN C. The effect of clustering coefficient and node degree on the robustness of cooperation[C]// Proceedings of the 2013 IEEE Congress on Evolutionary Computation. Piscataway: IEEE, 2013: 2833-2839. |
| [22] | KANG J, ZHU Y, XIA Y, et al. RawlsGCN: towards Rawlsian difference principle on graph convolutional network[C]// Proceedings of the ACM Web Conference 2022. New York: ACM, 2022: 1214-1225. |
| [23] | HE K, ZHANG X, REN S, et al. Delving deep into rectifiers: surpassing human-level performance on ImageNet classification[C]// Proceedings of the 2015 IEEE International Conference on Computer Vision. Piscataway: IEEE, 2015: 1026-1034. |
| [24] | 杨莹,郝晓燕,于丹,等. 面向图神经网络模型提取攻击的图数据生成方法[J]. 计算机应用, 2024, 44(8): 2483-2492. |
| YANG Y, HAO X Y, YU D, et al. Graph data generation approach for graph neural network model extraction attacks[J]. Journal of Computer Applications, 2024, 44(8): 2483-2492. | |
| [25] | KONG K, CHEN J, KIRCHENBAUER J, et al. GOAT: a global Transformer on large-scale graphs[C]// Proceedings of the 40th International Conference on Machine Learning. New York: JMLR.org, 2023: 17375-17390.) |
| [26] | WU Q, ZHAO W, LI Z, et al. NodeFormer: a scalable graph structure learning Transformer for node classification[C]// Proceedings of the 36th International Conference on Neural Information Processing Systems. Red Hook: Curran Associates Inc., 2022: 27387-27401.) |
| [27] | WU Q, ZHAO W, YANG C, et al. SGFormer: simplifying and empowering Transformers for large-graph representations[C]// Proceedings of the 37th International Conference on Neural Information Processing Systems. Red Hook: Curran Associates Inc., 2023: 64753-64773. |
| [1] | Yunping HE, Leichun WANG, Ruirui SONG, Xiangfeng LU, Jinxiang WEI, Xiaomeng LIU. Dual-channel multimodal sentiment analysis model based on contrast invariance and reinforcement specificity [J]. Journal of Computer Applications, 2026, 46(6): 1767-1775. |
| [2] | Qianfei WANG, Yang LI, Deyu LI, Suge WANG. Dual-channel feature fusion representation method for short-text clustering based on large language model [J]. Journal of Computer Applications, 2026, 46(5): 1441-1449. |
| [3] | Jing HU, Shikun CHEN, Fang WANG, Rui ZHANG, Yong WANG. Ore image segmentation with linear deformable convolution and dual-domain synergistic dynamic attention [J]. Journal of Computer Applications, 2026, 46(5): 1692-1702. |
| [4] | Ying JING, Ran LI, Zhuo JIANG, Ziyang FU, Jingyi DU, Qi LIU, Jihang LIU. SAM Meibomian gland unified dense segmentation method with introduction of automatic prompt encoder [J]. Journal of Computer Applications, 2026, 46(5): 1667-1676. |
| [5] | Baoyuan ZHENG, Chaobo HE. Graph convolutional network enhanced by graph diffusion and dual-view feature learning [J]. Journal of Computer Applications, 2026, 46(5): 1370-1377. |
| [6] | Ruirui SONG, Leichun WANG, Yunping HE, Jinxiang WEI, Xiangfeng LU, Xiaomeng LIU. Long time series prediction based on hybrid self-attention and differentiated normalization [J]. Journal of Computer Applications, 2026, 46(5): 1499-1506. |
| [7] | Hongrui ZHANG, Weiming FENG, Luxia YANG, Yongjie MA. CSAF-YOLO: improved YOLO11 algorithm for underwater small object detection [J]. Journal of Computer Applications, 2026, 46(5): 1578-1585. |
| [8] | Fengwei CHENG, Bingqi ZHANG, Guohua XU, Wenjian WANG. Competitive loss-driven generative imbalanced node classification [J]. Journal of Computer Applications, 2026, 46(5): 1475-1481. |
| [9] | Huijie GUO, Tianfeng DOU, Zhenlin ZHANG, Kaiyuan QI, Dong WU, Zhijian QU, Zhao LI, Chongguang REN. Time-interdependency-aware dynamic Bayesian network for traffic prediction [J]. Journal of Computer Applications, 2026, 46(5): 1507-1517. |
| [10] | Wen PENG, Bokai ZHANG, Jinwei LIN. Chromosome cascaded classification framework integrating image texture enhancement and super-resolution [J]. Journal of Computer Applications, 2026, 46(5): 1647-1657. |
| [11] | Huanxian LIU, Hongtao WANG, Xian’ao WANG, Hongmei WANG, Weifeng XU. Multimodal fact verification with cross-modal semantic association [J]. Journal of Computer Applications, 2026, 46(4): 1069-1076. |
| [12] | Xumeng DOU, Bin XIE, Zhaohui ZHANG, Zhengang ZHAO, Hanyu DUAN, Aolei GUO. Drug-target interaction prediction based on structure-network collaborative features and grid-attention enhanced Kolmogorov-Arnold network [J]. Journal of Computer Applications, 2026, 46(4): 1344-1353. |
| [13] | Chuandong QIN, Zhiqiang SUO. Skin cancer classification integrating improved ResNet50 with ensemble classifier [J]. Journal of Computer Applications, 2026, 46(4): 1354-1362. |
| [14] | Xiang BAI, Juchuan LI, Huimin WANG, Chao JING, Jian NIU, Xingzhong ZHANG, Yongqiang CHENG. Power image retrieval method based on improved Swin Transformer [J]. Journal of Computer Applications, 2026, 46(4): 1334-1343. |
| [15] | Peirong SHAO, Suzhen LIN, Yanbo WANG. Human-centric detail-enhanced virtual try-on method [J]. Journal of Computer Applications, 2026, 46(3): 915-923. |
| Viewed | ||||||
|
Full text |
|
|||||
|
Abstract |
|
|||||