Introduction
Reinforcement Learning (RL) typically relies on trial-and-error, which can lead to unsafe behaviors during the learning phase. In high-stakes domains like autonomous driving or medical robotics, even a single failure can be catastrophic. Researchers from Cornell and Microsoft Research have developed SABRE (SAfe Binary-feedback REinforcement learning), a meta-algorithm that guarantees zero safety violations during training while learning from simple binary feedback.
The Challenge of Safe Exploration
Traditional safe RL methods often struggle with three primary issues:
- Training-time violations: Agents often need to experience "unsafe" states to learn where the boundaries are.
- Complex feedback requirements: Many algorithms require precise numeric safety costs, which are difficult for humans to provide.
- High monitoring overhead: Systems often assume constant human oversight or a pre-defined safety function.
SABRE addresses these by treating safety as an active learning problem, utilizing binary (safe/unsafe) labels provided by a human oracle between episodes.
The SABRE Meta-Algorithm
SABRE acts as a wrapper around standard RL algorithms. Its core mechanism relies on disagreement-based active learning.
The algorithm maintains a "version space"—a set of all safety functions consistent with the labels collected so far. When the agent encounters a state-action pair where some functions predict "safe" and others predict "unsafe," it identifies a region of disagreement.
SABRE operates in two loops:
- Inner Loop: The agent explores these uncertain regions using only actions it has already confirmed to be safe. At the end of an episode, it requests labels for visited states to shrink the disagreement region.
- Outer Loop: Once the safety boundaries are sufficiently mapped, the agent optimizes for the primary task reward.
Experimental Results
The researchers tested SABRE in a Block MDP environment designed to simulate complex, high-dimensional observations. The task involved a cleaning robot navigating a path with a "trap"—a high-reward but safety-critical route.
The results highlight several key advantages of the SABRE approach:
- Zero Training Violations: Unlike the baseline PPO agent, which committed thousands of safety violations, SABRE maintained a 0% violation rate throughout training.
- Label Efficiency: SABRE is highly efficient with human intervention, requesting labels for only about 0.2% of encountered state-action pairs.
- Theoretical Guarantees: The authors provide proofs that SABRE's label complexity scales efficiently ($H^2$) relative to the total episodes ($H^4$), ensuring the human oracle is not overburdened.
Conclusion and Future Directions
SABRE represents a significant step toward deploying RL in safety-critical environments. By leveraging binary feedback and active learning, it eliminates the need for training-time violations. Future work will focus on relaxing the "realizability" assumption—where the true safety rule must exist within the agent's model—and reducing the computational overhead associated with solving disagreement regions.
Paper Citation: Bennett, A., Misra, D., & Kallus, N. (2023). Provable Safe Reinforcement Learning with Binary Feedback. Proceedings of the 26th International Conference on Artificial Intelligence and Statistics (AISTATS).
Summary updated