Skip to main content
QUICK REVIEW

[Paper Review] Counterfactual Explanations in Sequential Decision Making Under Uncertainty

Stratis Tsirtsis, Abir De|arXiv (Cornell University)|Jul 6, 2021
Explainable Artificial Intelligence (XAI)Computer Science35 references5 citations
TL;DR

This paper introduces a novel framework for generating counterfactual explanations in sequential decision-making under uncertainty using finite-horizon Markov decision processes and the Gumbel-Max structural causal model. It proposes a polynomial-time dynamic programming algorithm that computes an optimal counterfactual policy, guaranteeing improved outcomes by altering at most $k$ actions in the observed sequence, validated on synthetic and real cognitive behavioral therapy data with clinically meaningful insights.

ABSTRACT

Methods to find counterfactual explanations have predominantly focused on one step decision making processes. In this work, we initiate the development of methods to find counterfactual explanations for decision making processes in which multiple, dependent actions are taken sequentially over time. We start by formally characterizing a sequence of actions and states using finite horizon Markov decision processes and the Gumbel-Max structural causal model. Building upon this characterization, we formally state the problem of finding counterfactual explanations for sequential decision making processes. In our problem formulation, the counterfactual explanation specifies an alternative sequence of actions differing in at most k actions from the observed sequence that could have led the observed process realization to a better outcome. Then, we introduce a polynomial time algorithm based on dynamic programming to build a counterfactual policy that is guaranteed to always provide the optimal counterfactual explanation on every possible realization of the counterfactual environment dynamics. We validate our algorithm using both synthetic and real data from cognitive behavioral therapy and show that the counterfactual explanations our algorithm finds can provide valuable insights to enhance sequential decision making under uncertainty.

Motivation & Objective

  • To address the gap in counterfactual explanations for sequential, multi-step decision processes with dependent actions.
  • To formalize counterfactual explanations as constrained search over action sequences differing in at most $k$ actions from the observed sequence.
  • To develop a scalable, polynomial-time algorithm that guarantees optimal counterfactual outcomes across all realizations of counterfactual dynamics.
  • To validate the method on real-world clinical data, demonstrating actionable and clinically interpretable insights.
  • To provide a causal, intervention-based explanation framework for retrospective analysis of sequential decision outcomes.

Proposed method

  • Formalizes sequential decision-making using finite-horizon Markov decision processes (MDPs) with discrete, low-dimensional state and action spaces.
  • Models transition probabilities using the Gumbel-Max structural causal model to ensure counterfactual stability and reliable outcome estimation.
  • Defines the counterfactual explanation problem as a constrained search over alternative action sequences differing in at most $k$ actions from the observed sequence.
  • Develops a dynamic programming-based algorithm that computes a counterfactual policy guaranteed to yield the optimal outcome for every possible realization of the counterfactual transition dynamics.
  • Employs a policy evaluation mechanism that samples multiple counterfactual realizations to assess outcome improvements and identify key time steps for intervention.
  • Uses algorithmic sampling to identify consistent action changes (e.g., replacing cognitive restructuring with behavioral activation) across counterfactual realizations.

Experimental results

Research questions

  • RQ1Can counterfactual explanations be meaningfully extended to sequential decision-making processes with multiple, dependent actions?
  • RQ2How can counterfactual explanations be formally defined and computed in a way that ensures optimal outcomes under uncertainty?
  • RQ3What is the computational complexity of finding optimal counterfactual action sequences differing in at most $k$ actions from the observed path?
  • RQ4How do counterfactual explanations derived from the proposed method compare to observed outcomes in real-world sequential decision processes?
  • RQ5Which time steps and action changes are most frequently recommended by the optimal counterfactual policy across different realizations?

Key findings

  • For a patient with a worsening depression trajectory, the optimal counterfactual policy with $k=3$ improved the average outcome by 9.5% compared to the observed outcome.
  • In 85% of sampled counterfactual realizations, the outcome exceeded the observed outcome, indicating a high probability of improvement under the suggested action changes.
  • The time steps $t=10$, $t=13$, and $t=16$ were overrepresented in counterfactual explanations, with $t=10$ marking the onset of clinical deterioration.
  • The optimal policy consistently recommended replacing cognitive restructuring techniques (CRT) with behavioral activation (BHA) at the start of the worsening phase, a recommendation deemed clinically sensible by mental health experts.
  • In the best-performing counterfactual realization, the worsening trajectory was largely avoided, demonstrating the potential of the method to prevent negative outcomes.
  • The method identified actionable, interpretable changes in treatment sequences that align with clinical best practices, enhancing trust and utility in real-world applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.