The impact of feature importance methods on the interpretation of defect classifiers
Not on the map. Why?
Abstract (arXiv)
Classifier specific (CS) and classifier agnostic (CA) feature importance methods are widely used (often interchangeably) by prior studies to derive feature importance ranks from a defect classifier. However, different feature importance methods are likely to compute different feature importance ranks even for the same dataset and classifier. Hence such interchangeable use of feature importance methods can lead to conclusion instabilities unless there is a strong agreement among different methods. Therefore, in this paper, we evaluate the agreement between the feature importance ranks associated with the studied classifiers through a case study of 18 software projects and six commonly used classifiers. We find that: 1) The computed feature importance ranks by CA and CS methods do not always strongly agree with each other. 2) The computed feature importance ranks by the studied CA methods exhibit a strong agreement including the features reported at top-1 and top-3 ranks for a given dataset and classifier, while even the commonly used CS methods yield vastly different feature importance ranks. Such findings raise concerns about the stability of conclusions across replicated studies. We further observe that the commonly used defect datasets are rife with feature interactions and these feature interactions impact the computed feature importance ranks of the CS methods (not the CA methods). We demonstrate that removing these feature interactions, even with simple methods like CFS improves agreement between the computed feature importance ranks of CA and CS methods. In light of our findings, we provide guidelines for stakeholders and practitioners when performing model interpretation and directions for future research, e.g., future research is needed to investigate the impact of advanced feature interaction removal methods on computed feature importance ranks of different CS methods.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 21 of its 138 references that are in the map. First posted on arXiv 4 Feb 2022.
Builds on
21 of 138 references.
References · 21
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2016The Mythos of Model Interpretabilitycited by 716
- 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 467
- 2018All Models are Wrong, but Many are Useful: Learning a Variable's Importance by Studying an Entire Class of Prediction Models Simultaneouslycited by 364
- 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
- 2018The Impact of Automated Parameter Optimization on Defect Prediction Modelscited by 36
- 2018The Impact of Class Rebalancing Techniques on the Performance and Interpretation of Defect Prediction Modelscited by 29
- 2017Improving Palliative Care with Deep Learningcited by 28
- 2016Tuning for Software Analytics: is it Really Necessary?cited by 18
- 2018Explainable Software Analyticscited by 15
- 2019Towards Understanding and Detecting Fake Reviews in App Storescited by 6
9 more
- 2018Applications of Psychological Science for Actionable Analyticscited by 5
- 2019Disentangled Attribution Curves for Interpreting Random Forests and Boosted Treescited by 5
- 2018ConPredictor: Concurrency Defect Prediction in Real-World Applicationscited by 4
- 2018AutoSpearman: Automatically Mitigating Correlated Metrics for Interpreting Defect Modelscited by 4
- 2018Predicting Good Configurations for GitHub and Stack Overflow Topic Modelscited by 3
- 2019An empirical assessment of best-answer prediction models in technical Q&A sitescited by 3
- 2019Is the Stack Distance Between Test Case and Method Correlated With Test Effectiveness?cited by 1
- 2020How to Improve AI Tools (by Adding in SE Knowledge): Experiments with the TimeLIME Defect Reduction Toolcited by 1
- 2021Does chronology matter in JIT defect prediction? A Partial Replication Studycited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 6; 2026: 2.
12 papers.
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMscited by 7
- 2025What Were You Thinking? An LLM-Driven Large-Scale Study of Refactoring Motivations in Open-Source Projectscited by 4
- 2023Predicting the First Response Latency of Maintainers and Contributors in Pull Requestscited by 3
- 2024McUDI: Model-Centric Unsupervised Degradation Indicator for Failure Prediction AIOps Solutionscited by 1
- 2025CID: Measuring Feature Importance Through Counterfactual Distributionscited by 1
- 2024SimClone: Detecting Tabular Data Clones using Value Similaritycited by 0
- 2025Feature Importance Depends on Properties of the Data: Towards Choosing the Correct Explanations for Your Data and Decision Trees based Modelscited by 0
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detectioncited by 0
- 2025On The Impact of Merge Request Deviations on Code Review Practicescited by 0
- 2025Dynamic Features Adaptation in Networking: Toward Flexible training and Explainable inferencecited by 0
- 2026CAFE-GB: Scalable and Stable Feature Selection for Malware Detection via Chunk-wise Aggregated Gradient Boostingcited by 0
- 2026Cross-Course Generalizability of SRL-Aligned Predictive Models Using Digital Learning Tracescited by 0
- 2026Cross-Course Generalizability of SRL-Aligned Predictive Models Using Digital Learning Traces14 Apr 2026
- 2026CAFE-GB: Scalable and Stable Feature Selection for Malware Detection via Chunk-wise Aggregated Gradient Boosting22 Jan 2026
- 2025CID: Measuring Feature Importance Through Counterfactual Distributions19 Nov 2025
- 2025Dynamic Features Adaptation in Networking: Toward Flexible training and Explainable inference9 Oct 2025
- 2025What Were You Thinking? An LLM-Driven Large-Scale Study of Refactoring Motivations in Open-Source Projects9 Sep 2025
- 2025On The Impact of Merge Request Deviations on Code Review Practices10 Jun 2025
- 2025A Study on Mixup-Inspired Augmentation Methods for Software Vulnerability Detection22 Apr 2025
- 2025Feature Importance Depends on Properties of the Data: Towards Choosing the Correct Explanations for Your Data and Decision Trees based Models11 Feb 2025
- 2024VulScribeR: Exploring RAG-based Vulnerability Augmentation with LLMs7 Aug 2024
- 2024SimClone: Detecting Tabular Data Clones using Value Similarity24 Jun 2024
- 2024McUDI: Model-Centric Unsupervised Degradation Indicator for Failure Prediction AIOps Solutions25 Jan 2024
- 2023Predicting the First Response Latency of Maintainers and Contributors in Pull Requests13 Nov 2023