mlsanityData to 7 Oct 2026

Robust Counterfactual Explanations for Tree-Based Ensembles

arXiv 2207.02739 ↗First posted 6 Jul 2022cs.LG cs.AI cs.CYcited by 49

Not on the map. Why?

Abstract (arXiv)

Counterfactual explanations inform ways to achieve a desired outcome from a machine learning model. However, such explanations are not robust to certain real-world changes in the underlying model (e.g., retraining the model, changing hyperparameters, etc.), questioning their reliability in several applications, e.g., credit lending. In this work, we propose a novel strategy -- that we call RobX -- to generate robust counterfactuals for tree-based ensembles, e.g., XGBoost. Tree-based ensembles pose additional challenges in robust counterfactual generation, e.g., they have a non-smooth and non-differentiable objective function, and they can change a lot in the parameter space under retraining on very similar data. We first introduce a novel metric -- that we call Counterfactual Stability -- that attempts to quantify how robust a counterfactual is going to be to model changes under retraining, and comes with desirable theoretical properties. Our proposed strategy RobX works with any counterfactual generation method (base method) and searches for robust counterfactuals by iteratively refining the counterfactual generated by the base method using our metric Counterfactual Stability. We compare the performance of RobX with popular counterfactual generation methods (for tree-based ensembles) across benchmark datasets. The results demonstrate that our strategy generates counterfactuals that are significantly more robust (nearly 100% validity after actual model changes) and also realistic (in terms of local outlier factor) over existing state-of-the-art methods.

Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 22 of its 31 references that are in the map. First posted on arXiv 6 Jul 2022.

Builds on

22 of 31 references.

References · 22

  1. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  2. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  3. 2018On the Robustness of Interpretability Methodscited by 310
  4. 2018Certified Defenses against Adversarial Examplescited by 305
  5. 2019FACE: Feasible and Actionable Counterfactual Explanationscited by 232
  6. 2019Predictive Multiplicity in Classificationcited by 162
  7. 2020Multi-Objective Counterfactual Explanationscited by 157
  8. 2020A survey of algorithmic recourse: definitions, formulations, solutions, and prospectscited by 118
  9. 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
  10. 2021Towards Robust and Reliable Algorithmic Recoursecited by 101
  11. 2017Interpretable Predictions of Tree-based Ensembles via Actionable Feature Tweakingcited by 76
  12. 2020On Counterfactual Explanations under Predictive Multiplicitycited by 73
10 more
  1. 2019FOCUS: Flexible Optimizable Counterfactual Explanations for Tree Ensemblescited by 43
  2. 2021A Survey on the Robustness of Feature Importance and Counterfactual Explanationscited by 38
  3. 2021Consistent Counterfactuals for Deep Modelscited by 37
  4. 2019CERTIFAI: Counterfactual Explanations for Robustness, Transparency, Interpretability, and Fairness of Artificial Intelligence modelscited by 34
  5. 2020BRPO: Batch Residual Policy Optimizationcited by 25
  6. 2021Counterfactual Explanations for Arbitrary Regression Modelscited by 22
  7. 2021Counterfactual Shapley Additive Explanationscited by 22
  8. 2020Ordered Counterfactual Explanation by Mixed-Integer Linear Optimizationcited by 11
  9. 2022Global Counterfactual Explanations: Investigations, Implementations and Improvementscited by 9
  10. 2021A Causal Perspective on Meaningful and Robust Algorithmic Recoursecited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 12; 2024: 11; 2025: 13; 2026: 11.

49 papers.

Sort:

  1. 2023Robust Counterfactual Explanations for Neural Networks With Probabilistic Guaranteescited by 45
  2. 2024Robust Counterfactual Explanations in Machine Learning: A Surveycited by 29
  3. 2023GLOBE-CE: A Translation-Based Approach for Global Counterfactual Explanationscited by 27
  4. 2022Formalising the Robustness of Counterfactual Explanations for Neural Networkscited by 24
  5. 2023Provably Robust and Plausible Counterfactual Explanations for Neural Networks via Robust Optimisationcited by 20
  6. 2023Finding Regions of Counterfactual Explanations via Robust Optimizationcited by 19
  7. 2023Recourse under Model Multiplicity via Argumentative Ensembling (Technical Report)cited by 15
  8. 2024Model Reconstruction Using Counterfactual Explanations: A Perspective From Polytope Theorycited by 12
  9. 2024Counterfactual Explanations with Probabilistic Guarantees on their Robustness to Model Changecited by 10
  10. 2023Beyond Known Reality: Exploiting Counterfactual Explanations for Medical Researchcited by 9
  11. 2023The Risks of Recourse in Binary Classificationcited by 8
  12. 2025Performative Validity of Recourse Explanationscited by 8
