betaFeedback

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 a=do(XI=θ)a = do(X_I = \theta) 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.

Toy example of mortgage recourse under causal ambiguity

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 L1L_1 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).

Overview of Algorithms 1 and 2

Figure 2. Overview of Algorithms 1 and 2. Top: enumerate the given CPDAG’s MEC G\mathcal{G} and fit each graph’s GP-SCM on training data. Bottom: a=do(XI=θ)a = do(X_{\mathcal{I}} = \theta) sets targets I⊆[d]\mathcal{I} \subseteq[d] to θ\theta. For each permitted I∈J\mathcal{I} \in\mathcal{J} and initialization θ(0)∈ΘI\theta^{(0)} \in\Theta_{\mathcal{I}}, take TT gradient steps on L(θ)\mathcal{L}(\theta) using MM counterfactual samples per graph; verify each iterate on M′M' fresh samples per graph. R^π(a)\widehat{R}_{\pi}(a) is the estimated graph weight on which aa 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).

SettingAlgorithm 1: Coverage (%)Algorithm 1: True validity (%)Algorithm 1: CostAlgorithm 1: New-sample validity passed/returned (%)Algorithm 2: Coverage (%)Algorithm 2: True validity (%)Algorithm 2: CostAlgorithm 2: New-sample validity passed/returned (%)
Linear, 3 nodes90.6 ±3.498.9 ±1.71.33 ±0.10883/906 (97.5%)92.5 ±4.695.4 ±4.51.32 ±0.09910/925 (98.4%)
Nonlinear classifier90.3 ±3.199.4 ±1.51.34 ±0.10879/903 (97.3%)93.3 ±4.296.2 ±2.91.34 ±0.09924/933 (99.0%)
Nonlinear SCM79.2 ±5.797.8 ±2.91.38 ±0.14758/792 (95.7%)82.2 ±6.393.7 ±4.31.38 ±0.11772/822 (93.9%)
Supplied-graph ANM89.3 ±3.099.4 ±0.91.99 ±0.17866/893 (97.0%)89.3 ±3.099.4 ±0.91.99 ±0.17866/893 (97.0%)
Linear, 10 nodes54.8 ±16.593.0 ±10.72.01 ±0.45433/548 (79.0%)68.8 ±12.051.6 ±44.41.75 ±0.16688/688 (100.0%)
Linear, 20 nodes34.1 ±11.176.8 ±34.82.23 ±0.22229/341 (67.2%)43.6 ±9.143.4 ±49.32.14 ±0.23436/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).

SettingAlgorithm 1 Coverage (%)Algorithm 1 True validity (%)Algorithm 1 CostAlgorithm 2 Coverage (%)Algorithm 2 True validity (%)Algorithm 2 Cost
Linear, 3 nodes92.0±4.392.0 \pm4.390.1±21.890.1 \pm21.84.96±0.404.96 \pm0.4094.2±4.294.2 \pm4.272.5±26.272.5 \pm26.24.78±0.474.78 \pm0.47
Nonlinear classifier92.1±3.292.1 \pm3.291.0±18.291.0 \pm18.24.99±0.484.99 \pm0.4895.7±3.395.7 \pm3.371.1±24.271.1 \pm24.24.91±0.514.91 \pm0.51
Nonlinear SCM81.1±6.481.1 \pm6.492.1±17.092.1 \pm17.05.15±0.455.15 \pm0.4584.9±7.784.9 \pm7.775.1±24.975.1 \pm24.95.21±0.565.21 \pm0.56
Supplied-graph ANM99.5±0.599.5 \pm0.564.8±5.764.8 \pm5.70.19±0.010.19 \pm0.0199.5±0.599.5 \pm0.564.8±5.764.8 \pm5.70.19±0.010.19 \pm0.01
Linear, 5 nodes82.3±11.882.3 \pm11.885.0±27.685.0 \pm27.64.77±1.844.77 \pm1.8490.2±5.790.2 \pm5.745.5±48.245.5 \pm48.23.50±0.853.50 \pm0.85
Linear, 10 nodes61.2±14.761.2 \pm14.783.2±28.683.2 \pm28.65.37±1.395.37 \pm1.3969.7±10.269.7 \pm10.242.9±49.842.9 \pm49.84.53±0.804.53 \pm0.80
Linear, 20 nodes35.8±12.135.8 \pm12.178.4±41.678.4 \pm41.66.27±1.256.27 \pm1.2543.9±9.343.9 \pm9.341.0±50.941.0 \pm50.96.06±1.026.06 \pm1.02

Table 1. Fitted linear regression baseline. Mean ±\pm sample SD across ten seeds, 100 factual instances per seed. Algorithm 2 requires graph weight 0.8. Cost is weighted L1L_1 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 hh. For simplicity, we assume that hh predicts a single continuous value in [0,1][0,1], where scores of at least 0.5 are desirable and scores below are undesirable.

Actions. For any factual instance xF\mathbf{x}^{\mathrm{F}} whose prediction is unfavorable (h(xF)<0.5h(\mathbf{x}^{\mathrm{F}}) < 0.5), recourse seeks an action aa such that the classifier predicts a favorable outcome: h(xCF(a))≥0.5h(\mathbf{x}^{\mathrm{CF}}(a)) \ge0.5. 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 xF\mathbf{x}^{\mathrm{F}} should be changed and to what values. In our optimization approaches, we define an action aa in terms of its intervention targets I⊆[d]\mathcal{I} \subseteq[d] and the intervention values θ\boldsymbol{\theta}. With this we can write: a=do(XI=θ)a = do(X_{\mathcal{I}} = \boldsymbol{\theta}). We denote by J\mathcal{J} the collection of permitted intervention target sets, by ΘI\Theta_{\mathcal{I}} the feasible values for target set I\mathcal{I}, and by F={do(XI=θ):I∈J,θ∈ΘI}\mathcal{F} = \{do(X_{\mathcal{I}} = \boldsymbol{\theta}) : \mathcal{I} \in\mathcal{J}, \boldsymbol{\theta} \in\Theta_{\mathcal{I}}\} the resulting set of feasible actions for xF\mathbf{x}^{\mathrm{F}}.

Structural equations. Downstream changes from an action are determined from an SCM over features X={X1,…,Xd}\mathbf{X} = \{X_1,\ldots,X_d\}, whose structural equations Xr:=fr(Xpa⁡(r),Ur)X_r := f_r(X_{\operatorname{pa}(r)}, U_r), r∈[d]r \in[d], describe how each feature is generated from its parents Xpa⁡(r)X_{\operatorname{pa}(r)} in a directed acyclic graph (DAG) G\mathcal{G} and an unobserved noise variable UrU_r (Peters et al. (2017)). For a fixed graph G\mathcal{G}, Karimi et al. (2020b) fit a GP-SCM MG\mathcal{M}_{\mathcal{G}} to training data {xi}i=1n\{\mathbf{x}^{i}\}_{i=1}^{n}:

Xr:=fr(Xpa⁡G(r))+Ur,fr∼GP(0,kr),Ur∼N(0,σr2),r∈[d],(1)X_r := f_r(X_{\operatorname{pa}_{\mathcal{G}}(r)}) + U_r,\qquad f_r \sim\mathcal{GP}(0,k_r),\qquad U_r \sim\mathcal{N}(0,\sigma_r^2),\qquad r \in[d], \tag*{(1)}

where pa⁡G(r)\operatorname{pa}_{\mathcal{G}}(r) are the parents of XrX_r in G\mathcal{G}. The GP priors are independent across nodes and the exogenous noise is assumed to be additive and independent.

Counterfactuals. When computing a point-counterfactual xCF(a):=x(a)∣xF\mathbf{x}^{\mathrm{CF}}(a) := \mathbf{x}(a) \mid\mathbf{x}^{\mathrm{F}} 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 XCF(a;G):=X(a)∣xF,{xi}i=1n\mathbf{X}^{\mathrm{CF}}(a;\mathcal{G}) := \mathbf{X}(a) \mid\mathbf{x}^{\mathrm{F}}, \{\mathbf{x}^{i}\}_{i=1}^{n} under MG\mathcal{M}_{\mathcal{G}}. The intervened features are fixed at θ\boldsymbol{\theta}, 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 E[h(XCF(a;G))]≥thresh⁡(a;G)\mathbb{E}[h(\mathbf{X}^{\mathrm{CF}}(a;\mathcal{G}))] \ge\operatorname{thresh}(a;\mathcal{G}), with

thresh⁡(a;G)=0.5+γLCBVar⁡[h(XCF(a;G))],(2)\operatorname{thresh}(a;\mathcal{G}) = 0.5 + \gamma_{\mathrm{LCB}}\sqrt{\operatorname{Var}[h(\mathbf{X}^{\mathrm{CF}}(a;\mathcal{G}))]}, \tag*{(2)}

