An Adaptive Cluster-Guided Ensemble Learning Framework for Robust software defect prediction and Overfitting Mitigation

Authors

  • Srinivasa Rao Katragadda Author
  • Dr.Sirisha Potluri Author

Keywords:

Prediction, Ensemble Learning, Adaptive Clustering, Overfitting Mitigation, Tabular Foundation Model

Abstract

Software defect prediction (SDP) improves testing efficiency, maintenance planning, and quality assurance by identifying fault-prone modules before deployment. However, existing approaches often struggle with heterogeneous software modules, redundant correlated metrics, class-imbalanced defect data, and overfitting caused by excessive adaptation to training observations, which limit generalization to unseen modules. To address these challenges, this paper proposes an Adaptive Cluster-Guided Ensemble Learning Framework (ACGELFW) built around the Mitra-v2 tabular foundation model. The framework preprocesses software-metric data and applies correlation-based feature optimization to obtain a compact, non-redundant representation. Adaptive K-Means clustering, guided by silhouette analysis, groups structurally similar software modules, and the resulting cluster identity is supplied as contextual information to a shared Mitra-v2 model for defect probability estimation. Overfitting is controlled through L2 regularization, validation-based early stopping, and stratified partitioning across training, validation, and test sets. Cluster-level predictions are combined using validation-derived weights to produce an aggregated defect probability, thresholded for final binary classification. Experiments on a combined dataset of 14,625 software modules from JM1, KC1, CM1, KC2, and PC1 show that silhouette analysis identifies four homogeneous clusters, while feature optimization reduces the metric set from 20 to 15 attributes. The proposed framework achieves a testing accuracy of 97.64%, precision of 97.51%, recall of 97.82%, F1-score of 97.66%, MCC of 95.31%, ROC-AUC of 98.18%, and PR-AUC of 97.94%, outperforming Random Forest, PCA-LDA with IMJAYA-ELM, and Bi-LSTM baselines. These findings confirm that combining adaptive clustering with a single shared foundation model yields robust, generalizable defect predictions without requiring separate classifiers for each module group.

Downloads

Download data is not yet available.

Downloads

Published

2026-10-03

How to Cite

An Adaptive Cluster-Guided Ensemble Learning Framework for Robust software defect prediction and Overfitting Mitigation . (2026). Minimax Theory and Its Applications, 11(3s), 868-887. https://journalmta.com/index.php/jmta/article/view/538