Manuscript Offprint
arXiv:2608.27821Actionable CBFI: Integrating Structural Decomposition and Causal Counterfactual Recourse for Tabular Machine Learning
Abstract
Explainable artificial intelligence (XAI) increasingly calls for actionable counterfactual recourse, yet current methodologies face challenges related to causal invalidity, excessive cognitive burden, and predictive failure. Exhaustive causal search algorithms often require modifications to multiple attributes, whereas additive attribution-guided methods, such as SHAP, ignore higher-order feature synergies, leading to suboptimal predictive momentum and diffuse intervention effort in complex nonlinear models, such as XGBoost. To bridge this gap, we introduce actionable case-based feature importance (A-CBFI), a diagnosis-prescription integrated framework for tabular machine learning. Grounded in structural causal models (SCMs), A-CBFI isolates synergistic interaction bottlenecks and releases suppressive structural locks, translating them into targeted interventions. By mathematically separating the active user intervention space ( ) from downstream effects and concentrating over 98.3% of the intervention effort on diagnosed root causes, A-CBFI enables highly targeted interventions. Empirical evaluations across the financial and healthcare domains demonstrate that A-CBFI reduces the active human intervention burden by 76.9% while maintaining comparable global recourse cost to exhaustive causal baselines. By prioritizing the diagnosed causal bottlenecks, A-CBFI provides targeted and actionable recourse while maintaining causal validity and achieving full relative convergence across all causally feasible instances.
Keywords: Explainable Artificial Intelligence (XAI); Counterfactual Recourse; Structural Causal Models (SCMs); Feature Interaction; Tabular Machine Learning; Local Feature Attribution
1. Introduction
Explainable artificial intelligence (XAI) has become an essential component of trustworthy machine learning, particularly in high-stakes domains such as finance, healthcare, and public decision making, where predictive outcomes directly influence human lives. Among the diverse families of explanation techniques, feature attribution methods, including local interpretable model-agnostic explanations (LIME) (Ribeiro et al., 2016) and Shapley additive explanations (SHAP) (Lundberg & Lee, 2017), have been widely adopted because they quantify the contribution of individual input features to a model's prediction. Such methods improve transparency by identifying the variables that most strongly influence a prediction and have consequently become standard tools for interpreting complex machine learning models.
Despite their widespread adoption, attribution-based explanations remain descriptive. They explain why a prediction was made but do not indicate how an unfavorable prediction can be changed. In many real-world applications, users require actionable guidance rather than post-hoc interpretations. For example, a rejected loan applicant is not merely interested in understanding that a high debt-to-income ratio contributes to rejection but also in determining which feasible changes would most effectively improve the likelihood of approval. Similarly, patients receiving an adverse clinical risk assessment require recommendations that correspond to realistic and causally consistent interventions, rather than descriptive importance scores. These practical requirements have motivated increasing interest in counterfactual explanations, which aim to identify minimal modifications to an input instance that alter the model's prediction while preserving plausibility and feasibility.
Early counterfactual explanation methods primarily formulated recourse generation as a distance-minimization problem. Wachter et al. (2017) introduced one of the earliest optimization-based frameworks by searching for the smallest perturbation capable of changing a model's prediction. Subsequent studies have extended this paradigm in several directions. Diversity-oriented approaches such as DiCE (Mothilal et al., 2020) generate multiple alternative recourse strategies to accommodate different user preferences, whereas other methods, including Growing Spheres (Laugel et al., 2017), FACE (Poyiadzi et al., 2020), and CCHVAE (Pawelczyk et al., 2020), improve the realism, diversity, or manifold consistency of the generated counterfactuals. Collectively, these approaches substantially advance algorithmic recourse by demonstrating that explanations can be transformed into actionable recommendations rather than remaining purely descriptive.
However, purely optimization-based recourse methods often disregard the structural relationships among features. In practical domains, the input variables are rarely independent; instead, they are connected through causal, physical, financial, or physiological mechanisms. Altering one variable frequently induces downstream changes in others. Therefore, ignoring these dependencies may produce recommendations that are mathematically valid but operationally implausible or physically inconsistent. To address this limitation, recent studies have incorporated structural causal models (SCMs) into counterfactual generation. The causal recourse frameworks proposed by Karimi et al. (2021) and subsequent studies explicitly model causal dependencies such that interventions propagate through the underlying causal graph, resulting in recommendations that better satisfy the domain constraints. These developments represent an important step toward actionable and causally consistent recourse.
Although SCM-based methods substantially improve causal validity, they typically treat recourse generation primarily as a global optimization problem. Candidate interventions are explored over a large space of mutable variables, after which optimization identifies a feasible counterfactual that satisfies the desired prediction. Although effective from an optimization perspective, exhaustive combinatorial exploration frequently results in what we term a 'diffuse and uncoordinated perturbation'—where optimization distributes modifications across multiple peripheral attributes without prior causal prioritization. This substantially increases the practical cognitive and execution burden imposed on end users. Consequently, existing causal recourse methods generally emphasize how to search for feasible interventions, rather than which interventions should be prioritized before optimization begins.
A related limitation arises from the diagnostic information used to guide counterfactual searches. Many targeted recourse approaches rely on additive feature attribution, in which variables are ranked according to their independent contributions to the prediction. Although additive explanations have demonstrated considerable practical utility, they may not fully capture higher-order interactions among correlated features. Previous studies on interaction effects, including SHAP interaction values and other interaction-based interpretation techniques, have shown that predictive behavior is frequently governed not only by individual variables but also by their joint effects. Consequently, selecting intervention targets solely according to independent feature importance may overlook feature combinations that collectively dominate the local decision boundaries. We refer to this fundamental limitation as the ‘additive fallacy,’ whereby reliance on independent additive attributions for target selection can lead to inefficient and highly diffuse intervention paths with lower predictive momentum, particularly in highly nonlinear architectures such as gradient-boosted trees.
Beyond the formulation of the recourse objective itself, the strategy used to navigate the intervention space has emerged as an important algorithmic consideration. In SCM-based settings, the presence of discrete or non-smooth decision boundaries makes conventional continuous optimization particularly challenging, motivating the use of heuristic and sequential search procedures. Karimi et al. (2020, 2021) established foundational causal recourse formulations under SCMs, while subsequent studies explored explicit search-based strategies for navigating intervention sequences. For example, Gendron et al. (2024) employed beam search for SCM-based counterfactual reasoning, and De Toni et al. (2024) combined Monte Carlo Tree Search (MCTS) with reinforcement learning to identify promising personalized intervention plans. In parallel, Kanamori et al. (2024) investigated recourse in tree-based ensembles, addressing the practical challenges posed by non-differentiable decision structures.
These developments demonstrate that search efficiency represents a complementary challenge to causal consistency: a search procedure may generate causally valid interventions yet still incur substantial computational effort when the candidate intervention space is large. Importantly, the effectiveness of a heuristic search depends not only on the search mechanism itself but also on the information used to prioritize candidate branches. A-CBFI therefore does not introduce beam search as a novel optimization primitive; instead, it introduces Interaction-Guided Beam Search (IGBS) as a structurally informed search strategy. The preceding causal diagnosis identifies a restricted set of candidate intervention nodes, while the localized pairwise synergistic interaction matrix provides additional guidance for prioritizing branches involving strongly interacting variables. This design separates diagnosis from search: causal diagnosis determines where to search, whereas interaction-guided branching determines which candidate paths to explore first. Consequently, A-CBFI aims to reduce unnecessary candidate evaluations while preserving the causal consistency and recourse quality afforded by SCM-based intervention modeling.
In this work, we do not claim that feature interaction is a novel mathematical concept; rather, we define the 'additive fallacy' specifically as the methodological flaw of relying on independent additive attributions for causal recourse target selection, which can lead to search failure in nonlinear decision boundaries. While techniques like SHAP interaction values provide valuable observational descriptions of feature dependencies, they lack the causal intervention semantics (do-calculus) required to simulate downstream structural ripple effects. Furthermore, although SHAP interaction values characterize pairwise interaction effects in a symmetric manner consistent with their game-theoretic formulation, they do not distinguish the causal directionality or intervention priority of the interacting variables, potentially obscuring the asymmetric causal bottlenecks relevant to recourse. In contrast, A-CBFI directly embeds Pearl's intervention semantics to isolate these 'structural bottlenecks'—defined as the specific causal nodes or feature combinations where high-order synergies act as primary geometric barriers preventing a favorable prediction—thereby bridging the gap between causal diagnosis and targeted search.
This distinction is particularly important when heuristic search is used to navigate the intervention space. A search strategy can reduce computational complexity only to the extent that its branching mechanism is guided toward promising intervention pathways. Thus, efficient search requires not only a mechanism for exploring the intervention space, but also a principled signal for determining which candidate branches should be prioritized. Existing search-based approaches primarily focus on the former, while A-CBFI addresses the latter by incorporating a diagnostic signal that captures the local structural mechanisms underlying the prediction.
These observations suggest that effective algorithmic recourse requires two complementary capabilities. First, the structural mechanisms responsible for unfavorable predictions should be identified by distinguishing the dominant interaction patterns from independent feature effects. Second, the resulting diagnosis should directly guide causal intervention, allowing optimization to focus on a small number of high-impact variables while preserving causal consistency. Existing studies have largely investigated structural explanations and causal recourse as separate research directions. A unified framework that explicitly connects localized structural diagnoses with causally consistent interventions remains relatively unexplored.
Building upon these observations, we propose actionable case-based feature importance (A-CBFI), a diagnosis–prescription integrated framework that unifies localized structural explanation with causal counterfactual recourse. Rather than directly initiating optimization over the entire mutable feature space, A-CBFI first performs a structural diagnosis of the factual instance to identify synergistic interaction bottlenecks and suppressive structural locks ( ) that contribute to adverse predictions. By mathematically separating the active user intervention space ( ) from causal descendant changes, A-CBFI uses the diagnosed structural bottlenecks to define a targeted intervention space within the SCM. The resulting diagnosis not only restricts the candidate intervention space but also provides structural guidance for prioritizing candidate branches during discrete recourse search. This allows the counterfactual search to focus strictly on a small set of root-cause variables while preserving domain-specific causal dependencies.
The proposed framework builds upon our previously developed localized case-based feature importance (Localized-CBFI), which decomposes an individual prediction into independent main effects and localized interaction effects. While Localized-CBFI successfully identifies the feature interactions governing a local prediction, it remains an observational explanation framework and, therefore, cannot directly recommend actionable recourse. In particular, interaction scores obtained through observational perturbations describe predictive associations rather than intervention effects, thereby limiting their applicability to decision support. A-CBFI extends this diagnostic capability to the causal intervention domain by embedding Pearl's intervention semantics within an SCM-guided optimization framework. This integration enables localized interaction diagnosis to serve not only as an explanation but also as a principled mechanism for defining the candidate intervention space and prioritizing branches during the subsequent causal recourse search.
Unlike existing causal recourse methods, which primarily emphasize optimization over a predefined search space, A-CBFI explicitly separates diagnosis from prescription. The diagnosis stage identifies structural bottlenecks that dominate the local decision boundary, whereas the prescription stage searches only within the causally relevant intervention space determined by this diagnosis. Within this reduced space, the Interaction-Guided Beam Search (IGBS) further uses pairwise to prioritize branches involving strongly interacting variables. Thus, the framework determines both where the search should take place and which candidate paths should be explored preferentially. This separation substantially reduces the number of direct user interventions without sacrificing causal validity or recourse effectiveness. Consequently, the proposed framework shifts the focus of algorithmic recourse from exhaustive search to diagnosis-guided intervention planning.
To evaluate the proposed framework, we conducted comprehensive experiments on six benchmark datasets spanning the financial and healthcare domains using three representative supervised learning architectures: Support vector machines (SVMs), Random forests, and extreme gradient boosting (XGBoost). A-CBFI was compared with representative optimization-based, causal, and attribution-guided recourse methods using multiple complementary evaluation criteria, including recourse cost, intervention sparsity, computational efficiency, causal plausibility, and recourse success rate. In addition to quantitative benchmarking, detailed case studies were presented to illustrate how localized structural diagnosis identifies both synergistic amplification and regulatory inhibition, and how these diagnoses translate into practical intervention strategies.
The primary contributions of this work are summarized as follows:
-
Bridging Causal Diagnosis and Recourse via Synergistic Bottlenecks ( ): We propose A-CBFI, one of the first integrated frameworks that elevates observational interaction decomposition into a causal intervention space. By mathematically separating the active user intervention space ( ) from the total downstream causal effects, A-CBFI shifts the algorithmic recourse paradigm from an exhaustive search to a targeted, root-cause prescription.
-
Overcoming the Additive Fallacy in Non-Linear Boundaries: We demonstrate that guiding interventions based on independent additive attributions (e.g., SHAP) often fails in complex architectures such as XGBoost. By targeting localized synergistic bottlenecks, A-CBFI demonstrates robust relative causal convergence across causally feasible instances, completely bypassing the additive fallacy.
-
Cognitive Burden Compression via Surgical Intervention: Extensive empirical evaluations across financial and healthcare domains demonstrate that A-CBFI successfully compresses the active human intervention burden down to an average of 1.72 levers (a 76.9% reduction compared to exhaustive baselines). A-CBFI concentrates over 98.3% of the intervention effort on the diagnosed bottlenecks, achieving a favorable trade-off between intervention sparsity and recourse effectiveness for practical, human-centric algorithmic recourse.
The remainder of this paper is organized as follows. Section 2 presents the proposed A-CBFI framework and its diagnosis-guided causal intervention pipeline. Section 3 describes the experimental design and evaluation methodology. Section 4 reports quantitative results and qualitative case studies. Finally, Section 5 concludes the paper and discusses future research directions.
2.1 Preliminaries: Localized-CBFI and Structural Decomposition
The proposed recourse framework builds upon the theoretical formulation of case-based feature importance (CBFI), originally developed by Oh (2022). In its foundational formulation, the CBFI was developed to provide global interpretability of complex machine-learning models by decomposing predictive behavior into four hierarchical components:
where represents the independent contribution of the target feature set; denotes the independent contribution of the complement feature set; captures the common (redundant) contribution shared between them; and represents their cooperative (synergistic) contribution within the predictive function. While this four-tier global decomposition ( ) provides macro-level transparency regarding general model mechanics, algorithmic recourse inherently requires granular instance-specific diagnostics at localized decision boundaries.
Subsequent advances have extended this structural paradigm to Localized-CBFI (Oh, 2026) to bridge the gap between global interpretability and individual actionable interventions. Rather than evaluating the global distribution averages, Localized-CBFI translates the macroscopic taxonomy into an instance-specific counterfactual diagnostic suite, decomposing a localized predictive decision into four granular components:
Within this localized framework:
-
(Local Independent Contribution): Quantifies the independent contribution of the target feature set to the local prediction.
-
(Local Complement Contribution): Quantifies the independent contribution of the remaining (complement) feature set on the local prediction.
-
(Local Common Contribution): Captures the shared or redundant predictive effects between the target and complement feature sets for the specific instance.
-
(Local Synergistic Bottlenecks): Isolates critical high-order nonlinear synergies that represent critical structural barriers that may hinder achieving recourse for the specific instance x.
To bridge the foundational concepts of the original CBFI and our proposed actionable framework, it is important to clarify the conceptual and notational evolution of these components. In the original global CBFI, and are defined as the independent and cooperative contributions among features, respectively. When extended to the localized context (Localized-CBFI), these components are quantified as and to capture local causal main effects and cooperative interactions—including the specific high-order nonlinearities that influence the decision boundary for an individual instance.
Finally, within our A-CBFI framework, we elevate these local descriptive metrics ( and ) into prescriptive tools. By embedding Pearl’s intervention semantics, A-CBFI reinterprets these local effects as structural causal bottlenecks and levers. Rather than merely describing how features independently contribute or interact to form a prediction, A-CBFI evaluates the absolute causal sensitivity of these components (i.e., ) to explicitly identify structural barriers that indicate where interventions should be targeted (or avoided) to successfully achieve algorithmic recourse. Crucially, the directionality and algebraic signs of and serve as primary structural diagnostic indicators for algorithmic recourse:
-
Synergistic Amplification ( ): The joint combination of features substantially amplifies an adverse prediction beyond the sum of their independent contributions (e.g., the nonlinear synergy between smoking status and body mass index (BMI) in healthcare risk assessment models). In recourse tasks, mitigating these positive synergistic effects is essential for efficiently lowering the predicted risk score.
-
Suppressive Inhibition ( ): The feature combination constrains, moderates, or suppresses the predictive outcome. Identifying these negative components exposes critical suppressive bottlenecks within the model, indicating that targeted interventions can alleviate these suppressive constraints and push an instance across the decision boundary.
-
Adverse Main Effect and Latent Vulnerability ( ): The isolated causal main effect of a feature yields a negative contribution, meaning that intervening on this feature, on average, may move the prediction further away from the desired target class. While traditional additive attribution methods (e.g., SHAP) may deprioritize such negative features, A-CBFI intentionally retains them in the targeted search space when their absolute magnitude ( ) is sufficiently large. A significant negative indicates a highly sensitive local vulnerability at the decision boundary; identifying such vulnerabilities allows the subsequent optimization engine to potentially mitigate their adverse effect through a targeted causal intervention, achieving highly sparse recourse.
By building on this structural evolution—from global distribution decomposition ( ) to localized decision-boundary diagnosis ( )—our proposed A-CBFI framework harnesses both causal main effects ( and higher-order interaction dynamics ( ) through their combined absolute sensitivity ( ). Through this integration, these diagnostic signals transcend mere descriptive explanations and serve as prescriptive guidance for selecting targeted do-interventions within SCMs.
2.2 Four-Step A-CBFI Pipeline
Although Localized-CBFI successfully recovers observational interaction structures, perturbation via permutation does not preserve real-world causal dependencies, rendering it insufficient for generating actionable recourse. A-CBFI extends this structural decomposition to a causal intervention framework by embedding Pearl’s do-calculus within a four-step integrated pipeline (see Figure 1).

Fig. 1. Four-step A-CBFI pipeline.
Step 1: Structural Causal Model Construction
To ensure that counterfactual recourse respects physical and domain-specific laws, we first formulate an SCM, denoted as , associated with a directed acyclic graph (DAG) . Here, represents endogenous observable features, represents exogenous background noise variables, and represents the set of deterministic structural equations such that each feature is modeled as:
where denotes the set of direct causal parents of node in . DAGs are generally constructed using one of three paradigms: (1) automated statistical discovery algorithms from observational data (e.g., PC algorithm or fast causal inference; Spirtes et al., 2000), (2) manual elicitation exclusively by domain experts, or (3) structural knowledge extraction via Large Language Models (LLMs). To mitigate potential reverse-causal or spurious-edge errors associated with automated discovery algorithms while avoiding the scalability constraints of manual expert elicitation, we construct the DAG topology using domain priors elicited from an LLM. By leveraging the comprehensive reasoning capabilities and embedded domain knowledge of the LLM, this ensures that the structural topology strictly preserves physical laws and chronological irreversibility before counterfactual simulation. is the joint probability distribution over the unobserved exogenous variables , which induces the observational distribution over the endogenous variables .
To execute valid counterfactual simulations without data distortion, A-CBFI implements Pearl's (Pearl, 2009) three-step counterfactual logic (abduction, action, prediction). During the forward causal propagation of an intervention, the framework first abduces the instance-specific exogenous noise residual from the factual data . When an upstream intervention is applied, the downstream nodes are updated in topological order while preserving their factual residuals , ensuring that individual characteristics remain invariant during causal propagation.
Step 2: Structural Causal Diagnosis via Causal CBFI ( and )
In the second step, A-CBFI transitions from observational permutation-based attribution to causal intervention by replacing the permutation expectation with Pearl's do-operator . For an instance receiving an adverse prediction , we define causal diagnostic metrics to evaluate error reduction toward a desired target outcome :
- Causal Main Effect ( ): Measures the total interventional effect of intervening exclusively on the target feature while propagating the effects through the SCM:
where denotes the predictive loss or probability deficit relative to .
- Causal Interaction (C_G4): This quantifies the nonadditive error reduction that emerges when simultaneously intervening on a feature pair :
where represents the loss reduction achieved under intervention set S.
To evaluate the overall synergistic burden of an individual feature within the predictive function, we aggregate these pairwise interactive effects by marginalization. Specifically, the single-feature synergistic score is defined as:
Based on these causal diagnostic scores and the directionality principles established in Section 2.1, A-CBFI identifies an actionable target set (T). The framework automatically filters out immutable attributes J (e.g., chronological age, biological sex, and historical default records) and selects mutable features based on their absolute causal sensitivity, regardless of their directional sign. Instead of relying solely on positive contributions, it isolates features that exhibit dominant structural magnitude through either their main effects ( ) or their synergistic interactions ( ).
where represents a dynamic threshold defined as the 25th percentile of the absolute causal sensitivities across all mutable features. By using this instance-specific median cutoff, the framework adaptively retains the structurally dominant bottlenecks within the top 75% of total causal sensitivity. This approach effectively filters out negligible, diffuse noise and reduces the combinatorial search space, ensuring that the subsequent optimization engine focuses exclusively on the most impactful causal levers. This step identifies the structural factors underlying the model's adverse prediction, determining whether the user should address a standalone feature deficit, mitigate harmful synergistic interactions, or overcome a latent vulnerability. Instead of relying on a static zero-baseline heuristic—which may prematurely discard features with negative directional contributions—we employ an unweighted additive combination of their absolute magnitudes, . This absolute sum represents the 'total causal sensitivity' of a feature with respect to the local decision boundary, effectively capturing both its independent influence and its structural synergistic effects. From an optimization perspective, applying the instance-specific percentile threshold ( ) identifies the most dominant actionable levers while excluding negligible structural effects. This adaptive filtering reduces the combinatorial search space and ensures that the subsequent optimization engine focuses exclusively on the critical structural barriers that must be overcome to achieve successful and highly sparse algorithmic recourse.
Step 3: Targeted Recourse Optimization via Interaction-Guided Discretized Beam Search
Conventional counterfactual search algorithms (e.g., DiCE) frequently suffer from high computational complexity and low action sparsity because they perform optimization across the full d-dimensional feature space. A-CBFI addresses this limitation by strictly constraining the search space to the diagnostically identified target set T. Importantly T represents candidate intervention variables rather than a predetermined intervention plan. The actual actionable subset and the corresponding perturbation magnitudes are determined during the subsequent constrained search, where unnecessary interventions are naturally discouraged by the intervention-cost objective.
We formulate targeted counterfactual recourse as a constrained optimization problem that minimizes intervention cost while encouraging convergence toward the desired prediction:
subject to the structural causal propagation constraint
where a denotes a candidate intervention vector applied to target nodes in , denotes the corresponding allowable action space, and controls the trade-off between intervention cost and predictive convergence.
To efficiently solve this constrained optimization problem, A-CBFI combines MAD-scaled intervention cost, interaction-guided search prioritization, and discretized beam search. Importantly, the causal interaction scores are used to guide where the search proceeds, rather than to artificially modify the intervention cost.
(1) MAD-Scaled Intervention Cost
To account for differences in feature scales and sensitivity to outliers, A-CBFI evaluates intervention magnitude using a median absolute deviation (MAD)-scaled cost:
where M denotes the set of mutable features.
The intervention cost is evaluated on the resulting counterfactual state , which is generated after propagating the candidate intervention through the SCM. Consequently, the cost reflects the overall magnitude of the resulting counterfactual modification while preserving the distinction between variables directly manipulated by the user and changes structurally induced by the SCM. The latter distinction is subsequently used in Step 4 to construct the final actionable prescription.
Crucially, neither nor the pairwise interaction score is directly incorporated into Eq. (10) as a cost discount. This separation ensures that the reported intervention cost remains an objective measure of the magnitude of the resulting counterfactual modification rather than an interaction-dependent reward introduced by the proposed method.
(2) Interaction-Guided Discretized Beam Search
Finding an optimal intervention path for Eq. (8) is particularly challenging for non-differentiable predictive architectures such as Random Forests and XGBoost, whose decision boundaries consist of discontinuous, piecewise-constant regions. Gradient-based continuous optimization can therefore provide little useful search direction in such environments.
To address this limitation, A-CBFI employs a Discretized Beam Search over the diagnostically compressed target space T. The continuous range of each target feature is discretized into a finite set of candidate intervention values using empirical data quantiles. Rather than exhaustively enumerating all combinations of these values, the beam-search procedure maintains only a fixed number of the most promising partial intervention paths at each search depth.
The key distinction from conventional beam search is that A-CBFI exploits the pairwise localized interaction score to prioritize structurally informative branches. Let denote the set of target variables already included in a partial intervention path, and let be a candidate variable to be added. We define its state-dependent interaction priority as
where the tilde denotes normalization of the corresponding interaction magnitudes within the target set. When , the priority is determined solely by the feature-level interaction magnitude .
This formulation allows search priority to evolve according to the structure of the partial intervention path. When a feature already selected for intervention exhibits a strong pairwise interaction with another candidate feature, that candidate receives a higher exploration priority. The search therefore preferentially explores combinations associated with strongly interacting structural bottlenecks rather than treating all candidate combinations uniformly.
Importantly, is used only as a search-guidance signal. It does not reduce the intervention cost of the corresponding feature. The actual quality of each candidate path is determined by the predictive objective and the MAD-scaled intervention cost in Eq. (8). This design prevents the interaction diagnosis from artificially favoring a particular intervention solely because it has a large interaction score.
For each candidate intervention, the SCM forward pass in Eq. (9) generates the corresponding counterfactual state by propagating the intervention through the structural causal model. The predictive model then evaluates whether the resulting state approaches or reaches the desired target outcome, while the optimization objective evaluates its intervention cost. Candidate paths are subsequently ranked and retained according to the beam-search procedure.
At search depth k, let denote the set of candidate paths generated from the current beam. Only the most promising paths are retained:
where B denotes the beam width. Interaction-guided priority determines which structurally informative candidates are explored preferentially, while the recourse objective determines their actual optimization quality.
The search terminates when a candidate intervention achieves the desired target prediction or when the predefined search depth is exhausted. Among successful candidates, the final intervention vector is selected according to the constrained objective in Eq. (8). The resulting counterfactual state and optimized intervention vector are then passed to Step 4 for actionable prescription generation and verification.
By combining diagnostic target-space compression, pairwise interaction-guided search prioritization, discretized exploration, and SCM-based causal propagation, A-CBFI concentrates computational effort on structurally informative intervention combinations without modifying the intrinsic intervention costs of candidate paths. This enables efficient recourse generation for highly nonlinear and non-differentiable predictive models while avoiding exhaustive exploration of the full feature space. The resulting optimized intervention vector is subsequently decomposed into direct user actions and downstream causal effects in Step 4.
Step 4: Actionable Recourse Generation and Verification
In the final stage, the optimized intervention vector is decomposed into direct user instructions and the structural ripple effects. Instead of presenting the raw counterfactual vector , A-CBFI outputs an actionable prescription that distinguishes between
-
Direct Prescribed Actions: The minimal set of behaviors the user should undertake on target nodes .
-
Downstream Causal Propagation: The automated adjustments occurring in descendant nodes via SCM topological routing (e.g., "This action is expected to lower your credit utilization ratio to 30%, raising your approval probability to 85%").
2.3 Theoretical Properties of A-CBFI
To provide theoretical insights into why localized synergistic diagnosis improves the efficiency and effectiveness of the counterfactual search, we summarize the two key properties of the proposed framework.
Property 1: Exponential Reduction of Search Space via Structural and Synergistic Pruning
Let denote the set of actionable mutable features, where , and let each feature be discretized into actionable bins. Traditional exhaustive search paradigms (e.g., untargeted causal recourse or DiCE) perform combinatorial optimization across the entire mutable feature space, resulting in a search-space complexity . By introducing a Level 1 causal structural diagnosis step, A-CBFI acts as a diagnostic filter that restricts the search space to the diagnosed bottleneck candidate set , where . Consequently, the worst-case search-space size is reduced to . Furthermore, guided by the Level 2 pairwise interaction matrix , the Interaction-Guided Beam Search (IGBS) dynamically prioritizes branches associated with strong pairwise interactions. This state-dependent branching strategy further reduces unnecessary exploration within , thereby substantially reducing the effective search burden. As a result, A-CBFI identifies highly sparse recourse interventions, achieving an empirical average intervention sparsity of approximately 1.6–1.8 active levers, while substantially mitigating the curse of dimensionality.
Property 2: Geometric Interpretation of in Nonlinear Decision Boundaries
In purely additive models, the local geometry of the decision boundary is determined by independent first-order effects. Therefore, targeting isolated local main effects ( ) can be sufficient for achieving minimal-cost recourse when feature effects are strictly additive. However, in complex nonlinear models (e.g., XGBoost and RBF SVM), the local geometry of the decision boundary is also influenced by second-order cross-derivatives, such as , which capture interactions between features. Additive attribution methods (e.g., SHAP) can obscure such interaction effects by distributing the resulting predictive contribution across individual features, potentially failing to identify the joint direction associated with the greatest predictive improvement—i.e., the probability gain
While the localized causal interaction score does not analytically compute the exact Hessian matrix, it serves as an effective game-theoretic diagnostic signal that empirically identifies local regions characterized by strong higher-order interactions. By preserving the signed magnitude of these interactions, distinguishes between synergistic amplification and suppressive inhibition. Consequently, we use the pairwise interaction matrix to determine branching priorities in our Interaction-Guided Beam Search (IGBS), rather than modifying the underlying intervention-cost objective. This interaction-guided prioritization biases the search toward intervention directions exhibiting strong local interaction effects and may therefore favor regions with greater predictive improvement per unit of MAD-scaled intervention cost. This interpretation is consistent with our empirical observation that A-CBFI achieves high convergence rates and causal robustness across complex nonlinear decision boundaries.
3. Experimental Setup
To evaluate the effectiveness, search efficiency, and causal validity of the proposed A-CBFI framework, we conducted extensive empirical comparisons with state-of-the-art counterfactual explanation methods. This section details the hardware and software environments, benchmark dataset selection, target predictive modeling, and quantitative evaluation metrics.
3.1 Execution Environment and Implementation Details
All empirical experiments and benchmark evaluations were conducted in a standardized computing environment equipped with an Intel Core Ultra Processor and 16 GB of RAM, running the 64-bit Windows 11 operating system.
The primary analytical pipeline, SCM, and comparison suites were implemented in Python (version 3.14.0) using core scientific computing libraries:
• Data Manipulation and Preprocessing: Pandas and NumPy were used for tabular data manipulation and MAD-scaled cost computations.
-
Machine Learning and Modeling: Scikit-learn was employed to train the baseline predictive models (e.g., Random Forest Classifier), normalize features via StandardScaler, and transform categorical variables via OrdinalEncoder.
-
Causal Topology and Visualization: NetworkX and matplotlib were used to construct DAG topologies, execute topological sorting for do-calculus propagation, and generate benchmark comparison charts.
The complete implementation of the proposed framework, including the SCM forward propagation engine (Actionable_CBFI.py) and automated evaluation suite (test_benchmark_comparison.py), is made publicly available to support experimental reproducibility.
3.2 Benchmark Datasets and Domain Diversification
To rigorously evaluate the model-agnostic performance, causal plausibility, and targeting efficiency of the proposed A-CBFI framework across application domains, we conducted empirical experiments across two primary domains: financial lending and healthcare diagnostics.
The selected datasets exhibit varying degrees of feature interaction density, nonlinear decision boundaries, and structural constraints, ensuring an exhaustive assessment of the recourse algorithms under realistic domain restrictions.
• Financial and Socio-Economic Domain: Evaluates decision boundaries where demographic characteristics and historical financial records impose strict immutability constraints (J).
Financial Loan (Kaggle): Focusing on retail banking default risk assessment, we isolate resolved loan applications (Fully Paid versus Charged Off) and model the relationships among income, debt-to-income ratio, and repayment characteristics.
German Credit (UCI): A standard benchmark in explainable credit scoring that captures complex socio-economic interactions and credit history accumulation among applicants evaluated for consumer credit risk.
Adult Income (UCI): Represents demographic and socioeconomic mobility, evaluating whether algorithms respect chronological irreversibility (e.g., educational attainment and age) when prescribing actionable paths to exceed the $50K income threshold.
• Healthcare and Clinical Diagnostic Domain: Evaluates nonlinear physiological synergies and physiological and geometric constraints where non-causal recourse could prescribe medically impossible or hazardous interventions.
Medical Insurance Cost (Lantz, 2013): Characterized by nonlinear cost amplification driven by synergistic coupling ( ), specifically the multiplicative interaction between smoking habits and BMI.
Pima Indians Diabetes (UCI): Models metabolic regulation among female patients, testing causal recourse along metabolic feedback loops connecting age, BMI, glucose levels, and insulin resistance.
Breast Cancer Wisconsin (Diagnostic) (UCI): Provides cell nucleus morphology measurements from digitized fine-needle aspirates (FNA). This dataset tests whether algorithms preserve deterministic geometric relationships (e.g., area and perimeter scalability as deterministic functions of the radius) during a counterfactual search.
The structural characteristics, sample sizes, feature dimensions, prediction targets, and source references for all six benchmark datasets are summarized in Table 1.
Table 1: Summary of Benchmark Datasets and Structural Characteristics
| Domain | Dataset Name | Samples (N) | Features (d) | Target Variable (y) | Reference |
|---|---|---|---|---|---|
| Financial | Financial Loan | 38,576 | 9 | Loan Default Risk (Charged Off = 1) | Aryan et al. (2024) / Kaggle |
| German Credit | 1,000 | 20 | Credit Risk (Bad Credit = 1) | Hofmann (1994) / UCI | |
| Adult Income | 48,842 | 14 | Annual Income (<=50K = 1) | Kohavi (1996) / UCI | |
| Healthcare | Medical Insurance | 1,338 | 6 | High Actuarial Cost (> Median = 1) | Lantz (2013) / Kaggle |
| Pima Diabetes | 768 | 8 | Diabetes Diagnosis (Positive = 1) | Smith et al. (1988) / UCI | |
| Breast Cancer | 569 | 30 | Tumor Morphology (Malignant = 1) | Street et al. (1993) / UCI |
(Note: Features (d) represent the total available attributes in the original dataset; subset feature nodes are dynamically mapped into domain-specific SCM DAGs during causal propagation).
Data Preprocessing and Sampling Setup
Across all datasets, continuous numerical variables were standardized using zero-mean and unit-variance scaling (StandardScaler), whereas categorical features were transformed into ordinal representations (OrdinalEncoder). Root demographic nodes such as annual_income (in Financial Loan), age (in German Credit, Adult Income, and Medical Insurance), and pregnancies (in Diabetes) were explicitly declared as immutable features (J).
To maintain computational feasibility while ensuring robust statistical validation, we randomly sampled N = 100 test instances that received adverse factual predictions (e.g., loan rejection, default risk, or positive disease diagnosis) from the test split of each dataset to serve as counterfactual recourse queries.
3.3 Predictive Modeling and SCM Construction
To demonstrate the model-agnostic generalizability of our proposed framework and evaluate its capacity to interpret complex nonlinear decision boundaries across diverse learning mechanisms, we implemented a multi-architecture validation strategy. Instead of relying solely on a single classifier, we trained three structurally distinct supervised predictive algorithms as target black-box models across all benchmark datasets.
-
Random Forest Classifier (RF/RFClassifier) (Breiman, 2001): A tree-based ensemble utilizing bootstrap aggregation (bagging). It was configured with 100 estimator trees (n_estimators = 100, random_state = 42) to serve as the primary baseline for hierarchical interaction partitioning.
-
Extreme Gradient Boosting (XGBoost / XGBClassifier) (Chen & Guestrin, 2016): A highly scalable gradient boosted decision tree (GBDT) architecture (Chen & Guestrin, 2016). XGBoost is explicitly included to evaluate how A-CBFI diagnoses high-order feature synergies ( ) within models that iteratively optimize structural prediction residuals by boosting.
-
Support Vector Machine (SVM) (Cortes & Vapnik, 1995): A kernel-based nonlinear classifier configured with a radial basis function (RBF) kernel (kernel = 'rbf', probability = True, random_state = 42). The RBF kernel constructs smooth, continuous decision boundaries in high-dimensional hyperspaces, allowing the evaluation of the geometric stability and convergence speed of our targeted recourse search beyond tree-based partitions.
All models were trained using an 80:20 train-test split, and the hyperparameters were standardized to ensure a fair algorithmic comparison.
To ground our counterfactual recourse generation in domain reality and eliminate reverse-causal estimation errors common in automated statistical discovery (e.g., PC or NOTEARS), we constructed domain-specific SCMs guided by domain priors elicited from the Gemini Pro web interface (accessed between July and August 2026) across all six benchmark datasets (see Appendix A for complete topological specifications). For instance, in our primary Financial Loan dataset, the DAG (G) strictly enforces institutional lending mechanics and chronological invariants (J = {annual_income, emp_length}).
For the internal SCM node evaluation, linear and nonlinear structural functions were fitted from the observational data using scm.fit_from_data(). To ensure an exhaustive and controlled evaluation, we injected the same LLM-guided DAG into the SCM-based baseline (untargeted causal recourse), establishing a controlled baseline to verify that A-CBFI's performance gains primarily stem from our synergistic bottleneck diagnosis rather than topological advantages. During counterfactual forward passes, the SCM engine explicitly calculated and preserved the individual exogenous noise residuals ( ), ensuring that the individual characteristics remained invariant during causal downstream propagation.
3.4 Baseline Comparison Methodologies and Evaluation Metrics
To evaluate the proposed framework comprehensively, we benchmarked A-CBFI against three carefully selected baseline paradigms. Rather than exhaustively implementing every algorithmic variant in the counterfactual literature (e.g., DiCE or the CARLA benchmark suite (Pawelczyk et al., 2021)), we selected structural archetypes that represented the fundamental boundaries of the recourse methodology. By evaluating these representative methodological paradigms, we strictly isolated the performance deltas generated by the proposed causal synergistic targeting method without introducing redundant operational overhead. The evaluated baseline values were as follows:
- Wachter’s CE (Wachter et al., 2017): A standard optimization-based baseline that minimizes distance to a factual instance without causal awareness or feature targeting. In our empirical evaluations, Wachter’s CE served as the primary representative of a broader class of non-causal, optimization-driven recourse methods, representing the fundamental optimization
paradigm underlying many unconstrained counterfactual search approaches, including DiCE-style methods. By utilizing Wachter's CE as the foundational non-causal benchmark, we can strictly isolate the performance delta between unguided Euclidean distance minimization and our proposed causal structural targeting without introducing redundant combinatorial overhead.
- SHAP-Targeted CE: An additive-guided baseline that ranks features using SHAP importance scores, selects the top-k ( features as the search space, and performs noncausal distance optimization. This choice is grounded in two key considerations: first, prior literature on algorithmic recourse consistently emphasizes that human users and decision-makers prefer sparse action sets with few interventions to ensure practical feasibility; second, this setting provides a meaningful comparative baseline for A-CBFI, closely aligning with our empirical finding that A-CBFI requires an average of 1.85 intervention levers across the benchmark datasets.
• Untargeted Causal Recourse (Karimi et al., 2021): A causally valid baseline that enforces SCM forward propagation and exogenous noise preservation. By equipping this baseline with our domain-validated LLM-guided DAG, it serves as a topology-matched causal baseline that searches all mutable features without our structural bottleneck diagnosis ( ).
Purely non-causal baselines such as Wachter's CE and SHAP-targeted CE inherently lack the mathematical architecture to incorporate SCM DAGs, relying solely on Euclidean distance minimization. To comprehensively compare these methodologies, we report six quantitative evaluation criteria together with the final recourse success rate that evaluate their performance, cost, and structural validity:
-
Search Efficiency (Evaluations and Time): Quantified by the total number of objective function evaluations (evaluations) and total execution runtime in seconds (Time) required to converge on a valid recourse solution. Lower values indicate superior algorithmic efficiency.
-
Action Sparsity ( -norm): Evaluated as the number of features modified between the factual and counterfactual instance: . A higher sparsity (lower count) represents simpler and more cognitively manageable instructions for end users.
-
Recourse Cost (MAD-Scaled Distance): This measures the cumulative effort required to transition to the counterfactual state, weighted by the inverse MAD of the background distribution, to account for feature variance sensitivity:
- Causal Plausibility MSE( ): Assesses how well the generated counterfactual preserves the structural constraints of the learned SCM while retaining the factual exogenous noise associated with the individual instance. The metric is calculated as the mean squared residual between the counterfactual feature values and the outputs generated by the learned SCM structural equations under the abducted factual exogenous noise:
A residual score approaching zero indicates that the generated recourse is highly consistent with the structural equations of the SCM. Note that causal plausibility is specifically intended to evaluate structural validity rather than predictive performance alone. This provides a comprehensive evaluation framework for assessing whether A-CBFI achieves improved practical feasibility and causal consistency while maintaining competitive optimization performance relative to non-causal baselines.
- Active Intervention Levers ( ): While standard action sparsity ( ) counts the total number of modified features between factual instance x and counterfactual , it confounds user-initiated interventions with automatic downstream SCM chain propagation. To strictly evaluate the end-user's cognitive burden and operational complexity, we introduce active intervention levers ( ), defined as the cardinality of the feature subset that requires direct, manual manipulation by the user:
A smaller indicates a more actionable and simpler recourse directive, even if downstream causal mechanisms subsequently alter additional variables ( ). To ensure a fair and rigorous comparison, we must clarify how the active intervention count ( ) is computed across different classes of baselines. For non-causal baselines (e.g., Wachter CE) that do not incorporate an SCM, all modified features are treated as independent active intervention levers, i.e., . In contrast, A-CBFI leverages SCM propagation to account for downstream structural effects, reflecting true causal interventions.
- Recourse Concentration Ratio (RCR %): To quantify the structural precision of a recourse framework—specifically, whether intervention effort is concentrated on root-cause bottlenecks rather than diffusely distributed across peripheral attributes—we define the recourse concentration ratio (RCR) as the percentage of cumulative, MAD-scaled intervention effort allocated strictly to the primary targeted bottleneck nodes (T):
Here, M denotes the complete set of mutable features, ensuring that the normalization or summation is performed strictly over features that can be altered in practice. An RCR approaching 100% indicates that the algorithm executes a focused intervention on diagnosed synergistic root causes, whereas lower values reflect uncoordinated, diffuse perturbations across the feature manifold.
- Zero-Noise Structural Baseline Residual ( ): measures the structural coherence of generated counterfactual instances with respect to the underlying Structural Causal Model (SCM). Specifically, it is defined as the mean squared deviation between each counterfactual feature xj, cf and its corresponding structural equation evaluated under the zero-noise condition (U=0):
A lower indicates that the generated counterfactual better conforms to the causal mechanisms encoded by the SCM, whereas a higher value indicates greater structural inconsistency. This metric therefore provides a direct measure of causal structural coherence and helps distinguish causally consistent recourse from methods that independently manipulate features without accounting for their structural dependencies.
- Mahalanobis Data Manifold Distance ( ): measures the statistical proximity of generated counterfactual instances to the empirical data distribution. It is computed as
where and denote the mean vector and covariance matrix estimated from the reference data, respectively. A lower indicates that the counterfactual lies closer to the reference data distribution, suggesting greater data plausibility, whereas a higher value indicates that the generated instance is more statistically atypical. This metric complements by evaluating statistical plausibility rather than causal structural consistency.
Finally, to ensure statistical rigor across the N = 100 test instances per dataset, we evaluated the statistical significance of the performance deltas using the Wilcoxon signed-rank test, reporting p-values for the observed improvements in efficiency and sparsity.
4. Empirical results and discussion
To evaluate the operational efficacy, computational efficiency, and structural validity of the proposed A-CBFI framework, we conducted a comprehensive multi-architecture benchmark against representative state-of-the-art counterfactual explanation paradigms. Rather than relying on a single learning mechanism, our empirical evaluation spans three structurally distinct supervised predictive models: SVMs with a radial basis function kernel, RF, and XGBoost, across six standardized benchmark datasets categorized into financial and healthcare domains.
Our comparative investigation is structured to answer five fundamental research questions:
-
RQ1 (Search Efficiency and Recourse Quality): Can restricting counterfactual search to structurally diagnosed causal bottlenecks substantially reduce search effort while maintaining comparable recourse quality, causal validity, and action sparsity?
-
RQ2 (Architectural Robustness): How do different nonlinear decision boundary geometries influence recourse convergence and causal plausibility?
-
RQ3 (Interaction Diagnosis and Additive Fallacy): Can structural interaction diagnosis identify root-cause bottlenecks that additive attribution methods overlook, thereby enabling more concentrated and structurally informed interventions?
-
RQ4 (Practical Actionability): How do instance-level causal recourse pathways operate dynamically within real-world SCMs?
-
RQ5 (Structural Necessity and Ablation Analysis): To what extent does each core methodological component of A-CBFI (e.g., synergistic diagnosis, SCM topology) contribute to its overall recourse effectiveness, and how does the framework degrade when these modules are ablated?
The remainder of this section is organized as follows: Section 4.1 presents the macroscopic performance evaluation across domains and metrics, with particular emphasis on search efficiency, recourse quality, action sparsity, and the analysis of divergent prescriptions. Section 4.2 examines how different predictive model architectures and nonlinear decision-boundary geometries influence recourse search efficiency and causal stability. Section 4.3 investigates predictive momentum, the additive fallacy of SHAP-guided targeting, and domain-specific structural bottlenecks. Section 4.4 provides qualitative, instance-level case studies illustrating how synergistic and suppressive causal interactions translate into actionable recourse pathways. Section 4.5 conducts a component-wise analysis through baseline-induced ablation to assess the individual contributions of the key components of A-CBFI.
4.1 Macroscopic Performance across Domains and Metrics
To evaluate the macroscopic performance of the proposed A-CBFI framework relative to the baseline methods, Table 2 summarizes the benchmark results under the both-success condition, where only instances in which both A-CBFI and the corresponding baseline successfully generated a valid recourse are included. The results are aggregated across the Financial and Healthcare domains and reported as overall averages. The evaluation encompasses search efficiency (time and function evaluations), intervention complexity ( and ), recourse cost, structural intervention precision (RCR), causal structural coherence ( and ), and data plausibility (), thereby providing a comprehensive assessment of recourse quality and efficiency. To assess whether the observed differences are statistically significant, paired comparisons between A-CBFI and the causal baseline (Untargeted Causal) were performed using the Wilcoxon signed-rank test.
Table 2: Aggregated Macroscopic Benchmark Performance across Domains and Model Architectures
| Domain | Methodology | Execution Time (s) | Evaluation | Recourse Cost | Sparsity () | Success Rate (%) | |
|---|---|---|---|---|---|---|---|
| Financial | A-CBFI (Proposed) | 0.9565 | 342.2 | 2.7135 | 1.53 | 0.0003 | 100% |
| Untargeted Causal | 1.3608 | 468.6 | 2.5865 | 1.55 | 0.0001 | 100% | |
| Wachter's CE | 0.1559 | 500 | 11.2758 | 8.11 | 0.0061 | 100% | |
| SHAP-Targeted CE | 0.0953 | 394.9 | 2.2828 | 2.44 | 0.0303 | 97.2% | |
| Healthcare | A-CBFI (Proposed) | 0.7304 | 292.8 | 3.0872 | 1.95 | 0.0185 | 100% |
| Untargeted Causal | 1.0147 | 392.2 | 2.9502 | 2.00 | 0.0188 | 100% | |
| Wachter's CE | 0.0436 | 500 | 13.4167 | 6.69 | 0.1775 | 99.7% | |
| SHAP-Targeted CE | 0.0184 | 343 | 4.2105 | 2.70 | 0.1709 | 96.3% | |
| Overall | A-CBFI (Proposed) | 0.8549 | 320 | 2.8814 | 1.72 | 0.0083 | 100% |
| Untargeted Causal | 1.2053 | 434.2 | 2.7499 | 1.75 | 0.0083 | 100% | |
| Wachter's CE | 0.1054 | 500 | 12.2365 | 7.47 | 0.0737 | 99.9% | |
| SHAP-Targeted CE | 0.0607 | 371.6 | 3.1447 | 2.55 | 0.0885 | 96.8% |
| Domain | Methodology | Active Levers () | RCR | p-value | Cost p-value | ||
|---|---|---|---|---|---|---|---|
| Financial | A-CBFI (Proposed) | 1.53 | 99.73% | 6.5161 | 4.5601 | ref | Ref |
| Untargeted Causal | 1.55 | 94.78% | 5.2339 | 4.4391 | - | *** | |
| Wachter's CE | 8.11 | 77.58% | 2.0289 | 5.2354 | *** | *** | |
| SHAP-Targeted CE | 2.37 | 94.60% | 1.072 | 3.6654 | *** | *** | |
| Healthcare | A-CBFI (Proposed) | 1.95 | 96.55% | 1.0658 | 4.3883 | ref | Ref |
| Untargeted Causal | 2.00 | 92.65% | 1.068 | 4.3461 | - | *** | |
| Wachter's CE | 6.67 | 75.28% | 2.7396 | 40.7029 | *** | *** | |
| SHAP-Targeted CE | 2.60 | 90.36% | 1.4652 | 18.1895 | *** | *** | |
| Overall | A-CBFI (Proposed) | 1.72 | 98.30% | 4.0669 | 4.4829 | ref | ref |
| Untargeted Causal | 1.75 | 93.82% | 3.3618 | 4.3973 | * | *** | |
| Wachter's CE | 7.47 | 76.55% | 2.3478 | 21.1497 | *** | *** | |
| SHAP-Targeted CE | 2.47 | 92.71% | 1.2478 | 10.1587 | *** | *** |
Search Efficiency without Sacrificing Recourse Quality
A-CBFI is designed to reduce the computational burden of actionable recourse by restricting the search to structurally diagnosed candidate intervention variables and subsequently guiding the search according to synergistic interactions. To evaluate whether this structural compression improves search efficiency without compromising recourse quality, we compare A-CBFI with Untargeted Causal Recourse, Wachter's counterfactual explanation, and SHAP-Targeted CE across the Financial and Healthcare domains. The comparison considers both the overall benchmark population and the Both-Success subset, in which all compared methods successfully generate a valid recourse.
The overall results demonstrate a consistent computational advantage of A-CBFI over Untargeted Causal Recourse. Across the combined Financial and Healthcare datasets, A-CBFI requires an average of 296.7 model evaluations, compared with 405.0 evaluations for Untargeted Causal Recourse, corresponding to a 26.7% reduction in search evaluations. The reduction is accompanied by a decrease in average execution time from 1.119 s to 0.791 s. Importantly, this computational gain is not obtained by substantially sacrificing feasibility: the overall success rates are 90.2% for A-CBFI and 90.4% for Untargeted Causal Recourse, respectively. Thus, the reduction in search effort is achieved while maintaining essentially the same macroscopic recourse success rate.
A similar pattern becomes clearer when restricting the analysis to the Both-Success subset, which isolates instances for which both causal approaches successfully generated recourse and therefore provides a controlled comparison of solution quality. Among the 1,620 jointly successful instances, A-CBFI requires 320.0 evaluations, whereas Untargeted Causal Recourse requires 434.2 evaluations, yielding a 26.3% reduction in search evaluations. The corresponding execution time decreases from 1.2053 s to 0.8549 s, representing an approximately 29.1% reduction in runtime (1.41× faster). These differences are statistically significant according to the paired Wilcoxon signed-rank test for both evaluations and execution time (p<0.001).
Crucially, the computational reduction does not result in a deterioration of action sparsity. On the Both-Success subset, A-CBFI produces an average sparsity of 1.72, compared with 1.75 for Untargeted Causal Recourse, while the average active intervention burden () is 1.72 versus 1.75, respectively. Moreover, A-CBFI achieves a substantially higher Recourse Concentration Ratio (RCR) of 98.30%, compared with 93.82% for Untargeted Causal Recourse. This indicates that the proposed structural targeting mechanism concentrates the predictive effect more strongly on the prescribed intervention variables rather than merely reducing the number of changed features. The difference in RCR is statistically significant ().
The SCM propagation residuals further indicate that the computational efficiency of A-CBFI is not achieved at the expense of structural causal consistency. On the Both-Success subset, the SCM propagation residuals are virtually identical ( for both methods), with no statistically significant difference (p=0.554). This result is important because it establishes that the reduced search effort of A-CBFI is not achieved by relaxing causal consistency. Instead, both methods operate within essentially the same level of structural causal validity, while A-CBFI reaches valid recourse solutions with substantially fewer evaluations.
The domain-level results reinforce this observation. In the Financial domain, A-CBFI reduces the number of evaluations from 468.6 to 342.2 relative to Untargeted Causal Recourse in the Both-Success comparison, while execution time decreases from 1.361 s to 0.957 s. In Healthcare, the corresponding reductions are from 392.2 to 292.8 evaluations and from 1.015 s to 0.730 s. Thus, the efficiency advantage is not confined to a particular domain or data-generating mechanism.
A particularly informative comparison is obtained from the Divergent Prescription subset, consisting of instances where both causal methods succeed but select different intervention prescriptions. Here the distinction between merely finding a feasible counterfactual and efficiently identifying a concentrated actionable prescription becomes more pronounced. Across the combined domains (185 divergent instances), A-CBFI requires only 291.4 evaluations, compared with 446.3 for Untargeted Causal
Recourse, corresponding to a 34.7% reduction. Runtime is likewise reduced from 1.133 s to 0.718 s, a 36.6% reduction. At the same time, A-CBFI achieves lower intervention sparsity ( vs. 2.33) and substantially higher RCR (94.46% vs. 63.53%).
These divergent cases are particularly relevant because they demonstrate that the computational advantage of A-CBFI is not simply attributable to both methods converging to identical intervention paths. When the prescriptions actually differ, A-CBFI reaches a more concentrated intervention solution with substantially fewer evaluations. The result therefore supports the central design principle of A-CBFI: structural diagnosis can be used to reduce the effective search burden without sacrificing the quality or causal validity of the resulting recourse.
For comparison, the non-causal baselines exhibit a different trade-off. Wachter's CE and SHAP-Targeted CE generally require fewer wall-clock seconds because their underlying optimization procedures are computationally lightweight, but this apparent speed advantage does not translate into equivalent recourse quality. On the Both-Success subset, Wachter's CE requires the maximum 500 evaluations, while producing substantially higher intervention cost (12.24), much greater sparsity burden ( ), and markedly lower RCR (76.55%). SHAP-Targeted CE also exhibits substantially higher cost (3.14) and sparsity (2.55) than A-CBFI, together with a lower RCR (92.71%). These differences are statistically significant for the corresponding paired comparisons (p<0.001).
Overall, these findings reveal an important distinction between raw computational speed and search efficiency conditioned on recourse quality. Although some non-causal methods execute individual evaluations rapidly, A-CBFI requires substantially fewer model evaluations while maintaining comparable success rates, near-identical SCM propagation validity, lower intervention sparsity, and substantially higher predictive concentration. The evidence therefore suggests that the principal advantage of A-CBFI is not simply a faster implementation, but a more efficient search strategy that reduces the number of candidate interventions that must be evaluated before reaching a high-quality actionable solution.
Recourse Quality: Cost and Sparsity
Beyond search efficiency, recourse quality was evaluated in terms of intervention magnitude, sparsity, and concentration. We compared recourse cost, active intervention levers ( ), overall sparsity ( ), and recourse concentration ratio (RCR) under the both-success condition. The analysis included 568 paired instances for which both A-CBFI and the corresponding baseline generated valid recourse.
Across all instances, A-CBFI achieved a mean recourse cost of 2.8814, an average value of 1.7198, and an RCR of 98.30%. The equivalence between and indicates that the generated counterfactuals primarily relied on direct interventions rather than diffuse downstream modifications. The high RCR further demonstrates that nearly all MAD-scaled intervention effort was concentrated on the structurally diagnosed target features.
Compared with Untargeted Causal recourse, A-CBFI incurred a modestly higher mean cost (2.8814 vs. 2.7499), corresponding to an increase of approximately 4.8% ( ). However, A-CBFI achieved a slightly lower average value (1.7198 vs. 1.7506) and a substantially higher RCR (98.30% vs. 93.82%). Both differences were statistically significant ( and , respectively). Thus, although A-CBFI did not minimize aggregate cost, it produced more concentrated interventions at nearly equivalent cost.
The contrast with the non-causal baselines was more pronounced. Wachter’s CE produced a mean cost of 12.2365 and an average value of 7.4617, whereas SHAP-Targeted CE produced corresponding values of 3.1447 and 2.4710. Relative to these methods, A-CBFI reduced recourse cost by approximately 76.5% and 8.4%, and reduced the number of modified features by approximately 77.0% and 30.4%, respectively. A-CBFI also achieved higher RCR than Wachter’s CE (98.30% vs. 76.55%) and SHAP-Targeted CE (98.30% vs. 92.71%).
Overall, these findings indicate that A-CBFI provides a favorable sparsity–concentration trade-off. Its advantage does not lie solely in minimizing numerical recourse cost, but in directing intervention effort toward the causal bottlenecks identified through structural diagnosis. Consequently, A-CBFI generates recourse recommendations that require few direct actions while avoiding the diffuse perturbations commonly produced by unconstrained or additive attribution-guided search.
Causal Validity and Distributional Plausibility
Recourse validity was assessed using the SCM residual (), the zero-noise structural residual (), and the Mahalanobis distance (). Lower values indicate greater consistency with the learned causal structure and the empirical data distribution, respectively. Under the both-success condition across 568 paired instances, A-CBFI achieved an of 0.0083, an of 4.0669, and a of 4.4829.
A-CBFI showed structural validity comparable to Untargeted Causal recourse. Both methods obtained the same mean value of 0.0083, and their difference was not statistically significant (). This result indicates that restricting the search to diagnostically identified bottlenecks did not compromise consistency with the SCM. The slightly higher value of A-CBFI compared with Untargeted Causal recourse (4.0669 vs. 3.3618) suggests a modest difference under the zero-noise reference condition, but the factual-noise SCM residual confirms that A-CBFI preserves causal coherence under instance-specific counterfactual propagation.
The contrast with the non-causal baselines was substantially larger. Wachter's CE and SHAP-Targeted CE obtained values of 0.0737 and 0.0885, respectively, compared with 0.0083 for A-CBFI. Their corresponding values were 2.3478 and 1.2478, while their values were 21.1497 and 10.1587. Although the lower values of these methods should be interpreted cautiously because they do not explicitly model the SCM, their much larger and values indicate greater inconsistency with both causal mechanisms and the observed data distribution.
Overall, A-CBFI maintained SCM-level causal validity comparable to the untargeted causal baseline while producing counterfactuals that remained substantially closer to the empirical data manifold than those generated by the non-causal methods. These findings suggest that structural bottleneck diagnosis reduces the search space without sacrificing causal coherence or distributional plausibility.
Actionability: Active Interventions versus Causal Propagation
A-CBFI explicitly distinguishes between actively prescribed interventions and downstream changes induced through the structural causal model. We therefore compare the number of actively manipulated features () with the total number of altered features in the resulting counterfactual (). Across the benchmark datasets, the two quantities remain relatively close, indicating that the evaluated SCMs generally induce limited downstream dimensional expansion. Thus, the present experiments do not support a strong claim of substantial cognitive-burden reduction through passive causal propagation alone. Nevertheless, the explicit separation between direct actions and structural consequences provides an important interpretability and actionability distinction: features modified through SCM propagation are not incorrectly presented to users as independent intervention requirements.
4.2 Impact of Decision Boundary Geometry on Causal Recourse Stability
To evaluate how decision-boundary geometry influences counterfactual search and causal recourse stability, we compared A-CBFI with Untargeted Causal recourse across three structurally different predictive architectures: an RBF-kernel SVM, Random Forest, and XGBoost. The analysis was conducted under the both-success condition using architecture-specific paired subsets. The selected metrics focus on search effort, intervention cost and concentration, sparsity, causal validity, and distributional plausibility.
Table 3. Architecture-specific comparison under the both-success condition.
| Model architecture | Method | Time (s)↓ | Evaluations↓ | Recourse cost ↓ | RCR (%) ↑ | Sparsity (L0) ↓ | ↓ | ↓ |
| SVM (RBF) (N=535) | A-CBFI | 0.479 | 326.8 | 3.094 | 98.55 | 1.606 | 0.015 | 3.932 |
|---|---|---|---|---|---|---|---|---|
| Untargeted Causal | 0.687 | 434.4 | 2.957 | 93.02 | 1.604 | 0.014 | 3.970 | |
| RF (N=543) | A-CBFI | 1.569 | 302.4 | 2.617 | 97.95 | 1.757 | 0.005 | 4.5150 |
| Untargeted Causal | 2.243 | 430.5 | 2.478 | 94.47 | 1.805 | 0.005 | 4.344 | |
| XGBoost, (N=542) | A-CBFI | 0.511 | 330.9 | 2.936 | 98.41 | 1.795 | 0.005 | 4.995 |
| Untargeted Causal | 0.678 | 437.9 | 2.818 | 93.97 | 1.841 | 0.006 | 4.872 |
Smooth Hyperspherical Curvature in Kernel-Based Surfaces: SVM
For the RBF-kernel SVM, A-CBFI reduced execution time from 0.687 s to 0.479 s and the number of objective-function evaluations from 434.4 to 326.8, corresponding to reductions of approximately 30.3% and 24.8%, respectively. The mean recourse cost of A-CBFI was 3.094, slightly higher than the 2.957 obtained by Untargeted Causal recourse. However, A-CBFI achieved a substantially higher RCR of 98.55%, compared with 93.02% for the untargeted baseline.
The two methods produced nearly identical sparsity levels, with values of 1.606 and 1.604 for A-CBFI and Untargeted Causal recourse, respectively. This near-equivalence suggests that the efficiency improvement resulted primarily from restricting the search space rather than from substantially reducing the number of modified features. The values were also closely matched (0.015 for A-CBFI and 0.014 for Untargeted Causal), while A-CBFI achieved a slightly lower value (3.932 vs. 3.970). Thus, on the smooth SVM boundary, targeted diagnosis improved search efficiency and intervention concentration without materially compromising causal or distributional plausibility.
Orthogonal Step-Surfaces in Tree-Bagging Ensembles: Random Forest
Random Forest produced the largest efficiency gain from diagnosis-guided search. A-CBFI reduced execution time from 2.243 s to 1.569 s, a reduction of approximately 30.0%, and reduced the number of evaluations from 430.5 to 302.4, a reduction of approximately 29.8%. Although A-CBFI incurred a modestly higher mean recourse cost than Untargeted Causal recourse (2.619 vs. 2.478), it achieved a higher RCR (97.95% vs. 94.47%) and a lower sparsity value ( vs. 1.805).
These results are notable because Random Forest decision boundaries are composed of orthogonal, axis-aligned step surfaces. Such discontinuities can make exhaustive exploration of the mutable feature space computationally expensive. By restricting the search to diagnostically identified bottlenecks, A-CBFI preserved a highly concentrated intervention pattern while requiring substantially fewer evaluations. The two methods also showed comparable causal validity, with values of 0.005 for A-CBFI and 0.005 for Untargeted Causal recourse. The slightly higher value for A-CBFI (4.515 vs. 4.344) indicates that the targeted intervention was not uniformly closer to the empirical data manifold, but this difference did not undermine the method's causal coherence or search efficiency.
Adaptive Piecewise Decision Boundaries in Gradient-Boosted Trees: XGBoost
XGBoost represents a more locally complex decision geometry because sequential boosting produces adaptive, piecewise boundaries and higher-order feature interactions. On this architecture, A-CBFI reduced execution time by approximately 24.7%, from 0.678 s to 0.511 s, and reduced objective-function evaluations by approximately 24.4%, from 437.9 to 330.9.
The mean recourse cost of A-CBFI was 2.937, compared with 2.818 for Untargeted Causal recourse. Despite this modest cost increase, A-CBFI achieved a considerably higher RCR (98.41% vs. 93.97%) and a lower average value (1.795 vs. 1.841). This pattern indicates that A-CBFI concentrated the intervention on fewer and more structurally relevant features rather than distributing small changes across the full mutable space.
Causal validity remained closely matched between the two methods. A-CBFI obtained an of 0.005, while Untargeted Causal recourse obtained 0.006. The corresponding values were 4.995 and 4.872, respectively. Therefore, although A-CBFI did not achieve the lowest distributional distance on XGBoost, its targeted search maintained comparable SCM consistency while offering clear gains in computational efficiency and intervention concentration.
Overall, the architecture-specific results demonstrate that the benefits of A-CBFI are not restricted to a particular decision-boundary geometry. Across SVM, Random Forest, and XGBoost, A-CBFI consistently reduced execution time and objective-function evaluations and achieved a higher RCR than Untargeted Causal recourse. Its recourse cost was modestly higher across all three architectures, reflecting the trade-off associated with enforcing targeted rather than diffuse interventions. Nevertheless, A-CBFI maintained comparable causal validity and generally improved or preserved intervention sparsity. These findings indicate that structural diagnosis enables efficient and concentrated causal recourse across smooth, axis-aligned, and adaptive piecewise decision boundaries.
4.3 Predictive Momentum and Additive Targeting
To further examine the role of structural target selection, we compared A-CBFI with SHAP-targeted CE using absolute probability gain (), intervention efficiency (), and success rate. We define the absolute predictive probability gain as . The architecture- and domain-specific results are summarized in Table 4.
Table 4. Comparison of predictive momentum and intervention efficiency across targeted recourse paradigms.
| Domain | Model architecture | Method | ΔP(Prob Gain) | Intervention Efficiency (ΔP/L0) | Success Rate |
|---|---|---|---|---|---|
| Financial | SVM | A-CBFI | 0.2668 | 0.035 | 100.00% |
| SHAP | 0.1492 | 0.0692 | 100.00% | ||
| RF | A-CBFI | 0.5426 | 0.0858 | 100.00% | |
| SHAP | 0.5173 | 0.2359 | 100.00% | ||
| XGBoost | A-CBFI | 0.4741 | 0.0681 | 100.00% | |
| SHAP | 0.3581 | 0.2793 | 100.00% | ||
| Healthcare | SVM | A-CBFI | 0.2929 | 0.0502 | 100.00% |
| SHAP | 0.2574 | 0.0936 | 100.00% | ||
| RF | A-CBFI | 0.3887 | 0.0862 | 100.00% | |
| SHAP | 0.3773 | 0.1418 | 100.00% | ||
| XGBoost | A-CBFI | 0.5892 | 0.1145 | 100.00% | |
| SHAP | 0.5809 | 0.236 | 100.00% |
Across all six domain–architecture combinations, both methods achieved a 100% success rate. However, A-CBFI consistently produced a larger absolute probability gain. In the Financial domain, A-CBFI achieved higher than SHAP-targeted CE for SVM (0.2668 vs. 0.1492), Random Forest (0.5426 vs. 0.5173), and XGBoost (0.4741 vs. 0.3581). The same pattern was observed in Healthcare, although the differences were smaller: 0.2929 vs. 0.2574 for SVM, 0.3887 vs. 0.3773 for Random Forest, and 0.5892 vs. 0.5809 for XGBoost.
In contrast, SHAP-targeted CE achieved a higher in every comparison. This result reflects its use of smaller intervention sets and indicates that it can generate a larger probability gain per modified feature. Nevertheless, the ratio should not be interpreted independently of absolute probability gain. A-CBFI's higher across all six settings suggests that synergistic bottleneck diagnosis identifies intervention combinations capable of producing a stronger overall movement toward the target prediction, even when the intervention is not minimal in terms of the number of modified features.
These findings provide supporting rather than conclusive evidence for the limitation of purely additive target selection. The results do not show a difference in recourse success, since both methods achieved success in the evaluated subsets. Instead, they indicate a distinct trade-off: SHAP-targeted CE favors compact interventions, whereas A-CBFI favors stronger aggregate predictive movement through structurally informed target selection. Accordingly, the principal contribution of A-CBFI is not universal superiority in every recourse metric, but the ability to achieve stronger predictive momentum while maintaining reliable recourse convergence.
4.4 Qualitative Case Studies: Instance-Level Causal Pathways
To qualitatively demonstrate the practical effectiveness and domain realism of A-CBFI, we present two complementary case studies. These instances were selected as representative scenarios where strong immutable constraints leave only a limited set of actionable variables.
Specifically, they illustrate how our diagnosis-guided intervention dynamically resolves the two opposing extremes of structural interaction bottlenecks: overcoming synergistic amplification () and releasing suppressive inhibition (). Importantly, both cases demonstrate how A-CBFI leverages a unified diagnostic measure () to clearly distinguish active human effort from passive causal propagation, thereby generating highly realistic recourse paths that remain consistent with domain-specific structural constraints.
4.4.1 Case Study 1: Breaking Synergistic Amplification ()
To empirically demonstrate the localized diagnosis and subsequent intervention based on , we analyzed Instance #152 from the Diabetes (Healthcare) dataset. This case study illustrates how identifying synergistic interactions allows A-CBFI framework to overcome the limitations of exhaustive and additive search methods.
The Initial State: A High-Risk Clinical Profile with Rigid Constraints
Instance #152 has a factual outcome label of 1 (Diabetic / Adverse Risk), with a critically high predicted risk of , as detailed in Table 5 (Baseline Profile). The patient's baseline clinical profile is constrained by an immutable demographic attribute, most notably, an age of 42 years, which is classified as immutable. Because age cannot be changed, the algorithm must find a highly efficient pathway through the remaining actionable physiological and metabolic levers, such as glucose (156.0 mg/dL), bmi (34.3 kg/m), and number of pregnancies (9).
Table 5. Baseline Profile of the Diabetes
[Factual Status Summary]
• Factual Outcome Label: 1 (Diabetic / Adverse Risk)
• Factual Diabetic Risk: 91.0%
| Feature Name | Feature Type | Raw Original Value | Scaled Z-Score |
|---|---|---|---|
| glucose | Actionable | 156.0 mg/dL | 1.0987 |
| bloodpressure | Actionable | 86.0 mmHg | 0.8734 |
|---|---|---|---|
| skinthickness | Actionable | 28.0 mm | 0.4682 |
| insulin | Actionable | 155.0 μU/ml | 0.653 |
| bmi | Actionable | 34.3 kg/m2 | 0.2929 |
| diabetespedigreefunction | Actionable | 1.189 | 2.1658 |
| age | Immutable | 42 yrs | 0.7453 |
| pregnancies | Actionable | 9 times | 1.5308 |
Step 1. Structural Causal Model Construction
To ensure counterfactual validity, A-CBFI establishes a domain-specific Structural Causal Model (SCM) constrained by real-world physiological constraints. First, chronological age is explicitly defined as an immutable feature to prevent physically impossible time-reversal interventions.
Furthermore, the causal directed acyclic graph (DAG) restricts the optimization space to the following structural dependencies:
-
age → {pregnancies, glucose, bmi}
-
bmi → {bloodpressure, skinthickness}
-
glucose → insulin (e.g., enforcing the endocrine law where blood glucose levels govern downstream insulin secretion).
By embedding these structural edges, A-CBFI enforces the specified structural relationships when propagating prescribed actions through the patient's metabolic network before the targeted search begins.
Step 2. Structural Causal Diagnosis via Causal CBFI
To determine precisely why Instance #152 receives a critically high adverse prediction, A-CBFI decomposes the local prediction into isolated main effects and structural synergies . The base diagnosis waterfall plot reveals that while glucose (+0.1975) and pregnancies (+0.1283) are driven by independent effects, diabetespedigreefunction is dominated by interaction synergy . Additionally, age is identified as highly influential but is excluded from the actionable pool due to immutable constraints (see Figure 2).
To uncover this mechanism, the Interaction Graph in Figure 3 exposes a strong pairwise synergistic bottleneck tightly linking glucose and diabetespedigreefunction. This indicates that the patient's severe risk is substantially influenced by their combined amplification—a structural barrier often obscured by purely additive attribution methods like SHAP.
Guided by these diagnostics, A-CBFI filters out peripheral noise to dynamically compress the optimization search space down to the primary actionable bottlenecks: ['glucose', 'pregnancies', 'bmi', 'diabetespedigreefunction', 'bloodpressure']. This targeted diagnosis ensures the subsequent causal search focuses strictly on the diagnosed structural bottlenecks underlying the adverse prediction.
Factual Prediction Rejection Risk Waterfall (Base Diagnosis) C-G1 Main vs. C-G4 Interaction Breakdown for Diabetic Risk

Fig. 2. Instance-Level Structural Decomposition (Case Study 1), highlighting positive synergistic amplification ( ). The waterfall chart separates independent main effects ( ) from structural synergies ( ) for an adverse diabetic risk prediction.
A-CBFI Interaction Graph
(Nodes: C_G1 + C_G4 Importance | Edges: Pairwise Synergy C_G4(X, Y))

Fig. 3. A-CBFI Interaction Graph ( ) for identifying synergistic bottlenecks. Node attributes (color and size) represent the total causal sensitivity ( ), while the prominent edge highlights the severe pairwise synergistic interaction ( ) between glucose and diabetespedigreefunction
Step 3. Targeted Recourse Optimization
Given the dynamically filtered bottleneck set, A-CBFI deploys Interaction-Guided Beam Search (IGBS) to efficiently navigate the combinatorial optimization space. Rather than exploring candidate branches blindly, IGBS uses the structural synergy scores as a search heuristic, prioritizing interventions that specifically address the strong glucose-linked synergistic bottleneck identified in Step 2.
The resulting prescription explicitly separates the required patient effort from downstream physiological responses, ensuring clinical actionability. As visualized in the Causal Recourse Propagation Path DAG in Figure 4, the optimization engine prescribes direct, active interventions on only two specific levers ( , highlighted in orange): substantially lowering glucose ( ) and bmi ( ).
By leveraging the physiological relationships embedded within the SCM, these targeted actions trigger a downstream ripple effect. The reduction in blood glucose naturally propagates to reduce insulin levels ( , highlighted in green) without requiring a direct intervention on insulin. Remaining features, such as the immutable age and the unselected pregnancies or bloodpressure (highlighted in blue), are left unchanged, thereby avoiding unnecessary intervention burden.
This targeted intervention strategy minimizes the MAD-scaled intervention cost. By explicitly exploiting the SCM's structural dependencies—focusing on the primary actionable levers that induce downstream changes—A-CBFI efficiently addresses the structural risk barrier and provides an efficient, structurally consistent pathway toward a favorable (non-diabetic) outcome.
Actionable CBFI: Causal Recourse Propagation Path (Orange: Direct Action L_active, Green: Downstream Causal Change)

Fig. 4. Causal Recourse Propagation Path (Case Study 1). The network explicitly decouples active human effort from passive structural effects. Orange nodes represent the direct, active interventions ( ) prescribed on glucose and bmi, while the green node illustrates the natural downstream reduction in insulin propagated through the Structural Causal Model (SCM).
Step 4. Actionable Recourse Generation
The final phase verifies the recourse outcome, successfully shifting the predicted outcome from a severe diabetic risk (91.0%) to a favorable non-diabetic prediction (48.0%) with a low MAD-scaled intervention cost of 4.59 (see Table 6).
The framework's true explanatory power lies in translating optimization into a human-centric plan by explicitly distinguishing active effort from passive physiological responses. The prescription requires managing only two direct levers (): reducing bmi from 34.3 to and glucose from 156.0 to 125.0 mg/dL. According to the specified SCM, insulin passively decreases from 155.0 to 118.8 U/ml as a natural downstream propagation, without requiring an independent intervention on insulin.
The Causal Recourse Waterfall Chart in Figure 5 visualizes this targeted impact. Intervening on the diagnosed bottlenecks sequentially reduces the predicted risk: do(bmi) yields an initial reduction and do(glucose) further reduces the predicted risk by p by addressing the core interaction synergy.
Unlike black-box methods that output convoluted, simultaneous changes, A-CBFI provides a transparent narrative. By structurally diagnosing the underlying bottlenecks and targeting specific causal anchors, the framework provides a structurally consistent and practically actionable recourse pathway for real-world healthcare applications.
Table 6: Feature-Level Intervention Breakdown of A-CBFI (Instance #152)
| Feature Name | Original Value | Intervention | Intervention Type |
|---|---|---|---|
| Glucose | 156.0 | 125.0 | Direct User Lever |
| pregnancies | 9 | Unchanged | |
| bmi | 34.3 | 25.9 | Direct User Lever |
| diabetespedigreefunction | 1.189 | Unchanged | |
| bloodpressure | 86.0 | Unchanged | |
| Insulin | 155.0 | 118.8 | Passive SCM Propagation |
| Total Active Levers (Lactive) | — | — | 2 |
| Diabetic Risk | 91% | 48% |
Actionable-CBFI: Causal Recourse Waterfall Chart
Factual Prediction: Severe Diabetic Risk -> Normal

Fig. 5. Causal Recourse Waterfall Chart (Case Study 1). The chart visualizes the sequential reduction in adverse prediction probability. Intervening strictly on the diagnosed bottlenecks systematically reduces the predicted risk: do(bmi) yields an initial p reduction, and do(glucose) further reduces the predicted risk by p by addressing the core interaction synergy, shifting the prediction toward the non-diabetic class.
Clinical Plausibility of Synergistic Recourse: Interpreting the Counter-Intuitive Intervention
The final prescription derived by A-CBFI is not merely the result of minimizing mathematical distance (MAD); rather, it represents a counterfactual trajectory that is consistent with the endocrine relationships encoded in the SCM. Unlike approaches that rely primarily on statistical feature distributions and may permit implausible interventions (e.g., reducing age), this recourse exhibits clear structural and clinical plausibility for the following reasons:
-
Realism of Clinical Treatment Goals: Lowering glucose from 156.0 to 125.0 mg/dL moves the counterfactual value below the conventional fasting plasma glucose threshold of 126 mg/dL used in diabetes diagnosis, placing it within the prediabetes range under this criterion. Furthermore, reducing BMI from 34.3 to 25.9 kg/m² represents a clinically plausible target that may be achievable through substantial lifestyle modification and, where clinically appropriate, pharmacological weight-management interventions.
-
SCM-Based Representation of the Physiological Ripple Effect: A key aspect of the prescription is the passive reduction in insulin. When the two active levers ( )—weight and glycemic control—are modified, the SCM propagates these interventions through the specified physiological relationships. In the resulting counterfactual state, insulin decreases from 155.0 to 118.0 U/ml as a downstream consequence of the specified structural equations, without requiring an independent intervention on insulin.
Consequently, A-CBFI does not advocate random variable manipulation. Instead, it demonstrates how interventions on upstream causal factors can propagate to downstream variables according to the structural relationships encoded in the SCM, thereby providing a structurally consistent and practically interpretable recourse trajectory.
4.4.2 Case Study 2: Releasing Suppressive Inhibition ( )
While the previous case demonstrated the necessity of breaking synergistic amplification, A-CBFI is likewise designed to address suppressive inhibition ( ). In the context of counterfactual recourse, a negative interaction acts as a "suppressive lock," where the structural coupling of specific features offsets their independent predictive contributions, preventing the instance from crossing the decision boundary.
Diagnosing Negative Interaction Interference
To empirically demonstrate this capability, we analyze Instance #21 from the Financial dataset, which exhibits an adverse prediction strongly influenced by this structural bottleneck. The localized decomposition explicitly identifies a strong suppressive interaction (see Figure 6). Consequently, an effective recourse strategy is not to indiscriminately shift all financial parameters, but to execute a targeted micro-intervention that specifically alleviates this localized suppression.
Actionable-CBFI: Main/Interaction Effect Decomposition & Causal Diagnosis Factual Prediction: Credit Denied (High Risk / Class 1)

Fig. 6. Instance-Level Structural Decomposition (Case Study 2), illustrating the identification of suppressive inhibition ( ). The horizontal bar chart decomposes the factual adverse prediction (Credit Denied) into causal main effects ( , solid bars) and negative interaction effects ( , hashed bars), explicitly isolating the structural bottlenecks that can be targeted for intervention.
Surgical Release vs. Diffuse Shifting
The operational results detailed in Tables 7 and 8 highlight a substantial difference in both computational efficiency and domain realism. Guided by the diagnosis, A-CBFI accurately identifies that directly manipulating the interest rate is generally not within the applicant's direct control. Instead, it targets the primary actionable bottleneck, prescribing a single active intervention ( ): a reduction in Debt-to-Income ratio (dti) from 0.0767 to 0.0696.
Crucially, by leveraging the Structural Causal Model (SCM), this active intervention triggers passive downstream propagation, resulting in a reduction in int_rate from 0.0743 to 0.0739. This SCM-consistent pathway is consistent with the financial relationships encoded in the model, whereby reducing existing debt relative to income can improve creditworthiness and consequently lead to a lower counterfactual interest rate. A-CBFI achieves this actionable recourse in just 36.84 ms.
Inefficiency and Unrealistic Shifting of Baselines
Conversely, conventional optimization paradigms fail to account for this suppressive structure and may violate domain constraints:
-
Wachter's CE: Satisfies the distance objective without accounting for domain-specific actionability, increasing the loan amount from 7,000 and requiring the applicant to alter five distinct features ().
-
SHAP-Targeted CE: Requires the user to manipulate three distinct levers simultaneously, resulting in substantially higher computational time (1002.57 ms).
-
Untargeted Causal: Although it achieves a low mathematical cost with one active lever, it prescribes a direct manipulation of int_rate (0.0743 → 0.0790). This intervention is counterintuitive, as increasing the interest rate leads to a favorable prediction, and is practically unactionable because interest rates are generally not directly controllable by applicants. Furthermore, traversing the search space without structural targeting requires 1758.06 ms—
nearly 50 times longer than A-CBFI.
Ultimately, this case illustrates that A-CBFI's structural decomposition efficiently identifies and addresses suppressive inhibition, enabling highly realistic, minimal-effort () actionable recourse while avoiding the major limitations observed in the baseline methods
Table 7: Performance Summary of Recourse Methodologies (Case Study 2)
| Methodology | Recourse Status | Minimum Recourse Cost ↓ | Active Levers () ↓ | Comp. Time (ms) |
|---|---|---|---|---|
| Actionable CBFI (Proposed) | SUCCESS | 0.5774 | 1 | 36.84 |
| SHAP-Targeted CE | SUCCESS | 0.3307 | 3 | 1002.57 |
| Wachter's CE | SUCCESS | 2.2697 | 5 | 1011.99 |
| Untargeted Causal | SUCCESS | 0.5601 | 1 | 1758.06 |
Table 8: Feature-Level Intervention Breakdown (Case Study 2)
| Feature Name | Original Value | Actionable CBFI (Proposed) | SHAP-Targeted CE | Wachter's CE (2017) | Untargeted Causal (2021) |
|---|---|---|---|---|---|
| int rate | 0.0743 | * | 0.0749 | 0.0662 | 0.079 |
| dti | 0.0767 | 0.0696 | 0.0626 | 0.0401 | Unchanged |
| installment | 69.14 | Unchanged | 64.7065 | 49.73 | Unchanged |
| loan amount | 2225 | Unchanged | Unchanged | 7,000 | Unchanged |
| total acc | 20.0 | Unchanged | Unchanged | 21 | Unchanged |
| Total Levers () | — | 1 | 3 | 5 | 1 |
- Passive SCM Propagation
4.5 Component-wise Analysis via Baseline-Induced Ablation Proxies
This analysis should be interpreted as a proxy ablation rather than a strict code-level ablation. To strictly isolate the contribution of each proposed methodological component to overall performance, our baseline comparison is framed as a comprehensive ablation study. Table 9 outlines the mapping between A-CBFI's ablated configurations and the corresponding representative proxy baselines. This conceptual mapping provides a clear theoretical lens for understanding how removing causal interaction diagnosis, structural constraints, or target selection affects overall framework performance.
Table 9: Conceptual Mapping of A-CBFI Components to Proxy Baselines for Baseline-Induced Ablation Analysis
| Framework Configuration | Ablated Component | Operational Mechanism (Remaining) | Representative Proxy Baseline |
|---|---|---|---|
| Complete A-CBFI | None | (Proposed Framework) | |
| A-CBFI w/o | Causal Interaction Diagnosis | Additive-guided targeting | SHAP-Targeted CE |
| A-CBFI w/o SCM | Causal/Structural Constraints | Distance-based optimization | Wachter's CE |
| A-CBFI w/o Diagnosis | Target Selection | Full exhaustive causal search | Untargeted Causal |
Conceptually reducing A-CBFI framework into these evaluated baseline paradigms reveals the specific contribution of each core module:
-
Ablation of Synergistic Diagnosis (Removing ): If we ablate the synergistic interaction component and guide the search solely using additive main effects ( ), the framework reduces to an additive-guided targeting strategy analogous to SHAP-Targeted CE. As shown in Table 4, while this additive approach maintains a high success rate, it exhibits substantial degradation in intervention efficiency across complex nonlinear decision boundaries, indicating that plays a critical role in identifying effective recourse paths in the presence of nonlinear feature interactions.
-
Ablation of Causal Topology (Removing SCM): If we remove the underlying SCM and evaluate variables purely based on observational feature-space distances, the framework reduces to a non-causal, distance-based recourse paradigm represented by Wachter's CE. Table 2 shows that this ablation results in substantially lower causal plausibility, with increasing from 0.0083 to 0.0737. Consequently, it produces less structurally consistent recourse paths, with the required human intervention burden ( ) increasing from 1.72 to 7.46 levers and the overall Recourse Cost increasing from 2.8814 to 12.2365.
-
Ablation of Targeted Search (Removing Diagnosis entirely): If we retain the SCM but remove the diagnostic targeting module, the framework corresponds to the untargeted causal baseline. While this ablation does not significantly alter final action sparsity ( ), Table 2 demonstrates a substantial reduction in search efficiency. Without diagnostic targeting, the algorithm must search over the full causal intervention space, causing the number of model evaluations to increase from 320 to 434.2 and overall execution time to increase from 0.8549 s to 1.2053 s. This result demonstrates that the diagnostic module is a key contributor to operational search efficiency.
5. Conclusion
In this study, we address the critical disconnect between theoretical algorithmic recourse and practical human actions. Existing recourse methods may distribute intervention effort across multiple mutable attributes, increasing the practical complexity of actionable recommendations, whereas additive methods such as SHAP fail to capture higher-order synergies, causing search failures in nonlinear architectures (e.g., XGBoost).
To overcome these limitations, we propose A-CBFI, a framework grounded in synergistic bottleneck diagnosis ( ). By mathematically separating active user interventions ( ) from the total downstream causal effects ( ), A-CBFI executes localized targeted perturbations. Empirical evaluations demonstrated that A-CBFI compressed human intervention to an average of 1.72 levers (a 76.9% reduction) while maintaining global cost parity ( ). By concentrating 98.3% of the intervention momentum on the root causes, A-CBFI successfully generated feasible recourse for instances with available actionable pathways while respecting structural constraints. Unlike SHAP, A-CBFI maintained a substantially greater probability gain predictive momentum ( ) and achieved a 100% relative causal convergence rate across all feasible instances.
Ultimately, A-CBFI achieves a highly favorable trade-off in actionable XAI, showing that practical, human-centric recourse relies on intelligent diagnostic targeting rather than sacrificing causal validity. Future studies should extend this synergistic framework to dynamic sequential recourse and multimodal data manifolds. The implementation code of A-CBFI and experimental results are publicly available at https://github.com/dkumango/actionable_CBFI.
References
Aryan, A., et al. (2024). Financial Loan Dataset. Kaggle.
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32.
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785-794).
Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20(3), 273-297.
De Toni, G., et al. (2024). Personalized algorithmic recourse with discrete optimization via Monte Carlo Tree Search. arXiv preprint. arXiv:2205.13743.
Gendron, G., et al. (2024). Beam search for causal counterfactual reasoning in Structural Causal Models. In Advances in Neural Information Processing Systems (NeurIPS).
Hofmann, H. (1994). Statlog (German Credit Data). UCI Machine Learning Repository.
Karimi, A. H., von Kügelgen, J., Schölkopf, B., & Valera, I. (2020). Algorithmic recourse under imperfect causal knowledge: a probabilistic approach. In Advances in Neural Information Processing Systems (NeurIPS).
Karimi, A. H., Schölkopf, B., & Valera, I. (2021). Algorithmic recourse: from counterfactual explanations to interventions. In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency (pp. 353-362).
Kanamori, K., et al. (2024). RACT: Recourse action for tree ensembles. In Proceedings of the International Conference on Machine Learning (ICML).
Kohavi, R. (1996). Scaling up the accuracy of naive-bayes classifiers: A decision-tree hybrid. In Proceedings of the Second International Conference on Knowledge Discovery and Data Mining (pp. 202-207).
Lantz, B. (2013). Medical Insurance Cost Dataset. Kaggle.
Laugel, T., Lesot, M. J., Marsala, C., Renard, X., & Detyniecki, M. (2017). Inverse classification for comparison-based interpretability. arXiv preprint arXiv:1712.08443.
Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30.
Mothilal, R. K., Sharma, A., & Tan, C. (2020). Explaining machine learning classifiers through diverse counterfactual explanations. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency (pp. 607-617).
Oh, S. (2022). Predictive case-based feature importance and interaction. Information Sciences, 593, 155-176.
Oh, S. (2026). Beyond Feature Attribution: Recovering Structural Reasoning in Machine Learning Models via Localized CBFI [Computer software and submitted manuscript]. GitHub. https://github.com/dkumango/Local_CBFI
Pawelczyk, M., Broelemann, K., & Kasneci, G. (2020). Learning model-agnostic counterfactual explanations for tabular data. In Proceedings of the Web Conference 2020 (pp. 3126-3132).
Pawelczyk, M., Sas, R., Caro, E., Finzel, Bettina., & Kasneci, G. (2021). CARLA: A Python library to benchmark algorithmic recourse and counterfactual explanation algorithms. arXiv preprint arXiv:2108.00783.
Pearl, J. (2009). Causality: Models, Reasoning, and Inference (2nd ed.). Cambridge University Press.
Poyiadzi, R., Sokol, K., Santos-Rodriguez, R., De Bie, T., & Flach, P. (2020). FACE: Feasible and actionable counterfactual explanations. In Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society (pp. 344-350).
Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). "Why should I trust you?" Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135-1144).
Smith, J. W., Everhart, J. E., Dickson, W. C., Knowler, W. C., & Johannes, R. S. (1988). Using the ADAP learning algorithm to forecast the onset of diabetes mellitus. In Proceedings of the Symposium on Computer Applications in Medical Care (pp. 261-265).
Spirtes, P., Glymour, C. N., & Scheines, R. (2000). Causation, Prediction, and Search (2nd ed.). MIT Press.
Street, W. N., Wolberg, W. H., & Mangasarian, O. L. (1993). Nuclear feature extraction for breast tumor diagnosis. In Biomedical Image Processing and Biomedical Visualization (Vol. 1905, pp. 861-870). SPIE.
Wachter, S., Mittelstadt, B., & Russell, C. (2017). Counterfactual explanations without opening the black box: Automated decisions and the GDPR. Harvard Journal of Law & Technology, 31, 841.
Appendix A: Domain-Specific SCM Priors (DOMAIN_SCM_CONFIGS)
----- Financial & Socio-Economic Domain (3 Datasets) -----
[financial_loan] immutable_features : ['annual_income', 'emp_length'] dag_edges: ('annual_income', 'dti') # Higher earning capacity reduces debt-to-income ratio ('annual_income', 'loan_amount') # Baseline income constrains approved borrowing limits ('emp_length', 'int_rate') # Career stability influences institutional risk premiums ('loan_amount', 'installment') # [Financial Law] Principal directly scales monthly payment ('term', 'installment'), # [Financial Law] Amortization duration sets monthly payment ('loan_amount', 'int_rate'), # Larger principal increases default risk premium (interest) ('dti', 'int_rate') # Higher debt burden inflates interest rate assignments
[german_credit] immutable_features: ['age', 'present_residence'] dag_edges: ('age', 'existingCredits') # Chronological age enables credit history accumulation ('age', 'credit_amount') # Life-stage financial requirements drive loan size ('duration', 'credit_amount') # Longer financing terms correlate with larger credit requests ('credit_amount', 'installment_rate') # Higher principal increases debt service burden relative to income ('existingCredits', 'credit_amount') # Existing liabilities constrain additional credit extension
[adult_income] immutable_features: ['age', 'education_num'] dag_edges: ('age', 'education_num') # Generational cohorts influence educational attainment averages ('age', 'hours_per_week') # Age dictates physical stamina and labor participation rates ('age', 'capital_gain') # Life-cycle savings accumulation duration increases capital gains ('education_num', 'hours_per_week') # Professional qualifications dictate career working hour norms ('education_num', 'capital_gain') # Higher academic credentials unlock surplus investment capital ('hours_per_week', 'capital_gain') # Increased labor volume yields surplus disposable income for investments
----- Healthcare & Clinical Diagnostic Domain (3 Datasets) -----
[medical_insurance] immutable_features: ['age', 'children'] dag_edges: ('age', 'bmi') # Metabolic deceleration with aging alters baseline BMI ('exercise_hours', 'bmi') # [Physiological Law] Physical expenditure actively reduces BMI ('smoker', 'bmi') # Behavioral correlation between smoking habits and metabolic rates ('age', 'exercise_hours') # Biological aging constrains physical stamina and exercise duration
[diabetes]
immutable_features: ['Age', 'Pregnancies']
dag_edges:
('Age', 'Pregnancies') # Chronological age limits cumulative gestational events
('Age', 'BloodPressure') # Vascular stiffening with advancing age elevates blood pressure
('Age', 'Glucose') # Baseline metabolic efficiency degrades over chronological aging
('BMI', 'BloodPressure') # Increased body mass imposes mechanical resistance on vasculature
('BMI', 'SkinThickness') # [Biological Invariant] Adipose mass scales subcutaneous skin thickness
('BMI', 'Insulin') # Obesity induces cellular insulin resistance and hyperinsulinemia
('Glucose', 'Insulin') # [Endocrine Law] Pancreatic beta-cells secrete insulin in response to glucose
[breast_cancer]
immutable_features: []
dag_edges:
('radius_mean', 'perimeter_mean') # [Geometric Determinism] Perimeter scales linearly with radius
('radius_mean', 'area_mean') # [Geometric Determinism] Area scales quadratically with radius
('perimeter_mean', 'area_mean') # Mathematical coupling between boundary length and enclosed area
('radius_mean', 'compactness_mean') # Expanding nuclear volume alters perimeter-to-area compactness
('texture_mean', 'smoothness_mean') # Surface grayscale texture variations correlate with contour smoothness