Computer Science ›› 2026, Vol. 53 ›› Issue (10): 356-366.doi: 10.11896/jsjkx.260100148

• Computer Software • Previous Articles     Next Articles

HGTS-IPR:Link Prediction Model Integrating Heterogeneous Graph and Text Sequence

LOU Zehua, DAI Wentong, HUANG Wenrui, GENG Hanghang, HAN Fanyu, PENG Jiaheng, WANG Wei   

  1. School of Data Science and Engineering,East China Normal University,Shanghai 200062, China
  • Received:2026-01-25 Revised:2026-04-27 Published:2026-10-13
  • About author:LOU Zehua,born in 1993,Ph.D candidate,is a member of CCF(No.77680G).His main research interests include open-source software ecosystems, graph neural network and complex network.
    WANG Wei,born in 1979,Ph.D,professor,Ph.D supervisor.His main research interests include open source measurements and computational education.
  • Supported by:
    National Natural Science Foundation of China(62137001) and Digital Transformation Innovation Research Project of Shanghai Municipal Education Commission(40400-22201).

Abstract: This paper focuses on the GitHub Issue-PR link prediction task,with the main contributions as follows.Firstly,a framework for collecting real-world Issue-PR link datasets based on open-source collaboration is constructed.Built on the IPCrawler framework,it efficiently collects open-source collaboration data by integrating GitHub API and GH Archive data.Na-tural language processing methods are used to parse potential links,and a fine-tuned pre-trained language model is introduced for semantic understanding and classification,constructing a high-quality benchmark dataset.The accuracy improves by 8.05 percen-tage points compared with the rule-based method.Secondly,a GitHub Issue-PR link prediction model named HGTS-IPR(Heterogeneous Graph and Text Sequence for Issue-Pull Request Linking) is designed,which integrates heterogeneous graph learning and text sequence learning.A heterogeneous information network is constructed,and a heterogeneous graph neural network based on meta-paths and graph attention mechanisms is adopted for feature extraction,while text sequence learning is incorporated to enhance semantic modeling.A multi-task learning framework is used for joint optimization.On five mainstream open-source project datasets,the model generally outperforms the baseline methods in terms of the AP and AUC metrics.

Key words: GitHub, Issue-PR linking prediction, Heterogeneous graph neural network, Text sequence modeling, Multi-task lear-ning

CLC Number: 

  • TP391
[1] WU R,ZHANG H,KIM S,et al.Relink:recovering links between bugs and changes[C]//Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of Software Engineering.2011:15-25.
[2] RUAN H,CHEN B,PENG X,et al.Deeplink:Recovering issue-commit links based on deep learning[J].Journal of Systems and Software,2019,158:110406.
[3] XIE R,CHEN L,YE W,et al.Deeplink:A code knowledgegraph based deep learning approach for issue-commit link reco-very[C]//2019 IEEE 26th International Conference on Software Analysis,Evolution and Reengineering(SANER).IEEE,2019:434-444.
[4] DEVLIN J,CHANG M W,LEE K,et al.Bert:Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies.2019:4171-4186.
[5] LIN J,LIU Y,ZENG Q,et al.Traceability Transformed:Gene-rating More Accurate Links with Pre-Trained BERT Models[C]//2021 IEEE/ACM 43rd International Conference on Software Engineering(ICSE).2021:324-335.
[6] HUSAIN H,WU H H,GAZIT T,et al.Codesearchnet chal-lenge:Evaluating the state of semantic code search[J].arXiv:1909.09436,2019.
[7] ZHANG Y,WU Y,WANG T,et al.iLinker:a novel approach for issue knowledge acquisition in GitHub projects[J].World Wide Web,2020,23(3):1589-1619.
[8] BAI S,LIU H,DAI E,et al.Improving issue-pr link prediction via knowledge aware heterogeneous graph learning[J].IEEE Transactions on Software Engineering,2024,50(7):1901-1920.
[9] ZHAO S,XIA X,FITZGERALD B,et al.Openrank leader-board:motivating open source collaborations through social network evaluation in Alibaba [C]//Proceedings of the 46th International Conference on Software Engineering:Software Engineering in Practice.2024:346-357.
[10] ZHAO Y,CAI X,WU Y,et al.MoSE:Modality split and ensemble for multimodal knowledge graph completion[C]//Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.ACL,2022:10527-10536.
[11] PARTACHI P P,WHITE D R,BARR E T.Aide-memoire:Improving a project’s collective memory via pull request-issue links[J].ACM Transactions on Software Engineering and Methodo-logy,2023,32(2):1-36.
[12] ZHANG C,WANG Y,WEI Z,et al.Ealink:An efficient and accurate pretrained framework for issue-commit link recovery[C]//2023 38th IEEE/ACM International Conference on Automated Software Engineering(ASE).IEEE,2023:217-229.
[13] HE X,DENG K,WANG X,et al.Lightgcn:Simplifying andpowering graph convolution network for recommendation[C]//Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval.2020:639-648.
[14] SCHLICHTKRULL M,KIPF T N,BLOEM P,et al.Modeling relational data with graph convolutional networks[C]//The Semantic Web:15th International Conference.Springer,2018:593-607.
[15] WANG X,JI H,SHI C,et al.Heterogeneous graph attention network[C]//The World Wide Web Conference.2019:2022-2032.
[1] DONG Guojun, CHENG Can, FANG Qing, YOU Lan, WANG Wei, PENG Qingxi. How to Filter Collaborative Development Projects from Open-source Communities--Exploratory Study on GitHub [J]. Computer Science, 2026, 53(6): 396-407.
[2] HU Haifeng, ZHU Yiwen, ZHAO Haitao. Network Slicing End-to-end Latency Prediction Based on Heterogeneous Graph Neural Network [J]. Computer Science, 2025, 52(3): 349-358.
[3] PENG Bo, LI Yaodong, GONG Xianfu, LI Hao. Method for Entity Relation Extraction Based on Heterogeneous Graph Neural Networks and TextSemantic Enhancement [J]. Computer Science, 2024, 51(6A): 230700071-5.
[4] WU Jiawei, FANG Quan, HU Jun, QIAN Shengsheng. Pre-training of Heterogeneous Graph Neural Networks for Multi-label Document Classification [J]. Computer Science, 2024, 51(1): 143-149.
[5] ZHANG Yu, WANG Zhe, LI Zhixing, YU Yue, WANG Tao, CAI Mengluan. Empirical Study on Application and Maintenance of OSS Community Profile Documentation [J]. Computer Science, 2023, 50(6A): 220600221-8.
[6] PU Jinyao, BU Lingmei, LU Yongmei, YE Ziming, CHEN Li, YU Zhonghua. Utilizing Heterogeneous Graph Neural Network to Extract Emotion-Cause Pairs Effectively [J]. Computer Science, 2023, 50(1): 205-212.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!