Challenges in Variable Importance Ranking Under Correlation

Annie Liang, Thomas Jemielita, Andy Liaw, Vladimir Svetnik, Lingkang Huang, Richard Baumgartner, Jason M. KlusowskiarXiv 2024 · DOI

Abstract

Variable importance measures are essential for interpreting complex machine learning models. While Conditional Predictive Impact (CPI) and the knockoffs framework have been proposed to mitigate biases caused by feature correlation, this research demonstrates that they are not a universal solution. Through theoretical analysis and simulation, we show that these methods encounter a fundamental breakdown when feature correlation exceeds 0.5, resulting in "importance deflation" that can severely distort variable rankings.

Introduction: The Problem of Correlation

In "black-box" machine learning, Permutation Importance is the standard tool for identifying which features drive predictions. By shuffling a feature's values and measuring the subsequent drop in model accuracy, researchers attempt to quantify its contribution. However, high correlation between features (e.g., height and weight) introduces "extrapolation bias." Shuffling one variable while holding its correlated counterpart fixed creates impossible data points, which often artificially inflates the perceived importance of correlated variables.

To address this, Conditional Predictive Impact (CPI) was introduced. CPI utilizes "knockoff" variables—synthetic features that preserve the correlation structure of the original data but remain independent of the target variable. While promised as a robust measure under high correlation, this paper investigates the mathematical limits of that promise.

Methodology

The study evaluates three primary approaches to variable importance:

  1. Ordinary Least Squares (OLS): A baseline for linear scenarios.
  2. Marginal Permutation-based Importance (PERM-RF): The standard approach of randomly shuffling a single variable.
  3. Conditional Predictive Impact (CPI-LM/RF): The newer approach using knockoff variables to account for the data distribution.

The researchers combined a comprehensive simulation study—testing four signal/noise scenarios with 10 variables—with a rigorous theoretical proof focusing on the bivariate case to explain the observed behaviors.

The Critical 0.5 Correlation Threshold

A central finding of this research is the "elbow" effect occurring at a correlation coefficient ($\rho$) of 0.5. In a bivariate setting, knockoff construction is only perfectly effective (where the knockoff is independent of the original variable) when $\rho \le 0.5$.

Once correlation exceeds this 0.5 threshold, it becomes mathematically impossible to create a knockoff that is both valid (maintaining the covariance matrix) and independent of the original variable. Consequently, the knockoff begins to correlate linearly with the variable it is meant to replace. This leads to importance deflation: because the knockoff is too similar to the original variable, swapping them does not significantly degrade model performance, making a truly important variable appear unimportant.

Results: Ranking Reversals and Deflation

The simulations highlight how these theoretical limits manifest in practice. In Scenario 1, where variables $X_1, X_2,$ and $X_3$ are equally important, standard permutation importance (PERM-RF) incorrectly ranked $X_1$ and $X_2$ as more important than $X_3$ as their mutual correlation increased. Conversely, CPI-based methods (CPI-LM, CPI-RF) incorrectly ranked them as less important than $X_3$ once correlation passed the 0.5 mark.

Average rank of variables X1, X2, and X3 as a function of the correlation between X1 and X2. Green represents standard permutation (PERM-RF), while blue and orange represent CPI-based methods. Note the divergence and ranking reversals at the 0.5 correlation threshold.

Furthermore, the study found that model misspecification exacerbates these issues. When using a Random Forest model for a linear relationship, CPI estimates showed increased volatility and inflation even at low correlation levels.

Conclusion and Recommendations

The research concludes that there is "no free lunch" when handling high correlation in variable importance. Every method involves a trade-off between different types of bias. While CPI addresses extrapolation bias, it introduces deflation bias at high correlation levels.

For practical applications, the authors suggest that instead of relying solely on CPI for highly correlated features, researchers should consider clustering correlated variables and treating the cluster as a single unit of importance, or selecting one representative feature per cluster. Future work is needed to extend these findings to high-dimensional settings and complex feature interactions.

Summary updated

BibTeX
@misc{liang2024challenges,
  author = {Annie Liang and Thomas Jemielita and Andy Liaw and Vladimir Svetnik and Lingkang Huang and Richard Baumgartner and Jason M. Klusowski},
  title = {{Challenges in Variable Importance Ranking Under Correlation}},
  year = {2024},
  eprint = {2402.03447},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.03447},
}
Figure