Near-Optimal Sample Complexity Bounds for Constrained MDPs
Preprint
Abstract
In contrast to the advances in characterizing the sample complexity for solving Markov decision processes (MDPs), the optimal statistical complexity for solving constrained MDPs (CMDPs) remains unknown. We resolve this question by providing minimax upper and lower bounds on the sample complexity for learning near-optimal policies in a discounted CMDP with access to a generative model (simulator). In particular, we design a model-based algorithm that addresses two settings: (i) relaxed feasibility, where small constraint violations are allowed, and (ii) strict feasibility, where the output policy is required to satisfy the constraint. For (i), we prove that our algorithm returns an $\epsilon$-optimal policy with probability $1 - \delta$, by making $\tilde{O}\left(\frac{S A \log(1/\delta)}{(1 - \gamma)^3 \epsilon^2}\right)$ queries to the generative model, thus matching the sample-complexity for unconstrained MDPs. For (ii), we show that the algorithm's sample complexity is upper-bounded by $\tilde{O} \left(\frac{S A \, \log(1/\delta)}{(1 - \gamma)^5 \, \epsilon^2 \zeta^2} \right)$ where $\zeta$ is the problem-dependent Slater constant that characterizes the size of the feasible region. Finally, we prove a matching lower-bound for the strict feasibility setting, thus obtaining the first near minimax optimal bounds for discounted CMDPs. Our results show that learning CMDPs is as easy as MDPs when small constraint violations are allowed, but inherently more difficult when we demand zero constraint violation.
Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative ModelOperations Research, 2024
- Achieving Zero Constraint Violation for Constrained Reinforcement Learning via Primal-Dual ApproachProceedings of the AAAI Conference on Artificial Intelligence, 2022
- TossingBot: Learning to Throw Arbitrary Objects With Residual PhysicsIEEE Transactions on Robotics, 2020
- Randomized Linear Programming Solves the Markov Decision Problem in Nearly Linear (Sometimes Sublinear) TimeMathematics of Operations Research, 2020
- Sim-to-Real: Learning Agile Locomotion For Quadruped Robots2018
- Minimax PAC bounds on the sample complexity of reinforcement learning with a generative modelMachine Learning, 2013
- An Overview on Wireless Sensor Networks Technology and EvolutionSensors, 2009