arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11079cs.SEcs.LG
收藏

弥合专家知识与深度学习技术:即时缺陷预测

Bridging Expert Knowledge with Deep Learning Techniques for Just-In-Time Defect Prediction

Royal Holloway, University of London(伦敦大学皇家霍洛威学院);Singapore Management University(新加坡管理大学)

Xin Zhou, DongGyun Han, David Lo

AI总结:

针对即时缺陷预测,提出融合简单模型(专家知识)与复杂模型(深度学习)的SimCom++框架,采用特征级早期融合与决策级晚期融合,性能较基线提升5.7%至26.9%。

摘要:

即时(JIT)缺陷预测旨在自动预测一次提交是否有缺陷,近年来得到了广泛研究。总体而言,大多数研究可分为两类:1)使用传统机器学习分类器并基于手工特征的简单模型;2)使用深度学习技术自动从提交内容中提取特征的复杂模型。简单模型使用的手工特征基于专家知识,但可能无法完全表示提交的语义含义。另一方面,复杂模型使用的基于深度学习的特征能够表示提交的语义含义,但可能无法反映有用的专家知识。简单模型和复杂模型在某种程度上似乎是互补的。为了利用简单模型和复杂模型的优势,我们提出了一种模型融合框架,该框架同时采用特征层面的早期融合和决策层面的晚期融合。我们通过采用最佳的早期和晚期融合策略提出了SimCom++。实验结果表明,SimCom++可以显著优于基线模型,性能提升幅度为5.7%至26.9%。此外,我们的实验结果证实了简单模型和复杂模型是互补的。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