Very fast, approximate counterfactual explanations for decision forests
Not on the map. Why?
Abstract (arXiv)
We consider finding a counterfactual explanation for a classification or regression forest, such as a random forest. This requires solving an optimization problem to find the closest input instance to a given instance for which the forest outputs a desired value. Finding an exact solution has a cost that is exponential on the number of leaves in the forest. We propose a simple but very effective approach: we constrain the optimization to only those input space regions defined by the forest that are populated by actual data points. The problem reduces to a form of nearest-neighbor search using a certain distance on a certain dataset. This has two advantages: first, the solution can be found very quickly, scaling to large forests and high-dimensional data, and enabling interactive use. Second, the solution found is more likely to be realistic in that it is guided towards high-density areas of input space.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 12 of its 47 references that are in the map. First posted on arXiv 6 Mar 2023.
Builds on
12 of 47 references.
References · 12
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2013Intriguing properties of neural networkscited by 5,114
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 612
- 2018Actionable Recourse in Linear Classificationcited by 327
- 2019Interpretable Counterfactual Explanations Guided by Prototypescited by 223
- 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
- 2019Efficient Search for Diverse Coherent Explanationscited by 111
- 2017Interpretable Predictions of Tree-based Ensembles via Actionable Feature Tweakingcited by 76
- 2019Measurable Counterfactual Local Explanations for Any Classifiercited by 48
- 2019FOCUS: Flexible Optimizable Counterfactual Explanations for Tree Ensemblescited by 43
- 2021Optimal Counterfactual Explanations in Tree Ensemblescited by 36
- 2021Counterfactual Explanations for Oblique Decision Trees: Exact, Efficient Algorithmscited by 14
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 0; 2026: 2.
4 papers.
- 2024Learning Decision Trees and Forests with Algorithmic Recoursecited by 7
- 2026Counterfactual Maps: What They Are and How to Find Themcited by 1
- 2023Inverse classification with logistic and softmax classifiers: efficient optimizationcited by 0
- 2026Optimal Counterfactual Search in Tree Ensembles: A Study Across Modeling and Solution Paradigmscited by 0
- 2026Optimal Counterfactual Search in Tree Ensembles: A Study Across Modeling and Solution Paradigms7 May 2026
- 2026Counterfactual Maps: What They Are and How to Find Them9 Feb 2026
- 2024Learning Decision Trees and Forests with Algorithmic Recourse3 Jun 2024
- 2023Inverse classification with logistic and softmax classifiers: efficient optimization16 Sep 2023