Skip to main content
QUICK REVIEW

[Paper Review] Causally Correct Partial Models for Reinforcement Learning

Danilo Jimenez Rezende, Ivo Danihelka|arXiv (Cornell University)|Feb 7, 2020
Reinforcement Learning in RoboticsComputer Science45 references16 citations
TL;DR

This paper introduces causally correct partial models (CPMs) for reinforcement learning that address the issue of confounding in partial models by incorporating latent backdoor variables, ensuring causally accurate planning without full observation modeling. The method achieves superior policy evaluation and planning performance in stochastic environments by explicitly modeling confounders, outperforming non-causal partial models in both tabular MDPs and 3D environments with minimal computational overhead.

ABSTRACT

In reinforcement learning, we can learn a model of future observations and rewards, and use it to plan the agent's next actions. However, jointly modeling future observations can be computationally expensive or even intractable if the observations are high-dimensional (e.g. images). For this reason, previous works have considered partial models, which model only part of the observation. In this paper, we show that partial models can be causally incorrect: they are confounded by the observations they don't model, and can therefore lead to incorrect planning. To address this, we introduce a general family of partial models that are provably causally correct, yet remain fast because they do not need to fully model future observations.

Motivation & Objective

  • To identify and formalize the causal flaw in existing partial models used in model-based reinforcement learning.
  • To address the problem of confounding in partial models, where unmodeled observations distort causal inference and lead to incorrect planning.
  • To develop a general family of partial models that are provably causally correct while remaining computationally efficient.
  • To empirically validate the proposed CPM framework on simple MDPs, MiniPacman, and 3D environments, demonstrating improved policy evaluation and planning accuracy.

Proposed method

  • Proposes a causal framework where partial models are made causally correct by conditioning on latent backdoor variables that represent unobserved confounders.
  • Introduces a model architecture that learns a conditional distribution $ p(z_t | h_t) $ over latent backdoor variables $ z_t $, where $ h_t $ is the hidden state of an RNN encoder.
  • Uses a mixture of Dirichlet distributions to model $ p(z_t | h_t) $, with concentration parameters parameterized by a deep neural network to capture uncertainty and structure in the backdoor variables.
  • Employs a two-stage training process: first pre-train the model to predict future observations from actions and hidden states, then fine-tune with a causal objective to align model predictions with policy outcomes.
  • Performs rollouts using both forced actions and forced backdoor variables to evaluate model behavior under counterfactual interventions.
  • Uses a conditional generative loss with multiple sampling points per trajectory to improve model robustness and uncertainty estimation.

Experimental results

Research questions

  • RQ1Can partial models in model-based RL be causally incorrect due to unmodeled confounders, even when they are accurate in distributional prediction?
  • RQ2What minimal set of variables must be included in a partial model to ensure causal correctness under policy changes?
  • RQ3Can a partial model be both causally correct and computationally efficient by avoiding full observation modeling?
  • RQ4How does the inclusion of latent backdoor variables improve policy evaluation and planning in stochastic environments?

Key findings

  • In the FuzzyBear and AvoidFuzzyBear MDPs, the non-causal partial model (NCPM) incorrectly evaluates policies as optimal when they choose to visit the forest, even though the optimal policy is to stay home.
  • The causally correct partial model (CPM) correctly identifies staying home as optimal in AvoidFuzzyBear, achieving a constant evaluation of 0.6 for all policies, matching the true maximum expected reward.
  • In MiniPacman, CPM outperforms NCPM in policy evaluation, with a lower mean-squared error in value estimation across 500 randomly generated policies.
  • In 3D environments, CPM maintains diverse and realistic rollouts during early training, avoiding the over-optimism seen in NCPM as the policy becomes more deterministic.
  • The CPM model remains robust to policy changes and avoids spurious correlations by explicitly modeling latent backdoor variables that act as confounders.
  • With non-zero exploration ($\varepsilon$-exploration), CPM avoids overconfidence in rollouts, maintaining accurate uncertainty estimates even in later training phases.

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.