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

Provably Efficient Sample Complexity for Robust CMDP

Sourav Ganguly, Arnob GhosharXiv 2025 · DOI

Introduction

In many real-world Reinforcement Learning (RL) applications, agents must maximize rewards while adhering to strict safety constraints. For instance, a robot must reach a goal without exceeding a battery heat threshold. These scenarios are typically modeled as Constrained Markov Decision Processes (CMDPs). However, a major hurdle exists: policies trained in a simulator often fail when deployed in the real world because the simulator’s physics do not perfectly match reality, a phenomenon known as the sim-to-real gap.

Robust CMDPs (RCMDPs) address this by seeking a policy that performs well under the worst-case dynamics within a defined "uncertainty set" around a nominal model. Despite their theoretical appeal, RCMDPs have historically been difficult to solve efficiently without relying on unrealistic "optimization oracles."

The Challenge: Non-Convexity and Memory

The challenge in solving RCMDPs is twofold. First, unlike standard CMDPs, RCMDPs lack "strong duality," meaning the classic mathematical shortcuts used to solve them (like Lagrangian methods) often fail to converge to global optima. Second, the authors prove that "Markovian" policies—those that only look at the current state—are insufficient for RCMDPs.

A simple MDP illustrating why Markovian policies are insufficient for RCMDPs. Optimal decisions in robust settings often depend on the remaining safety budget.

As shown in the figure above, in a robust setting, the optimal action at a state may depend on how much "safety budget" the agent has left. Because the agent is optimizing for the worst-case transition, its optimal move depends entirely on the safety margin already consumed, necessitating a form of memory.

Proposed Solution: State Augmentation and RCVI

The authors propose a two-pronged solution to these challenges:

  1. State Augmentation: To fix the suboptimality of Markovian policies, they expand the state representation. The agent now tracks both its physical location ($s$) and its remaining utility/safety budget ($c$). This allows the agent to make "budget-aware" decisions without needing complex history-dependent policies.
  2. Robust Constrained Value Iteration (RCVI): They develop a new algorithm that uses a generative model (a simulator) to sample transitions and estimate a nominal model. The algorithm works via backward induction from the final time step, performing Robust Bellman Updates at each step. It calculates the worst-case value for both rewards and constraints across the uncertainty set (handling metrics like Total Variation, Chi-squared, and KL-divergence) and solves a simple per-step linear program to find the best action that satisfies the estimated worst-case safety constraint.

Theoretical and Empirical Results

The paper provides the first-ever finite-time sample complexity guarantees for RCMDPs across multiple types of uncertainty sets. Specifically, they prove that RCMDPs can be solved with a sample complexity of $\tilde{O}(|S||A|H^5/\epsilon^2)$. This is a major theoretical milestone because it matches the best-known rates for unconstrained robust MDPs, proving that adding safety constraints does not necessarily make the learning process exponentially slower.

Empirically, the authors evaluated their approach on benchmarks like Constrained RiverSwim (CRS) and Cost-based Garnet.

Robust cost function over iterations. RCVI (blue/orange) remains within the safe region (blue shaded area) below the baseline, while baselines like RNPG and Robust Crpo start in the unsafe region.

As illustrated in the cost function plot, the RCVI algorithm converged 10x to 15x faster than existing methods like Robust Natural Policy Gradient (RNPG) and CRPO. Crucially, while competing algorithms often started in "unsafe" territory and slowly learned to be safe, RCVI remained within the safety boundaries throughout almost the entire training process.

Conclusion and Future Work

This work introduces the first provably efficient, oracle-free algorithm for RCMDPs. By augmenting the state space with the remaining safety budget, the authors bridge the gap between robust and constrained RL.

While the current framework is highly effective in tabular settings, future work remains. The "curse of dimensionality" inherent in state augmentation means that handling multiple constraints or continuous state spaces will require integrating these techniques with function approximation (such as deep neural networks). Nonetheless, this research provides a solid theoretical foundation for building safe and robust RL agents for real-world deployment.

Summary updated

BibTeX
@misc{ganguly2025provably,
  author = {Sourav Ganguly and Arnob Ghosh},
  title = {{Provably Efficient Sample Complexity for Robust CMDP}},
  year = {2025},
  eprint = {2511.07486},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.07486},
}
Figure