Offline Reinforcement Learning with Instrumental Variables in Confounded Markov Decision Processes

Zuyue Fu, Zhengling Qi, Zhaoran Wang, Zhuoran Yang, Yanxun Xu, Michael R. KosorokarXiv 2022 · DOI

TL;DR

This paper tackles a critical challenge in offline reinforcement learning: learning optimal policies when the data is confounded by unmeasured variables. The authors introduce a novel approach using instrumental variables (IVs) to identify causal effects and then employ pessimism to learn robust policies, achieving theoretical guarantees even with limited data coverage.

What Problem Does This Paper Address?

Offline reinforcement learning (RL) aims to learn optimal policies from pre-collected datasets without further interaction with the environment. This is crucial in domains like healthcare or autonomous driving where online data collection is expensive or unethical. However, offline RL faces two major hurdles:

  1. Unmeasured Confounding: The observed data might be influenced by unobserved variables (confounders) that affect both the actions taken and the resulting outcomes. This makes it difficult to infer the true causal effect of actions, rendering standard offline RL methods ineffective.
  2. Limited Data Coverage: Offline datasets often lack sufficient exploration of all possible states and actions, making it hard to generalize to unseen situations and learn a truly optimal policy.

This paper focuses on addressing the confounding problem in offline RL by leveraging instrumental variables (IVs).

Methods

The core of the paper lies in its innovative use of instrumental variables (IVs) to overcome unmeasured confounding. IVs are variables that influence the outcome (e.g., rewards and state transitions) only through the action, and are independent of the unobserved confounders.

The authors propose a three-pronged approach:

  1. Identification Results: They establish novel value function (VF)-based and marginalized importance sampling (MIS)-based identification results. These methods allow them to estimate the expected total reward in confounded Markov Decision Processes (MDPs) by leveraging the IVs. This is a key step in disentangling the causal effects from confounding.
  2. Pessimistic Policy Learning: To address the challenge of limited data coverage and to ensure robust policy learning, they employ pessimism. This involves constructing conservative estimates of the expected total reward and then selecting policies that perform best under these conservative estimates. They develop pessimistic algorithms based on both VF and MIS identification.
  3. Doubly Robust (DR) Estimator: They also propose a DR estimator that combines the strengths of VF- and MIS-based methods, offering a more robust solution by requiring that assumptions hold for either VF-based or MIS-based identification.

The theoretical contributions include finite-sample suboptimality guarantees for the proposed policies, showing convergence to the optimal in-class policy under mild data coverage and realizability assumptions.

Datasets

The paper does not introduce new datasets. Instead, it uses a simulated dataset inspired by real-world electronic medical records from kidney transplantation patients. This simulation is designed to mimic the dynamics of treatment decisions and patient responses in a clinical setting.

Key Insights and Ideas

  • Instrumental Variables as a Game-Changer for Confounding: The paper demonstrates that IVs can be a powerful tool to identify causal effects in offline RL settings, a problem that has been notoriously difficult to solve.
  • Pessimism for Robustness in Limited Data: Combining IV-based identification with pessimism is crucial for learning reliable policies when data coverage is limited. Pessimism helps to avoid over-optimistic estimates and ensures that the learned policy is robust to potential issues in the data.
  • Theoretical Guarantees Under Mild Assumptions: The paper provides theoretical guarantees for the proposed methods, showing that they can learn near-optimal policies with suboptimality bounds that depend on the sample size and horizon, but crucially, under weaker data coverage assumptions than many prior works.
  • Doubly Robust Approach for Enhanced Reliability: The DR estimator offers a more flexible and robust solution by relaxing the strictness of assumptions required by individual VF- or MIS-based methods.

Key Results

The paper presents theoretical results establishing finite-sample suboptimality bounds for the proposed VF-based, MIS-based, and DR-based pessimistic policy learning algorithms. Specifically, they show that the suboptimality of the learned policies can be bounded by $O(\log(NT)(NT)^{-1/2})$, indicating that the regret converges to zero as the number of trajectories ($N$) or the trajectory length ($T$) increases.

The numerical study, inspired by kidney transplantation data, demonstrates the effectiveness of the proposed methods. The results show that policies learned using IVs (both pessimistic and non-pessimistic) outperform the behavior policy, with the pessimistic IV approach yielding higher and more stable expected total rewards. Notably, methods without IVs struggled to improve upon the behavior policy.

Limitations and Future Work

  • Assumptions: The theoretical guarantees rely on several assumptions, including the existence of valid instrumental variables, memoryless confounders, and finite-log covering numbers for function classes. While these are standard in the literature, their practical applicability might vary.
  • Model Misspecification: The paper considers the case of model misspecification, where some assumptions might be violated. However, further investigation into the robustness of the methods under more general misspecification scenarios could be valuable.
  • Computational Complexity: While the paper proposes dual formulations to improve computational efficiency, the complexity of implementing and scaling these methods in very large-scale problems might still be a challenge.
  • Future Work: The authors suggest exploring extensions to more complex settings, such as partially observable MDPs or non-stationary environments, and investigating the practical performance of their methods on real-world datasets.

Summary updated

BibTeX
@misc{fu2022offline,
  author = {Zuyue Fu and Zhengling Qi and Zhaoran Wang and Zhuoran Yang and Yanxun Xu and Michael R. Kosorok},
  title = {{Offline Reinforcement Learning with Instrumental Variables in Confounded Markov Decision Processes}},
  year = {2022},
  eprint = {2209.08666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.08666},
}
Figure