Bridging expert knowledge with deep learning techniques for just-in-time defect prediction

被引:0
作者
Zhou, Xin [1 ]
Han, Donggyun [2 ]
Lo, David [1 ]
机构
[1] Singapore Management Univ, Sch Comp & Informat Syst, 80 Stamford Rd, Singapore, Singapore
[2] Univ London, Dept Comp Sci Royal Holloway, Egham TW20 0EX, England
基金
新加坡国家研究基金会;
关键词
Just-in-time defect prediction; Expert knowledge; Deep learning; Multi-modal fusion; FUSION METHODS; BUGS;
D O I
10.1007/s10664-024-10591-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Just-In-Time (JIT) defect prediction aims to automatically predict whether a commit is defective or not, and has been widely studied in recent years. In general, most studies can be classified into two categories: 1) simple models using traditional machine learning classifiers with hand-crafted features, and 2) complex models using deep learning techniques to automatically extract features from commit contents. Hand-crafted features used by simple models are based on expert knowledge but may not fully represent the semantic meaning of the commits. On the other hand, deep learning-based features used by complex models represent the semantic meaning of commits but may not reflect useful expert knowledge. Simple models and complex models seem complementary to each other to some extent. To utilize the advantages of both simple and complex models, we propose a model fusion framework that adopts both early fusions on the feature level and late fusions on the decision level. We propose SimCom++ by adopting the best early and late fusion strategies. The experimental results show that SimCom++ can significantly outperform the baselines by 5.7-26.9%. In addition, our experimental results confirm that the simple model and complex model are complementary to each other.
引用
收藏
页数:44
相关论文
共 50 条
[41]   Transfer Learning for Just-in-Time Design Smells Prediction using Temporal Convolutional Networks [J].
Ardimento, Pasquale ;
Aversano, Lerina ;
Bernardi, Mario Luca ;
Cimitile, Marta ;
Iammarino, Martina .
PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2021, :310-317
[42]   A code change-oriented approach to just-in-time defect prediction with multiple input semantic fusion [J].
Huang, Teng ;
Yu, Hui-Qun ;
Fan, Gui-Sheng ;
Huang, Zi-Jie ;
Wu, Chen-Yu .
EXPERT SYSTEMS, 2024, 41 (12)
[43]   Effort-aware cross-project just-in-time defect prediction framework for mobile apps [J].
Cheng, Tian ;
Zhao, Kunsong ;
Sun, Song ;
Mateen, Muhammad ;
Wen, Junhao .
FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (06)
[44]   Effort-aware cross-project just-in-time defect prediction framework for mobile apps [J].
Tian CHENG ;
Kunsong ZHAO ;
Song SUN ;
Muhammad MATEEN ;
Junhao WEN .
Frontiers of Computer Science, 2022, 16 (06) :19-33
[45]   Effort-aware cross-project just-in-time defect prediction framework for mobile apps [J].
Tian Cheng ;
Kunsong Zhao ;
Song Sun ;
Muhammad Mateen ;
Junhao Wen .
Frontiers of Computer Science, 2022, 16
[46]   Just-In-Time Defect Identification and Localization: A Two-Phase Framework [J].
Yan, Meng ;
Xia, Xin ;
Fan, Yuanrui ;
Hassan, Ahmed E. ;
Lo, David ;
Li, Shanping .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (01) :82-101
[47]   Software Defect Prediction Based on Machine Learning and Deep Learning Techniques: An Empirical Approach [J].
Albattah, Waleed ;
Alzahrani, Musaad .
AI, 2024, 5 (04) :1743-1758
[48]   Just-In-Time and Real-Time Bug-Inducing Commit Prediction using a Federated Learning Approach [J].
Islam, Md Rayhan ;
Roy, Banani ;
Hassan, Mohammad ;
Nikanjam, Amin .
2024 34TH INTERNATIONAL CONFERENCE ON COLLABORATIVE ADVANCES IN SOFTWARE AND COMPUTING, CASCON, 2024, :107-116
[49]   FENSE: A feature-based ensemble modeling approach to cross-project just-in-time defect prediction [J].
Zhang, Tanghaoran ;
Yu, Yue ;
Mao, Xinjun ;
Lu, Yao ;
Li, Zhixing ;
Wang, Huaimin .
EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
[50]   FENSE: A feature-based ensemble modeling approach to cross-project just-in-time defect prediction [J].
Tanghaoran Zhang ;
Yue Yu ;
Xinjun Mao ;
Yao Lu ;
Zhixing Li ;
Huaimin Wang .
Empirical Software Engineering, 2022, 27