FLEX: Feature Importance from Layered Counterfactual Explanations
Nawid Keshtmand, Roussel Desmond Nzoyem, Jeffrey Nicholas Clark

TL;DR
FLEX is a versatile framework that transforms counterfactual explanations into feature importance scores across different levels, enhancing interpretability and actionable insights in high-stakes machine learning applications.
Contribution
FLEX introduces a novel, model- and domain-agnostic method to derive feature importance from counterfactuals, capturing both local and global feature influence in a unified framework.
Findings
FLEX's global rankings align with SHAP and reveal additional feature drivers.
Regional analysis uncovers context-specific factors missed by global summaries.
FLEX improves interpretability and supports intervention in risk-sensitive tasks.
Abstract
Machine learning models achieve state-of-the-art performance across domains, yet their lack of interpretability limits safe deployment in high-stakes settings. Counterfactual explanations are widely used to provide actionable "what-if" recourse, but they typically remain instance-specific and do not quantify which features systematically drive outcome changes within coherent regions of the feature space or across an entire dataset. We introduce FLEX (Feature importance from Layered counterfactual EXplanations), a model- and domain-agnostic framework that converts sets of counterfactuals into feature change frequency scores at local, regional, and global levels. FLEX generalises local change-frequency measures by aggregating across instances and neighbourhoods, offering interpretable rankings that reflect how often each feature must change to flip predictions. The framework is compatible…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsExplainable Artificial Intelligence (XAI) · Adversarial Robustness in Machine Learning · Machine Learning in Healthcare
