计算机科学 ›› 2026, Vol. 53 ›› Issue (10): 356-366.doi: 10.11896/jsjkx.260100148
娄泽华, 戴文同, 黄温瑞, 耿航航, 韩凡宇, 彭佳恒, 王伟
LOU Zehua, DAI Wentong, HUANG Wenrui, GENG Hanghang, HAN Fanyu, PENG Jiaheng, WANG Wei
摘要: 此研究聚焦开源代码托管平台中Issue-PR 链接预测任务。首先,构建了基于开源协作的 Issue-PR 真实链接数据集采集框架,基于 IPCrawler 框架,结合 GitHub API 和 GH Archive 数据高效采集开源协作数据,用自然语言处理方法解析潜在链接,引入微调后的预训练语言模型进行语义理解与分类,构建高质量基准数据集,其准确率较基于规则的方法提升8.05个百分点。其次,设计了融合异质图和文本序列学习的 GitHub Issue-PR 链接预测模型 HGTS-IPR,构建异质信息网络,采用基于元路径和图注意力机制的异质图神经网络提取特征,结合文本序列学习方法增强语义建模能力,使用多任务学习框架联合进行优化,在5个主流开源项目数据集上,所提方法AP 和 AUC 指标整体优于基线方法。
中图分类号:
| [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. |
|
||