where the expectation and variance are taken over XCF(a;G)\mathbf{X}^{\mathrm{CF}}(a;\mathcal{G}). This lower-confidence-bound-style threshold parallels confidence bounds in Gaussian process optimization (Srinivas et al. (2010)): larger γLCB\gamma_{\mathrm{LCB}} is more conservative, while γLCB=0\gamma_{\mathrm{LCB}} = 0 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 cost⁡F(a)\operatorname{cost}^{\mathrm{F}}(a): defined as the distance between the factual values xIFx_{\mathcal{I}}^{\mathrm{F}} and the intervened values θ\theta. Combining this with the criterion above gives the optimization problem:

min⁡a=do⁡(XI=θ)∈AFcost⁡F(a)subject toE[h(XCF(a;G))]≥thresh⁡(a;G).(3)\min_{a=\operatorname{do}(X_{\mathcal{I}}=\theta)\in\mathcal{A}^{\mathrm{F}}} \operatorname{cost}^{\mathrm{F}}(a) \quad\text{subject to} \quad\mathbb{E}\left[h\left(X^{\mathrm{CF}}(a;\mathcal{G})\right)\right] \ge\operatorname{thresh}(a;\mathcal{G}). \tag*{(3)}

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 G\mathcal{G}, we write the probabilistic criterion of § 2 as a per-graph margin

Δ(a;G)=E[h(XCF(a;G))]−thresh⁡(a;G),(4)\Delta(a;\mathcal{G}) = \mathbb{E}\left[h\left(X^{\mathrm{CF}}(a;\mathcal{G})\right)\right] - \operatorname{thresh}(a;\mathcal{G}), \tag*{(4)}

and say that aa is valid on G\mathcal{G}, or achieves recourse on G\mathcal{G}, when Δ(a;G)≥0\Delta(a;\mathcal{G}) \ge0. The expectation and variance in Δ(a;G)\Delta(a;\mathcal{G}) are intractable for a general classifier hh, so we estimate them by Monte Carlo as in Karimi et al. (2020b); we write Δ^M\widehat{\Delta}_{M} for the estimate from MM samples.

Affordability: minimizing the cost of the action. In the GP posterior experiments we define the cost cost⁡F(a)\operatorname{cost}^{\mathrm{F}}(a) as the Euclidean distance between the factual values of the intervened features and their intervention values, cost⁡F(a)=∥θ−xIF∥2\operatorname{cost}^{\mathrm{F}}(a) = \lVert\theta- x_{\mathcal{I}}^{\mathrm{F}} \rVert_{2} for a=do⁡(XI=θ)a = \operatorname{do}(X_{\mathcal{I}} = \theta); the supplied-equation controls and experiments using linear regression fitted by ordinary least squares use a weighted L1L_{1} 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 G\mathbb{G} 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 G∈G\mathcal{G} \in\mathbb{G}, we fit a GP-SCM MG\mathcal{M}_{\mathcal{G}} (1) on the same training data, which gives one counterfactual random variable XCF(a;G)X^{\mathrm{CF}}(a;\mathcal{G}), and one margin Δ(a;G)\Delta(a;\mathcal{G}), 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 xFx^{\mathrm{F}}, we seek

aF∈arg⁡min⁡a=do⁡(XI=θ)∈AF cost⁡F(a)subject toΔ(a;G)≥0∀G∈G.(5)a^{\mathrm{F}} \in\underset{a=\operatorname{do}(X_{\mathcal{I}}=\theta)\in\mathcal{A}^{\mathrm{F}}}{\arg\min}\ \operatorname{cost}^{\mathrm{F}}(a) \quad\text{subject to} \quad\Delta(a;\mathcal{G}) \ge0 \quad\forall\mathcal{G} \in\mathbb{G}. \tag*{(5)}

We call the action fully robust when it is valid on every G∈G\mathcal{G} \in\mathbb{G}, 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 h(xCF(a;G⋆))≥0.5h(\mathbf{x}^{\mathrm{CF}}(a;\mathcal{G}^{\star})) \ge0.5 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 G\mathbb{G}. The full procedure is illustrated in Figure 2.

For each graph G\mathcal{G}, we score the outcome by passing its margin through a sigmoid:

VG,κ(a)=σ(κΔ(a;G)),(6)V_{\mathcal{G},\kappa}(a)=\sigma\left(\kappa\Delta(a;\mathcal{G})\right), \tag*{(6)}

where VG,κ(a)→1V_{\mathcal{G},\kappa}(a)\to1 indicates a favorable outcome for an action on the graph G\mathcal{G}, and VG,κ(a)≥0.5V_{\mathcal{G},\kappa}(a)\ge0.5 exactly when Δ(a;G)≥0\Delta(a;\mathcal{G})\ge0. The parameter κ\kappa controls the ‘sharpness’ of this soft validity. As κ→∞\kappa\to\infty, VG,κV_{\mathcal{G},\kappa} approaches a step function at Δ=0\Delta=0: we only need the expected output to clear the threshold, and a larger margin brings little additional benefit. Smaller values of κ\kappa 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 β\beta:

V~β(a)=−1βlog⁡∑G∈Gexp⁡(−βVG,κ(a)).(7)\widetilde{V}_{\beta}(a)=-\frac{1}{\beta}\log\sum_{\mathcal{G}\in\mathbb{G}}\exp\left(-\beta V_{\mathcal{G},\kappa}(a)\right). \tag*{(7)}

This means that graphs that produce worse outcomes have a higher impact on the loss. As β→∞\beta\to\infty, the validity of an action is determined only by the outcome on the worst graph. We encourage the overall validity of the action, V~β\widetilde{V}_{\beta} to surpass some prespecified threshold τ\tau. In practice, Δ\Delta in (6) is replaced by its Monte Carlo estimate Δ^M\widehat{\Delta}_{M}.

For each possible intervention set I\mathcal{I}, we search for low-cost intervention values θ\theta by using gradient descent with the following loss function:

L(θ)=cost⁡F(a)+λ[τ−V~β(a)]+,a=do⁡(XI=θ).(8)\mathcal{L}(\theta)=\operatorname{cost}^{\mathrm{F}}(a)+\lambda\left[\tau-\widetilde{V}_{\beta}(a)\right]_{+},\qquad a=\operatorname{do}(\mathbf{X}_{\mathcal{I}}=\theta). \tag*{(8)}

We evaluate every candidate action on every graph using M′≥MM'\ge M fresh counterfactual samples, independent of the gradient samples. An action passes verification when Δ^M′(a;G)≥0\widehat{\Delta}_{M'}(a;\mathcal{G})\ge0 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 TT gradient steps of size η\eta. ΠΘI\Pi_{\Theta_{\mathcal{I}}} projects onto feasible intervention values for I\mathcal{I}. We compute ∇θL\nabla_{\theta}\mathcal{L} through reparametrized samples, including the variance gradient when γLCB≠0\gamma_{\mathrm{LCB}}\ne0 (Karimi et al. (2020b), App. § 13). The returned a⋆a^{\star} approximates aFa^{\mathrm{F}}.

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.

Fixed 20-node star CPDAG and expanding candidate family

Figure 3. (a) The fixed 20-node star CPDAG, shown schematically. Omitted leaves are also adjacent only to X1X_1. 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 π={πG}G∈G\pi= \{\pi_{\mathcal{G}}\}_{\mathcal{G}\in\mathcal{G}}. We require πG≥0\pi_{\mathcal{G}} \ge0 and ∑G∈GπG=1\sum_{\mathcal{G}\in\mathcal{G}} \pi_{\mathcal{G}} = 1.

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 π\pi, we define the robustness score of an action as the total weight of the graphs on which it is valid:

Rπ(a)=∑G∈GπG1{Δ(a;G)≥0}.(9)R_{\pi}(a) = \sum_{\mathcal{G}\in\mathcal{G}} \pi_{\mathcal{G}} \mathbf{1}\{\Delta(a;\mathcal{G}) \ge0\}. \tag*{(9)}

We then replace the constraint in (5) with Rπ(a)≥1−ϵR_{\pi}(a) \ge1-\epsilon, where ϵ∈[0,1)\epsilon\in[0,1) is the total graph weight on which the action is permitted to fail. We call an action satisfying this constraint (1−ϵ)(1-\epsilon)-robust.

When π\pi is read as a distribution over graphs, this is a chance constraint [6] (Nemirovski and Shapiro 2006). Note that RπR_\pi 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 πG=1/∣G∣\pi_{\mathcal{G}} = 1/|\mathcal{G}|, ϵ\epsilon is simply the fraction of graphs on which recourse may fail. If all graph weights are positive, ϵ=0\epsilon= 0 recovers Algorithm 1’s objective.

