mlsanityData to 7 Oct 2026

The impact of feature importance methods on the interpretation of defect classifiers

arXiv 2202.02389 ↗First posted 4 Feb 2022cs.LG cs.AI cs.SEcited by 12

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

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2016The Mythos of Model Interpretabilitycited by 716
  4. 2018A Benchmark for Interpretability Methods in Deep Neural Networkscited by 467
  5. 2018All Models are Wrong, but Many are Useful: Learning a Variable's Importance by Studying an Entire Class of Prediction Models Simultaneouslycited by 364
  6. 2018Consistent Individualized Feature Attribution for Tree Ensemblescited by 279
  7. 2018The Impact of Automated Parameter Optimization on Defect Prediction Modelscited by 36
  8. 2018The Impact of Class Rebalancing Techniques on the Performance and Interpretation of Defect Prediction Modelscited by 29
  9. 2017Improving Palliative Care with Deep Learningcited by 28
  10. 2016Tuning for Software Analytics: is it Really Necessary?cited by 18
  11. 2018Explainable Software Analyticscited by 15
  12. 2019Towards Understanding and Detecting Fake Reviews in App Storescited by 6
9 more
  1. 2018Applications of Psychological Science for Actionable Analyticscited by 5
  2. 2019Disentangled Attribution Curves for Interpreting Random Forests and Boosted Treescited by 5
  3. 2018ConPredictor: Concurrency Defect Prediction in Real-World Applicationscited by 4
  4. 2018AutoSpearman: Automatically Mitigating Correlated Metrics for Interpreting Defect Modelscited by 4
  5. 2018Predicting Good Configurations for GitHub and Stack Overflow Topic Modelscited by 3
  6. 2019An empirical assessment of best-answer prediction models in technical Q&A sitescited by 3
  7. 2019Is the Stack Distance Between Test Case and Method Correlated With Test Effectiveness?cited by 1
  8. 2020How to Improve AI Tools (by Adding in SE Knowledge): Experiments with the TimeLIME Defect Reduction Toolcited by 1
  9. 2021Does chronology matter in JIT defect prediction? A Partial Replication Studycited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 6; 2026: 2.

12 papers.