Abstract
Reinforcement learning (RL) in safety-critical domains requires strict adherence to constraints, yet foundational algorithms for safe RL have remained elusive. This paper introduces Feasible Policy Iteration (FPI), a dynamic programming algorithm designed specifically for safe RL. By incorporating a "feasibility function" into a novel Actor-Critic-Scenery (ACS) framework, FPI provides theoretical guarantees for monotonic safety expansion and geometric convergence to an optimal safe policy.
Introduction
Standard RL focuses on reward maximization, often neglecting the hard constraints necessary for autonomous driving or robotics. While unconstrained RL rests on the theoretical foundation of Policy Iteration (PI), safe RL has historically relied on heuristic "hacks" like Lagrange multipliers or complex constrained optimization (e.g., CPO). These methods frequently suffer from slow convergence, training instability, and the "infeasibility issue," where agents fail to find any safe path during early training. FPI addresses these gaps by providing a theoretically principled alternative to standard PI for constrained environments.
The Actor-Critic-Scenery Framework
The core innovation of FPI is the Actor-Critic-Scenery (ACS) framework. Beyond the standard Actor (policy) and Critic (value function), FPI introduces Scenery: a feasibility function ($F^\pi$) that models the long-term safety of a policy.
FPI operates through a three-step iterative process:
- Policy Evaluation (PEV): Computes the state-value function ($V^\pi$).
- Region Identification (RID): Updates the "scenery" to identify the current policy's feasible region—the set of states where safety can be maintained indefinitely.
- Region-wise Policy Improvement (PIM):
- Inside the feasible region: The policy maximizes rewards while ensuring the agent remains within the safe zone.
- Outside the feasible region: The policy minimizes the feasibility function to return the agent to safety as quickly as possible.
Theoretical Guarantees and Insights
FPI is the first safe RL algorithm to offer mathematical properties equivalent to standard PI. Specifically, it guarantees monotonic expansion of the feasible region and geometric convergence to the optimal safe policy.
By treating the feasible region as a learnable "scenery," the algorithm explicitly tracks safe state-space boundaries. This region-wise approach prevents the agent from getting stuck in unsafe regions, a common failure mode in Lagrange-based methods.
Experimental Results
FPI was evaluated across twelve environments, including Grid Worlds, Classic Control (ACC, Lane Keeping), and high-dimensional Robot Navigation (Safety Gym).
- Zero Violations: In low-dimensional tasks, FPI achieved strictly zero constraint violations post-training, outperforming CPO and PPO-Lagrange.
- Performance and Stability: In Safety Gym, FPI-SAC (the practical implementation) surpassed existing methods in both reward accumulation and constraint adherence. Training curves were notably smoother, reflecting the predicted monotonic improvement rather than the oscillations typical of dual-optimization methods.
Conclusion and Future Work
FPI establishes a rigorous theoretical foundation for safe RL. While currently focused on deterministic constraints, future work will extend these guarantees to stochastic environments with probabilistic constraints. Additionally, bridging the gap between theoretical exact updates and neural network-based function approximation remains a key area for further research.
Summary updated