Statistical Significance of Feature Importance Rankings

Jeremy Goldwasser, Giles Hooker
1/28/2024
15 citations
stat.MLcs.LG

Official code: jeremy-goldwasser/feature-rankings (4 stars, Jupyter Notebook, last commit 2025-09-11).

Abstract

Feature importance scores are ubiquitous tools for understanding the predictions of machine learning models. However, many popular attribution methods suffer from high instability due to random sampling.

Show full abstract

Leveraging novel ideas from hypothesis testing, we devise techniques that ensure the most important features are correct with high-probability guarantees. These assess the set of $K$ top-ranked features, as well as the order of its elements. Given a set of local or global importance scores, we demonstrate how to retrospectively verify the stability of the highest ranks. We then introduce two efficient sampling algorithms that identify the $K$ most important features, perhaps in order, with probability exceeding $1-α$. The theoretical justification for these procedures is validated empirically on SHAP and LIME.

View on arXivView PDF

Code Implementations(1)

41Jupyter Notebook, PythonNov 10, 20231 years ago

Similar Papers

Cite this paper

@article{goldwasser2024statistical,
  title  = {Statistical Significance of Feature Importance Rankings},
  author = {Jeremy Goldwasser and Giles Hooker},
  year   = {2024},
  eprint = {2401.15800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.15800v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.15800.svg)](https://codeofpaper.com/paper/2401.15800)

Discussion