Causal Reinforcement Learning: A Survey

Zhihong Deng, Jing Jiang, Guodong Long, Chengqi Zhang

Abstract

Reinforcement learning (RL) is an essential paradigm for solving sequential decision problems under uncertainty. Despite many remarkable achievements, applying RL methods in the real world remains challenging. One of the main obstacles is that RL agents lack a fundamental understanding of the world and must learn from scratch through numerous trial-and-error interactions. They also face challenges in providing explanations for their decisions and generalizing acquired knowledge. Causality offers notable advantages by formalizing knowledge systematically and harnessing invariance for effective knowledge transfer. This has led to the emergence of Causal Reinforcement Learning (CRL), a subfield that seeks to enhance existing algorithms by incorporating causal relationships into the learning process. This survey provides a comprehensive review of the literature, categorizing existing CRL approaches by their ability to enhance sample efficiency, generalizability, knowledge transfer, and explainability.

The Limitations of Traditional Reinforcement Learning

Traditional Reinforcement Learning is incredibly powerful but fundamentally "blind." An agent typically learns through trial-and-error, often requiring millions of interactions to master simple tasks. Because these agents rely on statistical correlations rather than causation, they are prone to several critical failure modes:

  1. Sample Inefficiency: Agents often learn from scratch for every new task, lacking a basic "world model" of physical or logical rules.
  2. Brittleness: A slight change in the environment (e.g., changing a background color) can cause a superhuman agent to fail because it learned a spurious correlation rather than the underlying task logic.
  3. The Black Box Problem: It is difficult to explain why an agent made a specific decision or to ensure that the decision was "fair" or "safe" in a human sense.

Bridging Causality and RL

To address these flaws, researchers are integrating causal inference into sequential decision-making. The survey frames this integration around Pearl’s "Ladder of Causation," moving from simple association (Level 1) to intervention (Level 2) and counterfactual reasoning (Level 3).

Causal reasoning in RL across different domains: robotics (invariance), healthcare (confounding), and autonomous driving (counterfactuals).

Key technical frameworks include Structural Causal Models (SCMs), which represent the world as a set of variables and deterministic functions, and do-calculus, a set of rules used to identify causal effects even when some variables are unobserved (confounders). A standout technique is Counterfactual Data Augmentation, which follows a three-step cycle: Abduction (inferring hidden states), Action (changing a variable), and Prediction (simulating the outcome).

Key Insights in CRL

Independent Causal Mechanisms and Invariance

A core insight is that the world is modular. If an environment change occurs (e.g., changing gravity in a simulation), most other causal rules remain the same. CRL leverages this "invariance" to transfer knowledge between tasks without retraining from scratch. By identifying which parts of the model are invariant across environments, agents become significantly more robust to distribution shifts.

Deconfounding the Agent

In many real-world scenarios, unobserved factors (confounders) influence both the agent's actions and the rewards. For example, in healthcare, a patient's socioeconomic status might influence both the treatment they receive and their recovery speed. CRL uses "backdoor" and "frontdoor" adjustments to "clean" the data, ensuring the agent learns the true effect of its actions rather than being misled by coincidences.

Causal Curiosity and Explainability

Instead of random exploration, agents can be designed with "causal curiosity"—specifically seeking out interactions that resolve uncertainty about the world's causal structure. Furthermore, causal models provide a natural path to explainability. Causal explanations (e.g., "I did X because Y caused Z") are significantly more satisfying and trustworthy to humans than standard saliency maps.

Benchmarks and Results

The survey synthesizes results from dozens of papers, showing that CRL methods consistently outperform standard RL in "Out-of-Distribution" (OOD) tests. In robotics benchmarks like CausalWorld, CRL agents demonstrate superior generalization. In healthcare datasets like MIMIC-III, causal approaches allow for safer offline treatment planning by accounting for unmeasured factors.

Future Directions

Despite its promise, several bottlenecks remain:

  • Causal Discovery: Most current methods require a pre-defined causal graph. Future research must focus on algorithms that can extract these graphs directly from raw sensor data.
  • Computational Complexity: Reasoning about counterfactuals is mathematically intensive. Scaling these methods to high-dimensional environments, such as real-world city traffic, remains a major challenge.
  • Human-in-the-loop: Integrating human causal intuition into the RL training process is a promising but under-explored frontier that could further bridge the gap between machine and human-like reasoning.

Summary updated

BibTeX
@article{deng2023causal,
  author = {Zhihong Deng and Jing Jiang and Guodong Long and Chengqi Zhang},
  title = {{Causal Reinforcement Learning: A Survey}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=qqnttX9LPo},
}
Figure