Barrier Function Overrides For Non-Convex Fixed Wing Flight Control and Self-Driving Cars
Eric Squires, Phillip Odom, Zsolt Kira
TL;DR
This work tackles safety in reinforcement learning for safety-critical systems with non-convex control and discrete-time dynamics by developing discrete-time exponential control barrier functions (DT-ECBFs) for three challenging settings: fixed-wing waypoint following, a discrete-time double-integrator, and lane merging with adaptive cruise control. The authors introduce practical barrier-function overrides (BF Lag, BF Line, BF Single) and compare them against strong safe-RL baselines, showing that approximate barrier overrides can achieve zero safety violations while attaining competitive or superior performance. Experiments across two RL environments demonstrate that BF Single often provides a favorable balance of safety, performance, and computation, while BF Lag offers theoretical advantages at a higher computational cost. Overall, the results indicate barrier-function-based overrides are viable for enabling safe deployment of RL in non-convex, discrete-time safety-critical systems, without requiring exact optimal overrides.
Abstract
Reinforcement Learning (RL) has enabled vast performance improvements for robotics systems. To achieve these results though, the agent often must randomly explore the environment, which for safety critical systems presents a significant challenge. Barrier functions can solve this challenge by enabling an override that approximates the RL control input as closely as possible without violating a safety constraint. Unfortunately, this override can be computationally intractable in cases where the dynamics are not convex in the control input or when time is discrete, as is often the case when training RL systems. We therefore consider these cases, developing novel barrier functions for two non-convex systems (fixed wing aircraft and self-driving cars performing lane merging with adaptive cruise control) in discrete time. Although solving for an online and optimal override is in general intractable when the dynamics are nonconvex in the control input, we investigate approximate solutions, finding that these approximations enable performance commensurate with baseline RL methods with zero safety violations. In particular, even without attempting to solve for the optimal override at all, performance is still competitive with baseline RL performance. We discuss the tradeoffs of the approximate override solutions including performance and computational tractability.
