[Paper Review] Nonparametric Feature Impact and Importance
This paper proposes a nonparametric method to compute feature impact and importance directly from data using partial dependence curves, avoiding reliance on fitted models. It introduces StratImpact, a prototype that computes feature impact via area under the partial dependence curve (for numerical features) or mean-centered partial dependence (for categorical features), achieving competitive performance in feature selection with lower validation error than model-based methods on real datasets.
Practitioners use feature importance to rank and eliminate weak predictors during model development in an effort to simplify models and improve generality. Unfortunately, they also routinely conflate such feature importance measures with feature impact, the isolated effect of an explanatory variable on the response variable. This can lead to real-world consequences when importance is inappropriately interpreted as impact for business or medical insight purposes. The dominant approach for computing importances is through interrogation of a fitted model, which works well for feature selection, but gives distorted measures of feature impact. The same method applied to the same data set can yield different feature importances, depending on the model, leading us to conclude that impact should be computed directly from the data. While there are nonparametric feature selection algorithms, they typically provide feature rankings, rather than measures of impact or importance. They also typically focus on single-variable associations with the response. In this paper, we give mathematical definitions of feature impact and importance, derived from partial dependence curves, that operate directly on the data. To assess quality, we show that features ranked by these definitions are competitive with existing feature selection techniques using three real data sets for predictive tasks.
Motivation & Objective
- To address the widespread conflation of feature importance (model-based) with feature impact (data-based), which can lead to flawed business or medical decisions.
- To develop a method that computes feature impact directly from data, independent of any fitted model, to avoid distortions introduced by model assumptions.
- To provide a practical, accessible tool for non-experts (e.g., business analysts) who lack expertise in model selection and tuning.
- To demonstrate that model-free feature impact estimation can yield feature rankings competitive with established model-based techniques in predictive performance.
- To extend nonparametric feature selection beyond simple rankings by providing interpretable, quantitative impact measures.
Proposed method
- Defines feature impact mathematically as the area under the ideal partial dependence curve (PD) for numerical features, or the mean-centered PD for categorical features.
- Estimates partial dependence curves nonparametrically using stratified sampling to preserve the joint distribution of features and response.
- Computes feature importance as the weighted integral of the partial dependence curve, where weights are derived from the marginal distribution of the feature.
- Uses StratPD and CatStratPD algorithms to estimate partial dependence curves efficiently and accurately on real-world data.
- Implements a prototype tool, StratImpact, in Python that computes feature impact without requiring model predictions or hyperparameter tuning.
- Employs Numba JIT compilation to optimize performance-critical sections, improving runtime despite Python’s GIL limitations.
Experimental results
Research questions
- RQ1Can feature impact be meaningfully defined and computed without relying on predictions from a fitted model?
- RQ2Does a nonparametric, data-driven approach to feature impact yield feature importance rankings competitive with model-based methods in predictive performance?
- RQ3How does model-free feature impact estimation compare to established techniques like SHAP, permutation importance, and Spearman’s R in identifying the most predictive features?
- RQ4Can a model-free method provide interpretable, quantitative impact values that reflect true data relationships rather than model-specific distortions?
- RQ5What are the computational trade-offs of a nonparametric, model-free approach to feature impact in practice?
Key findings
- StratImpact’s feature impact rankings achieved a validation error that was half that of the top features selected by model-based methods on a real-world Kaggle dataset, indicating superior predictive performance.
- The method produced feature impact estimates that were robust across different data types, including numerical and categorical features, by using area under PD (numerical) and mean-centered PD (categorical).
- Despite not using model predictions, StratImpact’s feature rankings were competitive with permutation importance, SHAP, and Spearman’s R, particularly in the top eight features.
- The prototype demonstrated practical runtime performance, with linear scaling on datasets without categorical variables and quadratic scaling on those with categorical variables, remaining feasible for tens of thousands of samples.
- The use of Numba JIT compilation improved performance in hotspots, though Python’s GIL limited gains from parallelization via threading or multiprocessing.
- The study revealed that simple, expedient methods like Spearman’s R and permutation importance performed well for top-feature ranking, suggesting that model-free approaches can match or exceed them in accuracy.
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.