Preprint
Machine Learning

Permutation importance: a corrected feature importance measure

André Altmann(Max Planck Institute for Informatics), Laura Toloşi(Max Planck Institute for Informatics), Oliver Sander(Max Planck Institute for Informatics), Thomas Lengauer(Max Planck Institute for Informatics)
April 12, 2010Bioinformatics2,865 citations

2.9k

Citations

87

Influential Citations

Bioinformatics

Venue

2010

Year

Abstract

MOTIVATION: In life sciences, interpretability of machine learning models is as important as their prediction accuracy. Linear models are probably the most frequently used methods for assessing feature relevance, despite their relative inflexibility. However, in the past years effective estimators of feature relevance have been derived for highly complex or non-parametric models such as support vector machines and RandomForest (RF) models. Recently, it has been observed that RF models are biased in such a way that categorical variables with a large number of categories are preferred. RESULTS: In this work, we introduce a heuristic for normalizing feature importance measures that can correct the feature importance bias. The method is based on repeated permutations of the outcome vector for estimating the distribution of measured importance for each variable in a non-informative setting. The P-value of the observed importance provides a corrected measure of feature importance. We apply our method to simulated data and demonstrate that (i) non-informative predictors do not receive significant P-values, (ii) informative variables can successfully be recovered among non-informative variables and (iii) P-values computed with permutation importance (PIMP) are very helpful for deciding the significance of variables, and therefore improve model interpretability. Furthermore, PIMP was used to correct RF-based importance measures for two real-world case studies. We propose an improved RF model that uses the significant variables with respect to the PIMP measure and show that its prediction accuracy is superior to that of other existing models. AVAILABILITY: R code for the method presented in this article is available at http://www.mpi-inf.mpg.de/ approximately altmann/download/PIMP.R CONTACT: altmann@mpi-inf.mpg.de, laura.tolosi@mpi-inf.mpg.de SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.

Analysis

Why This Paper Matters

Feature importance is central to interpretable machine learning, especially in life sciences where understanding which variables drive predictions is as important as accuracy. RandomForest (RF) models are popular for their flexibility and built-in importance measures, but they suffer from a known bias: categorical variables with many categories are artificially preferred. This bias can mislead researchers and degrade model interpretability. Altmann et al. (2010) address this problem head-on by introducing a principled correction.

The paper's significance lies in its statistical framing: instead of relying on raw importance scores, it uses permutation testing to assess whether a variable's importance is significantly different from what would be expected under a non-informative setting. This shifts feature importance from a heuristic ranking to a hypothesis-testing framework, enabling researchers to make statistically defensible statements about variable relevance. Given the widespread use of RF in bioinformatics and beyond, the method has broad applicability.

Moreover, the paper's timing coincides with a growing emphasis on interpretability in machine learning. By providing a corrected measure that yields P-values, PIMP bridges the gap between complex non-parametric models and the need for reliable feature selection, a concern that remains highly relevant today.

Technical Contributions

  • PIMP (Permutation Importance) heuristic: A normalization procedure that corrects RF feature importance bias by comparing observed importance to a null distribution generated via repeated permutations of the outcome vector.
  • P-value computation: For each variable, the observed importance is compared to the permutation distribution to derive a P-value, providing a significance measure for feature relevance.
  • Bias correction: The method explicitly addresses the bias favoring categorical variables with many categories, making importance measures comparable across variable types.
  • Model refinement: The paper proposes using only significant variables (according to PIMP) to build an improved RF model, which is shown to have better prediction accuracy.
  • Practical implementation: R code is made available, facilitating adoption by practitioners.

Results

The paper evaluates PIMP on simulated data and two real-world case studies. In simulations, the authors demonstrate that (i) non-informative predictors do not receive significant P-values, (ii) informative variables can be successfully recovered among non-informative ones, and (iii) P-values from PIMP are very helpful for deciding variable significance. These results indicate that PIMP effectively controls false positives while retaining power to detect true signals.

For the real-world case studies, PIMP was used to correct RF-based importance measures. The authors then built an improved RF model using only the significant variables and showed that its prediction accuracy is superior to that of other existing models. While specific metrics are not detailed in the abstract, the claim of superior accuracy underscores the practical benefit of the correction. The availability of R code further supports reproducibility and application.

Significance

PIMP has had a lasting impact on the machine learning community, particularly in domains where interpretability is critical, such as genomics and bioinformatics. By providing a statistically grounded method to assess feature importance, it enables researchers to trust and act on model insights. The paper's citation count (over 2800) attests to its influence. Its approach has inspired subsequent work on permutation-based importance and model-agnostic interpretation tools, and it remains a standard reference for correcting RF bias. As AI systems grow more complex, methods like PIMP that enhance transparency will continue to be essential.