[Paper Review] Comparing interpretability and explainability for feature selection
This paper evaluates variable importance for feature selection across interpretable models (CART, Optimal Trees) and black-box models (XGBoost, SHAP), finding that interpretable models—especially Optimal Trees—more accurately identify irrelevant features and are less biased toward features with more unique values, while XGBoost and SHAP consistently misassign importance, leading to poor feature selection performance despite strong predictive accuracy.
A common approach for feature selection is to examine the variable importance scores for a machine learning model, as a way to understand which features are the most relevant for making predictions. Given the significance of feature selection, it is crucial for the calculated importance scores to reflect reality. Falsely overestimating the importance of irrelevant features can lead to false discoveries, while underestimating importance of relevant features may lead us to discard important features, resulting in poor model performance. Additionally, black-box models like XGBoost provide state-of-the art predictive performance, but cannot be easily understood by humans, and thus we rely on variable importance scores or methods for explainability like SHAP to offer insight into their behavior. In this paper, we investigate the performance of variable importance as a feature selection method across various black-box and interpretable machine learning methods. We compare the ability of CART, Optimal Trees, XGBoost and SHAP to correctly identify the relevant subset of variables across a number of experiments. The results show that regardless of whether we use the native variable importance method or SHAP, XGBoost fails to clearly distinguish between relevant and irrelevant features. On the other hand, the interpretable methods are able to correctly and efficiently identify irrelevant features, and thus offer significantly better performance for feature selection.
Motivation & Objective
- To evaluate the reliability of variable importance scores as a tool for feature selection across different machine learning models.
- To investigate whether black-box models like XGBoost and explainability methods like SHAP accurately reflect true feature relevance.
- To assess whether interpretable models such as CART and Optimal Trees suffer from selection bias toward features with more unique values.
- To determine if Optimal Trees, as a globally optimized alternative to greedy trees, improves feature selection accuracy and reduces bias.
- To compare the convergence speed and accuracy of feature importance identification under varying data sizes and feature distributions.
Proposed method
- The study uses synthetic datasets with controlled feature distributions, including features with 2, 4, 10, and 20 unique values to induce selection bias.
- Ground truth trees are generated that use exactly three of the features for splitting, allowing for precise evaluation of feature relevance.
- Variable importance is computed using native methods in CART, Optimal Trees, XGBoost, and SHAP, with importance scores aggregated across multiple runs.
- Performance is evaluated by measuring the proportion of importance assigned to irrelevant features as training set size increases.
- Out-of-sample accuracy is reported to ensure that feature selection performance is not compromised by predictive accuracy.
- Experiments are conducted under both unbiased (uniformly generated features) and biased (rounded features with varying unique values) settings to test robustness to selection bias.
Experimental results
Research questions
- RQ1Do variable importance scores from XGBoost and SHAP accurately reflect the true relevance of features in synthetic datasets?
- RQ2How does selection bias toward features with more unique values affect variable importance in CART and XGBoost?
- RQ3Can interpretable models like Optimal Trees outperform black-box models in identifying irrelevant features?
- RQ4How quickly do different models converge to correct feature importance assignments as training data increases?
- RQ5Does the use of global optimization in Optimal Trees reduce selection bias compared to greedy CART?
Key findings
- Optimal Trees (OCT) consistently assign near-zero importance to irrelevant features, even at small sample sizes, and converge faster than other models.
- XGBoost and SHAP fail to distinguish between relevant and irrelevant features, especially in high-noise settings, and assign significant importance to irrelevant features.
- CART shows increased variability and slower convergence in the biased setting, indicating susceptibility to selection bias based on number of unique values.
- Despite higher predictive accuracy, XGBoost’s variable importance scores are unreliable for feature selection, as they misassign importance to irrelevant features.
- SHAP, while theoretically addressing bias, still fails to identify irrelevant features correctly, suggesting limitations in its practical utility for feature selection.
- Optimal Trees achieve comparable predictive performance to XGBoost while offering superior feature selection accuracy and reduced bias.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.