Towards Personalized Treatment Plan: Geometrical Model-Agnostic Approach to Counterfactual Explanations
Not on the map. Why?
Abstract (arXiv)
In our article, we describe a method for generating counterfactual explanations in high-dimensional spaces using four steps that involve fitting our dataset to a model, finding the decision boundary, determining constraints on the problem, and computing the closest point (counterfactual explanation) from that boundary. We propose a discretized approach where we find many discrete points on the boundary and then identify the closest feasible counterfactual explanation. This method, which we later call textitSegmented Sampling for Boundary Approximation (SSBA), applies binary search to find decision boundary points and then searches for the closest boundary point. Across four datasets of varying dimensionality, we show that our method can outperform current methods for counterfactual generation with reductions in distance between 5% to 50% in terms of the L2 norm. Our method can also handle real-world constraints by restricting changes to immutable and categorical features, such as age, gender, sex, height, and other related characteristics such as the case for a health-based dataset. In terms of runtime, the SSBA algorithm generates decision boundary points on multiple orders of magnitude in the same given time when we compare to a grid-based approach. In general, our method provides a simple and effective model-agnostic method that can compute nearest feasible (i.e. realistic with constraints) counterfactual explanations. All of our results and code are available at: https://github.com/dsin85691/SSBAForCounterfactuals
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 6 of its 15 references that are in the map. First posted on arXiv 27 Oct 2025.
Builds on
6 of 15 references.
References · 6
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,088
- 2019Explaining Machine Learning Classifiers through Diverse Counterfactual Explanationscited by 614
- 2019The What-If Tool: Interactive Probing of Machine Learning Modelscited by 207
- 2019Model-Agnostic Counterfactual Explanations for Consequential Decisionscited by 204
- 2019Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifierscited by 143
- 2020Explaining Predictions by Approximating the Local Decision Boundarycited by 7
Built on by
Not cited yet.