期刊文献+

基于变分自编码器的异构缺陷预测特征表示方法 被引量:9

Feature Representation Method for Heterogeneous Defect Prediction Based on Variational Autoencoders
下载PDF
导出
摘要 跨项目软件缺陷预测技术可以利用现有的已标注缺陷数据集对新的无标记项目进行预测,但需要两者之间具有相同的度量集合,难以用于实际开发.异构缺陷预测技术可以在具有异构度量集合的项目间进行缺陷预测,该技术引起了大量研究人员的关注.现有的异构缺陷预测技术利用朴素的或者传统机器学习方法为源项目和目标项目学习特征表示,所学习到的特征表示能力很弱且缺陷预测性能很差.鉴于深度神经网络强大的特征抽取和表示能力,基于变分自编码器技术提出了一种面向异构缺陷预测的特征表示方法.该模型结合了变分自编码器和最大均值差异距离,能够有效地学习源项目和目标项目的共性特征表示,基于该特征表示可以训练出有效的缺陷预测模型.在多组缺陷数据集上通过与传统跨项目缺陷预测方法及异构缺陷预测方法实验对比验证了所提方法的有效性. Cross-project defect prediction technology can use the existing labeled defect data to predict new unlabeled data,but it needs to have the same metric features for two projects,which is difficult to be applied in actual development.Heterogeneous defect prediction can perform prediction without requiring the source and target project to have the same set of metrics and thus has attracted great interest.Existing heterogeneous defect prediction models use naive or traditional machine learning methods to learn feature representations between source and target projects,and perform prediction based on it.The feature representation learned by previous studies is weak,causing poor performance in predicting defect-prone instances.In view of the powerful feature extraction and representation capabilities of deep neural networks,this study proposes a feature representation method for heterogeneous defect prediction based on variational autoencoders.By combining the variational autoencoder and maximum mean discrepancy,this method can effectively learn the common feature representation of the source and target projects.Then,an effective defect prediction model can be trained based on it.The validity of the proposed method is verified by comparing it with traditional cross-project defect prediction methods and heterogeneous defect prediction methods on various datasets.
作者 贾修一 张文舟 李伟湋 黄志球 JIA Xiu-Yi;ZHANG Wen-Zhou;LI Wei-Wei;HUANG Zhi-Qiu(School of Computer Science and Engineering,Nanjing University of Science and Technology,Nanjing 210094,China;College of Aerospace Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 210016,China;College of Computer Science and Technology,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China)
出处 《软件学报》 EI CSCD 北大核心 2021年第7期2204-2218,共15页 Journal of Software
基金 国家自然科学基金(61906090,U20B2064,61773208) 江苏省自然科学基金(BK20191287,BK20170809) 中央高校基本科研业务费专项资金(30920021131) 中国博士后科学基金(2018M632304)。
关键词 异构缺陷预测 变分自编码器 特征表示 heterogeneous defect prediction variational autoencoders feature representation
  • 相关文献

参考文献1

二级参考文献130

  • 1王青,伍书剑,李明树.软件缺陷预测技术.软件学报,2008,19(7):1565—1580.http://www.jos.org.cn/1000—9825/19/1565.htm.
  • 2Hall T, Beecham S, Bowes D, Gray D, Counsell S. A systematic literature review on fault prediction performance in software engineering. IEEE Trans. on Software Engineering, 2012,38(6): 1276-1304. [doi: 10.1109/TSE.2011.103 ].
  • 3Radjenovic D, Hericko M, Torkar R, Zivkovic A. Software fault prediction metrics: A systematic literature review. Information and Software Technology, 2013,55(8): 1397-1418. [doi: 10.1016/j.infsof.2013.02.009].
  • 4Akiyama E. An example of software system debugging. In: Proc. of the Int'1 Federation of Information Proc. Societies Congress. New York: Springer Science and Business Media, 1971. 353-359.
  • 5Halstead MH. Elements of Software Science (Operating and Programming Systems Series). New York: Elsevier Science Inc., 1977.
  • 6McCabe TJ. A complexity measure. IEEE Trans. on Software Engineering, 1976,2(4):308-320. [doi: 10.1109/TSE.1976.233837].
  • 7Chidamber SR, Kemerer CF. A metrics suite for object oriented design. IEEE Trans. on Software Engineering, 1994,20(6): 476-493. [doi: 10.1109/32.295895].
  • 8Basili VR, Briand LC, Melo WL. A validation of object-oriented design metrics as quality indicators. IEEE Trans. on Software Engineering, 1996,22(10):751-761. [doi: 10.1109/32.544352].
  • 9Subramanyam R, Krishnan MS. Empirical analysis of CK metrics for object-oriented design complexity: Implications for software defects. IEEE Trans. on Software Engineering, 2003,29(4):297-310. [doi: 10.1109/TS E.2003.1191795].
  • 10Zhou YM, Xu BW, Leung H. On the ability of complexity metrics to predict fault-prone classes in object-oriented systems. Journal of Systems and Software, 2010,83(4):660-674. [doi: 10.1016/j.jss.2009.11.704].

共引文献122

同被引文献90

引证文献9

二级引证文献25

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部