Counterfactual Explanation Algorithms for Behavioral and Textual Data
Not on the map. Why?
Abstract (arXiv)
We study the interpretability of predictive systems that use high-dimensonal behavioral and textual data. Examples include predicting product interest based on online browsing data and detecting spam emails or objectionable web content. Recently, counterfactual explanations have been proposed for generating insight into model predictions, which focus on what is relevant to a particular instance. Conducting a complete search to compute counterfactuals is very time-consuming because of the huge dimensionality. To our knowledge, for behavioral and text data, only one model-agnostic heuristic algorithm (SEDC) for finding counterfactual explanations has been proposed in the literature. However, there may be better algorithms for finding counterfactuals quickly. This study aligns the recently proposed Linear Interpretable Model-agnostic Explainer (LIME) and Shapley Additive Explanations (SHAP) with the notion of counterfactual explanations, and empirically benchmarks their effectiveness and efficiency against SEDC using a collection of 13 data sets. Results show that LIME-Counterfactual (LIME-C) and SHAP-Counterfactual (SHAP-C) have low and stable computation times, but mostly, they are less efficient than SEDC. However, for certain instances on certain data sets, SEDC's run time is comparably large. With regard to effectiveness, LIME-C and SHAP-C find reasonable, if not always optimal, counterfactual explanations. SHAP-C, however, seems to have difficulties with highly unbalanced data. Because of its good overall performance, LIME-C seems to be a favorable alternative to SEDC, which failed for some nonlinear models to find counterfactuals because of the particular heuristic search algorithm it uses. A main upshot of this paper is that there is a good deal of room for further research. For example, we propose algorithmic adjustments that are direct upshots of the paper's findings.
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 4; 2023: 5; 2024: 6; 2025: 1; 2026: 1.
26 papers.
Sort:
By area:
- 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
- 2021Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applicationscited by 59
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2023Towards LLM-guided Causal Explainability for Black-box Text Classifierscited by 44
- 2021Counterfactual Shapley Additive Explanationscited by 22
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanationscited by 19
- 2021A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Datacited by 19
- 2022Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Boxcited by 7
- 2021Explainable Artificial Intelligence for Pharmacovigilance: What Features Are Important When Predicting Adverse Outcomes?cited by 5
- 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systemscited by 5
- 2024Sparse and Faithful Explanations Without Sparse Modelscited by 5
14 more
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexitycited by 4
- 2021A Framework for Evaluating Post Hoc Feature-Additive Explainerscited by 3
- 2023Counterfactual Explainer Framework for Deep Reinforcement Learning Models Using Policy Distillationcited by 3
- 2021Explainable AI for Psychological Profiling from Digital Footprints: A Case Study of Big Five Personality Predictions from Spending Datacited by 2
- 2023Unveiling the Potential of Counterfactuals Explanations in Employabilitycited by 2
- 2023How Well Do Feature-Additive Explainers Explain Feature-Additive Predictors?cited by 2
- 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysiscited by 2
- 2024Good Data Is All Imitation Learning Needscited by 2
- 2022ComplAI: Theory of A Unified Framework for Multi-factor Assessment of Black-Box Supervised Machine Learning Modelscited by 1
- 2024POLygraph: Polish Fake News Datasetcited by 1
- 2025Interactive Diabetes Risk Prediction Using Explainable Machine Learning: A Dash-Based Approach with SHAP, LIME, and Comorbidity Insightscited by 1
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect riskingcited by 1
- 2022Effective Explanations for Entity Resolution Modelscited by 0
- 2022Making the black-box brighter: interpreting machine learning algorithm for forecasting drilling accidentscited by 0
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect risking16 Feb 2026
- 2025Interactive Diabetes Risk Prediction Using Explainable Machine Learning: A Dash-Based Approach with SHAP, LIME, and Comorbidity Insights8 May 2025
- 2024Good Data Is All Imitation Learning Needs26 Sep 2024
- 2024A Survey on Natural Language Counterfactual Generation4 Jul 2024
- 2024POLygraph: Polish Fake News Dataset1 Jul 2024
- 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysis12 Jun 2024
- 2024Sparse and Faithful Explanations Without Sparse Models15 Feb 2024
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexity17 Jan 2024
- 2023How Well Do Feature-Additive Explainers Explain Feature-Additive Predictors?27 Oct 2023
- 2023Towards LLM-guided Causal Explainability for Black-box Text Classifiers23 Sep 2023
- 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systems28 Jul 2023
- 2023Counterfactual Explainer Framework for Deep Reinforcement Learning Models Using Policy Distillation25 May 2023
14 more
- 2023Unveiling the Potential of Counterfactuals Explanations in Employability17 May 2023
- 2022ComplAI: Theory of A Unified Framework for Multi-factor Assessment of Black-Box Supervised Machine Learning Models30 Dec 2022
- 2022Making the black-box brighter: interpreting machine learning algorithm for forecasting drilling accidents6 Sep 2022
- 2022Effective Explanations for Entity Resolution Models24 Mar 2022
- 2022Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Box4 Mar 2022
- 2021Explainable Artificial Intelligence for Pharmacovigilance: What Features Are Important When Predicting Adverse Outcomes?25 Dec 2021
- 2021Explainable AI for Psychological Profiling from Digital Footprints: A Case Study of Big Five Personality Predictions from Spending Data12 Nov 2021
- 2021Counterfactual Shapley Additive Explanations27 Oct 2021
- 2021A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Data9 Jul 2021
- 2021A Framework for Evaluating Post Hoc Feature-Additive Explainers15 Jun 2021
- 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanations15 Apr 2021
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practice27 Mar 2021
- 2021Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applications7 Mar 2021
- 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanations22 Jan 2021
- 2024Good Data Is All Imitation Learning Needscited by 2
- 2024Good Data Is All Imitation Learning Needs26 Sep 2024
- 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
- 2021Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applicationscited by 59
- 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
- 2023Towards LLM-guided Causal Explainability for Black-box Text Classifierscited by 44
- 2021Counterfactual Shapley Additive Explanationscited by 22
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanationscited by 19
- 2021A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Datacited by 19
- 2022Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Boxcited by 7
- 2021Explainable Artificial Intelligence for Pharmacovigilance: What Features Are Important When Predicting Adverse Outcomes?cited by 5
- 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systemscited by 5
- 2024Sparse and Faithful Explanations Without Sparse Modelscited by 5
12 most cited of 25 All 25 (JSON)
- 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect risking16 Feb 2026
- 2025Interactive Diabetes Risk Prediction Using Explainable Machine Learning: A Dash-Based Approach with SHAP, LIME, and Comorbidity Insights8 May 2025
- 2024A Survey on Natural Language Counterfactual Generation4 Jul 2024
- 2024POLygraph: Polish Fake News Dataset1 Jul 2024
- 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysis12 Jun 2024
- 2024Sparse and Faithful Explanations Without Sparse Models15 Feb 2024
- 2024Even-if Explanations: Formal Foundations, Priorities and Complexity17 Jan 2024
- 2023How Well Do Feature-Additive Explainers Explain Feature-Additive Predictors?27 Oct 2023
- 2023Towards LLM-guided Causal Explainability for Black-box Text Classifiers23 Sep 2023
- 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systems28 Jul 2023
- 2023Counterfactual Explainer Framework for Deep Reinforcement Learning Models Using Policy Distillation25 May 2023
- 2023Unveiling the Potential of Counterfactuals Explanations in Employability17 May 2023
12 newest of 25 All 25 (JSON)