mlsanityData to 7 Oct 2026

GeCo: Quality Counterfactual Explanations in Real Time

arXiv 2101.01292 ↗First posted 5 Jan 2021cs.LG cs.DBcited by 32

Not on the map. Why?

Abstract (arXiv)

Machine learning is increasingly applied in high-stakes decision making that directly affect people's lives, and this leads to an increased demand for systems to explain their decisions. Explanations often take the form of counterfactuals, which consists of conveying to the end user what she/he needs to change in order to improve the outcome. Computing counterfactual explanations is challenging, because of the inherent tension between a rich semantics of the domain, and the need for real time response. In this paper we present GeCo, the first system that can compute plausible and feasible counterfactual explanations in real time. At its core, GeCo relies on a genetic algorithm, which is customized to favor searching counterfactual explanations with the smallest number of changes. To achieve real-time performance, we introduce two novel optimizations: Delta-representation of candidate counterfactuals, and partial evaluation of the classifier. We compare empirically GeCo against five other systems described in the literature, and show that it is the only system that can achieve both high quality explanations and real time answers.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 19 of its 42 references that are in the map. First posted on arXiv 5 Jan 2021.

Builds on

19 of 42 references.

References · 19

  1. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  2. 2013Intriguing properties of neural networkscited by 5,114
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  5. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  6. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  7. 2019TabNet: Attentive Interpretable Tabular Learningcited by 640
  8. 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
  9. 2019Fooling LIME and SHAP: Adversarial Attacks on Post hoc Explanation Methodscited by 440
  10. 2018Actionable Recourse in Linear Classificationcited by 327
  11. 2019Simple Black-box Adversarial Attackscited by 249
  12. 2019Explainable Machine Learning in Deploymentcited by 210
7 more
  1. 2019The What-If Tool: Interactive Probing of Machine Learning Modelscited by 207
  2. 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
  3. 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
  4. 2019Declarative Recursive Computation on an RDBMS, or, Why You Should Use a Database For Distributed Machine Learningcited by 12
  5. 2019A Layered Aggregate Engine for Analytics Workloadscited by 12
  6. 2020MLJ: A Julia package for composable machine learningcited by 9
  7. 2016Building Efficient Query Engines in a High-Level Languagecited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

32 papers.

Sort:

  1. 2021If Only We Had Better Counterfactual Explanations: Five Key Deficits to Rectify in the Evaluation of Counterfactual XAI Techniquescited by 82
  2. 2021NICE: An Algorithm for Nearest Instance Counterfactual Explanationscited by 62
  3. 2023Even if Explanations: Prior Work, Desiderata & Benchmarks for Semi-Factual XAIcited by 20
  4. 2022Motif-guided Time Series Counterfactual Explanationscited by 12
  5. 2022Keep Your Friends Close and Your Counterfactuals Closer: Improved Learning From Closest Rather Than Plausible Counterfactual Explanations in an Abstract Settingcited by 11
  6. 2023Achieving Diversity in Counterfactual Explanations: a Review and Discussioncited by 11
  7. 2023GAM Coach: Towards Interactive and User-centered Algorithmic Recoursecited by 9
  8. 2021Solving the Class Imbalance Problem Using a Counterfactual Method for Data Augmentationcited by 8
  9. 2022FASTER-CE: Fast, Sparse, Transparent, and Robust Counterfactual Explanationscited by 6
  10. 2024Even-Ifs From If-Onlys: Are the Best Semi-Factual Explanations Found Using Counterfactuals As Guides?cited by 5
  11. 2022Computing Rule-Based Explanations by Leveraging Counterfactualscited by 4
  12. 2023Disagreement amongst counterfactual explanations: How transparency can be deceptivecited by 3
20 more
  1. 2024Guiding the generation of counterfactual explanations through temporal background knowledge for Predictive Process Monitoringcited by 3
  2. 2025Generating Counterfactual Explanations Under Temporal Constraintscited by 3
  3. 2021Handling Climate Change Using Counterfactuals: Using Counterfactuals in Data Augmentation to Predict Crop Growth in an Uncertain Climate Futurecited by 2
  4. 2023counterfactuals: An R Package for Counterfactual Explanation Methodscited by 2
  5. 2023Evolutionary approaches to explainable machine learningcited by 2
  6. 2024Longitudinal Counterfactuals: Constraints and Opportunitiescited by 2
  7. 2024Evolutionary Computation and Explainable AI: A Roadmap to Understandable Intelligent Systemscited by 2
  8. 2025DiCoFlex: Model-agnostic diverse counterfactuals with flexible controlcited by 2
  9. 2021TrustyAI Explainability Toolkitcited by 1
  10. 2023Iterative Partial Fulfillment of Counterfactual Explanations: Benefits and Riskscited by 1
  11. 2024Model-Based Counterfactual Explanations Incorporating Feature Space Attributes for Tabular Datacited by 1
  12. 2024Case-based Explainability for Random Forest: Prototypes, Critics, Counter-factuals and Semi-factualscited by 1
  13. 2025Why Are You Wrong? Counterfactual Explanations for Language Grounding with 3D Objectscited by 1
  14. 2025Augmenting The Weather: A Hybrid Counterfactual-SMOTE Algorithm for Improving Crop Growth Prediction When Climate Changescited by 1
  15. 2026Navigating Time's Possibilities: Plausible Counterfactual Explanations for Multivariate Time-Series Forecast through Genetic Algorithmscited by 1
  16. 2026Towards Counterfactual Explanation and Assertion Inference for CPS Debuggingcited by 1
  17. 2025Model-Free Counterfactual Subset Selection at Scalecited by 0
  18. 2025A Novel Multi-Objective Evolutionary Algorithm for Counterfactual Generationcited by 0
  19. 2026GradCFA: A Hybrid Gradient-Based Counterfactual and Feature Attribution Explanation Algorithm for Local Interpretation of Neural Networkscited by 0
  20. 2026Class-Aware Reinforcement Learning for Counterfactual Explanation Generationcited by 0