[Paper Review] Case Study: Verifying the Safety of an Autonomous Racing Car with a Neural Network Controller
This paper presents a real-world case study on verifying the safety of an autonomous racing car with a neural network (NN) controller using LiDAR inputs. Despite state-of-the-art verification tools handling only up to ~40 LiDAR rays, the study shows verification correlates strongly with safe real-world behavior in ideal conditions, but challenges remain in scalability and robustness to LiDAR faults.
This paper describes a verification case study on an autonomous racing car with a neural network (NN) controller. Although several verification approaches have been proposed over the last year, they have only been evaluated on low-dimensional systems or systems with constrained environments. To explore the limits of existing approaches, we present a challenging benchmark in which the NN takes raw LiDAR measurements as input and outputs steering for the car. We train a dozen NNs using two reinforcement learning algorithms and show that the state of the art in verification can handle systems with around 40 LiDAR rays, well short of a typical LiDAR scan with 1081 rays. Furthermore, we perform real experiments to investigate the benefits and limitations of verification with respect to the sim2real gap, i.e., the difference between a system's modeled and real performance. We identify cases, similar to the modeled environment, in which verification is strongly correlated with safe behavior. Finally, we illustrate LiDAR fault patterns that can be used to develop robust and safe reinforcement learning algorithms.
Motivation & Objective
- To evaluate the scalability of existing formal verification tools for neural network controllers in realistic, high-dimensional systems.
- To investigate the correlation between simulation-based verification and real-world safety performance, particularly regarding the sim2real gap.
- To identify LiDAR fault patterns that compromise safety and explore their impact on reinforcement learning and verification.
- To assess the limitations of current deep reinforcement learning (DRL) algorithms in producing robust, verifiable controllers for autonomous systems.
Proposed method
- Developed a bicycle dynamics model and a structured LiDAR observation model mapping vehicle state to ray measurements in a hallway environment.
- Trained 12 end-to-end NN controllers using DDPG and TD3 reinforcement learning algorithms with raw LiDAR inputs and steering outputs.
- Applied the Verisig verification tool to check if the NN-controlled car remains within safe bounds (i.e., does not crash into walls) across uncertain initial conditions.
- Simulated LiDAR faults (e.g., reflections causing false negatives) and compared crash outcomes between real-world experiments and fault-injected simulations.
- Used reachability analysis to trace the evolution of the car’s state over time, combining hybrid system modeling with NN verification techniques.
- Evaluated verification performance across varying numbers of LiDAR rays (up to ~40) and NN sizes (up to ~250 neurons), assessing scalability and sensitivity.
Experimental results
Research questions
- RQ1Can current formal verification tools handle the complexity of an autonomous racing car with a neural network controller using high-dimensional LiDAR inputs?
- RQ2How well does verification in simulation predict safe behavior in real-world deployment, especially under the sim2real gap?
- RQ3To what extent do LiDAR fault patterns (e.g., reflections) lead to unsafe behavior, and can they be reliably modeled in simulation?
- RQ4Can existing deep reinforcement learning algorithms produce controllers that are both safe and robust to LiDAR faults, and can such controllers be formally verified?
Key findings
- The state-of-the-art verification tool Verisig could handle only up to approximately 40 LiDAR rays, falling short of typical LiDAR scans with 1081 rays.
- Verification results showed strong correlation with safe real-world behavior when reflective surfaces were minimized, indicating that accurate simulation models enable reliable verification.
- In real environments with reflective surfaces, LiDAR faults caused crashes, and these faults were reproducible in simulation by randomly removing LiDAR rays, leading to similar crash patterns.
- Despite the ability to simulate LiDAR faults, training robust DRL controllers that are resilient to such faults remained infeasible with current DDPG and TD3 algorithms.
- Neural networks with similar sizes but different training algorithms showed varying sensitivity to input perturbations, with some producing drastically different trajectories under small changes in initial conditions.
- Verification scalability remains a major bottleneck, as complexity grows exponentially with the number of LiDAR rays due to the combinatorial explosion of possible wall interactions.
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.