Identifying Inconsistent Software Defect Predictions with Symmetry Metamorphic Relation Pattern
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review
Author(s)
Related Research Unit(s)
Detail(s)
Original language | English |
---|---|
Article number | 112449 |
Journal / Publication | The Journal of Systems and Software |
Volume | 227 |
Online published | 4 Apr 2025 |
Publication status | Online published - 4 Apr 2025 |
Link(s)
DOI | DOI |
---|---|
Permanent Link | https://scholars.cityu.edu.hk/en/publications/publication(5a9a0023-35b2-47cb-94dd-96822a70fa27).html |
Abstract
Determining inconsistent software defect predictions in machine learning-based systems poses a significant challenge. To address this issue, we propose the utilization of Metamorphic Testing (MT) incorporating the “symmetry” metamorphic relation pattern (MRP) to transform the training datasets for training follow-up systems. In contrast, original datasets are employed to train source systems. By comparing the occurrence of inconsistent predictions between source and follow-up systems and analysing the efficacy of this approach, we aim to shed light on its effectiveness. Additionally, Explainable Artificial Intelligence (XAI) is employed to explain the inconsistencies observed. The results demonstrate that the “symmetry” MRP can induce inconsistent predictions, and XAI techniques can effectively elucidate such inconsistencies. Moreover, we find that the ordering of small-sized and imbalanced datasets can contribute to inconsistencies when using the KMeans, Random Forests or Convolutional Neural Network algorithm for software defect prediction systems. To further advance this research, future studies can extend the proposed approach by incorporating additional MRPs in domains that utilize machine learning algorithms to identify and explain inconsistencies. Another promising research avenue involves investigating the relationship between data imbalance, dataset size, and MRPs to enhance the identification of inconsistencies and derive more robust MRs. © 2025 Published by Elsevier Inc.
Research Area(s)
- Metamorphic Testing, Metamorphic Relation Patterns, Software Defect Prediction, Explainable Artificial Intelligence
Citation Format(s)
Identifying Inconsistent Software Defect Predictions with Symmetry Metamorphic Relation Pattern. / Chan, Pak Yuen Patrick; Keung, Jacky; Yang, Zhen.
In: The Journal of Systems and Software, Vol. 227, 112449, 09.2025.
In: The Journal of Systems and Software, Vol. 227, 112449, 09.2025.
Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review