Policy Regularized Distributionally Robust Markov Decision Processes with Linear Function Approximation

Jingwen Gu, Yiting He, Zhishuai Liu, Pan XuarXiv 2025 · DOI

Introduction

Reinforcement Learning (RL) has demonstrated remarkable success in simulated environments, yet transitioning these policies to real-world applications remains a significant challenge. This "sim-to-real gap" is primarily driven by distribution shifts—discrepancies between the transition dynamics of the training simulator (source domain) and the actual physical environment (target domain). While Robust Markov Decision Processes (RMDPs) offer a framework to mitigate these shifts by optimizing for worst-case scenarios, existing methods often struggle with high-dimensional state-action spaces and typically converge to deterministic policies, which may be undesirable for safety or exploration.

This paper introduces DR-RPO (Distributionally Robust Regularized Policy Optimization), the first provably efficient online policy optimization algorithm for robust MDPs utilizing linear function approximation. By integrating policy regularization with distributionally robust constraints, DR-RPO enables the learning of stochastic, robust policies that generalize effectively across varying environments with sublinear regret.

The Challenge: Scalability and Stochasticity in Robust RL

Standard RMDPs aim to find a policy that performs well under the most adversarial transition dynamics within a predefined uncertainty set. However, two major hurdles persist in the current literature:

  1. Scalability: Most robust RL methods are value-based and rely on greedy updates, making them difficult to apply to continuous or high-dimensional action spaces.
  2. Stochasticity: In many real-world scenarios, such as finance or robotics, stochastic policies are preferred for their inherent safety and exploration properties. Standard robust methods often fail to maintain this stochasticity, converging instead to deterministic solutions.

To address these, the authors propose a framework that combines Policy Optimization—the current standard for large-scale RL—with robust control theory, specifically designed for environments where transition kernels and rewards can be approximated linearly.

Methodology: The DR-RPO Algorithm

The core of the proposed approach is the Policy-Regularized $d$-rectangular RMDP. This framework is "doubly constrained," imposing limits on both the transition dynamics (to ensure robustness) and the policy itself (to maintain proximity to a safe reference policy, $\pi^{ref}$).

Key Components

  • Softmax Policy Updates: Unlike greedy methods, DR-RPO employs a softmax update rule. This ensures the resulting policy is stochastic and remains regularized against a reference distribution. The authors prove that the optimal robust policy under this regularization naturally takes a closed-form stochastic shape.
  • Linear Function Approximation: To handle large-scale problems, the algorithm assumes a linear structure for transition kernels and rewards ($d$-rectangular linear MDP). Crucially, the authors demonstrate that even with robust constraints and policy regularization, the robust Q-function remains linear in its features, allowing for efficient estimation via ridge regression.
  • Optimistic Exploration: To facilitate online learning, DR-RPO incorporates an Upper Confidence Bound (UCB) bonus into the robust Q-function estimation. This encourages the agent to explore less-visited regions of the state-action space, which is critical for discovering robust strategies in unknown environments.
  • Dual Formulation: The complexity of the "infimum" in the robust Bellman equation (finding the worst-case transition) is managed through a dual mathematical formulation, transforming a complex optimization into a tractable problem.

Theoretical Guarantees

The authors provide rigorous theoretical backing for DR-RPO, proving an average suboptimality bound of $\tilde{O}(d^2 H^2 / \alpha \sqrt{K})$, where $d$ represents the feature dimension, $H$ the horizon, and $K$ the number of episodes. This result is significant as it matches the regret bounds of the most efficient existing value-based robust algorithms while offering the flexibility and scalability of policy optimization.

Experimental Evaluation

The algorithm was evaluated across two distinct simulated environments to test its resilience against distribution shift:

  1. Simulated Linear MDP: A 5-state environment designed with adversarial transition kernels. This setup tests the agent's ability to handle deceptive distribution shifts where the optimal action in the source domain becomes suboptimal in the target domain.
  2. American Put Option: A continuous state-space financial model where an agent must decide when to exercise an option. Robustness was tested by varying the "price-up" probability between training and deployment.

In both cases, DR-RPO significantly outperformed non-robust baselines such as LSVI-UCB and Optimistic NPG. The experiments also highlighted the role of the transition regularization parameter ($\sigma$); as $\sigma$ decreases (increasing the agent's pessimism about the dynamics), the policy becomes significantly more robust to environmental perturbations.

Limitations and Future Work

While DR-RPO represents a major advancement, several areas for future research remain. The current theory is grounded in linear function approximation; extending these guarantees to general function approximation (e.g., neural networks) is a vital next step. Additionally, the "fail-state" assumption used to simplify the robust optimization may not apply to all domains. Finally, exploring methods to adaptively update the reference policy during training could further enhance performance without compromising theoretical stability.

Conclusion

DR-RPO bridges the gap between robust RL and scalable policy optimization. By providing a framework that is both theoretically sound and empirically robust, this work paves the way for more reliable RL deployments in complex, real-world environments where distribution shift is an inevitability.

Summary updated

BibTeX
@misc{gu2025policy,
  author = {Jingwen Gu and Yiting He and Zhishuai Liu and Pan Xu},
  title = {{Policy Regularized Distributionally Robust Markov Decision Processes with Linear Function Approximation}},
  year = {2025},
  eprint = {2510.14246},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14246},
}
Figure