37 more
  1. 2024Interval Abstractions for Robust Counterfactual Explanationscited by 7
  2. 2023Bayesian Hierarchical Models for Counterfactual Estimationcited by 6
  3. 2023Flexible and Robust Counterfactual Explanations with Minimal Satisfiable Perturbationscited by 6
  4. 2024Rigorous Probabilistic Guarantees for Robust Counterfactual Explanationscited by 6
  5. 2025RobustX: Robust Counterfactual Explanations Made Easycited by 6
  6. 2024Quantifying Prediction Consistency Under Fine-Tuning Multiplicity in Tabular LLMscited by 5
  7. 2025Demystifying the Accuracy-Interpretability Trade-Off: A Case Study of Inferring Ratings from Reviewscited by 5
  8. 2024Learning-Augmented Robust Algorithmic Recoursecited by 4
  9. 2025Counterfactual Explanations for Model Ensembles Using Entropic Risk Measurescited by 4
  10. 2022Closed-Loop View of the Regulation of AI: Equal Impact across Repeated Interactionscited by 3
  11. 2023On Minimizing the Impact of Dataset Shifts on Actionable Explanationscited by 3
  12. 2025Optimal Robust Recourse with Lp-Bounded Model Changecited by 3
  13. 2023Algorithmic Recourse with Missing Valuescited by 2
  14. 2024Verified Training for Counterfactual Explanation Robustness under Data Shiftcited by 2
  15. 2025VISION: Robust and Interpretable Code Vulnerability Detection Leveraging Counterfactual Augmentationcited by 2
  16. 2026ElliCE: Efficient and Provably Robust Algorithmic Recourse via the Rashomon Setscited by 2
  17. 2024Case-based Explainability for Random Forest: Prototypes, Critics, Counter-factuals and Semi-factualscited by 1
  18. 2025Argumentative Ensembling for Robust Recourse under Model Multiplicitycited by 1
  19. 2025Synthesising Counterfactual Explanations via Label-Conditional Gaussian Mixture Variational Autoencoderscited by 1
  20. 2025TriShGAN: Enhancing Sparsity and Robustness in Multivariate Time Series Counterfactuals Explanationcited by 1
  21. 2026The Role of Causality in Algorithmic Recoursecited by 1
  22. 2023Estimation of Counterfactual Interventions under Uncertaintiescited by 0
  23. 2024Connecting Algorithmic Fairness to Quality Dimensions in Machine Learning in Official Statistics and Survey Productioncited by 0
  24. 2024Private Counterfactual Retrieval With Immutable Featurescited by 0
  25. 2025Model-Free Counterfactual Subset Selection at Scalecited by 0
  26. 2025What If, But Privately: Private Counterfactual Retrievalcited by 0
  27. 2025CONFEX: Uncertainty-Aware Counterfactual Explanations with Conformal Guaranteescited by 0
  28. 2025Interpretable Model-Aware Counterfactual Explanations for Random Forestcited by 0
  29. 2026The Impact of Machine Learning Uncertainty on the Robustness of Counterfactual Explanationscited by 0
  30. 2026Evaluating Counterfactual Explanation Methods on Incomplete Inputscited by 0
  31. 2026A Probabilistic Consensus-Driven Approach for Robust Counterfactual Explanationscited by 0
  32. 2026Counterfactual Explanations Under Concept Driftcited by 0
  33. 2026Target-confidence Recourse Using tSeTlin machines: TRUSTcited by 0
  34. 2026Improving Medical Communication using Rubric-Guided Counterfactual Recommendationscited by 0
  35. 2026Explanations-Driven Active Feature Acquisition for Algorithmic Recoursecited by 0
  36. 2026Robust to Which Model Change? A Unified Evaluation of Robust Counterfactual Explanationscited by 0
  37. 2026Algorithmic Recourse Under Competitioncited by 0