Loss function. Since we no longer require recourse on the worst graph, we replace the soft minimum validity V~β\widetilde{V}_\beta 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 KK graph indices to form the search aggregate, reusing scores for repeated indices. For independent indices G1,…,GK∼π\mathcal{G}_1, \ldots, \mathcal{G}_K \sim\pi, we use

L(θ)=cost⁡F(a)+λ[τ−V^π(a)]+,V^π(a)=1K∑k=1KVGk,κ(a),(10)\mathcal{L}(\theta) = \operatorname{cost}^{\mathrm{F}}(a) + \lambda[\tau- \widehat{V}_\pi(a)]_+, \qquad\widehat{V}_\pi(a) = \frac{1}{K} \sum_{k=1}^{K} V_{\mathcal{G}_k,\kappa}(a), \tag*{(10)}

Here V^π\widehat{V}_\pi, conditional on the computed Monte Carlo scores, is an unbiased estimate of the weighted average ∑G∈GπGVG,κ(a)\sum_{\mathcal{G} \in\mathbb{G}} \pi_{\mathcal{G}} V_{\mathcal{G},\kappa}(a). 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). τ\tau is the smooth-score target guiding gradient steps, while 1−ϵ1 - \epsilon is the required graph weight used in verification.

Verification. As in Algorithm 1, each candidate is verified on every G∈G\mathcal{G} \in\mathbb{G} with M′M' fresh samples, and accepted if

