Introduction
Standard reinforcement learning (RL) algorithms are designed to maximize cumulative rewards. In safety-critical applications, such as autonomous driving or industrial robotics, this objective must be balanced against strict safety constraints. Most existing research utilizes the Constrained Markov Decision Process (CMDP) framework, which optimizes for safety "in expectation." However, this approach can overlook rare but catastrophic "long-tail" events that do not significantly impact the average cost but are unacceptable in the real world.
This paper introduces a more rigorous framework: the Uniformly Constrained MDP (UCMDP). By enforcing safety across all reachable states rather than just on average, the proposed method ensures robust performance in edge cases. To solve the UCMDP, the authors present Objective Suppression, a mechanism that adaptively prioritizes safety over reward-seeking behavior in high-risk scenarios.
Methodology
Uniformly Constrained MDPs (UCMDP)
The UCMDP framework shifts the focus from global expected costs to state-wise safety. While a standard CMDP might allow an agent to take a 1% risk of a high-speed collision if the rewards elsewhere are high enough, a UCMDP requires the agent to remain within safety bounds at every step. This effectively tightens the safety requirements to account for worst-case scenarios.
Objective Suppression
To optimize the UCMDP, the authors derive a primal-dual approach that avoids the difficulties of tuning global Lagrangian multipliers. Instead, they introduce a state-dependent "suppression" mechanism:
- Safety Critic: A learned component predicts the likelihood of a constraint violation in the current state.
- The Soft Switch: A "temperature-controlled" exponential function acts as a proxy for risk. When the safety critic signals low risk, the agent optimizes for the task reward. As the predicted risk increases, the gradient for the reward objective is suppressed.
- Safety Prioritization: In high-risk states, the reward objective is effectively muted, forcing the optimizer to focus entirely on safety-seeking actions. This "plug-and-play" method can be integrated with existing safe RL architectures, such as Recovery RL.
Experimental Evaluation
The effectiveness of Objective Suppression was tested across three increasingly complex environments:
1. Safe Mujoco-Ant
In a modified 8-DOF "Ant" environment, the agent had to navigate to a target while avoiding obstacles and preventing itself from flipping over. The proposed method reduced collisions by 33% compared to the Recovery RL baseline, with only a marginal 5% reduction in task reward.
2. Safe Bench (CARLA)
Using the CARLA simulator, the authors tested the agent in complex urban driving scenarios involving pedestrians and lane-keeping tasks. Objective Suppression achieved a 50% reduction in constraint violations. Specifically, collisions per episode dropped from 0.24 to 0.078, and out-of-lane events were reduced from 33.35 to 13.04.
3. Real-World Fleet Deployment
The method was validated on thousands of miles of real-world driving data and deployed on a physical autonomous vehicle fleet. The results showed a 38% improvement in harsh braking events (near-miss proxies) and a 2% improvement in overall collision rates, even while increasing the total distance traveled.
Discussion and Insights
The core insight of this work is that uniformity is essential for safety. By moving beyond average performance, agents become robust to the dangerous edge cases that define real-world safety-critical tasks.
Furthermore, Objective Suppression proves more effective than traditional penalty-based methods. Instead of simply subtracting a cost from the reward—which an agent might try to "offset" with high-reward behavior—suppression forces the agent to ignore rewards entirely when safety is at stake. This prevents the agent from "buying" its way into dangerous situations.
Limitations and Future Work
While promising, the method relies on a "temperature" hyperparameter ($\kappa$) that requires manual tuning. Future research could focus on automating this parameter selection. Additionally, while the current work focuses on continuous control, extending these principles to discrete action spaces and providing more rigorous theoretical convergence proofs remain open challenges.
Summary updated