A Unified Principle of Pessimism for Offline Reinforcement Learning under Model Mismatch

Yue Wang, Zhongchang Sun, Shaofeng Zou

Offline Reinforcement Learning (RL) offers the compelling promise of learning optimal decision-making policies from fixed, pre-recorded datasets without requiring live interaction with an environment. This paradigm is essential for high-stakes domains like healthcare, robotics, and autonomous driving, where trial-and-error learning is either too dangerous or prohibitively expensive. However, deploying offline RL in the real world exposes agents to a "two-headed monster": data sparsity and model mismatch.

The Core Challenge: Double Pessimism

When an agent learns from a finite dataset, it inevitably encounters data sparsity. If specific state-action pairs are rarely visited in the logs, the agent's understanding of the environment's dynamics in those states remains highly uncertain. Compounding this is the issue of model mismatch—the environment where the data was collected (the source) often differs from the environment where the agent is ultimately deployed (the target). For instance, a robot might be trained on data collected on a smooth laboratory floor but deployed on a carpeted surface.

Historically, researchers have tackled these two problems using separate mechanisms. They apply Lower Confidence Bounds (LCB) to penalize actions with sparse data, and Distributionally Robust Optimization (DRO) to safeguard against environment shifts. Unfortunately, this "double pessimism" approach yields complex, computationally heavy algorithms that frequently become overly conservative, paralyzing the agent's decision-making capabilities.

Methodology: A Unified Principle of Pessimism

To overcome the limitations of double pessimism, researchers have proposed a Unified Principle of Pessimism. Instead of deploying two separate mathematical mechanisms, this approach utilizes a single Distributionally Robust Markov Decision Process (DR-MDP).

In a standard DR-MDP, the agent does not assume a single, fixed transition model. Instead, it considers an "uncertainty set" of plausible models and optimizes for the worst-case scenario within that set. The breakthrough in this paper lies in the elegant design of the uncertainty set's radius. The authors define a total radius $R_{total} = R + \kappa$, where:

  • $R$ represents the known model mismatch (the maximum expected divergence between the source and target environments).
  • $\kappa$ acts as a data-dependent penalty term that expands the radius when data is scarce (i.e., when the visitation count $N(s,a)$ is small).

By folding data uncertainty directly into the robustness radius, the authors transform a notoriously complex two-stage optimization problem into a standard, polynomial-time robust value iteration problem.

Key Insights and Theoretical Guarantees

The unified framework was rigorously analyzed across three popular divergence measures used to define uncertainty sets: Total Variation (TV), $\chi^2$ divergence, and Kullback-Leibler (KL) divergence.

  • Efficiency Through Unification: Merging the two forms of pessimism reduces the computational complexity from potentially NP-hard max-min structures to standard robust dynamic programming.
  • Value-Function Construction: For non-metric models like KL or $\chi^2$ divergence, the authors discovered that a "value-function-based" construction is necessary. Unlike standard distribution-based designs, this prevents the agent from becoming overly pessimistic and overly conservative.
  • Theoretical Milestones: The paper establishes the first concrete finite-sample complexity analysis for offline robust RL using the $\chi^2$ divergence model. Furthermore, the theoretical bounds for the TV model improve upon previous robust offline RL results (specifically regarding state-space and horizon dependencies), while the KL divergence results match state-of-the-art sample complexity using a significantly simpler and faster algorithm.

Empirical Validation

The theoretical findings were validated using modified classic RL benchmarks, including Frozen-Lake, Gambler’s Problem, and N-chain environments. Across these tests, the unified DRO-based algorithm consistently required significantly less execution time than traditional LCB-based baselines. Furthermore, experiments confirmed that the value-function-based radius design yields a smaller sub-optimality gap and faster convergence, proving that algorithmic simplicity does not have to come at the cost of performance.

Limitations and Future Directions

While this unified principle marks a significant step forward, the current research is primarily focused on tabular MDPs, where states and actions are discrete and easily enumerated. Real-world applications often feature high-dimensional state spaces (like image inputs) that require function approximation.

Future work will focus on extending this framework to accommodate deep neural networks and linear MDP structures. Additionally, researchers aim to explore how this unified principle can be adapted for robust MDPs with hidden or latent variables, which are ubiquitous in complex, real-world systems.

Summary updated

BibTeX
@inproceedings{wang2024unified,
  author = {Yue Wang and Zhongchang Sun and Shaofeng Zou},
  title = {{A Unified Principle of Pessimism for Offline Reinforcement Learning under Model Mismatch}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=cBY66CKEbq},
}
Figure