WorksComputer Science
Robust Recourse under Causal Graph Ambiguity
Abstract
Causal algorithmic recourse recommends actions to reverse unfavorable decisions by modeling how interventions change an individual's features. Existing methods typically assume one causal graph that describes the system and account for uncertainty in the causal mechanisms. However, there usually exist several graphs that fit the same data but can predict different effects for the same action. Certain actions may achieve recourse across multiple graphs, but as the set of potential graphs grows, a single best action may become infeasible. We propose Worst-Case Recourse and Graph-Weighted Recourse to find a low-cost action that succeeds across all candidate graphs or a specified fraction of graph weight, respectively. Assuming a set of plausible graphs, for each graph we fit Gaussian process structural equations and assess success using the posterior mean–standard-deviation criterion. We use gradient-based search to determine minimal cost actions and check the validity of the actions on fresh posterior samples. In synthetic and semi-synthetic benchmarks, relaxing robustness, the requirement that an action succeed under every candidate graph, can increase the number of valid recommendations for recourse and lower costs of actions for both methods. In the 20-node GP benchmark, relaxation increases the number of factual instances offered recourse (coverage) from 341 to 436 out of 1,000, while the number of true successes, actions that flip the decision under the generating model, falls from 251 to 184, illustrating the coverage–validity trade-off. Accounting for graph ambiguity can help decision-makers recommend actions that remain effective even when the causal mechanisms of the system are not fully known.
Introduction
Algorithmic recourse aims to give an individual who receives an unfavorable decision an action that will change it (Wachter et al., 2017; Ustun et al., 2019; Venkatasubramanian and Alfano, 2020); see Karimi et al. (2022) and Verma et al. (2024) for surveys. In high-stakes settings such as credit, hiring, and public services, a useful recommendation should be valid (it changes the decision), affordable (its cost to the individual is low), and robust (it remains valid under realistic uncertainty). Unlike counterfactual explanations (Martens and Provost, 2014; Tolomei et al., 2017; Joshi et al., 2019; Karimi et al., 2020a; Mothilal et al., 2020; Poyiadzi et al., 2020), which change features independently and can ignore causal dependencies between them (Mahajan et al., 2019; Barocas et al., [4]), causal recourse (Karimi et al., 2021) models actions as interventions on a structural causal model (SCM) (Pearl, 2009), so that an action’s downstream effects are accounted for.
Most causal recourse methods assume that a causal graph is given, even though observational data cannot identify a single valid graph. Instead, under standard causal identification assumptions, there exists a Markov equivalence class (MEC) of possible graphs (Verma and Pearl, 1990; Spirtes et al., 2000). Graphs in an MEC agree on all conditional independences in the data but can differ in edge directions, parent sets, and mediation paths (Andersson et al., [3]). Two observationally equivalent graphs can therefore imply materially different outcomes for the same intervention (Maathuis et al., 2009): an action optimized for one graph may fail under another in the MEC.
Can we recommend one affordable intervention that changes an unfavorable classifier decision under every graph in an MEC? Figure 1 illustrates this with a mortgage applicant: the data cannot tell whether savings reduce debt or debt prevents saving, so the cheapest action under each graph is denied under the other, while a slightly more expensive action that sets both savings and debt is approved under both. We first ask when there exists such an optimal action and what it costs, then we explore the gains and losses from relaxing the requirement that it succeed under every graph.

Figure 1. Toy example of mortgage recourse under causal ambiguity. Graph A and B are equally likely, however each graph’s cheapest action fails under the other. Setting both savings and debt removes this dependence on edge direction so both graphs approve at cost 7. Blue nodes are intervention targets, dashed grey edges are cut by intervention, and orange values mark downstream changes.
Graph ambiguity is distinct from uncertainty in the structural equations under a fixed graph, which Karimi et al. (2020b) address with Gaussian process SCMs (GP-SCMs). Our method handles both: GP-SCMs capture uncertainty in the structural equations within each graph, while our constraints range over every graph in the MEC.
Prior work studies robustness to action execution, recorded features, predictive models, and temporal change. See Section A. We study uncertainty about causal graph structure, combining all-model and graph-weighted requirements with GP models for uncertain mechanisms. Figure 2 gives an overview: we enumerate MEC DAGs, fit a GP-SCM to each, and seek a low-cost action verified on all graphs (Algorithm 1) or a specified fraction of graph weight (Algorithm 2).

Figure 2. Overview of Algorithms 1 and 2. Top: enumerate the given CPDAG’s MEC and fit each graph’s GP-SCM on training data. Bottom: sets targets to . For each permitted and initialization , take gradient steps on using counterfactual samples per graph; verify each iterate on fresh samples per graph. is the estimated graph weight on which is valid (§ 3.2). Stacked boxes are computed per graph; shading marks the two differing steps.
We make the following contributions:
We formulate minimal-cost recourse using one action across every DAG in the MEC ((5)), and a relaxation requiring approval under a specified fraction of graph weight ((9)).
We propose two gradient-based search algorithms (Algorithms 1 and 2) with smooth worst-case and graph-weighted objectives, respectively. Both retain the cheapest visited action passing independent Monte Carlo checks.
We fit a GP-SCM to each candidate graph and apply a classifier-score lower confidence bound (LCB) criterion, so returned actions account for uncertainty in both structural equations and graph structure (§ 2 and Table 2).
| Setting | Algorithm 1: Coverage (%) | Algorithm 1: True validity (%) | Algorithm 1: Cost | Algorithm 1: New-sample validity passed/returned (%) | Algorithm 2: Coverage (%) | Algorithm 2: True validity (%) | Algorithm 2: Cost | Algorithm 2: New-sample validity passed/returned (%) |
| Linear, 3 nodes | 90.6 ±3.4 | 98.9 ±1.7 | 1.33 ±0.10 | 883/906 (97.5%) | 92.5 ±4.6 | 95.4 ±4.5 | 1.32 ±0.09 | 910/925 (98.4%) |
| Nonlinear classifier | 90.3 ±3.1 | 99.4 ±1.5 | 1.34 ±0.10 | 879/903 (97.3%) | 93.3 ±4.2 | 96.2 ±2.9 | 1.34 ±0.09 | 924/933 (99.0%) |
| Nonlinear SCM | 79.2 ±5.7 | 97.8 ±2.9 | 1.38 ±0.14 | 758/792 (95.7%) | 82.2 ±6.3 | 93.7 ±4.3 | 1.38 ±0.11 | 772/822 (93.9%) |
| Supplied-graph ANM | 89.3 ±3.0 | 99.4 ±0.9 | 1.99 ±0.17 | 866/893 (97.0%) | 89.3 ±3.0 | 99.4 ±0.9 | 1.99 ±0.17 | 866/893 (97.0%) |
| Linear, 10 nodes | 54.8 ±16.5 | 93.0 ±10.7 | 2.01 ±0.45 | 433/548 (79.0%) | 68.8 ±12.0 | 51.6 ±44.4 | 1.75 ±0.16 | 688/688 (100.0%) |
| Linear, 20 nodes | 34.1 ±11.1 | 76.8 ±34.8 | 2.23 ±0.22 | 229/341 (67.2%) | 43.6 ±9.1 | 43.4 ±49.3 | 2.14 ±0.23 | 436/436 (100.0%) |
Table 2. Main GP posterior results: ten seeds, 100 factual instances per seed. Entries are seed mean ± sample SD, except new-sample validity: pooled passed/returned counts and percentages from an independent 512-draw check. Algorithm 2 requires graph weight 0.8. Euclidean costs condition on returns and are unpaired; conditional statistics omit no-return seeds.
We prove and illustrate that recourse under some graphs need not admit a common robust action (Observation 1 and Section E.1). Relaxation increases coverage (the fraction of individuals for whom an action is returned) and lowers paired costs in our fitted studies, but can sacrifice true validity (Table 1 and Table 2 and Section E.8).
| Setting | Algorithm 1 Coverage (%) | Algorithm 1 True validity (%) | Algorithm 1 Cost | Algorithm 2 Coverage (%) | Algorithm 2 True validity (%) | Algorithm 2 Cost |
| Linear, 3 nodes | ||||||
| Nonlinear classifier | ||||||
| Nonlinear SCM | ||||||
| Supplied-graph ANM | ||||||
| Linear, 5 nodes | ||||||
| Linear, 10 nodes | ||||||
| Linear, 20 nodes |
Table 1. Fitted linear regression baseline. Mean sample SD across ten seeds, 100 factual instances per seed. Algorithm 2 requires graph weight 0.8. Cost is weighted among returned actions; comparisons are not paired. Conditional statistics omit no-return seeds.
§ 2 introduces causal recourse and probabilistic recourse with GP-SCMs, § 3 formalizes our objective under a given CPDAG and presents the two algorithms (§ 3.1 and § 3.2), § 4 reports experiments, and § 5 discusses limitations. We review related work on robust recourse and on uncertainty in the causal graph in Section A.
Background
We follow the notation and definitions of recourse in Karimi et al. (2020b), which builds on the causal recourse formulation of Karimi et al. (2021); see also von Kügelgen et al. (2022). Predictions come from a pre-trained model . For simplicity, we assume that predicts a single continuous value in , where scores of at least 0.5 are desirable and scores below are undesirable.
Actions. For any factual instance whose prediction is unfavorable (), recourse seeks an action such that the classifier predicts a favorable outcome: . This decision boundary can be altered depending on the context-specific definition of a favorable outcome. Actions are modeled as interventions in the sense of Pearl’s do-operator (Pearl (1995, 2009)), meaning they describe which features in should be changed and to what values. In our optimization approaches, we define an action in terms of its intervention targets and the intervention values . With this we can write: . We denote by the collection of permitted intervention target sets, by the feasible values for target set , and by the resulting set of feasible actions for .
Structural equations. Downstream changes from an action are determined from an SCM over features , whose structural equations , , describe how each feature is generated from its parents in a directed acyclic graph (DAG) and an unobserved noise variable (Peters et al. (2017)). For a fixed graph , Karimi et al. (2020b) fit a GP-SCM to training data :
where are the parents of in . The GP priors are independent across nodes and the exogenous noise is assumed to be additive and independent.
Counterfactuals. When computing a point-counterfactual we consider direct changes to features (interventions), and any downstream changes that arise from them. Because GPs quantify uncertainty in the equations, under a GP-SCM we obtain a counterfactual random variable under . The intervened features are fixed at , and downstream features are sampled in topological order from Gaussian counterfactual conditionals with closed-form means and variances (Karimi et al. (2020b)).
Validity. Because we are using probabilistic counterfactuals, we require the expected classifier score to satisfy , with
where the expectation and variance are taken over . This lower-confidence-bound-style threshold parallels confidence bounds in Gaussian process optimization (Srinivas et al. (2010)): larger is more conservative, while only requires the expected output to be at least 0.5.
Cost. There are usually infinitely many actions that can achieve recourse; therefore, we seek the action of minimal cost : defined as the distance between the factual values and the intervened values . Combining this with the criterion above gives the optimization problem:
Methodology
Our formulation requires validity (flipping the prediction), affordability (minimizing cost), and robustness (validity across plausible causal graphs).
Validity: flipping the prediction with an action. For a graph , we write the probabilistic criterion of § 2 as a per-graph margin
and say that is valid on , or achieves recourse on , when . The expectation and variance in are intractable for a general classifier , so we estimate them by Monte Carlo as in Karimi et al. (2020b); we write for the estimate from samples.
Affordability: minimizing the cost of the action. In the GP posterior experiments we define the cost as the Euclidean distance between the factual values of the intervened features and their intervention values, for ; the supplied-equation controls and experiments using linear regression fitted by ordinary least squares use a weighted cost (Section D). The cost depends only on the action, so it is the same under every graph.
Robustness: remaining valid across plausible graphs. Since the true underlying graph is not known, we let denote a supplied family of candidate DAGs. Our main structural-ambiguity setting uses the MEC of a given completed partially directed acyclic graph (CPDAG), which represents the MEC by showing arrows only along edges that have the same direction in every DAG of the class (Section B). In practice, the CPDAG would be estimated from observational data by causal discovery (Spirtes et al. (2000); Chickering (2002b)); this is outside the scope of our work. For each , we fit a GP-SCM (1) on the same training data, which gives one counterfactual random variable , and one margin , per candidate graph. The threshold also depends on the graph, because each GP-SCM implies a different counterfactual variance. An action that is valid and cheap under one graph can fail under another (Figure 1), so we extend (3) by requiring its constraint on every candidate. For each factual , we seek
We call the action fully robust when it is valid on every , so (5) seeks the cheapest fully robust action.
Requiring validity on every graph can, however, leave some individuals with no action at all, so § 3.2 relaxes the requirement to a specified fraction of graph weight. We evaluate both algorithms by coverage, the fraction of factual instances for which an action is returned, and true validity, the fraction of returned actions satisfying under the generating SCM, which is known in our simulated experiments.
Algorithm 1: Worst-Case Recourse
Algorithm 1 searches for the lowest cost action that would obtain a favorable outcome on every graph in . The full procedure is illustrated in Figure 2.
For each graph , we score the outcome by passing its margin through a sigmoid:
where indicates a favorable outcome for an action on the graph , and exactly when . The parameter controls the ‘sharpness’ of this soft validity. As , approaches a step function at : we only need the expected output to clear the threshold, and a larger margin brings little additional benefit. Smaller values of give a smoother score that rewards actions pushing the expected output further past the threshold.
We evaluate performance across graphs with a smooth lower envelope controlled by :
This means that graphs that produce worse outcomes have a higher impact on the loss. As , the validity of an action is determined only by the outcome on the worst graph. We encourage the overall validity of the action, to surpass some prespecified threshold . In practice, in (6) is replaced by its Monte Carlo estimate .
For each possible intervention set , we search for low-cost intervention values by using gradient descent with the following loss function:
We evaluate every candidate action on every graph using fresh counterfactual samples, independent of the gradient samples. An action passes verification when for every candidate graph. We return the cheapest passing action across iterates, target sets and initializations, and assess it with an additional independent post-selection evaluation.
Each initialization takes gradient steps of size . projects onto feasible intervention values for . We compute through reparametrized samples, including the variance gradient when (Karimi et al. (2020b), App. § 13). The returned approximates .
Why relax full robustness? Full robustness can rule out every permitted action even when recourse exists under some, possibly the generating, graph. For example, if the only actionable feature shares an undirected CPDAG edge with the feature the classifier depends on, then any DAG orienting that edge into the actionable feature makes every action fail, even when the opposite orientation admits recourse (Observation 1 in Section C). The same effect can build up as the candidate family grows. Our controlled example generates data from a 20-node star DAG whose CPDAG (Figure 3a) admits 20 DAGs. We run Algorithm 1 on 100 factual instances as the candidate family expands swinene from one DAG to the full MEC. The classifier and candidate order are deliberately chosen to introduce increasingly restrictive constraints. Appendix § 12.§ 1 gives the construction. Algorithm 1 finds recourse for every feasible factual instance, but its coverage falls as additional models restrict the set of common permitted actions (Figure 3b), so the decline reflects infeasibility rather than missed feasible solutions. This motivates relaxing full robustness to validity under a specified fraction of graph weight. With the full 20-model family, Algorithm 2 serves 100, 95 and 38 factual instances at required weights of 60%, 80% and 90%, sacrificing validity under some compatible models.