R^π(a)=∑G∈GπG1{Δ^M′(a;G)≥0}≥1−ϵ.(11)\widehat{R}_\pi(a) = \sum_{\mathcal{G} \in\mathbb{G}} \pi_{\mathcal{G}} \mathbf{1}\{\widehat{\Delta}_{M'}(a;\mathcal{G}) \ge0\} \ge1 - \epsilon. \tag*{(11)}

The cost of verification therefore still grows with ∣G∣|\mathbb{G}|.

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 1−ϵ=0.81 - \epsilon= 0.8 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.

SettingOLSGP posteriorPopulation controls
Mechanism training observations128128Supplied mechanisms
Step size η\eta0.0010.0010.001
Penalty λ\lambda200200200
Smooth target τ\tau0.90.90.9
Updates TT5001002,000
Action initializationsZero shift, midpoint, and randomZero shift, midpoint, and randomZero shift, midpoint, and random
Search scoreσ(5logit⁡h)\sigma(5\operatorname{logit} h)σ(20Δ^M)\sigma(20\widehat{\Delta}_M)σ(5logit⁡h)\sigma(5\operatorname{logit} h)
Algorithm 1 soft-min β\betamax⁡{20,2log⁡∣G∣/0.1}\max\{20, 2\log\lvert G\rvert/0.1\} at the primary τ=0.9\tau=0.9max⁡{20,2log⁡∣G∣/0.1}\max\{20, 2\log\lvert G\rvert/0.1\} at the primary τ=0.9\tau=0.9max⁡{20,2log⁡∣G∣/0.1}\max\{20, 2\log\lvert G\rvert/0.1\} at the primary τ=0.9\tau=0.9
Algorithm 2 graph draws KK323232
Required graph weight0.8 synthetic0.8 synthetic; 0.5 loan0.8
LCB multiplier γLCB\gamma_{\mathrm{LCB}}—2—
Search posterior draws MM—16—
Verification posterior draws M′M'—64—
Final posterior evaluation draws—512—
Intervention costWeighted L1L_1EuclideanWeighted L1L_1
GP marginal-likelihood starts—3—

Table 5. Recorded primary hyperparameters. OLS denotes fitted linear regression. A dash means not applicable. The smooth target τ\tau is distinct from Algorithm 2’s required graph weight 1−ϵ1-\epsilon. Updates are per initialization and target set.

Algorithm 1: Worst-case search

Input: Factual xFx^{\mathrm{F}}; classifier hh; GP-SCMs {MG}G∈G\{\mathcal{M}_{\mathcal{G}}\}_{\mathcal{G}\in\mathbb{G}}; target sets J\mathcal{J}; feasible values ΘI\Theta_{\mathcal{I}}; cost cost⁡F\operatorname{cost}^{\mathrm{F}}; parameters η,λ,κ,β,τ,γLCB,T,M,M′\eta,\lambda,\kappa,\beta,\tau,\gamma_{\mathrm{LCB}},T,M,M'.

Output: An action a∗a^*, or “no action found”.

Set a∗a^* to empty and its cost to +∞+\infty;

foreach I∈J\mathcal{I}\in\mathcal{J} and initialization θ∈ΘI\theta\in\Theta_{\mathcal{I}} do

&nbsp;&nbsp;for t=0,…,Tt=0,\ldots,T do

&nbsp;&nbsp;&nbsp;&nbsp;Form a=do⁡(XI=θ)a=\operatorname{do}(X_{\mathcal{I}}=\theta) and compute Δ^M′(a;G)\widehat{\Delta}_{M'}(a;\mathcal{G}) on fresh samples for every G∈G\mathcal{G}\in\mathbb{G};

&nbsp;&nbsp;&nbsp;&nbsp;if Δ^M′(a;G)≥0\widehat{\Delta}_{M'}(a;\mathcal{G})\ge0 for every G∈G\mathcal{G}\in\mathbb{G} then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Keep aa if cheaper than a∗a^*;

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;if t<Tt<T then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute Δ^M(a;G)\widehat{\Delta}_{M}(a;\mathcal{G}), VG,κ(a)V_{\mathcal{G},\kappa}(a), and V~β(a)\widetilde{V}_{\beta}(a), then L(θ)\mathcal{L}(\theta) from (8);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update θ←ΠΘI(θ−η∇θL)\theta\leftarrow\Pi_{\Theta_{\mathcal{I}}}(\theta-\eta\nabla_{\theta}\mathcal{L});

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;end

end

Return a∗a^* if found; else “no action found”;

Algorithm 2: Graph-weighted search

Input: Factual xFx^{\mathrm{F}}; classifier hh; GP-SCMs {MG}G∈G\{\mathcal{M}_{\mathcal{G}}\}_{\mathcal{G}\in\mathbb{G}}; graph weights π\pi; permitted failure weight ϵ\epsilon; target sets J\mathcal{J}; feasible values ΘI\Theta_{\mathcal{I}}; cost cost⁡F\operatorname{cost}^{\mathrm{F}}; parameters η,λ,κ,τ,γLCB,T,K,M,M′\eta,\lambda,\kappa,\tau,\gamma_{\mathrm{LCB}},T,K,M,M'.

Output: An action a∗a^*, or “no action found”.

Set a∗a^* to empty and its cost to +∞+\infty;

foreach I∈J\mathcal{I}\in\mathcal{J} and initialization θ∈ΘI\theta\in\Theta_{\mathcal{I}} do

&nbsp;&nbsp;for t=0,…,Tt=0,\ldots,T do

&nbsp;&nbsp;&nbsp;&nbsp;Form a=do⁡(XI=θ)a=\operatorname{do}(X_{\mathcal{I}}=\theta) and compute Δ^M′(a;G)\widehat{\Delta}_{M'}(a;\mathcal{G}) on fresh samples for every G∈G\mathcal{G}\in\mathbb{G};

&nbsp;&nbsp;&nbsp;&nbsp;if R^π(a)≥1−ϵ\widehat{R}_{\pi}(a)\ge1-\epsilon then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Keep aa if cheaper than a∗a^*;

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;if t<Tt<T then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw G1,…,GK∼π\mathcal{G}_1,\ldots,\mathcal{G}_K\sim\pi independently;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute Δ^M(a;Gk)\widehat{\Delta}_{M}(a;\mathcal{G}_k), VGk,κ(a)V_{\mathcal{G}_k,\kappa}(a), and V^π(a)\widehat{V}_{\pi}(a), then L(θ)\mathcal{L}(\theta) from (10);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update θ←ΠΘI(θ−η∇θL)\theta\leftarrow\Pi_{\Theta_{\mathcal{I}}}(\theta-\eta\nabla_{\theta}\mathcal{L});

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;end

end

Return a∗a^* 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.

Causal structures

Figure 4. Causal structures. (a) Three-variable CPDAG (six DAGs) for linear, nonlinear-classifier and transformed nonlinear-SCM settings. (b) Chain CPDAG: dd DAGs, one directed away from each root. (c) Supplied DAG: nonlinear additive-noise model with independent exogenous noises U1,U2,U3U_1,U_2,U_3. Targets: up to two of {X1,X3}\{X_1, X_3\} in (a) or {X1,Xd}\{X_1, X_d\} 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 familyAlgorithm 1: Coverage (%)Algorithm 1: True validity (%)Algorithm 1: CostAlgorithm 1: New-sample validity passed/returned (%)Algorithm 2: Coverage (%)Algorithm 2: True validity (%)Algorithm 2: CostAlgorithm 2: New-sample validity passed/returned (%)
YesOption 193.7 ±4.298.7 ±3.16.60 ±0.56912/937 (97.3%)93.7 ±4.297.0 ±4.26.53 ±0.60890/937 (95.0%)
YesOption 292.2 ±5.099.9 ±0.37.06 ±0.59900/922 (97.6%)93.3 ±4.498.8 ±1.96.63 ±0.56919/933 (98.5%)
NoOption 120.0 ±16.595.4 ±9.33.10 ±1.24149/200 (74.5%)22.5 ±17.584.6 ±16.32.95 ±1.35129/225 (57.3%)
NoOption 21.9 ±3.878.3 ±43.90.29 ±0.0815/19 (78.9%)20.2 ±15.889.3 ±16.13.03 ±1.45152/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 G\mathcal{G}. Even within G\mathcal{G}, 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 G\mathcal{G}. To propagate discovery uncertainty, form G\mathcal{G} 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 π\pi.

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.

Five axes of robustness in algorithmic recourse

Figure 7. Five axes of robustness in algorithmic recourse. An action a=do⁡(XI=θ)a = \operatorname{do}(X_I = \theta) moves the factual xFx^{\mathrm{F}} from the denied to the approved side of the classifier hh. (1) Noisy representation: the recorded factual may differ from the true one, xF+ϵx^{\mathrm{F}} + \epsilon. (2) Noisy execution: the individual may implement a perturbed action, xCF(a+δ)x^{\mathrm{CF}}(a + \delta). (3) Model multiplicity: several classifiers {hm}\{h_m\} may fit the data equally well, with conflicting decision boundaries. (4) Temporal drift: the classifier hth_t 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.

MethodObjectiveRobust toCausalStructural equationsCausal graph
OursRecourseCausal graph and structural equations✓GP-SCM fitted to each DAGSupplied DAG family; main setting uses a CPDAG’s MEC
Valério et al. (2026)Counterfactual fairnessCausal graph✓Linear SCM fitted to each DAGDAGs from bootstrapped causal discovery
Singh et al. (2026)Interventional fairnessCausal graph✓Not fittedCandidate graphs weighted by fit to data
Chikahara (2026)Interventional fairnessCausal graph✓Not fittedCoarser graph over clusters of variables
Karimi et al. (2020b)RecourseStructural equations✓GP-SCM fitted to the DAGKnown DAG
Weilbach et al. (2024)RecourseCounterfactual ambiguity (equations and noise)✓Bayesian warped GPKnown DAG
Dominguez-Olmedo et al. (2022)RecourseRecorded features✓Known SCMKnown DAG
Upadhyay et al. (2021)RecourseModel changes✗––
Duell and Fan (2026)Counterfactual explanationsModel changes✗––
Jiang et al. (2023)Counterfactual explanationsModel changes✗––
Jiang et al. (2024)Counterfactual explanationsModel 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 G\mathcal{G}.

Impossibility of fully robust recourse

Observation 1 (Impossibility of fully robust recourse). Let G\mathcal{G} be the MEC of a CPDAG containing an undirected edge Xi−XjX_i - X_j. Suppose that XiX_i is the only actionable feature, so that I={{i}}\mathcal{I} = \{\{i\}\}, and let G′∈G\mathcal{G}' \in\mathcal{G} be a DAG containing Xj→XiX_j \to X_i. Suppose that hh depends on xx only through features

other than XiX_i that are not descendants of XiX_i in G−\mathcal{G}^{-} (for example, only through xjx_j). Let xFx^{F} satisfy h(xF)<0.5h(x^{F}) < 0.5. Then, for every action a=do⁡(Xi=θ)∈AFa = \operatorname{do}(X_i = \theta) \in\mathcal{A}^{F}, h(xCF(a;G−))=h(xF)<0.5h(x^{CF}(a; \mathcal{G}^{-})) = h(x^{F}) < 0.5, so the fully robust problem (5) is infeasible. This holds even if, under a DAG G+∈G\mathcal{G}^{+} \in\mathbb{G} containing Xi→XjX_i \to X_j, some a∈AFa \in\mathcal{A}^{F} achieves recourse.

Proof. Because Xi−XjX_i - X_j is undirected in the CPDAG, both orientations occur among the DAGs of the MEC, so G−\mathcal{G}^{-} and G+\mathcal{G}^{+} exist in G\mathbb{G}. In G−\mathcal{G}^{-}, XjX_j is a parent of XiX_i and, by acyclicity, not a descendant of XiX_i. Under do⁡(Xi=θ)\operatorname{do}(X_i = \theta), the counterfactual changes only XiX_i 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 XiX_i). Hence xjx_j and every other feature on which hh depends are unchanged, so h(xCF(a;G−))=h(xF)<0.5h(x^{\mathrm{CF}}(a;G^{-}))=h(x^{\mathrm{F}})<0.5 for every θ\theta. The constraint of (5) therefore fails on G−G^{-} for every feasible action, and no fully robust action exists. Under G+G^{+}, XjX_j may change with θ\theta, so recourse may exist under this candidate graph. The same argument applies to the GP-SCM criterion (2): on G−G^{-} the counterfactual of hh is deterministic and equal to h(xF)h(x^{\mathrm{F}}), so its variance is zero and the threshold is 0.5. □

SCMs used in experiments

Throughout this section, N(μ,v)\mathcal{N}(\mu,v) denotes a Gaussian distribution with mean μ\mu and variance vv, and σ\sigma 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 ss, let αs=(6+(s mod 10))/10\alpha_s=(6+(s\bmod10))/10 and generate

X1=U1,X2=−αsX1+U2,X3=0.05αsX1+0.25αsX2+U3.X_1=U_1,\qquad X_2=-\alpha_sX_1+U_2,\qquad X_3=0.05\alpha_sX_1+0.25\alpha_sX_2+U_3.

with independent centered Gaussian noises of variances (1,0.8,1.2)(1,0.8,1.2). The complete skeleton has six compatible DAGs.

Linear chains. For d∈{5,10,20}d\in\{5,10,20\},

X1=U1,Xj=bjXj−1+Uj,bj∼Unif⁡{−0.6,−0.2,0.4,0.8},Uj∼N(0,(j+2)/4).X_1=U_1,\qquad X_j=b_jX_{j-1}+U_j,\qquad b_j\sim\operatorname{Unif}\{-0.6,-0.2,0.4,0.8\},\qquad U_j\sim\mathcal{N}(0,(j+2)/4).

Indices are one-based and noises are independent. The family consists of the dd no-collider orientations of the chain, with generating root X1X_1. 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, Xj=ϕ(Zj)X_j=\phi(Z_j) with ϕ(z)=z+0.1z3\phi(z)=z+0.1z^3, so that in graph GG

Xj=ϕ(∑k∈pa⁡G(j)BG,jkϕ−1(Xk)+Uj).X_j=\phi\left(\sum_{k\in\operatorname{pa}_G(j)}B_{G,jk}\phi^{-1}(X_k)+U_j\right).

An observed intervention at θj\theta_j sets the latent value to ϕ−1(θj)\phi^{-1}(\theta_j). 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

Y∣X∼Bernoulli⁡(σ(2.5∑jXj/r)),r=max⁡{2000−1∣∑i∑jXji∣,10−8}.Y\mid X\sim\operatorname{Bernoulli}\left(\sigma\left(2.5\sum_jX_j/r\right)\right),\qquad r=\max\left\{2000^{-1}\left|\sum_i\sum_jX_j^i\right|,10^{-8}\right\}.

The fitted classifier is logistic regression on training-standardized features, or on those features and their tanh values. It minimizes mean cross-entropy plus 10−310^{-3} times the squared non-intercept coefficients. It is fixed throughout recourse evaluation.

Actions and costs. For the multi-model population experiments, let RjR_j be the training range. Then

I={{1},{d},{1,d}},ΘI=∏j∈I[xjF,xjF+min⁡{3,Rj/2}],cost⁡F(a)=∑j∈Iρj∣θj−xjF∣\mathcal{I} = \{\{1\}, \{d\}, \{1,d\}\}, \qquad\Theta_{\mathcal{I}} = \prod_{j \in\mathcal{I}} [x_j^{F}, x_j^{F} + \min\{3, R_j/2\}], \qquad\operatorname{cost}^{F}(a) = \sum_{j \in\mathcal{I}} \rho_j \lvert\theta_j - x_j^{F} \rvert

with endpoint weights ρ1=1\rho_1 = 1 and ρd=4\rho_d = 4. 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):

X1=U1,X2=−1+3σ(2X1)+U2,X3=−0.05X1+0.25X22+U3,X_1 = U_1,\qquad X_2 = -1 + 3\sigma(2X_1) + U_2,\qquad X_3 = -0.05X_1 + 0.25X_2^2 + U_3,

where U1∼12N(−2,1.5)+12N(1,1)U_1 \sim\frac{1}{2}\mathcal{N}(-2, 1.5) + \frac{1}{2}\mathcal{N}(1, 1), U2∼N(0,0.1)U_2 \sim\mathcal{N}(0, 0.1) and U3∼N(0,1)U_3 \sim\mathcal{N}(0, 1) are independent. Only one graph is supplied. Each action increases one of the three variables by at most Rj/2R_j/2. Population controls and linear regression runs use cost ∣θj−xjF∣/Rj\lvert\theta_j - x_j^{F}\rvert/R_j; 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 (GsexG_{\mathrm{sex}}), age (AA), education (EE), loan amount (LL), duration (DD), income (IincI_{\mathrm{inc}}) and savings (SS). Their structural equations are:

Generating loan structural causal model

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.

Gsex=UG,A=−35+UA,(12)G_{\mathrm{sex}} = U_G,\qquad A = -35 + U_A, \tag*{(12)}
E=−0.5+σ(−1+0.5Gsex+σ(0.1A)+UE),(13)E = -0.5 + \sigma(-1 + 0.5G_{\mathrm{sex}} + \sigma(0.1A) + U_E), \tag*{(13)}
L=1−0.01(A−5)2+Gsex+UL,(14)L = 1 - 0.01(A - 5)^2 + G_{\mathrm{sex}} + U_L, \tag*{(14)}
D=−1+0.1A+2Gsex+L+UD,(15)D = -1 + 0.1A + 2G_{\mathrm{sex}} + L + U_D, \tag*{(15)}
Iinc=−4+0.1(A+35)+2Gsex+GsexE+UI,(16)I_{\mathrm{inc}} = -4 + 0.1(A + 35) + 2G_{\mathrm{sex}} + G_{\mathrm{sex}}E + U_I, \tag*{(16)}
S=−4+1.5max⁡{Iinc,0}+US.(17)S = -4 + 1.5\max\{I_{\mathrm{inc}},0\} + U_S. \tag*{(17)}

Here UG∼Bernoulli⁡(0.5)U_G \sim\operatorname{Bernoulli}(0.5), UA∼Gamma⁡(10,3.5)U_A \sim\operatorname{Gamma}(10,3.5) (shape, scale), and (UE,UL,UD,UI,US)(U_E,U_L,U_D,U_I,U_S) have independent zero-mean Gaussian variances (0.25,4,9,4,25)(0.25,4,9,4,25). Loan training labels use

Y∣X∼Bernoulli⁡(σ(0.3[−L−D+Iinc+S+IincS])).Y \mid X \sim\operatorname{Bernoulli}\left(\sigma\left(0.3[-L-D+I_{\mathrm{inc}}+S+I_{\mathrm{inc}}S]\right)\right).

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 10−710^{-7} 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 pp actionable variables and budget bb, the number of nonempty target sets is ∑k=1min⁡(b,p)(pk)\sum_{k=1}^{\min(b,p)} \binom{p}{k}. 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 h−0.5h-0.5, but changes the search landscape. GP search instead uses the score-LCB margin. Weighted L1L_1 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:

u^j=xjF−α^j,G−b^j,Gxpa⁡G(j)F.\widehat{u}_j = x_j^{\mathrm{F}} - \widehat{\alpha}_{j,G} - \widehat{\mathbf{b}}_{j,G}x_{\operatorname{pa}_G(j)}^{\mathrm{F}}.

After setting XI=θX_{\mathcal{I}}=\theta, we propagate in topological order,

xjCF=α^j,G+b^j,Gxpa⁡G(j)CF+u^j,j∉I.x_j^{\mathrm{CF}} = \widehat{\alpha}_{j,G} + \widehat{\mathbf{b}}_{j,G}x_{\operatorname{pa}_G(j)}^{\mathrm{CF}} + \widehat{u}_j,\qquad j\notin\mathcal{I}.

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 h(xCF(a;G))≥0.5h(x^{\mathrm{CF}}(a;\mathcal{G})) \ge0.5. 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 h(xCF(a;G∗))≥0.5h(x^{\mathrm{CF}}(a;\mathcal{G}^{*})) \ge0.5 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 θE≤0.499999\theta_E \le0.499999. The restricted setting removes only savings as a direct target. Sex, age, and duration remain non-actionable. Linear regression uses training-range-normalized L1L_1 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

X1=U1,Xj+1=35X1+Uj+1(j=1,…,19).X_1 = U_1,\qquad X_{j+1} = \frac{3}{5}X_1 + U_{j+1}\quad(j=1,\ldots,19).

where U1∼N(0,1)U_1 \sim\mathcal{N}(0,1) and Uj+1∼N(0,1+j/10)U_{j+1} \sim\mathcal{N}(0,1+j/10) 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 h(x)=σ(wTx)h(\mathbf{x}) = \sigma(\mathbf{w}^{\mathsf{T}}\mathbf{x}) with

w1=0,(w2,w3,w4,w5,w6)=(1/5,2/5,3/5,4/5,1),w7=−2,w8=⋯=w20=0.w_1 = 0,\qquad(w_2,w_3,w_4,w_5,w_6) = (1/5,2/5,3/5,4/5,1),\qquad w_7=-2,\qquad w_8=\cdots=w_{20}=0.

For 100 equally spaced q∈[1/4,3/2]q \in[1/4,3/2], set x6F=−qx_6^{\mathrm{F}}=-q and all other factual coordinates to zero. These are constructed factual instances, not randomly sampled observations. Only X1X_1 is actionable: a=do⁡(X1=θ)a=\operatorname{do}(X_1=\theta), 0≤θ≤30 \le\theta\le3, and cost⁡F(a)=θ\operatorname{cost}^{\mathrm{F}}(a)=\theta. Because the factual center is zero, θ\theta also equals its intervention shift.

For a candidate rooted at rr, the post-action logit is

ℓr(a)=−q+grθ,g1=3/5,gr=35(1−wr) (r≠1).\ell_r(a)=-q+g_r\theta,\qquad g_1=3/5,\qquad g_r=\frac{3}{5}(1-w_r)\ (r\ne1).

An intervened center changes every leaf except a non-center root by 3θ/53\theta/5. Since the leaf weights sum to one, the formula follows. Approval is equivalent to ℓr(a)≥0\ell_r(a)\ge0. Here ℓr\ell_r is a deterministic logit, not the GP score-LCB margin Δ\Delta.

Order roots as 1, 7, 8, . . . , 20, 2, 3, 4, 5, 6, and let GLG_L contain the first LL models. We use LL for candidate count to distinguish it from the manuscript’s KK sampled graphs per update. Only L=20L=20 is the complete star MEC. The minimum gains for L=15,…,20L=15,\ldots,20 are 0.6, 0.48, 0.36, 0.24, 0.12, 0, respectively. Thus

max⁡0≤θ≤3min⁡G∈GLℓG(a)=3gmin⁡,L−q,\max_{0\le\theta\le3}\min_{G\in G_L}\ell_G(a)=3g_{\min,L}-q,

and robust recourse exists exactly when q≤3gmin⁡,Lq\le3g_{\min,L}.

With uniform weights renormalized within each prefix, let g[j],Lg_{[j],L} be the jjth largest gain and j=⌈(1−ε)L⌉j=\lceil(1-\varepsilon)L\rceil. Weighted recourse exists exactly when g[j],L>0g_{[j],L}>0 and q≤3g[j],Lq\le3g_{[j],L}; its minimum cost is q/g[j],Lq/g_{[j],L}. These expressions are checked against LP/MILP references.

Models LLAlgorithm 1Alg. 2: 60%80%90%
15100100100100
1695100100100
176610010095
183810010066
1991009538
2001009538

Table 6. Returned actions out of 100. Every count agrees with exact feasibility. All methods return 100 actions for every prefix L≤15L\le15.

We run the existing deterministic search at every L=1,…,20L=1,\ldots,20, with 2,000 updates, step size 0.001, penalty 200, sigmoid sharpness 5 applied to the logit, smooth target τ=0.9\tau=0.9, 32 sampled graphs per Algorithm 2 update, and zero/midpoint/random initializations. The seed is 20261109; Algorithm 1 uses β=max⁡{20,2log⁡L/(1−τ)}\beta=\max\{20,2\log L/(1-\tau)\}. 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 L1L_1 with ρ1=1\rho_1 = 1 on X1X_1 and ρd=4\rho_d = 4 on XdX_d. Every returned Algorithm 1 action is a true success under the generating population SCM. Algorithm 2 increases coverage, but (1−ε)(1-\varepsilon)-robustness need not preserve true validity.

SettingAlgorithm 1Algorithm 2
Coverage (%)True validity (%)CostCoverage (%)True validity (%)Cost
Linear, 3 nodes91.7±4.391.7 \pm4.3100.0±0.0100.0 \pm0.04.91±0.354.91 \pm0.3593.6±4.393.6 \pm4.384.4±7.884.4 \pm7.84.74±0.294.74 \pm0.29
Nonlinear classifier95.6±1.895.6 \pm1.8100.0±0.0100.0 \pm0.04.74±0.194.74 \pm0.1997.8±2.397.8 \pm2.380.4±3.780.4 \pm3.74.52±0.224.52 \pm0.22
Nonlinear SCM85.4±4.685.4 \pm4.6100.0±0.0100.0 \pm0.04.68±0.274.68 \pm0.2788.4±4.088.4 \pm4.075.3±5.675.3 \pm5.64.76±0.344.76 \pm0.34
Linear, 5 nodes83.4±12.383.4 \pm12.3100.0±0.0100.0 \pm0.03.93±1.573.93 \pm1.5789.0±5.389.0 \pm5.345.5±40.045.5 \pm40.03.11±0.883.11 \pm0.88
Linear, 10 nodes56.1±14.556.1 \pm14.5100.0±0.0100.0 \pm0.05.68±1.205.68 \pm1.2061.8±12.161.8 \pm12.136.5±44.936.5 \pm44.95.15±1.335.15 \pm1.33
Linear, 20 nodes36.3±12.936.3 \pm12.9100.0±0.0100.0 \pm0.05.42±1.885.42 \pm1.8844.7±6.444.7 \pm6.432.2±46.832.2 \pm46.85.52±0.845.52 \pm0.84

Table 7. Population-model results with known mechanisms. Entries are mean ±\pm 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 L1L_1 cost are computed among returned actions. Runs receive equal weight. Algorithm 2 uses uniform DAG weights and requires graph weight 1−ε=0.81-\varepsilon= 0.8. Costs are not paired comparisons; standard deviations describe between-run variability, not confidence intervals.

Five passing conditions

For the deterministic population controls only, define

Rπ(a)=∑G∈GπG1{h(xCF(a;G))≥0.5},Bπ(a)=∑G∈GπG1{h(xCF(a;G))<0.2}.R_{\pi}(a) = \sum_{\mathcal{G}\in\mathbb{G}} \pi_{\mathcal{G}}1\{h(x^{\mathrm{CF}}(a;\mathcal{G})) \ge0.5\}, \qquad B_{\pi}(a) = \sum_{\mathcal{G}\in\mathbb{G}} \pi_{\mathcal{G}}1\{h(x^{\mathrm{CF}}(a;\mathcal{G})) < 0.2\}.
A1={a∈AF:min⁡Gh(xCF(a;G))≥0.5},A2={a∈AF:Rπ(a)≥0.8},A3={a∈A2:min⁡Gh(xCF(a;G))≥0.2},A4={a∈A2:Bπ(a)≤0.05},A5={a∈AF:∑GπGh(xCF(a;G))≥0.5}.\begin{aligned} \mathcal{A}_1 &= \{a \in\mathcal{A}^{\mathrm{F}} : \min_{\mathcal{G}} h(x^{\mathrm{CF}}(a;\mathcal{G})) \ge0.5\},\\ \mathcal{A}_2 &= \{a \in\mathcal{A}^{\mathrm{F}} : R_{\pi}(a) \ge0.8\},\\ \mathcal{A}_3 &= \{a \in\mathcal{A}_2 : \min_{\mathcal{G}} h(x^{\mathrm{CF}}(a;\mathcal{G})) \ge0.2\},\\ \mathcal{A}_4 &= \{a \in\mathcal{A}_2 : B_{\pi}(a) \le0.05\},\\ \mathcal{A}_5 &= \{a \in\mathcal{A}^{\mathrm{F}} : \sum_{\mathcal{G}} \pi_{\mathcal{G}}h(x^{\mathrm{CF}}(a;\mathcal{G})) \ge0.5\}. \end{aligned}

The main paper uses A1\mathcal{A}_1 and A2\mathcal{A}_2. The other conditions test whether a score floor or tail constraint changes the trade-off. A5\mathcal{A}_5 is a mean-score comparator, not Algorithm 2’s (1−ε)(1-\varepsilon)-robustness objective. A3\mathcal{A}_3 and A4\mathcal{A}_4 use separate retention checks along Algorithm 2 trajectories. Costs below are unpaired, since the returned sets can differ.

SettingMetricA1A_1A2A_2A3A_3A4A_4A5A_5
Linear, 3 nodesCoverage (%)91.7 ±\pm4.393.6 ±\pm4.393.6 ±\pm4.393.6 ±\pm4.399.3 ±\pm1.1
True validity (%)100.0 ±\pm0.084.4 ±\pm7.884.4 ±\pm7.884.4 ±\pm7.84.0 ±\pm5.8
Mean cost4.91 ±\pm0.354.74 ±\pm0.294.74 ±\pm0.294.74 ±\pm0.293.75 ±\pm0.93
Linear, 5 nodesCoverage (%)83.4 ±\pm12.389.0 ±\pm5.387.2 ±\pm8.887.2 ±\pm8.894.0 ±\pm5.7
True validity (%)100.0 ±\pm0.045.5 ±\pm40.047.1 ±\pm38.247.1 ±\pm38.232.3 ±\pm46.9
Mean cost3.93 ±\pm1.573.11 ±\pm0.883.32 ±\pm1.073.32 ±\pm1.073.18 ±\pm0.80
Linear, 10 nodesCoverage (%)56.1 ±\pm14.561.8 ±\pm12.160.7 ±\pm12.260.7 ±\pm12.265.9 ±\pm13.2
True validity (%)100.0 ±\pm0.036.5 ±\pm44.936.5 ±\pm44.936.5 ±\pm44.932.1 ±\pm47.2
Mean cost5.68 ±\pm1.205.15 ±\pm1.335.15 ±\pm1.325.15 ±\pm1.325.22 ±\pm1.18
Linear, 20 nodesCoverage (%)36.3 ±\pm12.944.7 ±\pm6.444.7 ±\pm6.444.7 ±\pm6.444.7 ±\pm7.0
True validity (%)100.0 ±\pm0.032.2 ±\pm46.832.2 ±\pm46.832.2 ±\pm46.832.5 ±\pm46.8
Mean cost5.42 ±\pm1.885.52 ±\pm0.845.52 ±\pm0.845.52 ±\pm0.845.34 ±\pm0.97

Table 8. Five acceptance criteria under supplied population mechanisms. Entries are mean ±\pm 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 s(m)=1−log⁡(1+e−5m)s(m) = 1 - \log(1 + e^{-5m}), with derivative 5σ(−5m)5\sigma(-5m); 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.

VariantAlgorithm 1Algorithm 2
ReturnedPairsPaired cost changeReturnedPairsPaired cost change
Sigmoid, three starts122/150––130/150––
Softplus, three starts124/150122+0.160136/150130+0.185
One zero start60/15060+0.06360/15060+0.014
One start, equal updates60/15060+0.04260/15060+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 X5X_5, X10X_{10}, X15X_{15}, with respective cost weights (1,2,4)(1, 2, 4) 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.

Weights1−ε1-\varepsilonReturnedTrue / returnedMissed
Uniform0.6215/500123/2150
Uniform0.8205/500162/2050
Uniform0.9191/500191/1910
Truth favoring0.6236/500236/23612
Truth favoring0.8236/500236/23612
Truth favoring0.9191/500191/1915
Optimistic incorrect0.6258/50038/25813
Optimistic incorrect0.8258/50038/25813
Optimistic incorrect0.9212/500115/2123

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.

SettingAlgorithm 1 ReturnedAlgorithm 1 True/returnedAlgorithm 2 ReturnedAlgorithm 2 True/returned
Linear regression: Linear, 3920/1000824/920942/1000676/942
Linear regression: Nonlinear classifier921/1000835/921957/1000677/957
Linear regression: Nonlinear SCM811/1000743/811849/1000627/849
Linear regression: Supplied-graph ANM995/1000645/995995/1000645/995
Linear regression: Linear, 5823/1000695/823902/1000416/902
Linear regression: Linear, 10612/1000495/612697/1000294/697
Linear regression: Linear, 20358/1000274/358439/1000171/439
GP: Linear, 3906/1000896/906925/1000882/925
GP: Nonlinear classifier903/1000897/903933/1000897/933
GP: Nonlinear SCM792/1000774/792822/1000770/822
GP: Supplied-graph ANM893/1000888/893893/1000888/893
GP: Linear, 10548/1000507/548688/1000349/688
GP: Linear, 20341/1000251/341436/1000184/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.

1−ε1-\varepsilonAlgorithm 1: ReturnedAlgorithm 1: True/ret.Algorithm 1: New-sample validity passed/returned (%)Algorithm 2: ReturnedAlgorithm 2: True/ret.Algorithm 2: New-sample validity passed/returned (%)
Option 1 (four-DAG MEC); direct savings allowed
0.5937/1000925/937912/937937/1000909/937890/937
0.6937/1000925/937912/937937/1000921/937901/937
0.8937/1000925/937912/937937/1000925/937913/937
0.9937/1000925/937912/937937/1000925/937913/937
Option 1 (four-DAG MEC); direct savings excluded
0.5200/1000186/200149/200225/1000191/225129/225
0.6200/1000186/200149/200214/1000191/214130/214
0.8200/1000186/200149/200204/1000189/204147/204
0.9200/1000186/200149/200204/1000189/204147/204
Option 2 (eight-DAG broader family); direct savings allowed
0.5922/1000921/922900/922933/1000922/933919/933
0.6922/1000921/922900/922929/1000928/929782/929
0.8922/1000921/922900/922928/1000927/928863/928
0.9922/1000921/922900/922928/1000927/928902/928
Option 2 (eight-DAG broader family); direct savings excluded
0.519/100017/1915/19202/1000186/202152/202
0.619/100017/1915/1931/100029/3122/31
0.819/100017/1915/1921/100019/2115/21
0.919/100017/1915/1919/100017/1915/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 L1L_1 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 ±\pm 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.

SettingJointly servedAlgorithm 1 paired costAlgorithm 2 paired costDifference A2 minus A1
Linear regression: Linear, 3 nodes9204.96 ±\pm 0.404.62 ±\pm 0.40−0.34 ±\pm 0.10
Linear regression: Nonlinear classifier9214.99 ±\pm 0.484.64 ±\pm 0.48−0.35 ±\pm 0.08
Linear regression: Nonlinear SCM8115.15 ±\pm 0.454.88 ±\pm 0.46−0.27 ±\pm 0.16
Linear regression: Supplied-graph ANM9950.19 ±\pm 0.010.19 ±\pm 0.010.00 ±\pm 0.00
Linear regression: Linear, 5 nodes8234.77 ±\pm 1.842.85 ±\pm 0.92−1.92 ±\pm 2.26
Linear regression: Linear, 10 nodes6125.37 ±\pm 1.393.43 ±\pm 1.41−1.94 ±\pm 2.13
Linear regression: Linear, 20 nodes3586.27 ±\pm 1.254.43 ±\pm 1.43−1.84 ±\pm 1.73
GP: Linear, 3 nodes9061.33 ±\pm 0.101.28 ±\pm 0.08−0.05 ±\pm 0.05
GP: Nonlinear classifier9031.34 ±\pm 0.101.28 ±\pm 0.08−0.06 ±\pm 0.06
GP: Nonlinear SCM7921.38 ±\pm 0.141.31 ±\pm 0.11−0.07 ±\pm 0.06
GP: Supplied-graph ANM8931.99 ±\pm 0.171.99 ±\pm 0.170.00 ±\pm 0.00
GP: Linear, 10 nodes5482.01 ±\pm 0.451.40 ±\pm 0.21−0.61 ±\pm 0.57
GP: Linear, 20 nodes3412.23 ±\pm 0.221.72 ±\pm 0.39−0.51 ±\pm 0.28
GP: Loan Option 1 / savings9376.60 ±\pm 0.566.53 ±\pm 0.60−0.07 ±\pm 0.08
GP: Loan Option 1 / no savings2003.10 ±\pm 1.242.88 ±\pm 1.29−0.22 ±\pm 0.11
GP: Loan Option 2 / savings9227.06 ±\pm 0.596.57 ±\pm 0.56−0.49 ±\pm 0.34
GP: Loan Option 2 / no savings190.29 ±\pm 0.080.20 ±\pm 0.06−0.09 ±\pm 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.

SettingSingle DAGAlgorithm 1Algorithm 2
Linear, 3 nodes963/282/314920/824/920942/676/735
Nonlinear classifier, 3 nodes959/279/313921/835/921957/677/735
Nonlinear SCM, 3 nodes881/251/239811/743/811849/627/594
Supplied-graph ANM991/626/991995/645/995995/645/995
Linear, 5 nodes879/443/384823/695/823902/416/419
Linear, 10 nodes679/297/289612/495/612697/294/300
Linear, 20 nodes438/177/118358/274/358439/171/115
Loan, four graphs + savings973/973/973970/970/970970/970/970
Loan, four graphs, no savings522/392/352522/392/522525/393/182
Loan, eight graphs + savings968/968/627967/967/967968/968/340
Loan, eight graphs, no savings285/225/1025/25/25505/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.

SettingSingle DAGAlgorithm 1Algorithm 2
Linear, 3 nodes945/557/433906/896/883925/882/681
Nonlinear classifier, 3 nodes947/561/437903/897/879933/897/674
Nonlinear SCM, 3 nodes865/451/283792/774/758822/770/493
Supplied-graph ANM910/909/890893/888/866893/888/866
Linear, 10 nodes683/367/171548/507/433688/349/169
Linear, 20 nodes433/181/55341/251/229436/184/53
Loan, four graphs + savings946/912/873937/925/912937/909/864
Loan, four graphs, no savings240/199/93200/186/149225/191/90
Loan, eight graphs + savings924/907/612922/921/900933/922/442
Loan, eight graphs, no savings143/121/1419/17/15202/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 0.14±0.050.14 \pm0.05 and 0.10±0.030.10 \pm0.03, respectively. On 20-node GP chains, Algorithm 1’s paired cost difference is 0.50±0.270.50 \pm0.27, whereas Algorithm 2’s is −0.01±0.02-0.01 \pm0.02. 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 ±\pm sample SD across seeds with common returns; nn is the pooled number of jointly served instances. Negative values favor the primary algorithm. OLS uses weighted L1L_1 cost; GP uses Euclidean cost. Costs are not compared across these panels.

PanelSettingA1 − singlennA2 − singlenn
OLSSupplied-graph ANM0.00±0.000.00 \pm0.009890.00±0.000.00 \pm0.00989
OLSLinear, 10 nodes1.88±1.731.88 \pm1.736020.06±0.370.06 \pm0.37664
OLSLinear, 20 nodes1.81±1.641.81 \pm1.643580.02±0.210.02 \pm0.21434
OLSLinear, 3 nodes2.05±0.382.05 \pm0.389151.74±0.431.74 \pm0.43930
OLSLinear, 5 nodes1.83±1.771.83 \pm1.778090.06±0.440.06 \pm0.44863
OLS8 graphs, no savings0.17±0.140.17 \pm0.14250.00±0.040.00 \pm0.04276
OLS8 graphs + savings0.00±0.000.00 \pm0.009600.00±0.000.00 \pm0.00961
OLS4 graphs, no savings0.00±0.000.00 \pm0.005220.00±0.000.00 \pm0.00522
OLS4 graphs + savings0.00±0.000.00 \pm0.009630.00±0.000.00 \pm0.00963
OLSNonlinear classifier1.90±0.291.90 \pm0.299121.61±0.341.61 \pm0.34941
OLSNonlinear SCM2.09±0.312.09 \pm0.318041.89±0.381.89 \pm0.38829
GPSupplied-graph ANM−0.01±0.03-0.01 \pm0.03868−0.01±0.03-0.01 \pm0.03868
GPLinear, 10 nodes0.58±0.540.58 \pm0.54546−0.03±0.05-0.03 \pm0.05655
GPLinear, 20 nodes0.50±0.270.50 \pm0.27339−0.01±0.02-0.01 \pm0.02428
GPLinear, 3 nodes0.14±0.050.14 \pm0.058920.10±0.030.10 \pm0.03905
GP8 graphs, no savings0.07±0.080.07 \pm0.0819−0.01±0.61-0.01 \pm0.61120
GP8 graphs + savings0.36±0.430.36 \pm0.43903−0.15±0.24-0.15 \pm0.24911
GP4 graphs, no savings0.17±0.160.17 \pm0.16199−0.08±0.29-0.08 \pm0.29219
GP4 graphs + savings0.13±0.250.13 \pm0.259270.06±0.200.06 \pm0.20927
GPNonlinear classifier0.15±0.050.15 \pm0.058910.11±0.020.11 \pm0.02913
GPNonlinear SCM0.20±0.070.20 \pm0.077850.15±0.030.15 \pm0.03805

Table 16.

Optimization gaps on population controls

We reuse the saved linear population-model controls, with supplied mechanisms, weighted L1L_1 costs, and 2,000 search updates. For each returned action a^\hat{a}, the absolute gap is cost⁡F(a^)−c⋆\operatorname{cost}^{\mathrm{F}}(\hat{a}) - c^{\star} and the relative gap is (cost⁡F(a^)−c⋆)/c⋆(\operatorname{cost}^{\mathrm{F}}(\hat{a}) - c^{\star})/c^{\star}. 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 10−810^{-8}. 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 L1L_1 units.

AlgorithmNodesEvaluatedInfeasibleFeasible missedMedian gap (%)Mean abs. gap
131000503319.70.722
1510001244212.90.619
1101000421186.40.849
120100063703.60.637
231000333121.50.772
251000773310.20.573
2101000347356.70.883
220100055303.90.773

Table 17.

SettingAlgorithm 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 nodes2.96±0.092.96 \pm0.090.03±0.000.03 \pm0.002.80±0.142.80 \pm0.140.03±0.000.03 \pm0.00
Linear regression, 10 nodes4.32±0.354.32 \pm0.350.04±0.000.04 \pm0.004.24±0.324.24 \pm0.320.04±0.000.04 \pm0.00
Linear regression, 20 nodes7.70±0.427.70 \pm0.420.08±0.000.08 \pm0.007.86±0.417.86 \pm0.410.08±0.000.08 \pm0.00
GP posterior, 3 nodes117.04±1.09117.04 \pm1.091.17±0.011.17 \pm0.01116.52±1.23116.52 \pm1.231.17±0.011.17 \pm0.01
GP posterior, 10 nodes206.37±32.86206.37 \pm32.862.06±0.332.06 \pm0.33205.28±33.34205.28 \pm33.342.05±0.332.05 \pm0.33
GP posterior, 20 nodes403.11±20.29403.11 \pm20.294.03±0.204.03 \pm0.20403.20±19.82403.20 \pm19.824.03±0.204.03 \pm0.20
Loan GP, Option 1 / savings67.84±3.6367.84 \pm3.630.68±0.040.68 \pm0.0467.30±3.6167.30 \pm3.610.67±0.040.67 \pm0.04
Loan GP, Option 1 / no savings64.62±3.5464.62 \pm3.540.65±0.040.65 \pm0.0463.99±3.4263.99 \pm3.420.64±0.030.64 \pm0.03
Loan GP, Option 2 / savings142.65±7.67142.65 \pm7.671.43±0.081.43 \pm0.08142.04±7.57142.04 \pm7.571.42±0.081.42 \pm0.08
Loan GP, Option 2 / no savings104.61±5.93104.61 \pm5.931.05±0.061.05 \pm0.06104.49±6.17104.49 \pm6.171.04±0.061.04 \pm0.06

Table 18. Recorded runtime in seconds: seed mean ±\pm 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

Δ^M=hˉM−2s^M−0.5,s^M2=1M−1∑m=1M(h(m)−hˉM)2.\widehat{\Delta}_M = \bar{h}_M - 2\widehat{s}_M - 0.5,\qquad\widehat{s}_M^2 = \frac{1}{M-1}\sum_{m=1}^{M}\left(h^{(m)}-\bar{h}_M\right)^2.

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 τ∈{0.5,0.7,0.8,0.9,0.93}\tau\in\{0.5, 0.7, 0.8, 0.9, 0.93\}. Required graph weight remains 1−ε=0.81-\varepsilon=0.8, and β\beta 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.

τ\tauAlgorithm 1 ReturnedAlgorithm 1 New-sample validity passed/returned (%)Algorithm 1 True/ret.Algorithm 2 ReturnedAlgorithm 2 New-sample validity passed/returned (%)Algorithm 2 True/ret.
0.568/9063/68 (92.6%)67/6874/9066/74 (89.2%)61/74
0.768/9064/68 (94.1%)67/6875/9073/75 (97.3%)65/75
0.868/9064/68 (94.1%)67/6875/9073/75 (97.3%)67/75
0.968/9064/68 (94.1%)67/6875/9073/75 (97.3%)67/75
0.9368/9064/68 (94.1%)67/6875/9073/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 τ=0.5\tau= 0.5 to 67 at τ=0.9\tau= 0.9. 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 π\pi, ε=0\varepsilon= 0, and all graphs used at every step; its threshold τ\tau corresponds to τ+log⁡∣G∣/β\tau+ \log|\mathcal{G}|/\beta here, since uniform weights shift V~β\widetilde{V}_{\beta} by a constant. Algorithm 2 is recovered with β→0\beta\to0, where the weighted soft minimum becomes the weighted mean V^π\widehat{V}_{\pi}.

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 β\beta, 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 xFx^{\mathrm{F}}; classifier hh; GP-SCMs {MG}G∈G\{\mathcal{M}_{\mathcal{G}}\}_{\mathcal{G}\in\mathbb{G}}; graph weights π\pi; permitted failure weight ε\varepsilon; target sets I\mathcal{I}; feasible values ΘI\Theta_{\mathcal{I}}; cost cost⁡F\operatorname{cost}^{\mathrm{F}}; graphs per step KK (or “all”); parameters η\eta, λ\lambda, κ\kappa, β\beta, τ\tau, γLCB\gamma_{\mathrm{LCB}}, TT, MM, M′M'.

Output: An action a∗a^*, or “no action found”.

Set a∗a^* to empty and its cost to +∞+\infty;

foreach I∈I\mathcal{I} \in\mathcal{I} and initialization θ∈ΘI\theta\in\Theta_{\mathcal{I}} do

&nbsp;&nbsp;for t=0,…,Tt=0,\ldots,T do

&nbsp;&nbsp;&nbsp;&nbsp;Form a=do⁡(XI=θ)a=\operatorname{do}(X_{\mathcal{I}}=\theta) and compute Δ^M′(a;G)\widehat{\Delta}_{M'}(a;\mathcal{G}) on fresh samples for every G∈G\mathcal{G}\in\mathbb{G};

&nbsp;&nbsp;&nbsp;&nbsp;if R^π(a)≥1−ε\widehat{R}_{\pi}(a)\ge1-\varepsilon then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Keep aa if its cost is lower than that of a∗a^*;

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;if t<Tt<T then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if K=K= “all” then

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use every Gk∈G\mathcal{G}_k\in\mathbb{G} with weight wk=πGkw_k=\pi_{\mathcal{G}_k};

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draw G1,…,GK∼π\mathcal{G}_1,\ldots,\mathcal{G}_K\sim\pi independently, each with weight wk=1/Kw_k=1/K;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute one Δ^M\widehat{\Delta}_M and VG,κV_{\mathcal{G},\kappa} per distinct evaluated graph, reusing the estimates for repeated indices;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute V~β,π(a)=−1βlog⁡∑kwkexp⁡(−βVGk,κ(a))\widetilde{V}_{\beta,\pi}(a)=-\frac{1}{\beta}\log\sum_k w_k\exp\left(-\beta V_{\mathcal{G}_k,\kappa}(a)\right), or ∑kwkVGk,κ(a)\sum_k w_kV_{\mathcal{G}_k,\kappa}(a) if β=0\beta=0;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compute L(θ)=cost⁡F(a)+λ[τ−V~β,π(a)]+\mathcal{L}(\theta)=\operatorname{cost}^{\mathrm{F}}(a)+\lambda\left[\tau-\widetilde{V}_{\beta,\pi}(a)\right]_+;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update θ←ΠΘI(θ−η∇θL)\theta\leftarrow\Pi_{\Theta_{\mathcal{I}}}(\theta-\eta\nabla_\theta\mathcal{L});

&nbsp;&nbsp;&nbsp;&nbsp;end

&nbsp;&nbsp;end

end

Return a∗a^* 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. [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. [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. [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
  4. [4]Solon Barocas, Andrew D. Selbst, and Manish Raghavan. The hidden assumptions behind counterfactual explanations and principal reasons. In Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency (FAT* ’20), pages 80–89. ACM, 2020. doi: 10.1145/3351095.3372830.DOI
  5. [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. [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

Paper details

vlnc:W_dtr9bv7p
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents