Lune

NeurIPS2023Top-tier venue

Safe Exploration in Reinforcement Learning: A Generalized Formulation and Algorithms

Akifumi Wachi, Wataru Hashimoto, Xun Shen, Kazumune Hashimoto

Abstract

Safe exploration is essential for the practical use of reinforcement learning (RL) in many real-world scenarios. In this paper, we present a generalized safe exploration (GSE) problem as a unified formulation of common safe exploration problems. We then propose a solution of the GSE problem in the form of a meta-algorithm for safe exploration, MASE, which combines an unconstrained RL algorithm with an uncertainty quantifier to guarantee safety in the current episode while properly penalizing unsafe explorations before actual safety violation to discourage them in future episodes. The advantage of MASE is that we can optimize a policy while guaranteeing with a high probability that no safety constraint will be violated under proper assumptions. Specifically, we present two variants of MASE with different constructions of the uncertainty quantifier: one based on generalized linear models with theoretical guarantees of safety and near-optimality, and another that combines a Gaussian process to ensure safety with a deep RL algorithm to maximize the reward. Finally, we demonstrate that our proposed algorithm achieves better performance than state-of-the-art algorithms on grid-world and Safety Gym benchmarks without violating any safety constraints, even during training.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Provable Approach for End-to-End Safe Reinforcement Learning cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • A Provable Approach for End-to-End Safe Reinforcement Learning cites Safe Reinforcement Learning by Imagining the Near Future
  • A Provable Approach for End-to-End Safe Reinforcement Learning cites Safe Reinforcement Learning in Constrained Markov Decision Processes
  • Safe Exploration via Policy Priors cites A Provable Approach for End-to-End Safe Reinforcement Learning
  • Safe Exploration via Policy Priors cites Safe Reinforcement Learning by Imagining the Near Future
  • Safe Exploration via Policy Priors cites Safe Reinforcement Learning in Constrained Markov Decision Processes
  • Safe Reinforcement Learning by Imagining the Near Future cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • Safe Reinforcement Learning by Imagining the Near Future cites Safe Reinforcement Learning via Curriculum Induction
  • Flipping-based Policy for Chance-Constrained Markov Decision Processes cites Safe Reinforcement Learning in Constrained Markov Decision Processes
  • Flipping-based Policy for Chance-Constrained Markov Decision Processes cites Natural Policy Gradient Primal-Dual Method for Constrained Markov Decision Processes
  • Offline Guarded Safe Reinforcement Learning for Medical Treatment Optimization Strategies cites Safe Reinforcement Learning in Constrained Markov Decision Processes
  • Offline Guarded Safe Reinforcement Learning for Medical Treatment Optimization Strategies cites Flipping-based Policy for Chance-Constrained Markov Decision Processes
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. LitmusValues: Will AI Tell Lies to Save Sick Children? Litmus-Testing AI Values Prioritization with AIRiskDilemmasYu Ying Chiu, Zhilin Wang, Sharan Maiya, Yejin Choi et al.ICLR 2026 · 13 citations
  2. Offline Guarded Safe Reinforcement Learning for Medical Treatment Optimization StrategiesRunze Yan, Xun Shen, Akifumi Wachi, Sebastien Gros et al.NeurIPS 2025 · 7 citations
  3. Safe Exploration via Policy PriorsManuel Wendl, Yarden As, Manish Prajapat, Anton Pollak et al.ICLR 2026 · 6 citations
  4. Flipping-based Policy for Chance-Constrained Markov Decision ProcessesXun Shen, Shuo Jiang, Akifumi Wachi, Kazumune Hashimoto et al.NeurIPS 2024 · 5 citations
  5. A Provable Approach for End-to-End Safe Reinforcement LearningAkifumi Wachi, Kohei Miyaguchi, Takumi Tanabe, Rei Sato et al.NeurIPS 2025 · 2 citations

Builds on10

  1. Responsive Safety in Reinforcement Learning by PID Lagrangian MethodsAdam Stooke, Joshua Achiam, Pieter AbbeelICML 2020 · 403 citations
  2. Natural Policy Gradient Primal-Dual Method for Constrained Markov Decision ProcessesDongsheng Ding, Kaiqing Zhang, Tamer Basar, Mihailo R. JovanovicNeurIPS 2020 · 252 citations
  3. Safe Reinforcement Learning in Constrained Markov Decision ProcessesAkifumi Wachi, Yanan SuiICML 2020 · 190 citations
  4. Safe Reinforcement Learning by Imagining the Near FutureGarrett Thomas, Yuping Luo, Tengyu MaNeurIPS 2021 · 118 citations
  5. Safe Reinforcement Learning via Curriculum InductionMatteo Turchetta, Andrey Kolobov, Shital Shah, Andreas Krause et al.NeurIPS 2020 · 109 citations

Related papers

  1. Exploring Safer Behaviors for Deep Reinforcement LearningEnrico Marchesini, Davide Corsi, Alessandro FarinelliAAAI 2022 · 36 citations
  2. Model-based Safe Deep Reinforcement Learning via a Constrained Proximal Policy Optimization AlgorithmAshish Kumar Jayant, Shalabh BhatnagarNeurIPS 2022 · 84 citations
  3. ActSafe: Active Exploration with Safety Constraints for Reinforcement LearningYarden As, Bhavya Sukhija, Lenart Treven, Carmelo Sferrazza et al.ICLR 2025
  4. Iterative Reachability Estimation for Safe Reinforcement LearningMilan Ganai, Zheng Gong, Chenning Yu, Sylvia L. Herbert et al.NeurIPS 2023 · 56 citations
  5. Constrained Update Projection Approach to Safe Policy OptimizationLong Yang, Jiaming Ji, Juntao Dai, Linrui Zhang et al.NeurIPS 2022 · 95 citations
Dusk over the sea between two cliffs drawn in fine vertical lines