Figure 3. (a) The fixed 20-node star CPDAG, shown schematically. Omitted leaves are also adjacent only to . The double circle marks the only actionable variable. Each compatible DAG is oriented away from one root. (b) Returned actions as the candidate family expands; counts agree with exact feasibility. All methods serve 100 factual instances at prefixes 1–15. Only the full 20-model family is the complete MEC. Percentages denote required graph weight, uniform within each prefix.
Algorithm 2: Graph-Weighted Recourse
Algorithm 2 relaxes full robustness, requiring the action to pass the per-graph criterion under a specified total graph weight rather than every candidate graph. Observational conditional independences alone do not identify which DAG within an MEC is correct, so domain knowledge or additional modeling assumptions can motivate these weights (Meek, 1995). Without a preferred graph, we use uniform weights. We denote the weights on the candidate DAGs as . We require and .
Algorithm 2 differs from the first in three places: the recourse constraint, the validity term of the loss (8), and the verification step, shown in blue in Algorithms 1 and 2; the latter two are also shaded in Figure 2.
Weighted objective. Using these graph weights , we define the robustness score of an action as the total weight of the graphs on which it is valid:
We then replace the constraint in (5) with , where is the total graph weight on which the action is permitted to fail. We call an action satisfying this constraint -robust.
When is read as a distribution over graphs, this is a chance constraint [6] (Nemirovski and Shapiro 2006). Note that averages whether recourse is achieved on each graph, not the classifier output itself. Averaging outputs would let a large margin on one graph offset failures on others. With uniform weights , is simply the fraction of graphs on which recourse may fail. If all graph weights are positive, recovers Algorithm 1’s objective.
Loss function. Since we no longer require recourse on the worst graph, we replace the soft minimum validity in the loss function with a weighted average of the soft validities. At each update, we compute one fresh Monte Carlo score for every candidate graph and sample graph indices to form the search aggregate, reusing scores for repeated indices. For independent indices , we use
Here , conditional on the computed Monte Carlo scores, is an unbiased estimate of the weighted average . Graphs with greater weight are sampled more often and therefore have more influence on the gradient. Graphs on which the action fails are no longer emphasized as in (7). is the smooth-score target guiding gradient steps, while is the required graph weight used in verification.
Verification. As in Algorithm 1, each candidate is verified on every with fresh samples, and accepted if
The cost of verification therefore still grows with .
Experiments
Setup and evaluation
We evaluate fitted linear regression structural equations as a baseline with only graph uncertainty and use GP-SCMs in the rest of our experiments. Both algorithms share factual instances, classifiers, action restrictions, and fitted mechanisms within each setting. Observational data is used to fit the structural equations, while the generating SCM is only used as ground truth to check validity. Figure 4 summarizes the small linear and nonlinear settings, larger linear chains, and supplied-graph nonlinear companion. We also consider a semi-synthetic loan problem with Option 1 (a four-DAG MEC) and Option 2 (a broader eight-DAG stress test) (Section D.6).
Our SCMs are fitted using 128 observed data points. Recourse is determined for 1,000 factual instances obtained from a total of 10 seeds. Algorithm 2 uses uniform graph weights, with required graph weight for synthetic settings and 0.5 for the main loan comparison. Costs follow § 3; fitting and search settings are detailed in Section D.5 and Table 5. Supplied-equation controls are reported in Appendix § 12.§ 2. Appendix § 12.9 compares both algorithms with recourse on one uniformly selected DAG; Appendix § 12.10 reports exact-reference optimization gaps for the population controls.
| Setting | OLS | GP posterior | Population controls |
| Mechanism training observations | 128 | 128 | Supplied mechanisms |
| Step size | 0.001 | 0.001 | 0.001 |
| Penalty | 200 | 200 | 200 |
| Smooth target | 0.9 | 0.9 | 0.9 |
| Updates | 500 | 100 | 2,000 |
| Action initializations | Zero shift, midpoint, and random | Zero shift, midpoint, and random | Zero shift, midpoint, and random |
| Search score | |||
| Algorithm 1 soft-min | at the primary | at the primary | at the primary |
| Algorithm 2 graph draws | 32 | 32 | 32 |
| Required graph weight | 0.8 synthetic | 0.8 synthetic; 0.5 loan | 0.8 |
| LCB multiplier | — | 2 | — |
| Search posterior draws | — | 16 | — |
| Verification posterior draws | — | 64 | — |
| Final posterior evaluation draws | — | 512 | — |
| Intervention cost | Weighted | Euclidean | Weighted |
| GP marginal-likelihood starts | — | 3 | — |
Table 5. Recorded primary hyperparameters. OLS denotes fitted linear regression. A dash means not applicable. The smooth target is distinct from Algorithm 2’s required graph weight . Updates are per initialization and target set.
Algorithm 1: Worst-case search
Input: Factual ; classifier ; GP-SCMs ; target sets ; feasible values ; cost ; parameters .
Output: An action , or “no action found”.
Set to empty and its cost to ;
foreach and initialization do
for do
Form and compute on fresh samples for every ;
if for every then
Keep if cheaper than ;
end
if then
Compute , , and , then from (8);
Update ;
end
end
end
Return if found; else “no action found”;
Algorithm 2: Graph-weighted search
Input: Factual ; classifier ; GP-SCMs ; graph weights ; permitted failure weight ; target sets ; feasible values ; cost ; parameters .
Output: An action , or “no action found”.
Set to empty and its cost to ;
foreach and initialization do
for do
Form and compute on fresh samples for every ;
if then
Keep if cheaper than ;
end
if then
Draw independently;
Compute , , and , then from (10);
Update ;
end
end
end
Return if found; else “no action found”;
We report coverage, true validity, cost, and runtime. Tables show equal-weight seed means and sample standard deviations. True validity and cost condition on returned actions and omit seeds with no returns; coverage includes all seeds. New-sample validity (passed/returned) pools counts across seeds after rechecking each returned action on 512 fresh counterfactual samples from the fitted models. The factual instances and actions stay fixed; this check differs from success under the generating SCM. Paired costs and pooled counts appear in Appendices § 12.8 and § 12.§ 6, respectively. Code and experiment configurations are available at https://anonymous.4open.science/r/robust-recourse-9E6C/.
Effect of mechanism fitting
We fit each candidate graph’s mechanisms either by linear regression, whose counterfactuals are deterministic but can approximate nonlinear mechanisms poorly (Table 1), or by GP posteriors, which propagate uncertainty in the equations (Table 2). Under both fits, coverage is high in small settings but falls on larger chains. The GP posterior raises true validity in most settings, most clearly for Algorithm 2 and on the supplied-graph ANM (64.8% to 99.4%). On 20-node chains, Algorithm 2 returns more actions than Algorithm 1 but has lower true validity under either fit: with uniform weights over 20 DAGs, the 0.8 requirement permits four graphs to fail, including the generating graph. Appendix § 12.§ 1 distinguishes structural infeasibility from search failure in a controlled study; fitted no-action cases are not proved infeasible.

