A Hierarchical Feature Ensemble Deep Learning Approach for Software Defect Prediction

被引:2
|
作者
Zhang, Shenggang [1 ]
Jiang, Shujuan [1 ]
Yan, Yue [1 ]
机构
[1] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou 221116, Peoples R China
基金
中国国家自然科学基金;
关键词
Software defect prediction; deep learning; abstract syntax tree; class dependency network; ensemble learning;
D O I
10.1142/S0218194023500079
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software defect prediction can detect modules that may have defects in advance and optimize resource allocation to improve test efficiency and reduce development costs. Traditional features cannot capture deep semantic and grammatical information, which limits the further development of software defect prediction. Therefore, it has gradually become a trend to use deep learning technology to automatically learn valuable deep features from source code or relevant data. However, most software defect prediction methods based on deep learning extraction features from a single information source or only use a single deep learning model, which leads to the fact that the extracted features are not comprehensive enough to affect the final prediction performance. In view of this, this paper proposes a Hierarchical Feature Ensemble Deep Learning (HFEDL) Approach for software defect prediction. Firstly, the HFEDL approach needs to obtain three types of information sources: abstract syntax tree (AST), class dependency network (CDN) and traditional features. Then, the Convolutional Neural Network (CNN) and the Bidirectional Long Short-Term Memory based on Attention mechanism (BiLSTM+Attention) are used to extract different valuable features from the three information sources and multiple prediction sub-models are constructed. Next, all the extracted features are fused by a filter mechanism to obtain more comprehensive features and construct a fusion prediction sub-model. Finally, all the sub-models are integrated by an ensemble learning method to obtain the final prediction model. We use 11 projects in the PROMISE defect repository and evaluate our approach in both non-effort-aware and effort-aware scenarios. The experimental results show that the prediction performance of our approach is superior to state-of-the-art methods in both scenarios.
引用
收藏
页码:543 / 573
页数:31
相关论文
共 50 条
  • [31] Deep Feature Learning to Quantitative Prediction of Software Defects
    Qiao, Lei
    Li, Guangjie
    Yu, Daohua
    Liu, Hui
    2021 IEEE 45TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2021), 2021, : 1401 - 1402
  • [32] Handling Imbalanced Data using Ensemble Learning in Software Defect Prediction
    Malhotra, Ruchika
    Jain, Juhi
    PROCEEDINGS OF THE CONFLUENCE 2020: 10TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE & ENGINEERING, 2020, : 300 - 304
  • [33] Software Defect Prediction Using Ensemble Learning: A Systematic Literature Review
    Matloob, Faseeha
    Ghazal, Taher M.
    Taleb, Nasser
    Aftab, Shabib
    Ahmad, Munir
    Khan, Muhammad Adnan
    Abbas, Sagheer
    Soomro, Tariq Rahim
    IEEE ACCESS, 2021, 9 : 98754 - 98771
  • [34] A New Learning to Rank Approach for Software Defect Prediction
    Al-omari, Sara
    Elsheikh, Yousef
    Azzeh, Mohammed
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (08) : 805 - 812
  • [35] A Learning-to-Rank Approach to Software Defect Prediction
    Yang, Xiaoxing
    Tang, Ke
    Yao, Xin
    IEEE TRANSACTIONS ON RELIABILITY, 2015, 64 (01) : 234 - 246
  • [36] Studying the effectiveness of deep active learning in software defect prediction
    Feyzi F.
    Daneshdoost A.
    International Journal of Computers and Applications, 2023, 45 (7-8) : 534 - 552
  • [37] Software Fault Prediction Using an RNN-Based Deep Learning Approach and Ensemble Machine Learning Techniques
    Borandag, Emin
    APPLIED SCIENCES-BASEL, 2023, 13 (03):
  • [38] Software defect prediction ensemble learning algorithm based on adaptive variable sparrow search algorithm
    Tang, Yu
    Dai, Qi
    Yang, Mengyuan
    Du, Tony
    Chen, Lifang
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2023, 14 (06) : 1967 - 1987
  • [39] Software defect prediction ensemble learning algorithm based on adaptive variable sparrow search algorithm
    Yu Tang
    Qi Dai
    Mengyuan Yang
    Tony Du
    Lifang Chen
    International Journal of Machine Learning and Cybernetics, 2023, 14 : 1967 - 1987
  • [40] A Systematic Review of Ensemble Techniques for Software Defect and Change Prediction
    Khanna, Megha
    E-INFORMATICA SOFTWARE ENGINEERING JOURNAL, 2022, 16 (01) : 1 - 41