Algorithmic Recourse: from Counterfactual Explanations to Interventions

Amir-Hossein Karimi, Bernhard Schölkopf, Isabel Valera

TL;DR

This paper argues that standard "counterfactual explanations" in AI—which tell you how your features should have looked to get a better outcome—are often useless or misleading because they ignore cause and effect. By reframing recourse as a set of minimal causal interventions, the authors provide a way to suggest realistic, lower-effort actions that actually account for how the world works.

What Problem Does This Paper Address?

Imagine you are denied a bank loan. An AI "explains" this by saying: "If your savings were $5,000 higher, you would have been approved." This is a Counterfactual Explanation (CFE).

The problem? It tells you where you need to be, but not how to get there. In the real world, features aren't independent. If you work more hours to increase your savings, your income also goes up. Conversely, if an AI suggests you change your "credit score," it’s suggesting an intervention on a variable you can't change directly—it only changes if you change other things first.

Current methods for "algorithmic recourse" treat features like independent sliders on a mixing board. This paper addresses the gap between these static explanations and the dynamic, causal reality of human life.

Methods

The authors propose a shift from CFE-based recourse to Recourse through Minimal Interventions (MINT).

  1. Causal Modeling: They use Structural Causal Models (SCMs) to represent the world. In an SCM, variables are linked by equations (e.g., $Savings = 0.3 \times Income + Error$).
  2. Actions as Interventions: Instead of searching for the nearest "point" in feature space, they search for the "cheapest" set of interventions (using Pearl’s $do$-calculus).
  3. Abduction-Action-Prediction: To find recourse for a specific person, they:
  4. Abduce: Determine the hidden factors (exogenous variables) that make this individual unique.
  5. Action: Simulate a "structural intervention" (e.g., "increase income by $10k").
  6. Predict: Use the causal model to see how that intervention ripples through the system to change other features (like savings) and the final AI prediction.
  7. Optimization: They solve an optimization problem to find the set of actions that result in a favorable outcome with the lowest "cost" (effort) to the individual.

Datasets

The paper evaluates the approach using:

  • A Synthetic Loan Dataset: A 3-variable model (Salary, Savings, Loan Approval) designed to illustrate how causal links make recourse easier or harder.
  • The German Credit Dataset: A classic real-world benchmark. The authors used a subset of features (Gender, Age, Credit Amount, Duration) and fit linear regression models to estimate the causal relationships between them.

Key Insights and Ideas

  • The "Independent World" Fallacy: Most XAI tools implicitly assume features are independent. The authors prove that CFE-based recommendations only guarantee a correct result if the features have no causal descendants—an assumption that almost never holds in reality.
  • Downstream Benefits: Causal reasoning can actually make recourse easier. If increasing your "Education Level" also causes your "Salary" to increase, a causal model recognizes that one action helps you in two ways. A non-causal model would treat them as two separate, expensive changes.
  • Mutability vs. Actionability: The paper makes a crucial distinction. A feature might be mutable (it can change, like a credit score) but not actionable (you can't change it directly). Recourse should only suggest interventions on actionable variables.
  • Hard vs. Soft Interventions: They expand the framework to include "soft" interventions (e.g., adding to your savings while keeping your existing saving habits) versus "hard" interventions (e.g., a total lifestyle change that breaks old habits).

Key Results

  • Lower Effort: In the synthetic setting, the causal approach (MINT) found paths to loan approval that were 2x less costly than standard CFE methods.
  • Real-World Efficiency: On the German Credit dataset, for individuals denied credit, the MINT approach suggested actions that were 39% to 65% less costly than traditional methods, depending on whether the underlying classifier was a Logistic Regression or a Decision Tree.
  • Reliability: They demonstrated that standard CFEs can suggest "solutions" that, when implemented in a causal world, fail to actually change the AI's decision because they don't account for side effects (like the altitude/temperature example).

Limitations and Future Work

The "elephant in the room" is the requirement of a Causal Model. In practice, knowing the exact causal graph and the equations governing the world is incredibly difficult. The authors acknowledge that an incorrectly specified model could lead to bad advice.

Future directions include: * Developing methods to handle partial or imperfect knowledge of the causal model. * Moving toward multi-stage planning, where one action (getting a degree) enables another (getting a higher-paying job) over time. * Exploring confounded interventions, where one real-world action affects multiple variables simultaneously in complex ways.

Summary updated

BibTeX
@inproceedings{karimi2021algorithmic,
  author = {Amir-Hossein Karimi and Bernhard Schölkopf and Isabel Valera},
  title = {{Algorithmic Recourse: from Counterfactual Explanations to Interventions}},
  booktitle = {FAccT},
  year = {2021},
  doi = {10.1145/3442188.3445899},
}
Figure