Robust Counterfactuals for Markov Decision Processes under Statistical and Causal Uncertainties

cs.AI Jessica Lally, Milad Kazemi, Nicola Paoletti · Oct 14, 2026
Local to this browser
What it does
Counterfactual reasoning in Markov Decision Processes is complicated by two distinct sources of uncertainty: statistical uncertainty in transition probabilities estimated from finite data, and causal uncertainty arising from multiple...
Why it matters
This paper introduces a framework for partial counterfactual inference that addresses both simultaneously by deriving closed-form probability bounds for Interval MDPs and computing minimal robust interventions via pessimistic value...
Main concern
This paper makes a strong theoretical and algorithmic contribution by unifying statistical and causal uncertainty in MDP counterfactual inference for the first time. The derivation of closed-form bounds avoids an otherwise exponential...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Counterfactual reasoning in Markov Decision Processes is complicated by two distinct sources of uncertainty: statistical uncertainty in transition probabilities estimated from finite data, and causal uncertainty arising from multiple compatible structural causal models. This paper introduces a framework for partial counterfactual inference that addresses both simultaneously by deriving closed-form probability bounds for Interval MDPs and computing minimal robust interventions via pessimistic value iteration. The approach is motivated by safety-critical applications like sepsis treatment, where explanations and interventions must remain valid across all plausible models entailed by the data.

Critical review
Verdict
Bottom line

This paper makes a strong theoretical and algorithmic contribution by unifying statistical and causal uncertainty in MDP counterfactual inference for the first time. The derivation of closed-form bounds avoids an otherwise exponential optimization, and the resulting minimal robust intervention framework is both provably sound and empirically scalable. Experiments across GridWorld, Frozen Lake, Sepsis, and Aircraft tasks demonstrate that data-driven bounds converge to exact ones with increasing data and that the resulting policies outperform Gumbel-max baselines under worst-case evaluation.

“closed-form analytical bounds for the counterfactual probabilities that are valid across all SCMs entailed by a given interval MDP (IMDP)”
paper · Section 1
“Our analytical bounds are exact (i.e., tight) in all but one case.”
paper · Section 1
What holds up

The analytical characterization of counterfactual bounds for IMDPs is the central strength. As the authors note, without it, computing robust counterfactual probabilities entails solving an optimization with a number of constraints exponential in the size of the MDP. The confidence propagation result cleanly lifts the IMDP coverage guarantee to the CFIMDP, and the empirical off-policy evaluation confirms unbiased convergence: the data-driven bounds consistently contain the true expected return and tighten toward the exact bounds as $N$ increases.

“Without our analytical characterisation, computing robust counterfactual probabilities becomes prohibitive, as it entails solving an optimisation problem with a number of constraints exponential in the size of the MDP”
paper · Section 1
“The results confirm that our approach is valid and unbiased: the data-driven CFIMDP bounds consistently contain the true expected return, and converge towards the exact bounds as the number N of trajectories increases.”
paper · Section 5.1
Main concerns

The framework assumes a grey-box setting where the MDP topology is known, which limits applicability to truly black-box domains. A more fundamental conservatism arises because the CFIMDP bounds each transition separately, meaning the worst-case is taken over a superset of CFMDPs that may combine probabilities induced by different causal models and are not jointly realizable: as the authors acknowledge, this yields conservative but efficiently computable guarantees. Finally, the conservative closed-form lower bounds in Cases 1 and 3 of Theorem B.7 are not tight, and while experiments suggest the practical impact is small, interventions derived from them may require more action changes than strictly necessary.

“assuming that the MDP's topology is known (the so-called grey-box setting)”
paper · Section 4.1
“Since the CFIMDP bounds each counterfactual transition probability separately, it may also contain CFMDPs that combine probabilities induced by different MDPs or SCMs, and so do not correspond to any single causal model compatible with the IMDP.”
paper · Section 4.3
Evidence and comparison

The evidence generally supports the claims. The off-policy evaluation shows data-driven bounds bracket the true interventional value, and Figure 2 demonstrates that pessimistic values closely track the exact CFIMDP across environments. The comparison to Gumbel-max is revealing: because it commits to a specific causal model, its policies perform substantially worse under adversarial selection from the exact CFIMDP, supporting the argument that causal robustness matters. The comparison between conservative and tight lower bounds further shows that the conservative approach is preferable in practice, affecting at most 4.4% of transitions with negligible width changes.

“In contrast, the Gumbel-max CFIMDP policies perform suboptimally, suggesting that committing to a specific causal model (even when accounting for uncertainty in the transition dynamics) can be unreliable if the assumed model is misspecified.”
paper · Section 5.3
“The overall effect is small: at most 4.4% of all transitions change, and among non-zero probability transitions, at most 21% in GridWorld (p = 0.9) and at most 6% elsewhere, with an average width change of at most 0.06 for the transitions that change.”
paper · Section 5.5
Reproducibility

Reproducibility is moderately strong: the authors provide code at a public GitHub repository and specify hyperparameters including the Clopper-Pearson confidence level with evenly distributed alpha, a minimum probability epsilon, and trajectory counts. The value iteration algorithm is detailed in Appendix E and builds on the Julia IntervalMDP package. However, independent reproduction could be hindered by the grey-box topology assumption, the need for specific simulator details for the Sepsis and Aircraft benchmarks, and the computational cost of tight lower bounds, which require solving nested optimizations and are orders of magnitude slower than the conservative version in larger environments.

“The code is available at: https://github.com/jessicalally/robust-cf-inference-beyond-mdps”
paper · Section 5
“tight lower bounds require solving an additional optimisation problem and are slower to compute, the conservative approach is preferable in practice.”
paper · Section 5.5
Abstract

Counterfactual reasoning (asking what would have happened, had a decision been different) is a powerful tool for identifying causes of failure and explaining the behaviour of AI systems in sequential decision-making tasks. In Markov Decision Processes (MDPs), two sources of uncertainty complicate counterfactual inference: statistical uncertainty in the MDP transitions when the MDP is estimated from trajectory data, and uncertainty about the unknown causal model, as there are multiple structural causal models (SCMs) compatible with each MDP. Existing work addresses these two challenges in isolation. We address both simultaneously by introducing a framework for partial counterfactual inference in MDPs that is robust to both statistical and causal uncertainty. Our approach provides: 1) closed-form analytical bounds for the counterfactual probabilities that are valid across all SCMs entailed by a given interval MDP (IMDP); 2) a method to compute minimal robust interventions to achieve a desired counterfactual outcome via pessimistic value iteration on the induced counterfactual IMDP. Since the latter is constructed using our analytical bounds, our approach remains efficient and scalable to realistic MDP environments. Experiments across multiple case studies demonstrate our method's robustness and practical utility for identifying minimal sets of actions that, if changed, would have led to improved outcomes.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.