Figure 4. Causal structures. (a) Three-variable CPDAG (six DAGs) for linear, nonlinear-classifier and transformed nonlinear-SCM settings. (b) Chain CPDAG: DAGs, one directed away from each root. (c) Supplied DAG: nonlinear additive-noise model with independent exogenous noises . Targets: up to two of in (a) or in (b), or any one variable in (c). Lower DAGs in (a)–(b) identify the truth for readers only.
Semi-synthetic loan results
The semi-synthetic loan study tests recourse with uncertain causal directions and restricted actions. Option 1 is a four-DAG MEC: education–income and loan amount–duration can each point in either direction, with all other edges fixed. Option 2 is an eight-DAG family that additionally allows either direction for income–savings. The extra graphs are outside the generating MEC and test sensitivity to additional structural assumptions. Both families include the generating graph with uniform weights. Fitting graph-specific GP mechanisms to the same observational data introduces mechanism-estimation error alongside graph uncertainty.
Each action increases one permitted feature. We compare allowing and excluding direct savings interventions; education, loan amount, and income remain actionable. Algorithm 1 requires every
candidate to pass the posterior score criterion. For Algorithm 2, we use graph weight 0.5 to provide a genuine relaxation in both families: two of four or four of eight candidates must pass. At 0.8 and 0.9, all four MEC candidates must pass, as required by Algorithm 1.
Table 3 reports coverage, true validity, cost, and new-sample validity (passed/returned). Appendices D.6 and E.7 detail graph structures, action bounds, and fitting, and the linear regression baseline and posterior threshold sweep, respectively.
| Direct savings allowed? | Graph family | Algorithm 1: Coverage (%) | Algorithm 1: True validity (%) | Algorithm 1: Cost | Algorithm 1: New-sample validity passed/returned (%) | Algorithm 2: Coverage (%) | Algorithm 2: True validity (%) | Algorithm 2: Cost | Algorithm 2: New-sample validity passed/returned (%) |
| Yes | Option 1 | 93.7 ±4.2 | 98.7 ±3.1 | 6.60 ±0.56 | 912/937 (97.3%) | 93.7 ±4.2 | 97.0 ±4.2 | 6.53 ±0.60 | 890/937 (95.0%) |
| Yes | Option 2 | 92.2 ±5.0 | 99.9 ±0.3 | 7.06 ±0.59 | 900/922 (97.6%) | 93.3 ±4.4 | 98.8 ±1.9 | 6.63 ±0.56 | 919/933 (98.5%) |
| No | Option 1 | 20.0 ±16.5 | 95.4 ±9.3 | 3.10 ±1.24 | 149/200 (74.5%) | 22.5 ±17.5 | 84.6 ±16.3 | 2.95 ±1.35 | 129/225 (57.3%) |
| No | Option 2 | 1.9 ±3.8 | 78.3 ±43.9 | 0.29 ±0.08 | 15/19 (78.9%) | 20.2 ±15.8 | 89.3 ±16.1 | 3.03 ±1.45 | 152/202 (75.2%) |
Table 3. Loan GP posterior results: ten seeds, 100 applicants per seed for each family/action setting. Algorithm 2 requires graph weight 0.5. Entries are seed mean ± sample SD; costs are Euclidean. Conditional statistics omit no-return seeds. New-sample validity reports pooled passed/returned counts and percentages from independent 512-draw evaluations. Option 1: four-DAG MEC; Option 2: eight-DAG candidate family.
Computational cost. Figure 5 reports timings per 100 factual instances per fitted seed. Both algorithms evaluate every candidate graph and have similar runtimes within settings. Linear regression timings cover fitting and search; GP posterior timings also cover verification and final evaluation, charging shared setup and fitting once. Appendix E.11 details timings, hardware and software, measurement scope, and reused measurements.
Figure 5. Runtime per 100 factual instances across ten seeds (bars: means; error bars: sample SD). (a) Linear regression fitting and search; (b)–(c) GP posterior pipelines, counting shared setup and fitting once. Algorithm 2 requires graph weight 0.8 (linear) or 0.5 (loan). Loan labels mark direct savings access; vertical scales differ.
Discussion
The benefit of relaxation depends on the available actions and how the candidates respond to them, not only on the number of candidate graphs. Relaxation is more useful when action restrictions make full robustness difficult to achieve. In the loan study under Option 2, allowing direct savings gives both algorithms high coverage, whereas excluding it creates a larger coverage difference, and Algorithm 2 also achieves more true successes (Table 3). When no common permitted action exists, as in the controlled study of Appendix § 12.§ 1, the loss of coverage under full robustness reflects infeasibility rather than search failure, and only relaxing the requirement can serve those individuals.
Once the requirement is relaxed, graph weights determine which causal possibilities receive emphasis. We use uniform DAG weights to give each candidate equal importance. Domain knowledge can motivate nonuniform weights, but misleading weights can increase returned coverage while reducing true validity, as shown in Appendix § 12.§ 5. The required graph weight provides a separate control over robustness (Appendix § 12.7). Because these weights express the assumed causal possibilities, not a calibrated probability of real-world success, a reported action should state its achieved graph weight and the candidates on which it fails. Weighted approval also differs from average classifier score; Appendix § 12.§ 3 compares these and additional acceptance conditions.
For the same reason, passing the fitted-model criterion and succeeding under the generating SCM are distinct outcomes. In the 20-node posterior study, 436/436 Algorithm 2 returns pass the fresh posterior check, but 184/436 succeed under the generating SCM (Table 2). Robustness is therefore relative to the candidate family and its fitted mechanisms. Both algorithms evaluate every candidate graph and have similar runtimes within each setting; runtime increases with chain size and is higher for loan Option 2 (Figure 5).
Limitations. Robustness is relative to the candidate family and fitted mechanisms. We assume a supplied CPDAG and no latent confounding; discovery errors or hidden confounders can exclude the generating graph from . Even within , mechanism misspecification can cause accepted actions to fail, as linear regression does on the nonlinear ANM (Table 1). Gradient search may miss feasible actions; optimization gaps are measured only on linear population controls (Appendix § 12.10). Monte Carlo acceptance checks offer no calibrated statistical guarantees. Both algorithms fit and verify every DAG in the MEC, which can grow exponentially with undirected edges. Our larger experiments therefore use tractable chains; dense graphs remain untested. Evaluating true validity requires the generating SCM, restricting our evaluation to synthetic and semi-synthetic data.
Conclusion
Causal graph ambiguity affects robust recourse feasibility and cost. Individual candidates may admit recourse without a common action. In fitted studies, relaxation increased coverage (Table 1 and Table 2) and lowered paired costs (Appendix § 12.8), but yielded more actions with fewer true successes on 20-node chains. True validity depends on actions, graph family, and mechanism fit. Use Algorithm 1 when every candidate must pass the fitted-model criterion; use Algorithm 2 when failing on a specified fraction of graph weight is acceptable. Future work could use neural intervention proposals, following CARMA (Majumdar and Valera, 2024), with separate robustness checks. Adapting local IDA (Maathuis et al., 2009) could reduce enumeration while preserving effects needed for verification. In practice, CPDAG estimation can use constraint-based PC (Spirtes et al., 2000) or score-based GES (Chickering, 2002b) (see Glymour et al. (2019)). Missing, extra, or misoriented edges from finite samples can exclude the truth from . To propagate discovery uncertainty, form from a posterior or bootstrap graph distribution (Friedman and Koller, 2003), as in counterfactual fairness (Valério et al., 2026), with frequencies supplying Algorithm 2's weights .
Acknowledgments
This work was supported by the Natural Sciences and Engineering Research Council of Canada (NSERC) through funding to Amir-Hossein Karimi and Mohammad Kohandel, with additional support from the O’Donovan family to Amir-Hossein Karimi.
Related Work
Robust recourse. Prior work makes recourse robust to four sources of uncertainty, illustrated in Figure 7 in Appendix § 14: errors in the recorded features ((Dominguez-Olmedo et al., 2022; Weilbach et al., 2024), imprecise execution of the action (Pawelczyk et al., 2023), several equally good classifiers [5] (Pawelczyk et al. 2020; Dandl et al. 2020; Russell 2019), and classifiers that are retrained over time (Rawal et al., 2020; Upadhyay et al., 2021; Nguyen et al., 2023; Duell and Fan, 2026; Jiang et al., 2023, 2024). Most of these methods change features directly and use no causal model. The few that do use one (Dominguez-Olmedo et al., 2022; Weilbach et al., 2024) assume the causal graph is known.

Figure 7. Five axes of robustness in algorithmic recourse. An action moves the factual from the denied to the approved side of the classifier . (1) Noisy representation: the recorded factual may differ from the true one, . (2) Noisy execution: the individual may implement a perturbed action, . (3) Model multiplicity: several classifiers may fit the data equally well, with conflicting decision boundaries. (4) Temporal drift: the classifier and data distribution change over time. (5) Causal ambiguity, the focus of this paper: observationally equivalent causal graphs disagree on edge orientations, and hence on the downstream consequences of the same action.
Uncertainty in the causal graph. Uncertainty in the causal graph itself has also been studied in causal-effect estimation and fairness. Valério et al. (2026) assess counterfactual fairness (Kusner et al., 2017) across the graphs in an MEC by fitting a linear SCM to each graph. Singh et al. (2026) and Chikahara (2026) assess interventional fairness without fitting structural equations: Singh et al. (2026) weight each candidate graph by how well it fits the data, and Chikahara (2026) reduce the uncertainty by learning a coarser graph over clusters of variables [2, 1].
Our contribution. Table 4 compares our method with the most closely related work. We bring uncertainty in the causal graph to algorithmic recourse. This is a different task from fairness: rather than evaluating a fixed model, we search for an action that changes one individual’s outcome, so we need that individual’s counterfactual under each candidate graph. Like Valério et al. (2026), we fit an SCM to every graph in the MEC, but we use GP-SCMs instead of linear ones, which capture non-linear relationships and give a distribution over counterfactuals rather than a single value. Our recommendations therefore account for uncertainty in the structural equations as well as in the graph. Like Singh et al. (2026), we allow graphs to carry different weights, which our graph-weighted algorithm uses to relax full robustness.
| Method | Objective | Robust to | Causal | Structural equations | Causal graph |
| Ours | Recourse | Causal graph and structural equations | ✓ | GP-SCM fitted to each DAG | Supplied DAG family; main setting uses a CPDAG’s MEC |
| Valério et al. (2026) | Counterfactual fairness | Causal graph | ✓ | Linear SCM fitted to each DAG | DAGs from bootstrapped causal discovery |
| Singh et al. (2026) | Interventional fairness | Causal graph | ✓ | Not fitted | Candidate graphs weighted by fit to data |
| Chikahara (2026) | Interventional fairness | Causal graph | ✓ | Not fitted | Coarser graph over clusters of variables |
| Karimi et al. (2020b) | Recourse | Structural equations | ✓ | GP-SCM fitted to the DAG | Known DAG |
| Weilbach et al. (2024) | Recourse | Counterfactual ambiguity (equations and noise) | ✓ | Bayesian warped GP | Known DAG |
| Dominguez-Olmedo et al. (2022) | Recourse | Recorded features | ✓ | Known SCM | Known DAG |
| Upadhyay et al. (2021) | Recourse | Model changes | ✗ | – | – |
| Duell and Fan (2026) | Counterfactual explanations | Model changes | ✗ | – | – |
| Jiang et al. (2023) | Counterfactual explanations | Model changes | ✗ | – | – |
| Jiang et al. (2024) | Counterfactual explanations | Model changes | ✗ | – | – |
Table 4. Comparison with related robust and causal methods. Causal indicates whether actions or counterfactuals are computed through a causal model; “–” means not applicable. To our knowledge, ours is the only method that targets recourse while being robust to the causal graph.
Markov equivalence and CPDAGs
Causal graphs for real-world systems are seldom known, and a unique causal graph is not identifiable from most observational datasets. Under causal sufficiency, acyclicity, and the causal Markov and faithfulness assumptions, population conditional independences identify a Markov equivalence class (MEC) of DAGs sharing those independences (Pearl et al., 2016). Verma and Pearl (1990) showed that two DAGs are Markov equivalent if and only if they have the same skeleton and the same v-structures. All graphs in an MEC can be represented by a completed partially directed acyclic graph (CPDAG), also called an essential graph [3] (Chickering 2002a). A CPDAG has directed edges only between nodes whose orientation is shared by every DAG in the MEC, and undirected edges otherwise; its orientations can be completed with the rules of Meek (1995). In practice, a CPDAG is estimated from data by causal discovery, for example with PC (Spirtes et al., 2000) or GES (Chickering, 2002b). We take it as given (§ 2) and enumerate the DAGs in its MEC to form the candidate family .
Impossibility of fully robust recourse
Observation 1 (Impossibility of fully robust recourse). Let be the MEC of a CPDAG containing an undirected edge . Suppose that is the only actionable feature, so that , and let be a DAG containing . Suppose that depends on only through features
other than that are not descendants of in (for example, only through ). Let satisfy . Then, for every action , , so the fully robust problem (5) is infeasible. This holds even if, under a DAG containing , some achieves recourse.
Proof. Because is undirected in the CPDAG, both orientations occur among the DAGs of the MEC, so and exist in . In , is a parent of and, by acyclicity, not a descendant of . Under , the counterfactual changes only and its descendants; every non-target non-descendant retains its factual value (abduction fixes the exogenous noise, and the structural equations of non-descendants do not involve ). Hence and every other feature on which depends are unchanged, so for every . The constraint of (5) therefore fails on for every feasible action, and no fully robust action exists. Under , may change with , so recourse may exist under this candidate graph. The same argument applies to the GP-SCM criterion (2): on the counterfactual of is deterministic and equal to , so its variance is zero and the threshold is 0.5. □
SCMs used in experiments
Throughout this section, denotes a Gaussian distribution with mean and variance , and is the sigmoid function. Candidate families are supplied. Population mechanisms isolate graph ambiguity; fitted linear regression and GP posterior mechanisms use the separate fitting and acceptance procedures described in the main text.
Population model families
Three-variable models. For each three-node seed , let and generate
with independent centered Gaussian noises of variances . The complete skeleton has six compatible DAGs.
Linear chains. For ,
Indices are one-based and noises are independent. The family consists of the no-collider orientations of the chain, with generating root . For each DAG, population regression on its parent sets determines coefficients and residual variances from the same covariance matrix. Thus these population models share the observational distribution.
Nonlinear models and classifier. The nonlinear-SCM setting transforms a compatible Gaussian family coordinate-wise, with , so that in graph
An observed intervention at sets the latent value to . The separate nonlinear-classifier study keeps Gaussian SCMs and uses a linear-plus-tanh feature map, not an MLP.
Classifier training and factual instances. In the population studies, we generate 2,000 training observations and 10,000 held-out candidates, then choose the first 100 denied factual instances per setup. Training labels satisfy
The fitted classifier is logistic regression on training-standardized features, or on those features and their tanh values. It minimizes mean cross-entropy plus times the squared non-intercept coefficients. It is fixed throughout recourse evaluation.
Actions and costs. For the multi-model population experiments, let be the training range. Then
with endpoint weights and . These are interventions on feature levels, not additions to structural equations.
Supplied-graph ANM and loan models
Supplied-graph ANM companion. The GP comparison also uses the printed Appendix E ANM of Karimi et al. (2020b):
where , and are independent. Only one graph is supplied. Each action increases one of the three variables by at most . Population controls and linear regression runs use cost ; the GP posterior run instead uses the Euclidean cost specified in the main text.
Loan model. Figure 6 shows the loan structure. The seven features are gender (), age (), education (), loan amount (), duration (), income () and savings (). Their structural equations are:

Figure 6. The generating loan SCM used to simulate observations and evaluate true validity. Shaded nodes are permitted intervention targets; the restricted setting excludes savings. Each action changes only one target. All arrows denote causal dependencies; exogenous noise nodes are omitted. Duration is not actionable but can change after an intervention on loan amount. Graph-specific mechanisms are fitted from observations under the candidate families in Appendix D.6.
Here , (shape, scale), and have independent zero-mean Gaussian variances . Loan training labels use
The fitted classifier remains linear logistic regression on standardized features.
Replication and numerical references
Population linear seeds are 3101–3110 for each dimension; nonlinear seeds are 3201–3205 for each of two settings. Each setup contains 100 factual instances. Repeated criterion checks on the same factual instances are not independent samples. Linear references enumerate permitted target sets and solve LP/MILP problems with a conservative margin buffer. Search gaps use the same criterion and action domain. Nonlinear witnesses use 21 levels per action coordinate. Existing coverage intervals bootstrap whole setup seeds 5,000 times.
Search implementation
At the zero-shift initialization, we use the zero subgradient of the Euclidean cost; the implementation also uses zero at the hinge boundary. With actionable variables and budget , the number of nonempty target sets is . Our endpoint-intervention studies use three target sets, the supplied-graph ANM uses three singleton targets, and loan uses four singleton targets (three without savings).
Table 5 collects the primary settings. Ablations change only the settings stated in their respective sections. All searches retain the cheapest visited action passing their acceptance check. Deterministic actions are independently replayed; GP actions undergo the separate posterior checks described below. The population configuration sets a 300-second cap per batch/method and a two-second limit per linear reference target problem; capped or unresolved cases remain explicit in reporting.
The deterministic surrogate has the same hard approval boundary as , but changes the search landscape. GP search instead uses the score-LCB margin. Weighted costs permit exact LP references for the linear controls; GP costs remain Euclidean across methods. These are recorded configurations, not claims of optimal hyperparameters. The expanded cohorts retain the original settings without retuning. Loan sweeps use graph weights 0.5, 0.6, 0.8, and 0.9 for both fitted methods. Other graph-weight sweeps and the separate activation, initialization, and smooth-target ablations are reported with their own configurations.
Fitting and replication protocol
We use fitted linear regression mechanisms as a deterministic baseline and GP posterior mechanisms as our main uncertainty-aware study. Supplied population mechanisms are retained as controls that isolate graph ambiguity. Candidate families are supplied rather than discovered. Both algorithms share the factual instances, classifier, observations, action restrictions, and fitted mechanisms within each setting. The generating SCM is used for evaluation, not as the optimizer’s known true model.
For each candidate graph and non-root variable, linear regression fits an intercept and linear coefficients on its parents using 128 training observations. For a factual individual, we infer and retain the fitted residual:
After setting , we propagate in topological order,
Root variables that are not intervened on retain their factual values. Thus the baseline uses deterministic plug-in counterfactuals. It still has finite-sample estimation error; nonlinear generating mechanisms additionally test misspecification. Linear regression removes posterior sampling from this baseline, not uncertainty about its estimated coefficients.
For linear regression, hard approval is . Table 5 records the different costs and search budgets. These are comparisons of Algorithms 1 and 2 within each study, not a matched ablation isolating only the effect of posterior uncertainty.
Every main fitted-model setting has 1,000 denied factual instances: 100 for each of ten seeds. Synthetic seeds are 4101–4110 and loan seeds are 6101–6110. The five original seeds and their first twenty applicants are retained; each cohort is extended to the first 100 denied observations in the same ordered held-out pool. Five new seeds use the same protocol. GP posterior search uses twenty batches of five and linear regression uses five batches of twenty, with fitting shared per seed. Existing batch random streams are unchanged; new batches use separate streams. This extends the earlier cohort rather than creating an entirely independent replication. The synthetic seeded setups can vary the generating SCM, training data, classifier, and evaluation cohort, so across-seed SD reflects variation across whole setups. The five-node setting is evaluated with linear regression. The single-DAG comparison uses these same expanded cohorts. Population controls, exact-reference gaps, and graph-weight and search ablations retain their separately stated cohorts.
GP mechanisms use an RBF kernel with separate length scales, training-only standardization, and three marginal-likelihood optimization starts. Identical node/parent-set fits are cached across graphs. The procedure conditions on the factual observation and samples the counterfactual posterior. Hyperparameters remain fitted point estimates. In the transformed nonlinear-SCM setting, the generating mechanisms are non-additive. Markov equivalence alone does not ensure that every orientation admits additive-Gaussian GP mechanisms, so fitted results also reflect possible mechanism misspecification.
Posterior search and verification use independent fresh draws at every iterate, with sample counts in Table 5. Loan additionally tests required graph weights 0.6, 0.8, and 0.9. The separate final evaluation does not change the returned action. The sample standard deviation is a plug-in estimate of posterior spread; it is not an unbiased estimator of the posterior standard deviation.
We report returned coverage, true validity, cost, and runtime. True validity counts a returned action as a true success when under the generating SCM. It differs from passing the fitted posterior criterion. Percentages and costs are means and sample standard deviations across fitted-model seeds. Counts are pooled. True validity and cost exclude seeds without returns, while coverage includes every seed. Increasing factual instances improves within-fit sampling but does not remove between-fit variation. For the main GP loan comparison, true validity and cost use ten seeds with savings. Without savings, Option 1 uses nine seeds for each algorithm; Option 2 uses five for Algorithm 1 and nine for Algorithm 2. Coverage uses all ten seeds. Paired costs without savings use nine seeds for Option 1 and five for Option 2.
Loan candidate families and replication
We use the generating loan SCM in Figure 6, but fit mechanisms from observations under each supplied candidate graph rather than providing the true SCM.
Candidate families. For Option 1, starting from Figure 6, we allow either direction for education–income and loan amount–duration. These two covered-edge reversals yield the four-DAG MEC. All other edges remain fixed. Option 2, the broader eight-DAG family, additionally allows either direction for income–savings. Reversing this edge changes collider structure, so the eight graphs do not form a single MEC. Both families contain the generating graph and use uniform weights. In Option 1 (four candidates), required graph weights 0.5, 0.6, 0.8, 0.9 require respectively 2, 3, 4, 4 candidates to pass. In Option 2 (eight candidates), they require 4, 5, 7, 8. Thus 0.8 and 0.9 match Algorithm 1’s hard requirement in Option 1, although the search objectives remain different.
Data and fitting. For each seed, we generate 2,000 classifier-training observations and 10,000 held-out observations. The first 128 training observations fit graph-specific Linear regression or GP mechanisms using the protocol in Appendix D.5. Identical node/parent-set fits are shared across graphs; reversing an edge changes the fitted parent sets. A separate 1,000-observation prediction diagnostic set is not used for tuning.
Each family/action setting uses 1,000 denied applicants: 100 for each seed 6101–6110. Algorithms share the applicants, classifier, fitted mechanisms, and action restrictions within each setting. Compatible original batches are retained in this expanded cohort.
Actions and costs. Each action increases one of education, loan amount, income or savings by at most half its training range, with . The restricted setting removes only savings as a direct target. Sex, age, and duration remain non-actionable. Linear regression uses training-range-normalized cost; GP posterior uses Euclidean cost.
Interpretation. Markov equivalence does not guarantee that every candidate admits equally accurate additive-Gaussian mechanisms. The generating education mechanism is bounded and non-additive, and Option 2 includes graphs outside the generating MEC. These experiments therefore combine structural uncertainty with mechanism-estimation error and possible misspecification. The threshold results and linear regression baseline summary appear in Appendix E.7.
Additional Results
Controlled gradual loss of coverage under full robustness
This controlled experiment uses supplied population mechanisms to isolate structural ambiguity. To match the manuscript’s one-based indexing, let
where and are independent. The star’s MEC contains 20 DAGs, one for each choice of root, with edges oriented away from it. Candidate mechanisms are obtained from the same population covariance.
Fix with
For 100 equally spaced , set and all other factual coordinates to zero. These are constructed factual instances, not randomly sampled observations. Only is actionable: , , and . Because the factual center is zero, also equals its intervention shift.
For a candidate rooted at , the post-action logit is
An intervened center changes every leaf except a non-center root by . Since the leaf weights sum to one, the formula follows. Approval is equivalent to . Here is a deterministic logit, not the GP score-LCB margin .
Order roots as 1, 7, 8, . . . , 20, 2, 3, 4, 5, 6, and let contain the first models. We use for candidate count to distinguish it from the manuscript’s sampled graphs per update. Only is the complete star MEC. The minimum gains for are 0.6, 0.48, 0.36, 0.24, 0.12, 0, respectively. Thus
and robust recourse exists exactly when .
With uniform weights renormalized within each prefix, let be the th largest gain and . Weighted recourse exists exactly when and ; its minimum cost is . These expressions are checked against LP/MILP references.
| Models | Algorithm 1 | Alg. 2: 60% | 80% | 90% |
| 15 | 100 | 100 | 100 | 100 |
| 16 | 95 | 100 | 100 | 100 |
| 17 | 66 | 100 | 100 | 95 |
| 18 | 38 | 100 | 100 | 66 |
| 19 | 9 | 100 | 95 | 38 |
| 20 | 0 | 100 | 95 | 38 |
Table 6. Returned actions out of 100. Every count agrees with exact feasibility. All methods return 100 actions for every prefix .
We run the existing deterministic search at every , with 2,000 updates, step size 0.001, penalty 200, sigmoid sharpness 5 applied to the logit, smooth target , 32 sampled graphs per Algorithm 2 update, and zero/midpoint/random initializations. The seed is 20261109; Algorithm 1 uses . This is the deterministic search convention, not the posterior experiment’s surrogate or budget. All 7,535 returned actions pass structural replay, and 8,000 LP/MILP checks agree with the analytic feasibility results. No feasible factual instance is missed, and no run hits its cap. Repeated decisions reuse the same 100 factual instances.
The generating center-root model approves the returned actions, while the root-6 model has zero gain and rejects every permitted action. Relaxation therefore sacrifices robustness to a compatible model even when true validity is retained in this construction. The order and classifier are designed; monotonic weighted coverage is not asserted for arbitrary nested families with renormalized weights.
Population results: robustness, cost, and coverage
We test small linear models, nonlinear classification with linear SCMs, an invertibly transformed nonlinear SCM, and larger linear chains. Table 7 compares both algorithms directly. Costs are weighted with on and on . Every returned Algorithm 1 action is a true success under the generating population SCM. Algorithm 2 increases coverage, but -robustness need not preserve true validity.
| Setting | Algorithm 1 | Algorithm 2 | ||||
| Coverage (%) | True validity (%) | Cost | Coverage (%) | True validity (%) | Cost | |
| Linear, 3 nodes | ||||||
| Nonlinear classifier | ||||||
| Nonlinear SCM | ||||||
| Linear, 5 nodes | ||||||
| Linear, 10 nodes | ||||||
| Linear, 20 nodes |
Table 7. Population-model results with known mechanisms. Entries are mean sample standard deviation across ten runs for each linear setting and five runs for each nonlinear setting, with 100 factual instances per run. Within each run, true validity and mean weighted cost are computed among returned actions. Runs receive equal weight. Algorithm 2 uses uniform DAG weights and requires graph weight . Costs are not paired comparisons; standard deviations describe between-run variability, not confidence intervals.
Five passing conditions
For the deterministic population controls only, define
The main paper uses and . The other conditions test whether a score floor or tail constraint changes the trade-off. is a mean-score comparator, not Algorithm 2’s -robustness objective. and use separate retention checks along Algorithm 2 trajectories. Costs below are unpaired, since the returned sets can differ.
| Setting | Metric | |||||
| Linear, 3 nodes | Coverage (%) | 91.7 4.3 | 93.6 4.3 | 93.6 4.3 | 93.6 4.3 | 99.3 1.1 |
| True validity (%) | 100.0 0.0 | 84.4 7.8 | 84.4 7.8 | 84.4 7.8 | 4.0 5.8 | |
| Mean cost | 4.91 0.35 | 4.74 0.29 | 4.74 0.29 | 4.74 0.29 | 3.75 0.93 | |
| Linear, 5 nodes | Coverage (%) | 83.4 12.3 | 89.0 5.3 | 87.2 8.8 | 87.2 8.8 | 94.0 5.7 |
| True validity (%) | 100.0 0.0 | 45.5 40.0 | 47.1 38.2 | 47.1 38.2 | 32.3 46.9 | |
| Mean cost | 3.93 1.57 | 3.11 0.88 | 3.32 1.07 | 3.32 1.07 | 3.18 0.80 | |
| Linear, 10 nodes | Coverage (%) | 56.1 14.5 | 61.8 12.1 | 60.7 12.2 | 60.7 12.2 | 65.9 13.2 |
| True validity (%) | 100.0 0.0 | 36.5 44.9 | 36.5 44.9 | 36.5 44.9 | 32.1 47.2 | |
| Mean cost | 5.68 1.20 | 5.15 1.33 | 5.15 1.32 | 5.15 1.32 | 5.22 1.18 | |
| Linear, 20 nodes | Coverage (%) | 36.3 12.9 | 44.7 6.4 | 44.7 6.4 | 44.7 6.4 | 44.7 7.0 |
| True validity (%) | 100.0 0.0 | 32.2 46.8 | 32.2 46.8 | 32.2 46.8 | 32.5 46.8 | |
| Mean cost | 5.42 1.88 | 5.52 0.84 | 5.52 0.84 | 5.52 0.84 | 5.34 0.97 |
Table 8. Five acceptance criteria under supplied population mechanisms. Entries are mean sample standard deviation across ten seeds, with 100 factual instances per seed. True validity and mean cost are computed among returned actions within each seed; seeds receive equal weight. Costs are not paired comparisons. Gray values indicate standard deviations, not confidence intervals.
Activation and initialization ablations
The population activation and initialization comparisons use 150 shared factual instances (five seeds 3401–3405, 30 factual instances each). The softplus alternative is , with derivative ; it is unbounded below and is not a probability. Hard acceptance is unchanged. Table 9 compares costs on the factual instances served by both methods. The baseline uses sigmoid search with three starts. Sigmoid remains the primary search activation; softplus is an ablation.
| Variant | Algorithm 1 | Algorithm 2 | ||||
| Returned | Pairs | Paired cost change | Returned | Pairs | Paired cost change | |
| Sigmoid, three starts | 122/150 | – | – | 130/150 | – | – |
| Softplus, three starts | 124/150 | 122 | +0.160 | 136/150 | 130 | +0.185 |
| One zero start | 60/150 | 60 | +0.063 | 60/150 | 60 | +0.014 |
| One start, equal updates | 60/150 | 60 | +0.042 | 60/150 | 60 | +0.014 |
Table 9. Search ablations. Each algorithm’s baseline is sigmoid search with three starts. Pairs counts factual instances served by both the variant and its baseline. Paired cost change is variant minus baseline; positive values mean higher cost.
Graph-weight sensitivity
We evaluate Algorithm 2 on 500 factual instances across five 20-node chains (seeds 3601–3605). Permitted targets are , , , with respective cost weights and at most two simultaneous targets. Within each setup, all weight scenarios use the same factual instances, classifier, action bounds, and search settings.
We compare uniform weights with two scenarios placing weight 0.8 on one graph and distributing the remaining weight uniformly over the other 19 graphs. Truth-favoring weights favor the generating graph. Optimistic incorrect weights favor an incorrect graph selected to maximize its overstatement of the true classifier-margin gain over permitted actions with cost at most one. Selection occurs before factual instance evaluation; the one-unit budget applies only to graph selection. Because this construction uses the generating model, it is a controlled stress test, not an estimated posterior. The graph weights specify importance rather than calibrated probabilities that each graph is true. The cohort is separate from the main study of 1,000 factual instances.
| Weights | Returned | True / returned | Missed | |
| Uniform | 0.6 | 215/500 | 123/215 | 0 |
| Uniform | 0.8 | 205/500 | 162/205 | 0 |
| Uniform | 0.9 | 191/500 | 191/191 | 0 |
| Truth favoring | 0.6 | 236/500 | 236/236 | 12 |
| Truth favoring | 0.8 | 236/500 | 236/236 | 12 |
| Truth favoring | 0.9 | 191/500 | 191/191 | 5 |
| Optimistic incorrect | 0.6 | 258/500 | 38/258 | 13 |
| Optimistic incorrect | 0.8 | 258/500 | 38/258 | 13 |
| Optimistic incorrect | 0.9 | 212/500 | 115/212 | 3 |
Table 10. Graph-weight sensitivity under interior interventions. True / returned counts actions that succeed under the generating SCM among returned actions. Missed counts numerically feasible factual instances for whom search returns no action.
At required graph weight 0.8, optimistic incorrect weighting increases returned actions from 205 to 258, but reduces true successes from 162 to 38. Thus, greater coverage under the specified weights need not imply greater success under the generating model. This deliberately constructed example demonstrates a risk of misleading weights, rather than a claim that incorrect weights always worsen performance.
Pooled fitted-study counts
Counts pool factual instances across fitted seeds; they are not equal-weight seed-mean percentages. Each linear regression synthetic row and each GP posterior row has 1,000 factual instances. New-sample validity counts and costs already appear in the main tables and are not duplicated here.
| Setting | Algorithm 1 Returned | Algorithm 1 True/returned | Algorithm 2 Returned | Algorithm 2 True/returned |
| Linear regression: Linear, 3 | 920/1000 | 824/920 | 942/1000 | 676/942 |
| Linear regression: Nonlinear classifier | 921/1000 | 835/921 | 957/1000 | 677/957 |
| Linear regression: Nonlinear SCM | 811/1000 | 743/811 | 849/1000 | 627/849 |
| Linear regression: Supplied-graph ANM | 995/1000 | 645/995 | 995/1000 | 645/995 |
| Linear regression: Linear, 5 | 823/1000 | 695/823 | 902/1000 | 416/902 |
| Linear regression: Linear, 10 | 612/1000 | 495/612 | 697/1000 | 294/697 |
| Linear regression: Linear, 20 | 358/1000 | 274/358 | 439/1000 | 171/439 |
| GP: Linear, 3 | 906/1000 | 896/906 | 925/1000 | 882/925 |
| GP: Nonlinear classifier | 903/1000 | 897/903 | 933/1000 | 897/933 |
| GP: Nonlinear SCM | 792/1000 | 774/792 | 822/1000 | 770/822 |
| GP: Supplied-graph ANM | 893/1000 | 888/893 | 893/1000 | 888/893 |
| GP: Linear, 10 | 548/1000 | 507/548 | 688/1000 | 349/688 |
| GP: Linear, 20 | 341/1000 | 251/341 | 436/1000 | 184/436 |
Table 11. Pooled returned and true-success counts. True success conditions on returned actions. Algorithm 2 requires graph weight 0.8.
Loan thresholds and linear regression baseline
Table 12 reports the GP posterior sweep without repeating the main cost and seed-mean tables. Four equal graph weights require 2, 3, 4, and 4 passes at required graph weights 0.5, 0.6, 0.8, and 0.9; eight require 4, 5, 7, and 8. Equal hard conditions need not produce identical actions or new-sample validity outcomes under stochastic search.
| Algorithm 1: Returned | Algorithm 1: True/ret. | Algorithm 1: New-sample validity passed/returned (%) | Algorithm 2: Returned | Algorithm 2: True/ret. | Algorithm 2: New-sample validity passed/returned (%) | |
| Option 1 (four-DAG MEC); direct savings allowed | ||||||
| 0.5 | 937/1000 | 925/937 | 912/937 | 937/1000 | 909/937 | 890/937 |
| 0.6 | 937/1000 | 925/937 | 912/937 | 937/1000 | 921/937 | 901/937 |
| 0.8 | 937/1000 | 925/937 | 912/937 | 937/1000 | 925/937 | 913/937 |
| 0.9 | 937/1000 | 925/937 | 912/937 | 937/1000 | 925/937 | 913/937 |
| Option 1 (four-DAG MEC); direct savings excluded | ||||||
| 0.5 | 200/1000 | 186/200 | 149/200 | 225/1000 | 191/225 | 129/225 |
| 0.6 | 200/1000 | 186/200 | 149/200 | 214/1000 | 191/214 | 130/214 |
| 0.8 | 200/1000 | 186/200 | 149/200 | 204/1000 | 189/204 | 147/204 |
| 0.9 | 200/1000 | 186/200 | 149/200 | 204/1000 | 189/204 | 147/204 |
| Option 2 (eight-DAG broader family); direct savings allowed | ||||||
| 0.5 | 922/1000 | 921/922 | 900/922 | 933/1000 | 922/933 | 919/933 |
| 0.6 | 922/1000 | 921/922 | 900/922 | 929/1000 | 928/929 | 782/929 |
| 0.8 | 922/1000 | 921/922 | 900/922 | 928/1000 | 927/928 | 863/928 |
| 0.9 | 922/1000 | 921/922 | 900/922 | 928/1000 | 927/928 | 902/928 |
| Option 2 (eight-DAG broader family); direct savings excluded | ||||||
| 0.5 | 19/1000 | 17/19 | 15/19 | 202/1000 | 186/202 | 152/202 |
| 0.6 | 19/1000 | 17/19 | 15/19 | 31/1000 | 29/31 | 22/31 |
| 0.8 | 19/1000 | 17/19 | 15/19 | 21/1000 | 19/21 | 15/21 |
| 0.9 | 19/1000 | 17/19 | 15/19 | 19/1000 | 17/19 | 15/19 |
Table 12. GP loan thresholds. Each family/action setting has 1,000 factual instances across ten seeds. Algorithm 1 is the same reference within each family/action block; its counts are repeated for comparison. New-sample validity (passed/returned) uses independent evaluation on new samples from the fitted causal models. New-sample validity percentages are computed from pooled passed/returned counts, not averaged across seeds.
For the linear regression loan baseline under Option 1, allowing direct savings, Algorithm 1 returns 970/1000 actions with 970 true successes. Algorithm 2 returns 970, 970, 970, 970 actions with 970, 970, 970, 970 true successes at required graph weights 0.5, 0.6, 0.8, and 0.9, respectively. For the linear regression loan baseline under Option 1, excluding direct savings, Algorithm 1 returns 522/1000 actions with 392 true successes. Algorithm 2 returns 525, 522, 522, 522 actions with 393, 392, 392, 392 true successes at required graph weights 0.5, 0.6, 0.8, and 0.9, respectively. For the linear regression loan baseline under Option 2, allowing direct savings, Algorithm 1 returns 967/1000 actions with 967 true successes. Algorithm 2 returns 968, 967, 967, 967 actions with 968, 967, 967, 967 true successes at required graph weights 0.5, 0.6, 0.8, and 0.9, respectively. For the linear regression loan baseline under Option 2, excluding direct savings, Algorithm 1 returns 25/1000 actions with 25 true successes. Algorithm 2 returns 505, 36, 25, 25 actions with 379, 33, 25, 25 true successes at required graph weights 0.5, 0.6, 0.8, and 0.9, respectively. Linear regression uses range-normalized cost, so its numerical costs are not compared with GP Euclidean costs.
Paired fitted-study costs
For each seed, we compute each algorithm’s mean cost and their mean difference on the same jointly served factual instances. We then report the mean and sample SD across contributing seeds; seeds without jointly served factual instances are omitted. Negative values favor Algorithm 2. These are paired differences, not optimality gaps. Each panel uses its own cost definition.
Table 13: Paired intervention costs: required graph weight 0.8 for synthetic settings and 0.5 for loan. Costs use only factual instances served by both algorithms within each seed. Entries are equal-weight seed means sample SD; jointly served counts are pooled. Differences are Algorithm 2 minus Algorithm 1; negative values indicate lower cost for Algorithm 2. Paired summaries use ten seeds except the GP loan rows without savings: nine for Option 1 and five for Option 2.
| Setting | Jointly served | Algorithm 1 paired cost | Algorithm 2 paired cost | Difference A2 minus A1 |
| Linear regression: Linear, 3 nodes | 920 | 4.96 0.40 | 4.62 0.40 | −0.34 0.10 |
| Linear regression: Nonlinear classifier | 921 | 4.99 0.48 | 4.64 0.48 | −0.35 0.08 |
| Linear regression: Nonlinear SCM | 811 | 5.15 0.45 | 4.88 0.46 | −0.27 0.16 |
| Linear regression: Supplied-graph ANM | 995 | 0.19 0.01 | 0.19 0.01 | 0.00 0.00 |
| Linear regression: Linear, 5 nodes | 823 | 4.77 1.84 | 2.85 0.92 | −1.92 2.26 |
| Linear regression: Linear, 10 nodes | 612 | 5.37 1.39 | 3.43 1.41 | −1.94 2.13 |
| Linear regression: Linear, 20 nodes | 358 | 6.27 1.25 | 4.43 1.43 | −1.84 1.73 |
| GP: Linear, 3 nodes | 906 | 1.33 0.10 | 1.28 0.08 | −0.05 0.05 |
| GP: Nonlinear classifier | 903 | 1.34 0.10 | 1.28 0.08 | −0.06 0.06 |
| GP: Nonlinear SCM | 792 | 1.38 0.14 | 1.31 0.11 | −0.07 0.06 |
| GP: Supplied-graph ANM | 893 | 1.99 0.17 | 1.99 0.17 | 0.00 0.00 |
| GP: Linear, 10 nodes | 548 | 2.01 0.45 | 1.40 0.21 | −0.61 0.57 |
| GP: Linear, 20 nodes | 341 | 2.23 0.22 | 1.72 0.39 | −0.51 0.28 |
| GP: Loan Option 1 / savings | 937 | 6.60 0.56 | 6.53 0.60 | −0.07 0.08 |
| GP: Loan Option 1 / no savings | 200 | 3.10 1.24 | 2.88 1.29 | −0.22 0.11 |
| GP: Loan Option 2 / savings | 922 | 7.06 0.59 | 6.57 0.56 | −0.49 0.34 |
| GP: Loan Option 2 / no savings | 19 | 0.29 0.08 | 0.20 0.06 | −0.09 0.10 |
Table 13.
Matched single-DAG recourse
For each factual instance, we draw one DAG uniformly from the supplied candidate family, independently of the generating graph and outcomes, and run the same search on that DAG alone. All methods use the same ten seeds and 100 factual instances per seed, training observations, fitted mechanisms, classifier, action bounds, costs, and search settings. The baseline has independent initialization and Monte Carlo streams; it is not the generating-SCM oracle. There is one prescribed graph draw per factual instance, with no outcome-based graph selection. We retain the original five seeds’ first twenty instances and their baseline outputs, extending to the same 1,000-instance cohorts as the main tables. Across 21 settings, this gives 21,000 baseline evaluations: 2,100 reused and 18,900 new. All 15,574 returned baseline actions passed the saved replay checks against their selected-graph criterion.
We evaluate every returned action under the generating SCM and across the full candidate family. The latter check uses deterministic fitted margins for linear regression and an independent 512-draw posterior evaluation for GP. The posterior evaluation does not change the chosen action and is not a statistical certificate. Full-family passes require every graph to pass, including for Algorithm 2; they differ from its weighted new-sample validity in the main tables. Table 14 and Table 15 report pooled counts, with each outcome’s denominator explicit. In the one-graph ANM control, the methods have the same hard requirement; differences arise from search and Monte Carlo streams, not graph ambiguity.
| Setting | Single DAG | Algorithm 1 | Algorithm 2 |
| Linear, 3 nodes | 963/282/314 | 920/824/920 | 942/676/735 |
| Nonlinear classifier, 3 nodes | 959/279/313 | 921/835/921 | 957/677/735 |
| Nonlinear SCM, 3 nodes | 881/251/239 | 811/743/811 | 849/627/594 |
| Supplied-graph ANM | 991/626/991 | 995/645/995 | 995/645/995 |
| Linear, 5 nodes | 879/443/384 | 823/695/823 | 902/416/419 |
| Linear, 10 nodes | 679/297/289 | 612/495/612 | 697/294/300 |
| Linear, 20 nodes | 438/177/118 | 358/274/358 | 439/171/115 |
| Loan, four graphs + savings | 973/973/973 | 970/970/970 | 970/970/970 |
| Loan, four graphs, no savings | 522/392/352 | 522/392/522 | 525/393/182 |
| Loan, eight graphs + savings | 968/968/627 | 967/967/967 | 968/968/340 |
| Loan, eight graphs, no savings | 285/225/10 | 25/25/25 | 505/379/0 |
Table 14. Matched single-DAG comparison: fitted linear regression. Each setting uses ten seeds and 100 factual instances per seed. Cells give returned / true-success / full-family-pass counts, all out of 1,000 evaluated instances. True successes and full-family passes are subsets of returns. Full-family passes use deterministic fitted-model margins. Algorithm 2 requires graph weight 0.8 in synthetic settings and 0.5 in loan settings.
| Setting | Single DAG | Algorithm 1 | Algorithm 2 |
| Linear, 3 nodes | 945/557/433 | 906/896/883 | 925/882/681 |
| Nonlinear classifier, 3 nodes | 947/561/437 | 903/897/879 | 933/897/674 |
| Nonlinear SCM, 3 nodes | 865/451/283 | 792/774/758 | 822/770/493 |
| Supplied-graph ANM | 910/909/890 | 893/888/866 | 893/888/866 |
| Linear, 10 nodes | 683/367/171 | 548/507/433 | 688/349/169 |
| Linear, 20 nodes | 433/181/55 | 341/251/229 | 436/184/53 |
| Loan, four graphs + savings | 946/912/873 | 937/925/912 | 937/909/864 |
| Loan, four graphs, no savings | 240/199/93 | 200/186/149 | 225/191/90 |
| Loan, eight graphs + savings | 924/907/612 | 922/921/900 | 933/922/442 |
| Loan, eight graphs, no savings | 143/121/14 | 19/17/15 | 202/186/13 |
Table 15. Matched single-DAG comparison: GP posterior. Each setting uses ten seeds and 100 factual instances per seed. Cells give returned / true-success / full-family-pass counts, all out of 1,000 evaluated instances. True successes and full-family passes are subsets of returns. Full-family passes use an independent 512-draw posterior evaluation. Algorithm 2 requires graph weight 0.8 in synthetic settings and 0.5 in loan settings.
On 20-node GP chains, single-DAG recourse returns 433 actions, with 181 true successes and 55 fresh full-family passes. Algorithm 1 returns 341, with 251 true successes and 229 full-family passes; Algorithm 2 returns 436, with 184 true successes and 53 full-family passes. Thus Algorithm 1 improves full-family validity and true successes here while serving fewer applicants. Algorithm 2 performs similarly to single-DAG recourse on this setting, rather than uniformly outperforming it. In the eight-graph loan setting without direct savings, the returned/true-success counts are 143/121 for single-DAG search, 19/17 for Algorithm 1, and 202/186 for Algorithm 2. The corresponding full-family pass counts are 14, 15, and 13: Algorithm 2’s gain in coverage and true successes does not imply full-family validity.
These comparisons support the robustness–coverage–cost trade-off. In the three-node linear GP setting, Algorithm 1 achieves 896 true successes and Algorithm 2 achieves 882, versus 557 for single-DAG recourse, despite returning fewer actions. Their paired costs exceed the baseline’s by and , respectively. On 20-node GP chains, Algorithm 1’s paired cost difference is , whereas Algorithm 2’s is . Neither algorithm dominates the baseline in every setting or metric.
Recorded timings retain selected-graph search, verification, final evaluation, full-family evaluation, and replay separately. Shared fitting/setup is reused from the primary experiment and charged once per seed/setting when forming recorded totals. Legacy batch timings are retained unchanged. Batch sizes and execution periods differ from the primary runs, so these timings are not a controlled speed comparison.
Paired intervention costs on jointly served instances appear in Table 16. Means and sample SDs use the contributing seed-level paired differences; seeds without common returns are omitted. These empirical differences include search variation and are not exact-optimum ambiguity premiums.
Table 16: Paired cost differences against single-DAG search. Entries give primary minus single-DAG cost, as mean sample SD across seeds with common returns; is the pooled number of jointly served instances. Negative values favor the primary algorithm. OLS uses weighted cost; GP uses Euclidean cost. Costs are not compared across these panels.
| Panel | Setting | A1 − single | A2 − single | ||
| OLS | Supplied-graph ANM | 989 | 989 | ||
| OLS | Linear, 10 nodes | 602 | 664 | ||
| OLS | Linear, 20 nodes | 358 | 434 | ||
| OLS | Linear, 3 nodes | 915 | 930 | ||
| OLS | Linear, 5 nodes | 809 | 863 | ||
| OLS | 8 graphs, no savings | 25 | 276 | ||
| OLS | 8 graphs + savings | 960 | 961 | ||
| OLS | 4 graphs, no savings | 522 | 522 | ||
| OLS | 4 graphs + savings | 963 | 963 | ||
| OLS | Nonlinear classifier | 912 | 941 | ||
| OLS | Nonlinear SCM | 804 | 829 | ||
| GP | Supplied-graph ANM | 868 | 868 | ||
| GP | Linear, 10 nodes | 546 | 655 | ||
| GP | Linear, 20 nodes | 339 | 428 | ||
| GP | Linear, 3 nodes | 892 | 905 | ||
| GP | 8 graphs, no savings | 19 | 120 | ||
| GP | 8 graphs + savings | 903 | 911 | ||
| GP | 4 graphs, no savings | 199 | 219 | ||
| GP | 4 graphs + savings | 927 | 927 | ||
| GP | Nonlinear classifier | 891 | 913 | ||
| GP | Nonlinear SCM | 785 | 805 |
Table 16.
Optimization gaps on population controls
We reuse the saved linear population-model controls, with supplied mechanisms, weighted costs, and 2,000 search updates. For each returned action , the absolute gap is and the relative gap is . Algorithm 1 is compared with the robust LP optimum; Algorithm 2 with the weighted-success LP/MILP optimum at graph weight 0.8, using the same permitted targets and bounds. Relative gaps omit reference costs at or below . These gaps condition on returned actions, so we also report numerical infeasibility and feasible cases missed by search. They are distinct from paired cost differences between methods and do not establish optimality for the fitted GP experiments.
Recorded runtime
Runtime environment. Experiments ran locally on an Apple M5 Pro computer with 24 GiB of memory and 15 CPU cores. The expanded-run environment record reports macOS 26.6.2 (ARM64), Python 3.12.13, NumPy 2.5.4, SciPy 1.18.1, and PyTorch 2.14.1, with one runner thread. These versions describe the recorded expanded-run environment; reused historical timing components retain their original measurements. The timings below are local wall-clock measurements, not an isolated hardware benchmark.
Figure 5 compares Algorithms 1 and 2 within each study, using its timing scope and search budget. Linear regression timings cover fitting and search; GP posterior timings also include verification and final evaluation.
Each total covers 100 factual instances per fitted seed. Posterior time sums twenty five-instance action batches and counts shared setup/fitting once. It includes per-iterate verification, final evaluation, and measured first result writes, but excludes imports, audit replay, report generation, and cache-copy overhead. Compatible historical timing components are reused as measured. Linear regression records fitting plus the five twenty-instance searches. Four-graph loan timings conservatively charge the shared eight-graph fitting cost. Amortized time divides the total by 100; it is not isolated single-request latency.
Table 17: Saved exact-reference diagnostics on linear population controls. Each row has 1,000 factual instances. Infeasibility is the numerical reference-solver status. Median relative gaps are percentages; mean absolute gaps use the study’s weighted units.
| Algorithm | Nodes | Evaluated | Infeasible | Feasible missed | Median gap (%) | Mean abs. gap |
| 1 | 3 | 1000 | 50 | 33 | 19.7 | 0.722 |
| 1 | 5 | 1000 | 124 | 42 | 12.9 | 0.619 |
| 1 | 10 | 1000 | 421 | 18 | 6.4 | 0.849 |
| 1 | 20 | 1000 | 637 | 0 | 3.6 | 0.637 |
| 2 | 3 | 1000 | 33 | 31 | 21.5 | 0.772 |
| 2 | 5 | 1000 | 77 | 33 | 10.2 | 0.573 |
| 2 | 10 | 1000 | 347 | 35 | 6.7 | 0.883 |
| 2 | 20 | 1000 | 553 | 0 | 3.9 | 0.773 |
Table 17.
| Setting | Algorithm 1: 100-instance total (s) | Algorithm 1: Amortized per instance (s) | Algorithm 2: 100-instance total (s) | Algorithm 2: Amortized per instance (s) |
| Linear regression, 3 nodes | ||||
| Linear regression, 10 nodes | ||||
| Linear regression, 20 nodes | ||||
| GP posterior, 3 nodes | ||||
| GP posterior, 10 nodes | ||||
| GP posterior, 20 nodes | ||||
| Loan GP, Option 1 / savings | ||||
| Loan GP, Option 1 / no savings | ||||
| Loan GP, Option 2 / savings | ||||
| Loan GP, Option 2 / no savings |
Table 18. Recorded runtime in seconds: seed mean sample SD. Algorithm 2 uses required graph weight 0.8 for linear settings and 0.5 for loan. Linear regression uses ten seeds and fitting-plus-search timing; posterior uses ten seeds and recorded pipeline timing. Amortized values are not single-request measurements.
Posterior verification and search-target sensitivity
The posterior margin is estimated as
The penalty uses the unscaled score margin. The standard deviation is not a standard error, and the expression is not a calibrated confidence bound. Search and verification use independent fresh streams each iterate; repeated graph indices reuse the same per-graph estimate within an update. The independent 512-draw final check is reported in the new-sample validity (passed/returned) columns and does not modify the chosen action. Repeated noisy checks followed by cheapest-action selection can favor Monte Carlo fluctuations; a failure in the new-sample validity evaluation is not itself proof that the exact posterior criterion fails.
Search-target ablation. We vary only the smooth search target . Required graph weight remains , and is fixed. These targets are not different hard approval thresholds. This retained retrospective ablation uses the original three fitted seeds and five factual instances per seed in each of six settings: 15 factual instances per setting, 90 repeated factual instances per target. Setting- and seed-level records remain archived.
| Algorithm 1 Returned | Algorithm 1 New-sample validity passed/returned (%) | Algorithm 1 True/ret. | Algorithm 2 Returned | Algorithm 2 New-sample validity passed/returned (%) | Algorithm 2 True/ret. | |
| 0.5 | 68/90 | 63/68 (92.6%) | 67/68 | 74/90 | 66/74 (89.2%) | 61/74 |
| 0.7 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 65/75 |
| 0.8 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
| 0.9 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
| 0.93 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
Table 19. Posterior search-target ablation on the original 90 factual instances per target. Evaluation fractions condition on returned actions. New-sample validity percentages are computed from pooled passed/returned counts, not averaged across seeds.
The returned count for Algorithm 1 is unchanged. Algorithm 2 improves from 61 true successes at to 67 at . Equal aggregate counts at 0.8–0.93 do not imply identical actions or establish a preferred target on new data.
Unified Algorithm
Algorithms 1 and 2 are special cases of Algorithm 3, which replaces the soft minimum (7) with a weighted soft minimum. Algorithm 1 is recovered with uniform , , and all graphs used at every step; its threshold corresponds to here, since uniform weights shift by a constant. Algorithm 2 is recovered with , where the weighted soft minimum becomes the weighted mean .
This is an algebraic extension, not a separately benchmarked procedure. The sampled weighted-mean limit matches Algorithm 2 when repeated indices reuse a common per-graph estimate. At finite positive , the sampled log-sum-exp is generally biased for the full weighted soft minimum. The hard acceptance condition remains separate from the search aggregator.
Algorithm 3: Unified graph-weighted search with verified return
Input: Factual ; classifier ; GP-SCMs ; graph weights ; permitted failure weight ; target sets ; feasible values ; cost ; graphs per step (or “all”); parameters , , , , , , , , .
Output: An action , or “no action found”.
Set to empty and its cost to ;
foreach and initialization do
for do
Form and compute on fresh samples for every ;
if then
Keep if its cost is lower than that of ;
end
if then
if “all” then
Use every with weight ;
else
Draw independently, each with weight ;
end
Compute one and per distinct evaluated graph, reusing the estimates for repeated indices;
Compute , or if ;
Compute ;
Update ;
end
end
end
Return if found; otherwise return “no action found”;
Axes of robustness in algorithmic recourse
Figure 7 contrasts causal graph ambiguity with other sources of uncertainty considered in robust recourse.
References
- [1]Tara V. Anand, Adèle H. Ribeiro, Jin Tian, and Elias Bareinboim. Causal effect identification in cluster DAGs. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pages 12172–12179, 2023. doi: 10.1609/aaai.v37i10.26435.DOI
- [2]Tara V. Anand, Adèle H. Ribeiro, Jin Tian, George Hripcsak, and Elias Bareinboim. Causal discovery over clusters of variables in Markovian systems. In Advances in Neural Information Processing Systems, volume 38, pages 96501–96528, 2025. doi: 10.52202/085713-2904.DOI
- [3]Steen A. Andersson, David Madigan, and Michael D. Perlman. A characterization of Markov equivalence classes for acyclic digraphs. The Annals of Statistics, 25(2):505–541, 1997. doi: 10.1214/aos/1031833662.DOI
- [5]Emily Black, Zifan Wang, and Matt Fredrikson. Consistent counterfactuals for deep models. In International Conference on Learning Representations, 2022.arxiv.org/abs/2110.03109
- [6]A. Charnes and W. W. Cooper. Chance-constrained programming. Management Science, 6(1):73–79, 1959. doi: 10.1287/mnsc.6.1.73.DOI
