[Paper Review] A Systematic Review of Unsupervised Learning Techniques for Software Defect Prediction
This systematic review evaluates unsupervised learning techniques for software defect prediction using a meta-analysis of 49 studies and 2,456 experimental results. It finds that unsupervised models, particularly Fuzzy C-Means (FCM) and Fuzzy SOMs (FSOMs), perform comparably to supervised models, though widespread issues in reporting quality and experimental consistency undermine reliability.
Background: Unsupervised machine learners have been increasingly applied to software defect prediction. It is an approach that may be valuable for software practitioners because it reduces the need for labeled training data. Objective: Investigate the use and performance of unsupervised learning techniques in software defect prediction. Method: We conducted a systematic literature review that identified 49 studies containing 2456 individual experimental results, which satisfied our inclusion criteria published between January 2000 and March 2018. In order to compare prediction performance across these studies in a consistent way, we (re-)computed the confusion matrices and employed the Matthews Correlation Coefficient (MCC) as our main performance measure. Results: Our meta-analysis shows that unsupervised models are comparable with supervised models for both within-project and cross-project prediction. Among the 14 families of unsupervised model, Fuzzy CMeans (FCM) and Fuzzy SOMs (FSOMs) perform best. In addition, where we were able to check, we found that almost 11% (262/2456) of published results (contained in 16 papers) were internally inconsistent and a further 33% (823/2456) provided insufficient details for us to check. Conclusion: Although many factors impact the performance of a classifier, e.g., dataset characteristics, broadly speaking, unsupervised classifiers do not seem to perform worse than the supervised classifiers in our review. However, we note a worrying prevalence of (i) demonstrably erroneous experimental results, (ii) undemanding benchmarks and (iii) incomplete reporting. We therefore encourage researchers to be comprehensive in their reporting.
Motivation & Objective
- To assess the performance of unsupervised learning techniques in software defect prediction compared to supervised methods.
- To identify the most effective unsupervised model families for defect prediction across within-project and cross-project settings.
- To evaluate the quality of experimental reporting in unsupervised defect prediction research, focusing on completeness and consistency.
- To provide actionable guidance for practitioners and researchers on the viability and reliability of unsupervised defect prediction models.
- To highlight systemic issues in experimental design and reporting that compromise reproducibility and validity in the field.
Proposed method
- Conducted a systematic literature review using five major databases (Web of Science, ACM, IEEE Xplore, ScienceDirect, SpringerLink) from January 2000 to March 2018.
- Applied predefined inclusion criteria to identify 49 primary studies on unsupervised defect prediction, resulting in 2,456 individual experimental results.
- Recomputed confusion matrices from reported performance metrics to ensure consistency and enable fair comparison across studies.
- Used the Matthews Correlation Coefficient (MCC) as the primary performance measure for meta-analysis to enable cross-study comparison.
- Performed bibliometric and quality assessment analyses to evaluate reporting completeness, consistency, and research trends.
- Classified models into 14 families and 6 cluster labeling techniques to compare performance across algorithmic families.
Experimental results
Research questions
- RQ1What are the publication trends in unsupervised software defect prediction research between 2000 and 2018?
- RQ2What is the quality of experimental reporting in terms of completeness and consistency across primary studies?
- RQ3Which unsupervised learning algorithms and model families demonstrate superior predictive performance in software defect prediction?
- RQ4How do unsupervised models compare in performance to supervised models for both within-project and cross-project defect prediction?
- RQ5How do dataset characteristics influence the predictive performance of unsupervised models?
Key findings
- Unsupervised learning models, particularly Fuzzy C-Means (FCM) and Fuzzy SOMs (FSOMs), demonstrated the highest performance among 14 unsupervised model families.
- FCM and FSOMs achieved performance levels comparable to supervised models in both within-project and cross-project defect prediction scenarios.
- Approximately 11% (262 out of 2,456) of reported results were internally inconsistent, indicating errors in experimental computation or reporting.
- About 33% (823 out of 2,456) of results lacked sufficient detail for verification, severely limiting reproducibility and reliability.
- Despite strong performance, the field suffers from poor experimental reporting standards, with many studies failing to disclose key methodological details.
- The meta-analysis confirms that unsupervised models are a viable alternative to supervised models, especially where labeled data is scarce, but only if reporting rigor is improved.
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.