NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Curious Price of Distributional Robustness in Reinforcement Learning with a Generative Model

Laixi Shi, Gen Li, Yuting Wei, Yuxin Chen, Matthieu Geist, Yuejie Chi · DOI

Introduction

In reinforcement learning (RL), the transition from simulation to the real world is often fraught with failure. This "sim-to-real gap" occurs because simulators are rarely perfect representations of reality. Distributionally Robust Reinforcement Learning (DRRL) has emerged as a promising framework to address this, training agents to perform optimally not just in a single "nominal" environment, but across a set of possible environments—known as the uncertainty set—centered around that model.

A fundamental question has persisted in the field: What is the statistical cost of this robustness? Does requiring an agent to be robust necessitate significantly more data? This paper investigates the minimax-optimal sample complexity of DRRL in the generative model setting, revealing a "curious price" for robustness that depends entirely on the geometry of the uncertainty set.

The Distributionally Robust Framework

The authors consider an infinite-horizon Markov Decision Process (MDP) where the goal is to find a policy that maximizes the worst-case expected discounted return over an uncertainty set $\mathcal{P}$. This set is defined by a distance metric (or divergence) $\mathbb{D}$ and a robustness level $\sigma$ around a nominal transition model $P^0$.

Historically, the sample complexity of DRRL was poorly understood. Previous bounds suggested that learning a robust policy might require data scaling quadratically with the number of states ($S^2$), a significant penalty compared to the linear scaling ($S$) found in standard RL. This work aims to close this gap by providing tight upper and lower bounds for two widely used metrics: Total Variation (TV) distance and $\chi^2$ divergence.

Methodology: Distributionally Robust Value Iteration

The study focuses on a model-based algorithm called Distributionally Robust Value Iteration (DRVI). The algorithm operates in two primary phases:

  1. Model Estimation: The learner queries a generative model (a simulator) to obtain samples for every state-action pair, constructing an empirical estimate of the nominal transition probabilities.
  2. Robust Planning: The learner applies a robust Bellman operator to the empirical model.

To overcome the computational complexity of the robust Bellman update—which involves a constrained optimization over a probability simplex—the authors utilize strong duality. This transforms the problem into a simpler scalar optimization, making the algorithm computationally efficient. To prove the statistical efficiency of DRVI, the authors employ a "leave-one-out" analysis, a technique that decouples the dependencies between the estimated transitions and the value function, allowing them to achieve linear scaling with the state space.

The Curious Price: TV Distance vs. $\chi^2$ Divergence

The paper's most significant contribution is the discovery that robustness does not always carry a "tax." Its impact on sample complexity is highly sensitive to the choice of the uncertainty metric.

The TV Distance "Discount"

Surprisingly, when uncertainty is measured using Total Variation (TV) distance, robust RL can be easier to learn than standard RL. The authors demonstrate that the robust value function under TV distance has a smaller dynamic range and lower variance than its non-robust counterpart. This inherent "smoothing" effect means that the environment becomes easier to characterize with fewer samples. Specifically, when the uncertainty level $\sigma$ is large, the sample complexity is lower than the standard RL benchmark of $\tilde{O}(\frac{SA}{(1-\gamma)^3\epsilon^2})$.

The $\chi^2$ Divergence "Tax"

Conversely, when using $\chi^2$ divergence, robustness becomes more expensive. The $\chi^2$ metric is "heterogeneous," meaning it non-linearly amplifies errors in the transition model, particularly in low-probability transitions. This sensitivity to noise requires a higher volume of data to achieve the same level of confidence, resulting in a sample complexity that is always at least as high as standard RL and scales poorly as the uncertainty level $\sigma$ increases.

Key Results and Minimax Optimality

The authors establish the first matching upper and lower bounds for DRRL in these settings, effectively settling the sample complexity question for tabular MDPs:

  • Linear Scaling: For both TV and $\chi^2$ metrics, the sample complexity scales linearly with the state-action space ($SA$), matching the efficiency of standard RL and improving upon the previous $S^2A$ bounds.
  • Optimal Bounds: The DRVI algorithm is shown to be minimax-optimal, meaning no algorithm can achieve a better sample complexity across the full range of uncertainty levels.

Conclusion and Future Directions

This research clarifies the statistical foundations of robust RL, proving that the "price" of robustness is not a fixed constant but a variable determined by the shape of the uncertainty set. While this work provides a definitive answer for the tabular, generative model setting, several avenues for future research remain. Extending these tight bounds to settings involving function approximation (such as deep RL) and exploring the "price of robustness" in offline RL—where data coverage may be limited—are critical next steps for building truly reliable agents for the real world.

Summary updated

BibTeX
@inproceedings{shi2023curious,
  author = {Laixi Shi and Gen Li and Yuting Wei and Yuxin Chen and Matthieu Geist and Yuejie Chi},
  title = {{The Curious Price of Distributional Robustness in Reinforcement Learning with a Generative Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=cOQH8YO255},
}
Figure