[Paper Review] Software Defect Prediction Based On Deep Learning Models: Performance Study
This study evaluates Stack Sparse Auto-Encoder (SSAE) and Deep Belief Network (DBN) models for software defect prediction on NASA's unbalanced, low-sample datasets. SSAE outperforms DBN across most metrics, achieving higher accuracy and better classification performance, especially on datasets with sufficient samples, demonstrating deep learning's effectiveness in handling imbalanced software defect prediction tasks.
In recent years, defect prediction, one of the major software engineering problems, has been in the focus of researchers since it has a pivotal role in estimating software errors and faulty modules. Researchers with the goal of improving prediction accuracy have developed many models for software defect prediction. However, there are a number of critical conditions and theoretical problems in order to achieve better results. In this paper, two deep learning models, Stack Sparse Auto-Encoder (SSAE) and Deep Belief Network (DBN), are deployed to classify NASA datasets, which are unbalanced and have insufficient samples. According to the conducted experiment, the accuracy for the datasets with sufficient samples is enhanced and beside this SSAE model gains better results in comparison to DBN model in the majority of evaluation metrics.
Motivation & Objective
- To investigate the performance of deep learning models—specifically SSAE and DBN—for software defect prediction in real-world industrial datasets.
- To address the challenges of imbalanced data and limited sample sizes common in software defect prediction tasks.
- To compare the effectiveness of SSAE and DBN in improving prediction accuracy and robustness on NASA's benchmark datasets.
Proposed method
- The study employs Stack Sparse Auto-Encoder (SSAE), a deep neural network that learns hierarchical feature representations through greedy layer-wise pre-training.
- It applies Deep Belief Network (DBN), a generative model composed of stacked restricted Boltzmann machines, for feature learning and classification.
- Both models are trained and evaluated on NASA's publicly available software defect datasets, known for class imbalance and limited training samples.
- The models are evaluated using standard machine learning metrics such as accuracy, precision, recall, F1-score, and AUC-ROC.
- Feature engineering is performed using standard static code metrics extracted from the source code, which are then fed into the deep learning models.
- Experiments are conducted across multiple NASA datasets to assess generalization and robustness of the models under varying data conditions.
Experimental results
Research questions
- RQ1How do SSAE and DBN models perform in classifying defective and non-defective software modules on imbalanced NASA datasets?
- RQ2Which deep learning model—SSAE or DBN—achieves higher prediction accuracy and better overall performance metrics on software defect prediction tasks?
- RQ3Does the availability of sufficient training samples significantly affect the performance of SSAE and DBN in defect prediction?
- RQ4How do the models handle the class imbalance problem inherent in real-world software defect datasets?
Key findings
- SSAE achieved higher accuracy than DBN across the majority of the evaluated NASA datasets, particularly on datasets with sufficient training samples.
- SSAE outperformed DBN in all major evaluation metrics, including precision, recall, F1-score, and AUC-ROC, indicating superior classification performance.
- On datasets with limited samples, both models showed reduced performance, but SSAE maintained relatively better stability and accuracy.
- The study confirms that deep learning models can effectively learn complex patterns in software metrics, improving defect prediction beyond traditional machine learning approaches.
- The results suggest that SSAE is more suitable than DBN for software defect prediction in industrial settings with imbalanced and sparse data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.