Data-Driven Modeling and Verification of Perception-Based Autonomous Systems

Thomas Waite, Alexander Robey, Hamed Hassani, George J. Pappas, Radoslav IvanovarXiv 2023 · DOI

Introduction

Verifying the safety of autonomous systems, such as self-driving cars, remains a significant challenge in modern engineering. While classical control theory offers robust tools for verification, modern agents increasingly rely on Deep Neural Networks (DNNs) to process high-dimensional sensor data from cameras and LiDAR. This shift introduces two major hurdles: the extreme complexity of modeling real-world environments and the inherent fragility of DNNs to distribution shifts—small input variations that can lead to catastrophic failures.

A Compositional Framework for Verification

To address these challenges, this paper proposes a compositional modeling approach. Rather than attempting to learn a single, monolithic model of an environment, the framework decomposes the observation process into two distinct components:

  1. Canonical Model ($g_c$): An idealized, "clean" model typically derived from a simulator or basic physical principles.
  2. Noise Model ($g_n$): A data-driven component trained on real-world observations to "corrupt" the canonical output with realistic artifacts.
System architecture of the perception-based autonomous system, illustrating the loop between sensors, neural network control, and the physical plant.

This separation allows for modular verification. Different noise models (e.g., representing rain, fog, or sensor degradation) can be swapped in without requiring a complete overhaul of the safety proof.

Modeling Different Noise Types

The researchers categorize environmental noise into two types, handled by different machine learning architectures:

  • Benign Noise: Continuous effects like motion blur or contrast changes are modeled using Generative Models, specifically Variational Autoencoders (VAEs).
  • Adversarial Noise: Discontinuous artifacts, such as reflected LiDAR rays or lens flares, are handled via Classifiers. These models predict which sensor dimensions are likely to be corrupted, allowing the verification tool to assume worst-case values for those specific inputs.
Examples of benign noise applied to the canonical image model, including reduced contrast and blur.

Experimental Evaluation

The framework was tested on two benchmarks:

  • Image-Based Mountain Car: A synthetic reinforcement learning task where the controller receives low-resolution images. The team generated 82,000 images with varying contrast and blur to train the noise models.
  • F1/10 Autonomous Racing Car: A real-world 1/10 scale platform. The study used 115 real LiDAR trajectories, focusing on "adversarial" reflections from metallic surfaces that frequently cause crashes in physical tests.

Key Results and Insights

The study yielded several critical findings:

  • Closing the Sim-to-Real Gap: In the F1/10 case study, the simulator (canonical model) predicted zero crashes. However, the data-driven noise model accurately replicated the crash distribution seen in real-world experiments.
  • Formal Safety Proofs: Using Verisig, a tool that converts NNs into hybrid systems for reachability analysis, the authors proved that the image-based Mountain Car could reach its goal safely even under significant sensor corruption.
  • Semantic Metrics: The authors emphasize that standard metrics like Mean Squared Error (MSE) are insufficient for perception. Instead, they evaluate models based on their impact on downstream control commands, ensuring the noise model captures "meaningful" errors.

Limitations and Future Directions

While promising, the approach currently focuses on static environments. Future research will need to incorporate dynamic agents, such as other vehicles or pedestrians. Additionally, the computational cost of formal verification remains high, with some complex scenarios requiring up to 24 hours of processing on high-performance servers. Scaling these methods to more diverse and larger datasets is the next step toward generalizable safety verification for autonomous systems.

Summary updated

BibTeX
@misc{waite2023data,
  author = {Thomas Waite and Alexander Robey and Hamed Hassani and George J. Pappas and Radoslav Ivanov},
  title = {{Data-Driven Modeling and Verification of Perception-Based Autonomous Systems}},
  year = {2023},
  eprint = {2312.06848},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.06848},
}
Figure