LCNN: Lightweight CNN Architecture for Software Defect Feature Identification Using Explainable AI
Open Access
- 16 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 55744-55756
Abstract
Software defect identification (SDI) is a key part of improving the quality of software projects and lowering the risks that along with maintenance. It does identify the software defect causes that have not been reached yet to get sufficient results. On the other hand, many researchers have recently developed several models, including NN, ML, DL, advanced CNN, and LSTM, to enhance the effectiveness of defect prediction. Due to an insufficient dataset size, repeated investigations, and no longer appropriate baseline selection, the research on the CNN model was unable to produce reliable results. In addition, XAI a well-known explainability approach creates deep models in computer vision, as well as successfully handles the software defect prediction that is easy for humans to understand. To address these issues, firstly we have used SMOTE for preprocessing which was collected from the NASA repository; categorical and numerical data. Secondly, we have experimented with software defect prediction using 1D-CNN and 2D-CNN named lightweight CNN (LCNN). Subsequently, evaluation we have employed a 100-repetition holdout validation. For the cross-validation setup, we utilized the 1D-CNN model was $20\times 1$ , and for the 2D-CNN model, it was $4\times 5 \times 1$ . After that, the results of the experiment were compared and assessed in terms of accuracy, MSE, and AUC. The result shows that 2D-CNN shows 1.36% better contrast with 1D-CNN. Thirdly, we have conducted research on the identification of software defect features via LIME and SHAP in XAI stand as state-of-the-art techniques. However, we cannot use 2D-CNN because it involves more complex relationships, making it challenging to create transparent explanations. That is why we have realized that 1D-CNN will superior result to explain the root cause of software feature identifications. Finally, LIME provides accurate visualization of software defect features in contrast with SHAP, as well as it helps the stakeholders of the software industry easily find actual root causes of software defect identification.Keywords
Funding Information
- Woosong University Academic Research 2024
This publication has 28 references indexed in Scilit:
- A comparative study on the effect of data imbalance on software defect predictionProcedia Computer Science, 2022
- Recursive approach for multiple step-ahead software fault prediction through long short-term memory (LSTM)Journal of Discrete Mathematical Sciences and Cryptography, 2022
- One-dimensional convolutional neural network architecture for classification of mental tasks from electroencephalogramBiomedical Signal Processing and Control, 2022
- Within‐project and cross‐project just‐in‐time defect prediction based on denoising autoencoder and convolutional neural networkIET Software, 2020
- BPDET: An effective software bug prediction model using deep representation and ensemble learning techniquesExpert Systems with Applications, 2020
- Software defect prediction via cost-sensitive Siamese parallel fully-connected neural networksNeurocomputing, 2019
- Software defect prediction using stacked denoising autoencoders and two-stage ensemble learningInformation and Software Technology, 2018
- Optimal stopping time of software system test via artificial neural network with fault count dataJournal of Quality in Maintenance Engineering, 2018
- Software defect prediction using cost-sensitive neural networkApplied Soft Computing, 2015
- Cost-sensitive learning and decision making revisitedEuropean Journal of Operational Research, 2005