Causal Reinforcement Learning using Observational and Interventional Data

Maxime Gasse, Damien Grasset, Guillaume Gaudron, Pierre-Yves Oudeyer
6/28/2021
cs.LG
rl

Official code: causal-rl-anonymous/causal-rl (48 stars, Python, last commit 2022-03-28).

Abstract

Learning efficiently a causal model of the environment is a key challenge of model-based RL agents operating in POMDPs. We consider here a scenario where the learning agent has the ability to collect online experiences through direct interactions with the environment (interventional data), but has also access to a large collection of offline experiences, obtained by observing another agent interacting with the environment (observational data).

Show full abstract

A key ingredient, that makes this situation non-trivial, is that we allow the observed agent to interact with the environment based on hidden information, which is not observed by the learning agent. We then ask the following questions: can the online and offline experiences be safely combined for learning a causal model ? And can we expect the offline experiences to improve the agent's performances ? To answer these questions, we import ideas from the well-established causal framework of do-calculus, and we express model-based reinforcement learning as a causal inference problem. Then, we propose a general yet simple methodology for leveraging offline data during learning. In a nutshell, the method relies on learning a latent-based causal transition model that explains both the interventional and observational regimes, and then using the recovered latent variable to infer the standard POMDP transition model via deconfounding. We prove our method is correct and efficient in the sense that it attains better generalization guarantees due to the offline data (in the asymptotic case), and we illustrate its effectiveness empirically on synthetic toy problems. Our contribution aims at bridging the gap between the fields of reinforcement learning and causality.

View on arXivView PDF

Code Implementations(1)

4812PythonMay 28, 20214 years ago

Similar Papers

Cite this paper

@article{gasse2021causal,
  title  = {Causal Reinforcement Learning using Observational and Interventional Data},
  author = {Maxime Gasse and Damien Grasset and Guillaume Gaudron and Pierre-Yves Oudeyer},
  year   = {2021},
  eprint = {2106.14421},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.14421}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.14421.svg)](https://codeofpaper.com/paper/2106.14421)

Discussion