Heterogeneous Defect Prediction Based on Transfer Learning to Handle Extreme Imbalance
Source abstract
Abstract
Software systems are now ubiquitous and are used every day for automation purposes in personal and enterprise applications; they are also essential to many safety-critical and mission-critical systems, e.g., air traffic control systems, autonomous cars, and Supervisory Control And Data Acquisition (SCADA) systems. With the availability of massive storage capabilities, high speed Internet, and the advent of Internet of Things devices, modern software systems are growing in both size and complexity. Maintaining a high quality of such complex systems while manually keeping the error rate at a minimum is a challenge. This paper proposed a heterogeneous defect prediction method considering class extreme imbalance problem in real software datasets. In the first stage, Sampling with the Majority method (SWIM) based on Mahalanobis Distance is used to balance the dataset to reduce the influence of minority samples in defect data. Due to the negative impact of uncorrelated features on the classification algorithm, the second stage uses ensemble learning and joint similarity measurement to select the most relevant and representative features between the source project and the target project. The third phase realizes the transfer learning from the source project to the target project in the Grassmann manifold space. Our experiments, conducted using nine projects of three public domain software defect libraries and compared with four existing advanced methods to verify the effectiveness of the proposed method in this paper. The experimental results indicate that the proposed method is more accurate in terms of Area under curve (AUC).
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Software Engineering Research · Software Reliability and Analysis Research · Software Testing and Debugging Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
The Higher Educational Key Lab for Measuring & Control Technology and Instrumentations of Heilongjiang, Harbin University of Science and Technology, Harbin 150080, China
Department of Computer Science, Chubu University, Aichi 487-8501, Japan
Funding
National Natural Science Foundation of China
References (23)
Show source-provided references
1. An Empirical Study to Investigate Oversampling Methods for Improving Software Defect Prediction Using Imbalanced Data10.1016/j.neucom.2018.04.090 ↗
2. Empirical Studies of a Kernel Density Estimation Based Naive Bayes Method for Software Defect Prediction10.1587/transinf.2018EDP7177 ↗
3. On the Relative Value of Data Resampling Approaches for Software Defect Prediction10.1007/s10664-018-9633-6 ↗
4. Imbalanced Data Processing Model for Software Defect Prediction10.1007/s11277-017-5117-z ↗
5. An Ensemble Oversampling Model for Class Imbalance Problem in Software Defect Prediction
6. On the Relative Value of Cross-Company and Within-Company Data for Defect Prediction10.1007/s10664-008-9103-7 ↗
7. Nam, J., and Kim, S. (September, January 30). Heterogeneous Defect Prediction. Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering, Bergamo, Italy.10.1145/2786805.2786814 ↗
8. Jing, X.Y., Wu, F., Dong, X.W., Qi, F.M., and Xu, B.W. (September, January 30). Heterogeneous Cross-Company Defect Prediction by Unified Metric Representation and CCA-Based Transfer Learning. Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering, Bergamo, Italy.10.1145/2786805.2786813 ↗
9. Li, Z.Q., Jing, X.Y., Zhu, X.K., and Zhang, H.Y. (2017, January 17–22). Heterogeneous Defect Prediction Through Multiple Kernel Learning and Ensemble Learning. Proceedings of the 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME), Shanghai, China.10.1109/ICSME.2017.19 ↗
10. HDA: Cross-Project Defect Prediction via Heterogeneous Domain Adaptation with Dictionary Learning10.1109/ACCESS.2018.2873755 ↗
11. Xu, Z., Ye, S.Z., Zhang, T., Xia, Z., Pang, S., and Wang, Y. (2019, January 22–26). MVSE: Effort-Aware Heterogeneous Defect Prediction via Multiple-View Spectral Embedding. Proceedings of the 2019 IEEE 19th International Conference on Software Quality, Reliability and Security (QRS), Sofia, Bulgaria.10.1109/QRS.2019.00015 ↗
12. A Feature Matching and Transfer Approach for Cross-company Defect Prediction10.1016/j.jss.2017.06.070 ↗
13. Kernel CCA Based Transfer Learning for Software Defect Prediction10.1587/transinf.2016EDL8238 ↗
14. Wen, W.Z., Zhang, B., Gu, X., and Ju, X.L. (2019, January 24). An Empirical Study on Combining Source Selection and Transfer Learning for Cross-Project Defect Prediction. Proceedings of the 2019 IEEE 1st International Workshop on Intelligent Bug Fixing (IBF), Hangzhou, China.10.1109/IBF.2019.8665492 ↗
15. Multiview Transfer Learning for Software Defect Prediction10.1109/ACCESS.2018.2890733 ↗
16. Tong, H.N., Liu, B., and Wang, S.H. (2019). Kernel Spectral Embedding Transfer Ensemble for Heterogeneous Defect Prediction. IEEE Trans. Softw. Eng.10.1109/TSE.2019.2939303 ↗
17. Chen, T.Q., and Guestrin, C. (2016, January 13–17). XGBoost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
18. Wang, J., Feng, W., Chen, Y., Yu, H., Huang, M., and Yu, P.S. (2018, January 22–26). Visual Domain Adaptation with Manifold Embedded Distribution Alignment. Proceedings of the 26th ACM international conference on Multimedia, Seoul, Korea.10.1145/3240508.3240512 ↗
19. Sharma, S., Bellinger, C., Krawczyk, B., Japkowicz, N., and Zaïane, O. (2018, January 17–20). Synthetic Oversampling with the Majority Class: A New Perspective on Handling Extreme Imbalance. Proceedings of the 2018 IEEE International Conference on Data Mining, Singapore.10.1109/ICDM.2018.00060 ↗
20. Data Quality: Some Comments on the NASA Software Defect Datasets10.1109/TSE.2013.11 ↗
21. Marco, D., Michele, L., and Romain, R. (2010, January 2–3). An Extensive Comparison of Bug Prediction Approaches. Proceedings of the IEEE Working Conference on Mining Software Repositories, Cape Town, South Africa.
22. Jureczko, M., and Madeyski, L. (2010, January 12–13). Towards Identifying Software Project Clusters with Regard to Defect Prediction. Proceedings of the 6th International Conference on Predictive Models in Software Engineering, Timişoara, Romania.10.1145/1868328.1868342 ↗
23. Nam, J., Pan, S.J., and Kim, S. (2013, January 18–26). Transfer Defect Learning. Proceedings of the 2013 35th International Conference on Software Engineering (ICSE), San Francisco, CA, USA.10.1109/ICSE.2013.6606584 ↗