Exploring Consistent Feature Selection for Software Fault Prediction: An XAI-Based Model-Agnostic Approach

Numerous Feature Selection (FS) techniques have been widely utilized in Software Engineering (SE) to enhance the predictive accuracy of Machine Learning (ML) models. However, how consistently these FS techniques extract features under various data changes (made to the training data) remains underexplored. While prior studies have assessed the stability of traditional FS techniques (e.g., Information Gain, Genetic Search, etc.), their findings remain limited. With the growing use of eXplainable Artificial Intelligence (XAI) in SE, it is important to assess the level of consistency of model-agnostic FS techniques to ensure their reliability within dynamic learning environments. This study evaluates the consistency of Permutation Feature Importance (PFI) and SHapley Additive exPlanations (SHAP), across five ML models, i.e., Linear Regression(LR). Multi-layer Perceptron (MLP), Random Forest (RF), Decision Trees (DT), Support Vector Machines(SVM), on six Software Fault Prediction datasets under various validation methods (such as 3-fold, Bootstrap etc.), data normalization, and dataset modifications. The findings reveal that model-agnostic FS shows higher consistency than traditional FS techniques across all changes. In the case of validation-based consistency and using the SHAP, SVM and DT achieve the highest average feature consistency (100%), while MLP achieves the lowest (74.27%). Similarly, using PFI, LR, DT, and SVM achieves 100% consistency, whereas MLP remains the lowest consistency at 44.03%. In the case of data change-based consistency, using SHAP, MLP achieves the highest consistency (76.20%), whereas SVM has the lowest (70.98%). Using PFI, RF achieves the highest average consistency (77.24%), and MLP is the least consistent (44.93%). Similarly, in an overall comparison, both XAI-based techniques outperform traditional techniques, confirming their reliability for SFP tasks.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3558913
Citations
4
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
12.98
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring Consistent Feature Selection for Software Fault Prediction: An XAI-Based Model-Agnostic Approach

M. Adam Khan, Fasee Ullah, Muhammad Faheem, Jahangir Khan et al.
4 citations
IEEE Access
Software Engineering Research
12.98
article

Exploring Consistent Feature Selection for Software Fault Prediction: An XAI-Based Model-Agnostic Approach

M. Adam Khan, Fasee Ullah, Muhammad Faheem, Jahangir Khan, Asad Ali
article en
4 citations

Abstract

Numerous Feature Selection (FS) techniques have been widely utilized in Software Engineering (SE) to enhance the predictive accuracy of Machine Learning (ML) models. However, how consistently these FS techniques extract features under various data changes (made to the training data) remains underexplored. While prior studies have assessed the stability of traditional FS techniques (e.g., Information Gain, Genetic Search, etc.), their findings remain limited. With the growing use of eXplainable Artificial Intelligence (XAI) in SE, it is important to assess the level of consistency of model-agnostic FS techniques to ensure their reliability within dynamic learning environments. This study evaluates the consistency of Permutation Feature Importance (PFI) and SHapley Additive exPlanations (SHAP), across five ML models, i.e., Linear Regression(LR). Multi-layer Perceptron (MLP), Random Forest (RF), Decision Trees (DT), Support Vector Machines(SVM), on six Software Fault Prediction datasets under various validation methods (such as 3-fold, Bootstrap etc.), data normalization, and dataset modifications. The findings reveal that model-agnostic FS shows higher consistency than traditional FS techniques across all changes. In the case of validation-based consistency and using the SHAP, SVM and DT achieve the highest average feature consistency (100%), while MLP achieves the lowest (74.27%). Similarly, using PFI, LR, DT, and SVM achieves 100% consistency, whereas MLP remains the lowest consistency at 44.03%. In the case of data change-based consistency, using SHAP, MLP achieves the highest consistency (76.20%), whereas SVM has the lowest (70.98%). Using PFI, RF achieves the highest average consistency (77.24%), and MLP is the least consistent (44.93%). Similarly, in an overall comparison, both XAI-based techniques outperform traditional techniques, confirming their reliability for SFP tasks.

IEEE AccessVol. 13
Sarhad University of Science and Information Technology (PK), Universiti Teknologi Petronas (MY), VTT Technical Research Centre of Finland (FI)
Openalex Percentile: Top 2%
Software Engineering Research
12.98
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.