mlsanityData to 14 Oct 2026

Counterfactual Explanation Algorithms for Behavioral and Textual Data

arXiv 1912.01819 ↗First posted 4 Dec 2019cs.AIcited by 26

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 9; 2022: 4; 2023: 5; 2024: 6; 2025: 1; 2026: 1.

26 papers.

Sort:

By area:

  1. 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
  2. 2021Counterfactuals and Causability in Explainable Artificial Intelligence: Theory, Algorithms, and Applicationscited by 59
  3. 2021Local Explanations via Necessity and Sufficiency: Unifying Theory and Practicecited by 45
  4. 2023Towards LLM-guided Causal Explainability for Black-box Text Classifierscited by 44
  5. 2021Counterfactual Shapley Additive Explanationscited by 22
  6. 2024A Survey on Natural Language Counterfactual Generationcited by 21
  7. 2021A Few Good Counterfactuals: Generating Interpretable, Plausible and Diverse Counterfactual Explanationscited by 19
  8. 2021A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Datacited by 19
  9. 2022Benchmarking Instance-Centric Counterfactual Algorithms for XAI: From White Box to Black Boxcited by 7
  10. 2021Explainable Artificial Intelligence for Pharmacovigilance: What Features Are Important When Predicting Adverse Outcomes?cited by 5
  11. 2023SAFE: Saliency-Aware Counterfactual Explanations for DNN-based Automated Driving Systemscited by 5
  12. 2024Sparse and Faithful Explanations Without Sparse Modelscited by 5
14 more
  1. 2024Even-if Explanations: Formal Foundations, Priorities and Complexitycited by 4
  2. 2021A Framework for Evaluating Post Hoc Feature-Additive Explainerscited by 3
  3. 2023Counterfactual Explainer Framework for Deep Reinforcement Learning Models Using Policy Distillationcited by 3
  4. 2021Explainable AI for Psychological Profiling from Digital Footprints: A Case Study of Big Five Personality Predictions from Spending Datacited by 2
  5. 2023Unveiling the Potential of Counterfactuals Explanations in Employabilitycited by 2
  6. 2023How Well Do Feature-Additive Explainers Explain Feature-Additive Predictors?cited by 2
  7. 2024Are Objective Explanatory Evaluation metrics Trustworthy? An Adversarial Analysiscited by 2
  8. 2024Good Data Is All Imitation Learning Needscited by 2
  9. 2022ComplAI: Theory of A Unified Framework for Multi-factor Assessment of Black-Box Supervised Machine Learning Modelscited by 1
  10. 2024POLygraph: Polish Fake News Datasetcited by 1
  11. 2025Interactive Diabetes Risk Prediction Using Explainable Machine Learning: A Dash-Based Approach with SHAP, LIME, and Comorbidity Insightscited by 1
  12. 2026A unified framework for evaluating the robustness of machine-learning interpretability for prospect riskingcited by 1
  13. 2022Effective Explanations for Entity Resolution Modelscited by 0
  14. 2022Making the black-box brighter: interpreting machine learning algorithm for forecasting drilling accidentscited by 0