mlsanityData to 7 Oct 2026

Interpretable Model-Aware Counterfactual Explanations for Random Forest

arXiv 2510.27397 ↗First posted 31 Oct 2025stat.ML cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Despite their enormous predictive power, machine learning models are often unsuitable for applications in regulated industries such as finance, due to their limited capacity to provide explanations. While model-agnostic frameworks such as Shapley values have proved to be convenient and popular, they rarely align with the kinds of causal explanations that are typically sought after. Counterfactual case-based explanations, where an individual is informed of which circumstances would need to be different to cause a change in outcome, may be more intuitive and actionable. However, finding appropriate counterfactual cases is an open challenge, as is interpreting which features are most critical for the change in outcome. Here, we pose the question of counterfactual search and interpretation in terms of similarity learning, exploiting the representation learned by the random forest predictive model itself. Once a counterfactual is found, the feature importance of the explanation is computed as a function of which random forest partitions are crossed in order to reach it from the original instance. We demonstrate this method on both the MNIST hand-drawn digit dataset and the German credit dataset, finding that it generates explanations that are sparser and more useful than Shapley values.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 38 references that are in the map. First posted on arXiv 31 Oct 2025.

Builds on

21 of 38 references.

References · 21

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
  4. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
  5. 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
  6. 2018A Survey Of Methods For Explaining Black Box Modelscited by 970
  7. 2016Visualizing the Effects of Predictor Variables in Black Box Supervised Learning Modelscited by 212
  8. 2015A Random Forest Guided Tourcited by 168
  9. 2019The Hidden Assumptions Behind Counterfactual Explanations and Principal Reasonscited by 115
  10. 2019The Dangers of Post-hoc Interpretability: Unjustified Counterfactual Explanationscited by 97
  11. 2019Fairwashing: the risk of rationalizationcited by 81
  12. 2020Good Counterfactuals and Where to Find Them: A Case-Based Technique for Generating Counterfactuals for Explainable AI (XAI)cited by 79
9 more
  1. 2015The Bayesian Case Model: A Generative Approach for Case-Based Reasoning and Prototype Classificationcited by 76
  2. 2022Robust Counterfactual Explanations for Tree-Based Ensemblescited by 49
  3. 2019FOCUS: Flexible Optimizable Counterfactual Explanations for Tree Ensemblescited by 43
  4. 2022Geometry- and Accuracy-Preserving Random Forest Proximitiescited by 24
  5. 2024Open Set Recognition for Random Forestcited by 4
  6. 2020Evaluating Tree Explanation Methods for Anomaly Reasoning: A Case Study of SHAP TreeExplainer and TreeInterpretercited by 3
  7. 2023TraCE: Trajectory Counterfactual Explanation Scorescited by 2
  8. 2024Quantile Regression using Random Forest Proximitiescited by 2
  9. 2025Explainable Unsupervised Anomaly Detection with Random Forestcited by 1

Built on by

Not cited yet.