arrow
Return

Using Permutation-Based Feature Importance for Improved Machine Learning Model Performance at Reduced Costs

delete2025-01-01
delete0
delete
OA
AI
M
M. Adam Khan
A
Asad Ali
J
Jahangir Khan
F
Fasee Ullah
M
Muhammad Faheem *
DOI:10.1109/ACCESS.2025.3544625delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In Software Quality Assurance (SQA), predicting defect-prone software modules is essential for ensuring software reliability and consistency. This task is commonly achieved through Machine Learning (ML) techniques, but improving model performance typically incurs significant computational costs. These high computational costs and uncertain payoffs make most Software engineering researchers reluctant to optimize ML models. This creates a need for novel techniques that can achieve near-optimal performance of hyperparameter settings while maintaining the computational efficiency of default settings. To address this, we employed five ML models, Decision Tree, Ranger, Random Forest, Support Vector Machine, and k-nearest Neighbors, and optimized their parameters using the random search technique. Our experiments covered six diverse Software Fault Prediction (SFP) datasets, encompassing various software features, application domains, and defect patterns, to evaluate the approach's generalizability and effectiveness. Moreover, the Permutation Feature Importance (PFI)-based model-agnostic method was employed to identify the top ten features most critical for model accuracy and efficiency. These selected features were used to retrain the ML models without hyperparameters (default settings) to determine whether similar performance could be achieved at low computational cost. The results show an average accuracy improvement of 77.39% and a 92.02% reduction in computational cost. The most important case attained a 99.25% accuracy improvement and a 96.77% cost reduction. Such results clearly show that PFI-based feature selection is capable of high performance at a fraction of computational cost, offering an efficient solution for software engineers to optimize ML models.
Keywords:
Computational modeling
Feature extraction
Accuracy
Computational efficiency
Predictive models
Optimization
Support vector machines
Random forests
Radio frequency
Decision trees
Model-agnostic techniques
permutation feature importance (PFI)
software fault prediction (SFP)
predictive accuracy
machine learning (ML)
computational cost
default settings
hyperparameter

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

V
vtt technical research center finland
Scholars:
4.3K
Papers: 3.9K
Citations: 4
U
Universiti Teknologi Petronas
Scholars:
5.3K
Papers: 4.6K
Citations: 5.9K