Distributionally Robust Reinforcement Learning with Interactive Data Collection: Fundamental Hardness and Near-Optimal Algorithm

Miao Lu, Han Zhong, Tong Zhang, Jose H. Blanchet · DOI

Abstract

Distributionally Robust Reinforcement Learning (DRRL) is a promising framework for addressing the sim-to-real gap by training agents to be resilient against environment perturbations. While prior work has established sample complexity bounds for DRRL with generative models or offline datasets, the feasibility of DRRL through direct interaction with the environment remained an open question. This paper identifies a fundamental "Curse of Support Shift" that renders interactive DRRL intractable in the general case. We introduce a "vanishing minimal value" (VMV) assumption to circumvent this hardness and propose OPROVI-TV, the first algorithm for interactive DRRL that achieves near-optimal sample complexity.

Introduction

Reinforcement learning (RL) agents often suffer from performance degradation when deployed in real-world environments that differ from their training simulators—a phenomenon known as the sim-to-real gap. Distributionally Robust RL (DRRL) attempts to mitigate this by training agents to perform well against the worst-case scenario within a set of possible environments (an "uncertainty set") centered around the training model.

While previous research showed this is solvable given a "generative model" (a simulator allowing teleportation to any state) or a perfectly covered offline dataset, this paper investigates a more realistic and challenging setting: interactive data collection. Can we learn a robust policy by simply interacting with the training environment?

The Curse of Support Shift

The authors identify a major roadblock termed the Curse of Support Shift. In interactive settings, if the testing environment can reach states that are physically impossible to reach in the training environment, the learner remains "blind" to those risks. The paper proves a formal hardness result: in the general case, the lower bound for regret is $\Omega(\rho HK)$. This confirms that robust RL via interaction is impossible without extra assumptions, as any algorithm will inevitably incur linear regret, failing to stop making significant mistakes over time.

Overcoming Hardness: The VMV Assumption

To make the problem tractable, the authors introduce the Vanishing Minimal Value (VMV) assumption. This assumes that the minimal value of the optimal robust value function is zero—essentially postulating that there is always a "fail-state" or a path to zero reward that exists across the uncertainty set. This assumption effectively eliminates the support shift issue by ensuring the learner doesn't need to explore "unreachable" parts of the state space to guarantee robustness.

The OPROVI-TV Algorithm

The core contribution is the OPROVI-TV algorithm (Optimistic Robust Value Iteration for TV Robust Set), which specifically targets uncertainty sets defined by Total Variation (TV) distance. It consists of four key components:

  1. Transition Estimation: Building an empirical model of the training environment based on interaction counts.
  2. Optimistic Robust Planning: Maintaining both upper and lower bounds on the robust value function to guide exploration.
  3. Bernstein-style Bonuses: Utilizing a variance-aware bonus system specifically designed to handle the non-linear nature of robust Bellman equations.
  4. Duality-based Representation: Leveraging a new strong duality representation for TV-distance robust sets that doesn't require the testing environment to be "absolutely continuous" relative to the training environment.

Theoretical Results and Comparison

The paper establishes that under the VMV assumption, OPROVI-TV finds an $\epsilon$-optimal robust policy within near-optimal sample complexity. Interestingly, the complexity actually decreases as the robustness radius ($\rho$) increases, as a more punishing worst-case environment effectively shrinks the problem's horizon.

Comparison of sample complexity across different model assumptions and data oracles.

As shown in the table above, OPROVI-TV achieves a sample complexity of $\tilde{O}(\min\{H, \rho^{-1}\} \frac{H^2 SA}{\epsilon^2})$, which matches known lower bounds for generative models. This indicates that the algorithm is near-optimal for interactive data collection under the VMV assumption.

Conclusion

This work provides a rigorous foundation for interactive DRRL, identifying the fundamental "Curse of Support Shift" and providing a near-optimal solution for the tabular setting. While the VMV assumption makes the problem tractable, extending these results to function approximation (e.g., using neural networks for infinite state spaces) remains a significant challenge for future research.

Summary updated

BibTeX
@inproceedings{lu2024distributionally,
  author = {Miao Lu and Han Zhong and Tong Zhang and Jose H. Blanchet},
  title = {{Distributionally Robust Reinforcement Learning with Interactive Data Collection: Fundamental Hardness and Near-Optimal Algorithm}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=aYWtfsf3uP},
}
Figure