DOPE: Doubly Optimistic and Pessimistic Exploration for Safe Reinforcement Learning

Archana Bura, Aria HasanzadeZonuzy, Dileep Kalathil, Srinivas Shakkottai, Jean-Francois Chamberland
12/1/2021
cs.LGcs.AI
rl

Official code: archanabura/DOPE-DoublyOptimisticPessimisticExploration (1 star, Python, last commit 2025-06-24).

Abstract

Safe reinforcement learning is extremely challenging--not only must the agent explore an unknown environment, it must do so while ensuring no safety constraint violations. We formulate this safe reinforcement learning (RL) problem using the framework of a finite-horizon Constrained Markov Decision Process (CMDP) with an unknown transition probability function, where we model the safety requirements as constraints on the expected cumulative costs that must be satisfied during all episodes of learning.

Show full abstract

We propose a model-based safe RL algorithm that we call Doubly Optimistic and Pessimistic Exploration (DOPE), and show that it achieves an objective regret $\tilde{O}(|\mathcal{S}|\sqrt{|\mathcal{A}| K})$ without violating the safety constraints during learning, where $|\mathcal{S}|$ is the number of states, $|\mathcal{A}|$ is the number of actions, and $K$ is the number of learning episodes. Our key idea is to combine a reward bonus for exploration (optimism) with a conservative constraint (pessimism), in addition to the standard optimistic model-based exploration. DOPE is not only able to improve the objective regret bound, but also shows a significant empirical performance improvement as compared to earlier optimism-pessimism approaches.

View on arXivView PDF

Code Implementations(1)

This is the code for our NeurIPS 2022 paper "DOPE: DOUBLY OPTIMISTIC AND PESSIMISTIC EXPLORATION FOR SAFE REINFORCEMENT LEARNING"

12PythonJul 6, 20221 years ago

Similar Papers

Cite this paper

@article{bura2021dope,
  title  = {DOPE: Doubly Optimistic and Pessimistic Exploration for Safe Reinforcement Learning},
  author = {Archana Bura and Aria HasanzadeZonuzy and Dileep Kalathil and Srinivas Shakkottai and Jean-Francois Chamberland},
  year   = {2021},
  eprint = {2112.00885},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.00885}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.00885.svg)](https://codeofpaper.com/paper/2112.00885)

Discussion