Robust Recourse under Causal Graph Ambiguity
Organizations: David R. Cheriton School of Computer Science, University of Waterloo, Canada · Department of Electrical and Computer Engineering, University of Waterloo, Canada · Department of Applied Mathematics, University of Waterloo, Canada · Vector Institute for Artificial Intelligence, Toronto, Canada
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.
Figures & tables
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Objective | Robust to | Causal | Structural equations | Causal graph |
|---|---|---|---|---|---|
| Ours | Recourse | Causal graph and structural equations | ✓ | GP-SCM fitted to each DAG | Supplied DAG family; main setting uses a CPDAG’s MEC |
| Valério et al. (2026) | Counterfactual fairness | Causal graph | ✓ | Linear SCM fitted to each DAG | DAGs from bootstrapped causal discovery |
| Singh et al. (2026) | Interventional fairness | Causal graph | ✓ | Not fitted | Candidate graphs weighted by fit to data |
| Chikahara (2026) | Interventional fairness | Causal graph | ✓ | Not fitted | Coarser graph over clusters of variables |
| Karimi et al. (2020b) | Recourse | Structural equations | ✓ | GP-SCM fitted to the DAG | Known DAG |
| Weilbach et al. (2024) | Recourse | Counterfactual ambiguity (equations and noise) | ✓ | Bayesian warped GP | Known DAG |
| Setting | OLS | GP posterior | Population controls |
|---|---|---|---|
| Mechanism training observations | 128 | 128 | Supplied mechanisms |
| Step size | 0.001 | 0.001 | 0.001 |
| Penalty | 200 | 200 | 200 |
| Smooth target | 0.9 | 0.9 | 0.9 |
| Updates | 500 | 100 | 2,000 |
| Action initializations | Zero shift, midpoint, and random | ||
| Models | Algorithm 1 | Alg. 2: 60% | 80% | 90% |
|---|---|---|---|---|
| 15 | 100 | 100 | 100 | 100 |
| 16 | 95 | 100 | 100 | 100 |
| 17 | 66 | 100 | 100 | 95 |
| 18 | 38 | 100 | 100 | 66 |
| 19 | 9 | 100 | 95 | 38 |
| 20 | 0 | 100 | 95 | 38 |
| Algorithm 1 | Algorithm 2 | |||||
|---|---|---|---|---|---|---|
| Setting | Coverage (%) | True validity (%) | Cost | Coverage (%) | True validity (%) | Cost |
| Linear, 3 nodes | 91.7\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 4.91\,{\color[rgb]{0.6,0.6,0.6}\pm 0.35} | 93.6\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 84.4\,{\color[rgb]{0.6,0.6,0.6}\pm 7.8} | 4.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.29} |
| Nonlinear classifier | 95.6\,{\color[rgb]{0.6,0.6,0.6}\pm 1.8} | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 4.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.19} | 97.8\,{\color[rgb]{0.6,0.6,0.6}\pm 2.3} | 80.4\,{\color[rgb]{0.6,0.6,0.6}\pm 3.7} | 4.52\,{\color[rgb]{0.6,0.6,0.6}\pm 0.22} |
| Nonlinear SCM | 85.4\,{\color[rgb]{0.6,0.6,0.6}\pm 4.6} | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 4.68\,{\color[rgb]{0.6,0.6,0.6}\pm 0.27} | 88.4\,{\color[rgb]{0.6,0.6,0.6}\pm 4.0} | 75.3\,{\color[rgb]{0.6,0.6,0.6}\pm 5.6} | 4.76\,{\color[rgb]{0.6,0.6,0.6}\pm 0.34} |
| Linear, 5 nodes | 83.4\,{\color[rgb]{0.6,0.6,0.6}\pm 12.3} | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 3.93\,{\color[rgb]{0.6,0.6,0.6}\pm 1.57} | 89.0\,{\color[rgb]{0.6,0.6,0.6}\pm 5.3} | 45.5\,{\color[rgb]{0.6,0.6,0.6}\pm 40.0} | 3.11\,{\color[rgb]{0.6,0.6,0.6}\pm 0.88} |
| Linear, 10 nodes | 56.1\,{\color[rgb]{0.6,0.6,0.6}\pm 14.5} | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 5.68\,{\color[rgb]{0.6,0.6,0.6}\pm 1.20} | 61.8\,{\color[rgb]{0.6,0.6,0.6}\pm 12.1} | 36.5\,{\color[rgb]{0.6,0.6,0.6}\pm 44.9} | 5.15\,{\color[rgb]{0.6,0.6,0.6}\pm 1.33} |
| Setting | Metric | |||||
|---|---|---|---|---|---|---|
| Linear, 3 nodes | Coverage (%) | 91.7\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 93.6\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 93.6\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 93.6\,{\color[rgb]{0.6,0.6,0.6}\pm 4.3} | 99.3\,{\color[rgb]{0.6,0.6,0.6}\pm 1.1} |
| True validity (%) | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 84.4\,{\color[rgb]{0.6,0.6,0.6}\pm 7.8} | 84.4\,{\color[rgb]{0.6,0.6,0.6}\pm 7.8} | 84.4\,{\color[rgb]{0.6,0.6,0.6}\pm 7.8} | 4.0\,{\color[rgb]{0.6,0.6,0.6}\pm 5.8} | |
| Mean cost | 4.91\,{\color[rgb]{0.6,0.6,0.6}\pm 0.35} | 4.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.29} | 4.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.29} | 4.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.29} | 3.75\,{\color[rgb]{0.6,0.6,0.6}\pm 0.93} | |
| Linear, 5 nodes | Coverage (%) | 83.4\,{\color[rgb]{0.6,0.6,0.6}\pm 12.3} | 89.0\,{\color[rgb]{0.6,0.6,0.6}\pm 5.3} | 87.2\,{\color[rgb]{0.6,0.6,0.6}\pm 8.8} | 87.2\,{\color[rgb]{0.6,0.6,0.6}\pm 8.8} | 94.0\,{\color[rgb]{0.6,0.6,0.6}\pm 5.7} |
| True validity (%) | 100.0\,{\color[rgb]{0.6,0.6,0.6}\pm 0.0} | 45.5\,{\color[rgb]{0.6,0.6,0.6}\pm 40.0} | 47.1\,{\color[rgb]{0.6,0.6,0.6}\pm 38.2} | 47.1\,{\color[rgb]{0.6,0.6,0.6}\pm 38.2} | 32.3\,{\color[rgb]{0.6,0.6,0.6}\pm 46.9} | |
| Mean cost | 3.93\,{\color[rgb]{0.6,0.6,0.6}\pm 1.57} | 3.11\,{\color[rgb]{0.6,0.6,0.6}\pm 0.88} | 3.32\,{\color[rgb]{0.6,0.6,0.6}\pm 1.07} | 3.32\,{\color[rgb]{0.6,0.6,0.6}\pm 1.07} | 3.18\,{\color[rgb]{0.6,0.6,0.6}\pm 0.80} |
| Algorithm 1 | Algorithm 2 | |||||
|---|---|---|---|---|---|---|
| Variant | Returned | Pairs | Paired cost change | Returned | Pairs | Paired cost change |
| Sigmoid, three starts | 122/150 | – | – | 130/150 | – | – |
| Softplus, three starts | 124/150 | 122 | +0.160 | 136/150 | 130 | +0.185 |
| One zero start | 60/150 | 60 | +0.063 | 60/150 | 60 | +0.014 |
| One start, equal updates | 60/150 | 60 | +0.042 | 60/150 | 60 | +0.014 |
| Weights | Returned | True / returned | Missed | |
|---|---|---|---|---|
| Uniform | 0.6 | 215/500 | 123/215 | 0 |
| Uniform | 0.8 | 205/500 | 162/205 | 0 |
| Uniform | 0.9 | 191/500 | 191/191 | 0 |
| Truth favoring | 0.6 | 236/500 | 236/236 | 12 |
| Truth favoring | 0.8 | 236/500 | 236/236 | 12 |
| Truth favoring | 0.9 | 191/500 | 191/191 | 5 |
| Algorithm 1 | Algorithm 2 | |||
|---|---|---|---|---|
| Setting | Returned | True/ returned | Returned | True/ returned |
| Linear regression: Linear, 3 | 920/1000 | 824/920 | 942/1000 | 676/942 |
| Linear regression: Nonlinear classifier | 921/1000 | 835/921 | 957/1000 | 677/957 |
| Linear regression: Nonlinear SCM | 811/1000 | 743/811 | 849/1000 | 627/849 |
| Linear regression: Supplied-graph ANM | 995/1000 | 645/995 | 995/1000 | 645/995 |
| Linear regression: Linear, 5 | 823/1000 | 695/823 | 902/1000 | 416/902 |
| Algorithm 1 | Algorithm 2 | |||||
| Returned | True/ret. | New-sample validity passed/returned (%) | Returned | True/ret. | New-sample validity passed/returned (%) | |
| Option 1 (four-DAG MEC); direct savings allowed | ||||||
| 0.5 | 937/1000 | 925/937 | 912/937 | 937/1000 | 909/937 | 890/937 |
| 0.6 | 937/1000 | 925/937 | 912/937 | 937/1000 | 921/937 | 901/937 |
| 0.8 | 937/1000 | 925/937 | 912/937 | 937/1000 | 925/937 | 913/937 |
| 0.9 | 937/1000 | 925/937 | 912/937 | 937/1000 | 925/937 | 913/937 |
| Setting | Jointly served | Algorithm 1 paired cost | Algorithm 2 paired cost | Difference A2 minus A1 |
|---|---|---|---|---|
| Linear regression: Linear, 3 nodes | 920 | 4.96\,{\color[rgb]{0.6,0.6,0.6}\pm 0.40} | 4.62\,{\color[rgb]{0.6,0.6,0.6}\pm 0.40} | -0.34\,{\color[rgb]{0.6,0.6,0.6}\pm 0.10} |
| Linear regression: Nonlinear classifier | 921 | 4.99\,{\color[rgb]{0.6,0.6,0.6}\pm 0.48} | 4.64\,{\color[rgb]{0.6,0.6,0.6}\pm 0.48} | -0.35\,{\color[rgb]{0.6,0.6,0.6}\pm 0.08} |
| Linear regression: Nonlinear SCM | 811 | 5.15\,{\color[rgb]{0.6,0.6,0.6}\pm 0.45} | 4.88\,{\color[rgb]{0.6,0.6,0.6}\pm 0.46} | -0.27\,{\color[rgb]{0.6,0.6,0.6}\pm 0.16} |
| Linear regression: Supplied-graph ANM | 995 | 0.19\,{\color[rgb]{0.6,0.6,0.6}\pm 0.01} | 0.19\,{\color[rgb]{0.6,0.6,0.6}\pm 0.01} | 0.00\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} |
| Linear regression: Linear, 5 nodes | 823 | 4.77\,{\color[rgb]{0.6,0.6,0.6}\pm 1.84} | 2.85\,{\color[rgb]{0.6,0.6,0.6}\pm 0.92} | -1.92\,{\color[rgb]{0.6,0.6,0.6}\pm 2.26} |
| Linear regression: Linear, 10 nodes | 612 | 5.37\,{\color[rgb]{0.6,0.6,0.6}\pm 1.39} | 3.43\,{\color[rgb]{0.6,0.6,0.6}\pm 1.41} | -1.94\,{\color[rgb]{0.6,0.6,0.6}\pm 2.13} |
| Setting | Single DAG | Algorithm 1 | Algorithm 2 |
|---|---|---|---|
| Linear, 3 nodes | 963/282/314 | 920/824/920 | 942/676/735 |
| Nonlinear classifier, 3 nodes | 959/279/313 | 921/835/921 | 957/677/735 |
| Nonlinear SCM, 3 nodes | 881/251/239 | 811/743/811 | 849/627/594 |
| Supplied-graph ANM | 991/626/991 | 995/645/995 | 995/645/995 |
| Linear, 5 nodes | 879/443/384 | 823/695/823 | 902/416/419 |
| Linear, 10 nodes | 679/297/289 | 612/495/612 | 697/294/300 |
| Setting | Single DAG | Algorithm 1 | Algorithm 2 |
|---|---|---|---|
| Linear, 3 nodes | 945/557/433 | 906/896/883 | 925/882/681 |
| Nonlinear classifier, 3 nodes | 947/561/437 | 903/897/879 | 933/897/674 |
| Nonlinear SCM, 3 nodes | 865/451/283 | 792/774/758 | 822/770/493 |
| Supplied-graph ANM | 910/909/890 | 893/888/866 | 893/888/866 |
| Linear, 10 nodes | 683/367/171 | 548/507/433 | 688/349/169 |
| Linear, 20 nodes | 433/181/55 | 341/251/229 | 436/184/53 |
| Panel | Setting | A1 single | A2 single | ||
|---|---|---|---|---|---|
| OLS | Supplied-graph ANM | 0.00\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} | 989 | 0.00\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} | 989 |
| OLS | Linear, 10 nodes | 1.88\,{\color[rgb]{0.6,0.6,0.6}\pm 1.73} | 602 | 0.06\,{\color[rgb]{0.6,0.6,0.6}\pm 0.37} | 664 |
| OLS | Linear, 20 nodes | 1.81\,{\color[rgb]{0.6,0.6,0.6}\pm 1.64} | 358 | 0.02\,{\color[rgb]{0.6,0.6,0.6}\pm 0.21} | 434 |
| OLS | Linear, 3 nodes | 2.05\,{\color[rgb]{0.6,0.6,0.6}\pm 0.38} | 915 | 1.74\,{\color[rgb]{0.6,0.6,0.6}\pm 0.43} | 930 |
| OLS | Linear, 5 nodes | 1.83\,{\color[rgb]{0.6,0.6,0.6}\pm 1.77} | 809 | 0.06\,{\color[rgb]{0.6,0.6,0.6}\pm 0.44} | 863 |
| OLS | 8 graphs, no savings | 0.17\,{\color[rgb]{0.6,0.6,0.6}\pm 0.14} | 25 | 0.00\,{\color[rgb]{0.6,0.6,0.6}\pm 0.04} | 276 |
| Algorithm | Nodes | Evaluated | Infeasible | Feasible missed | Median gap (%) | Mean abs. gap |
|---|---|---|---|---|---|---|
| 1 | 3 | 1000 | 50 | 33 | 19.7 | 0.722 |
| 1 | 5 | 1000 | 124 | 42 | 12.9 | 0.619 |
| 1 | 10 | 1000 | 421 | 18 | 6.4 | 0.849 |
| 1 | 20 | 1000 | 637 | 0 | 3.6 | 0.637 |
| 2 | 3 | 1000 | 33 | 31 | 21.5 | 0.772 |
| 2 | 5 | 1000 | 77 | 33 | 10.2 | 0.573 |
| Algorithm 1 | Algorithm 2 | |||
|---|---|---|---|---|
| Setting | 100-instance total (s) | Amortized per instance (s) | 100-instance total (s) | Amortized per instance (s) |
| Linear regression, 3 nodes | 2.96\,{\color[rgb]{0.6,0.6,0.6}\pm 0.09} | 0.03\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} | 2.80\,{\color[rgb]{0.6,0.6,0.6}\pm 0.14} | 0.03\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} |
| Linear regression, 10 nodes | 4.32\,{\color[rgb]{0.6,0.6,0.6}\pm 0.35} | 0.04\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} | 4.24\,{\color[rgb]{0.6,0.6,0.6}\pm 0.32} | 0.04\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} |
| Linear regression, 20 nodes | 7.70\,{\color[rgb]{0.6,0.6,0.6}\pm 0.42} | 0.08\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} | 7.86\,{\color[rgb]{0.6,0.6,0.6}\pm 0.41} | 0.08\,{\color[rgb]{0.6,0.6,0.6}\pm 0.00} |
| GP posterior, 3 nodes | 117.04\,{\color[rgb]{0.6,0.6,0.6}\pm 1.09} | 1.17\,{\color[rgb]{0.6,0.6,0.6}\pm 0.01} | 116.52\,{\color[rgb]{0.6,0.6,0.6}\pm 1.23} | 1.17\,{\color[rgb]{0.6,0.6,0.6}\pm 0.01} |
| GP posterior, 10 nodes | 206.37\,{\color[rgb]{0.6,0.6,0.6}\pm 32.86} | 2.06\,{\color[rgb]{0.6,0.6,0.6}\pm 0.33} | 205.28\,{\color[rgb]{0.6,0.6,0.6}\pm 33.34} | 2.05\,{\color[rgb]{0.6,0.6,0.6}\pm 0.33} |
| Algorithm 1 | Algorithm 2 | |||||
|---|---|---|---|---|---|---|
| Returned | New-sample validity passed/returned (%) | True/ret. | Returned | New-sample validity passed/returned (%) | True/ret. | |
| 0.5 | 68/90 | 63/68 (92.6%) | 67/68 | 74/90 | 66/74 (89.2%) | 61/74 |
| 0.7 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 65/75 |
| 0.8 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
| 0.9 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
| 0.93 | 68/90 | 64/68 (94.1%) | 67/68 | 75/90 | 73/75 (97.3%) | 67/75 |
Algorithmic Recourse
Algorithmic recourse studies actionable changes that can help people obtain favorable outcomes from automated decisions.
See all 32 papers