How Do We Fail? Stress Testing Perception in Autonomous Vehicles

Harrison Delecki, Masha Itkina, Bernard Lange, Ransalu Senanayake, Mykel KochenderferOpenReview 2022

Abstract

Autonomous vehicle (AV) safety relies on a complex pipeline where perception data flows from sensors to trackers and finally to trajectory predictors. While individual modules are often tested in isolation, this paper introduces Perception Adaptive Stress Testing (PAST), a framework designed to identify systematic failures within the entire perception pipeline. By employing reinforcement learning to search for sequences of realistic LiDAR disturbances, the authors demonstrate that high-likelihood environmental conditions, such as moderate rain, can induce catastrophic downstream errors that single-frame evaluations often miss.

Introduction

The validation of autonomous vehicle (AV) perception systems typically focuses on static performance metrics: how accurately can a model detect a pedestrian or a vehicle in a single frame? However, in real-world operation, perception is a temporal process. Detections are fed into multi-object trackers, which in turn inform trajectory prediction models. This modular architecture introduces a "snowball effect," where minor, transient errors in detection can accumulate into significant failures in motion planning.

Current stress-testing methods often rely on adversarial attacks that apply extreme, unrealistic perturbations to force a system failure. While useful for finding theoretical bounds, these methods do not necessarily reflect the risks encountered in daily driving. This research addresses this gap by introducing the Perception Adaptive Stress Testing (PAST) framework, which systematically searches for the most likely sequences of environmental disturbances—such as rain or fog—that lead to system-level failures.

The PAST Framework: Searching for Likely Failures

The core innovation of PAST is framing the search for failures as a sequential decision-making problem. Rather than treating each frame as an independent event, the framework models the environment as a Markov Decision Process (MDP).

1. Reinforcement Learning via MCTS

To navigate the vast search space of possible weather patterns over a 20-second driving scene, the authors utilize Monte Carlo Tree Search (MCTS) with Double Progressive Widening. The "agent" in this scenario is a stress tester whose goal is to maximize the probability (log-likelihood) of a sequence of disturbances that results in a defined system failure. This approach allows the framework to find "weak points" in the perception pipeline where specific, high-likelihood weather patterns cause the most damage.

2. Realistic LiDAR Augmentation

To ensure the disturbances are physically grounded, the framework integrates LISA (LiDAR Light Scattering Augmentation). LISA is a physics-based tool that simulates the interaction of LiDAR beams with atmospheric particles like rain, snow, and fog. This allows the researchers to apply controllable and realistic weather effects to clean, real-world data from the nuScenes dataset.

3. Defining Failure in Context

The study defines failure based on downstream impact rather than just detection accuracy:

  • Tracking Failure: Losing track of an object or experiencing a position error greater than 2 meters.
  • Prediction Failure: A predicted final position of a vehicle deviating by more than 15 meters from its actual ground-truth path.

Experimental Insights

The researchers tested PAST on 123 scenes from the nuScenes validation split, comparing it against standard Monte Carlo (MC) random searches and adversarial baselines.

The Importance of Temporal Context

A key finding is that perception systems are often robust to isolated "bad frames." A standard Kalman filter in a tracker can smooth out a single noisy detection. However, PAST identifies specific sequences of slightly degraded frames that systematically "trick" the tracker. These sequences can lead to massive heading errors or the total loss of a target vehicle, even when the individual disturbances are relatively small.

Downstream Sensitivity

The experiments revealed that trajectory prediction is exceptionally sensitive to tracking noise. In several cases, disturbances that barely altered the global point cloud were enough to skew the perceived heading of a target vehicle. This caused the trajectory predictor to output a path 20 meters off-target, simulating a scenario where an AV might believe a vehicle is veering into its lane, potentially triggering a dangerous and unnecessary emergency braking event.

Efficiency and Likelihood

Compared to baselines, PAST was significantly more effective at finding vulnerabilities. In heavy rain scenarios, PAST discovered failures in 51.2% of scenes, nearly double the 25.1% found by random Monte Carlo searches. Crucially, PAST achieved these failures using smaller "local" disturbances, proving that it is not necessary to overwhelm a sensor with noise to break the system; one only needs to find the right sequence of realistic conditions.

Conclusion and Future Directions

The PAST framework demonstrates that AV perception is highly vulnerable to the temporal accumulation of small errors. By prioritizing high-likelihood failures over extreme edge cases, this research provides a more practical tool for safety validation.

While the current study focused on a modular pipeline (PointPillars, AB3DMOT, and CoverNet), the authors suggest that future work should extend this stress-testing approach to end-to-end "pixels-to-control" neural networks. Additionally, as the computational cost of such testing remains high (averaging 90 minutes per 20-second scene), optimizing the search algorithms will be essential for scaling these methods to the massive datasets required for full AV certification. Ultimately, understanding how these systems fail in the real world is the first step toward building more resilient autonomous agents.

Summary updated

BibTeX
@misc{delecki2022how,
  author = {Harrison Delecki and Masha Itkina and Bernard Lange and Ransalu Senanayake and Mykel Kochenderfer},
  title = {{How Do We Fail? Stress Testing Perception in Autonomous Vehicles}},
  year = {2022},
  eprint = {2203.14155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.14155},
  howpublished = {OpenReview},
}
Figure