[Paper Review] Safe Autonomous Racing via Approximate Reachability on Ego-vision
This paper proposes SAGE, a safe reinforcement learning framework for autonomous racing that uses Hamilton-Jacobi reachability theory to learn safety values directly from ego-camera vision and speed, enabling low-latency safety verification. By training a safety critic via neural approximation on high-dimensional visual inputs—previously infeasible for HJ reachability—it achieves state-of-the-art performance with significantly fewer constraint violations on Safety Gym and the Learn-to-Race benchmark.
Racing demands each vehicle to drive at its physical limits, when any safety infraction could lead to catastrophic failure. In this work, we study the problem of safe reinforcement learning (RL) for autonomous racing, using the vehicle's ego-camera view and speed as input. Given the nature of the task, autonomous agents need to be able to 1) identify and avoid unsafe scenarios under the complex vehicle dynamics, and 2) make sub-second decision in a fast-changing environment. To satisfy these criteria, we propose to incorporate Hamilton-Jacobi (HJ) reachability theory, a safety verification method for general non-linear systems, into the constrained Markov decision process (CMDP) framework. HJ reachability not only provides a control-theoretic approach to learn about safety, but also enables low-latency safety verification. Though HJ reachability is traditionally not scalable to high-dimensional systems, we demonstrate that with neural approximation, the HJ safety value can be learned directly on vision context -- the highest-dimensional problem studied via the method, to-date. We evaluate our method on several benchmark tasks, including Safety Gym and Learn-to-Race (L2R), a recently-released high-fidelity autonomous racing environment. Our approach has significantly fewer constraint violations in comparison to other constrained RL baselines in Safety Gym, and achieves the new state-of-the-art results on the L2R benchmark task. We provide additional visualization of agent behavior at the following anonymized paper website: https://sites.google.com/view/safeautonomousracing/home
Motivation & Objective
- Address the challenge of safe, high-speed autonomous racing where sub-second decisions and physical limit operation increase safety risks.
- Enable real-time safety verification in high-dimensional visual observation spaces, where traditional reachability methods fail due to scalability.
- Integrate Hamilton-Jacobi reachability into a constrained Markov decision process (CMDP) framework to decouple safety and performance learning.
- Develop a safety critic that learns HJ-based safety values directly from RGB camera input and speed, bypassing the need for full state estimation.
- Achieve robust safety and high performance in high-fidelity racing simulators without relying on precise dynamics models.
Proposed method
- Use Hamilton-Jacobi (HJ) reachability theory to define a safety value function $ Q_S(x,u) $ that verifies if a state-action pair is safe within a time horizon.
- Train a neural network-based safety critic to approximate the HJ safety value function directly from ego-camera RGB images and vehicle speed, enabling high-dimensional input processing.
- Decompose the learning process into two independent policies: a performance policy optimizing speed and trajectory, and a safety controller that intervenes when $ Q_S(x,u) < \epsilon $.
- Apply the HJ Bellman update rule to learn the safety critic using off-policy experience, ensuring theoretical safety guarantees.
- Use a dual-critic actor-critic architecture with separate optimizers for performance and safety, incorporating entropy regularization and target networks.
- Leverage a replay buffer and off-policy data to stabilize training, with hyperparameters tuned for low-latency inference in real-time racing environments.
Experimental results
Research questions
- RQ1Can Hamilton-Jacobi reachability be effectively scaled to high-dimensional visual observations, such as ego-camera RGB images, via neural approximation?
- RQ2Does integrating HJ reachability into a constrained RL framework improve safety and performance in high-speed autonomous racing compared to standard baselines?
- RQ3Can a safety critic trained on visual input alone achieve reliable, low-latency safety verification without explicit state estimation?
- RQ4How does the proposed SAGE framework compare to constrained RL baselines in terms of constraint violations and task completion in high-fidelity racing environments?
- RQ5To what extent does the safety margin $ \epsilon $ influence performance and safety trade-offs in autonomous racing?
Key findings
- SAGE achieves the new state-of-the-art on the Learn-to-Race benchmark, outperforming all prior methods across all driving quality metrics including Episode Completion Percentage (ECP), Average Adjusted Track Speed (AATS), and Trajectory Efficiency (TrE).
- On Safety Gym, SAGE exhibits significantly fewer constraint violations than other constrained RL baselines, demonstrating superior safety enforcement.
- The safety critic trained on ego-vision achieves reliable safety verification with a latency suitable for real-time racing, enabling sub-second decision-making.
- The method successfully learns HJ safety values directly from high-dimensional visual inputs—representing the highest-dimensional system studied with HJ reachability to date.
- With a safety margin $ \epsilon = 3 $, SAGE maintains high ECP and stable performance, while SafeSAC with the same margin shows minimal improvement, indicating SAGE’s superior safety-aware policy learning.
- The SafeRandom baseline shows that a safety margin of $ \epsilon = 4.2 $ is necessary to achieve 80%+ lap completion, validating the robustness of the chosen $ \epsilon $ in SAGE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.