Pessimism in the Face of Confounders: Provably Efficient Offline Reinforcement Learning in Partially Observable Markov Decision Processes

Miao Lu, Yifei Min, Zhaoran Wang, Zhuoran Yang

TL;DR

This paper introduces P3O, the first provably efficient algorithm for offline reinforcement learning in confounded Partially Observable Markov Decision Processes (POMDPs). By elegantly combining proximal causal inference with the "pessimism principle," P3O enables agents to learn optimal policies from historical data even when unobserved latent states bias both the actions taken and the resulting observations.

What Problem Does This Paper Address?

Most offline reinforcement learning (RL) research assumes a Markov Decision Process (MDP) where the agent has a full view of the environment's state. However, real-world applications like precision medicine or autonomous driving are rarely so simple. They are better modeled as POMDPs, where we only see partial observations (e.g., a patient's symptoms) while the true underlying state (e.g., their exact physiological condition) remains latent.

A major hurdle in these settings is confounding bias. In an offline dataset, the "behavior policy" (the human or system that originally took the actions) might have had access to the latent state. This creates a causal loop: the latent state affects the action, and the latent state also affects the observation and reward. Standard RL algorithms fail here because they can't distinguish whether a good outcome was caused by the action itself or by the hidden conditions under which that action was chosen.

Figure 1: Causal graph of the data generating process for offline learning in POMDP. The dotted nodes indicate that these variables are not stored in the offline dataset. Here Sh is the state of the environment at step h. Besides, Ah, Rh, Oh are the action, immediate reward, and observation at the h-th step, respectively. These variables are stored in the offline dataset and thus are represented by black solid circles. We use the solid arrows to indicate the dependency among the variables. In specific, the action Ah is specified by the behavior policy which is a function of Sh, such dependency is depicted in the blue arrows. Moreover, both the observations and rewards depends on the state Sh and such dependency is depicted in red. We would like to highlight that Sh affects both Ah and Oh and thus serves as an unobserved confounder.

Methods

The authors propose the Proxy variable Pessimistic Policy Optimization (P3O) algorithm. It tackles three challenges simultaneously: confounding bias, distributional shift, and large observation spaces.

  1. Proximal Causal Inference: To handle unobserved confounders, P3O uses "proxy variables"—specifically, past and future observations. It identifies the value of a policy through confounding bridge functions. These functions act as a mathematical "translation layer," allowing the agent to calculate expected rewards using only observable data, effectively bypassing the need to know the latent state.
  2. Minimax Estimation: The bridge functions are estimated by solving a sequence of minimax optimization problems. This approach is highly flexible, allowing the use of general function approximators (like neural networks) to handle complex, high-dimensional observation spaces.
  3. Pessimism Principle: Offline RL suffers from "distributional shift"—the agent might overestimate the value of actions it hasn't seen much in the data. P3O addresses this by constructing pessimistic confidence regions for the bridge functions. It chooses the policy that maximizes the conservative lower bound of the estimated value, ensuring it doesn't get fooled by data scarcity.

Datasets

The paper is primarily a theoretical contribution focused on proving efficiency and convergence rates. As such, it does not evaluate on standard empirical benchmarks like D4RL. Instead, it defines a formal framework for confounded offline datasets generated from POMDPs, where the behavior policy is a function of the latent state $S_h$. The authors provide specific examples of how this applies to reactive, finite-history, and full-history policies.

Key Insights and Ideas

  • Bridging Causal Inference and RL: The "aha moment" is showing that the notoriously difficult problem of learning in POMDPs becomes tractable if you frame it as a proximal causal inference problem. By identifying the right "proxies," you can treat the latent state as a nuisance variable to be integrated out.
  • Minimax Confidence Regions: Unlike typical offline RL that builds confidence regions using least-squares or maximum likelihood, P3O uses the level sets of the minimax loss. This is a novel way to quantify uncertainty for bridge functions in a temporal RL setting.
  • Efficiency with Partial Coverage: A significant theoretical result is that P3O doesn't require the behavior policy to cover every possible scenario (uniform coverage). It only needs the data to cover the optimal policy (partial coverage) to successfully learn, which is a much more realistic assumption for real-world data.

Key Results

The authors provide a rigorous proof that P3O is "provably efficient." * Suboptimality Rate: P3O achieves a suboptimality gap of $\tilde{O}(n^{-1/2})$, where $n$ is the number of trajectories in the dataset. This is considered a "fast statistical rate" in learning theory. * Linear Function Approximation: When using linear models, the suboptimality scales as $\tilde{O}(\sqrt{H^3 d / n})$, where $d$ is the feature dimension and $H$ is the time horizon. * State-of-the-Art Comparison: As shown in the table below, P3O is the first algorithm to simultaneously handle offline data, partial observations, confounded data, and policy optimization.

Comparison of P3O with related works across key RL challenges.

Limitations and Future Work

  • Proxy Requirements: The algorithm assumes the existence of valid "negative control" variables (proxies) that satisfy specific independence conditions. In some complex environments, identifying these proxies might be non-trivial.
  • Computational Cost: Minimax optimization is generally more computationally expensive than standard regression. Scaling P3O to massive datasets with very deep neural networks may require further optimization of the training process.
  • Empirical Testing: While the theoretical foundations are solid, the authors note that applying P3O to large-scale empirical benchmarks and real-world clinical or robotic datasets is a promising next step.

Summary updated

BibTeX
@inproceedings{lu2023pessimism,
  author = {Miao Lu and Yifei Min and Zhaoran Wang and Zhuoran Yang},
  title = {{Pessimism in the Face of Confounders: Provably Efficient Offline Reinforcement Learning in Partially Observable Markov Decision Processes}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=PbkBDQ5_UbV},
}
Figure