Counterfactual Explanations for Oblique Decision Trees: Exact, Efficient Algorithms
Miguel Á. Carreira-Perpiñán, Suryabhan Singh Hada
Abstract
We consider counterfactual explanations, the problem of minimally adjusting features in a source input instance so that it is classified as a target class under a given classifier. This has become a topic of recent interest as a way to query a trained model and suggest possible actions to overturn its decision. Mathematically, the problem is formally equivalent to that of finding adversarial examples, which also has attracted significant attention recently. Most work on either counterfactual explanations or adversarial examples has focused on differentiable classifiers, such as neural nets. We focus on classification trees, both axis-aligned and oblique (having hyperplane splits). Although here the counterfactual optimization problem is nonconvex and nondifferentiable, we show that an exact solution can be computed very efficiently, even with high-dimensional feature vectors and with both continuous and categorical features, and demonstrate it in different datasets and settings. The results are particularly relevant for finance, medicine or legal applications, where interpretability and counterfactual explanations are particularly important.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Bivariate Decision Trees: Smaller, Interpretable, More Accurate cites Smaller, more accurate regression forests using tree alternating optimization
- Softmax Tree: An Accurate, Fast Classifier When the Number of Classes Is Large cites Smaller, more accurate regression forests using tree alternating optimization
- Very Fast, Approximate Counterfactual Explanations for Decision Forests cites Smaller, more accurate regression forests using tree alternating optimization
Cited by top-tier papers5
- GLANCE: Global Actions in a Nutshell for Counterfactual ExplainabilityLoukas Kavouras, Eleni Psaroudaki, Konstantinos Tsopelas, Dimitrios Rontogiannis et al.AAAI 2026 · 7 citations
- Very Fast, Approximate Counterfactual Explanations for Decision ForestsMiguel Á. Carreira-Perpiñán, Suryabhan Singh HadaAAAI 2023 · 7 citations
- Softmax Tree: An Accurate, Fast Classifier When the Number of Classes Is LargeArman Zharmagambetov, Magzhan Gabidolla, Miguel Á. Carreira-PerpiñánEMNLP 2021 · 4 citations
- DiCoFlex: Model-Agnostic Diverse Counterfactuals with Flexible ControlOleksii Furman, Ulvi Movsum-zada, Patryk Marszalek, Maciej Zieba et al.NeurIPS 2025 · 3 citations
- Bivariate Decision Trees: Smaller, Interpretable, More AccurateRasul Kairgeldin, Miguel Á. Carreira-PerpiñánKDD 2024 · 1 citation
Builds on1
Related papers
- FOCUS: Flexible Optimizable Counterfactual Explanations for Tree EnsemblesAna Lucic, Harrie Oosterhuis, Hinda Haned, Maarten de RijkeAAAI 2022 · 87 citations
- FACET: Robust Counterfactual Explanation AnalyticsPeter M. VanNostrand, Huayi Zhang, Dennis M. Hofmann, Elke A. RundensteinerSIGMOD 2024 · 14 citations
- A General Search-Based Framework for Generating Textual Counterfactual ExplanationsDaniel Gilo, Shaul MarkovitchAAAI 2024 · 3 citations
- Learning Models for Actionable RecourseAlexis Ross, Himabindu Lakkaraju, Osbert BastaniNeurIPS 2021 · 25 citations
- Computing Rule-Based Explanations by Leveraging CounterfactualsZixuan Geng, Maximilian Schleich, Dan SuciuVLDB 2023 · 7 citations
