Skip to main content
QUICK REVIEW

[Paper Review] A Scenario-Based Platform for Testing Autonomous Vehicle Behavior Prediction Models in Simulation

Francis Indaheng, Edward Kim|arXiv (Cornell University)|Oct 28, 2021
Autonomous Vehicle Technology and SafetyEngineering19 references8 citations
TL;DR

This paper presents a scenario-based simulation platform for testing autonomous vehicle behavior prediction models using the Scenic probabilistic programming language and VerifAI for multi-objective metric falsification. The platform enables scalable, parallelized testing of models like LaneGCN across 25 synthetic, interactive traffic scenarios, identifying failure cases through automated scenario generation and evaluation with prioritized metrics, demonstrating high efficiency and effectiveness in uncovering edge cases.

ABSTRACT

Behavior prediction remains one of the most challenging tasks in the autonomous vehicle (AV) software stack. Forecasting the future trajectories of nearby agents plays a critical role in ensuring road safety, as it equips AVs with the necessary information to plan safe routes of travel. However, these prediction models are data-driven and trained on data collected in real life that may not represent the full range of scenarios an AV can encounter. Hence, it is important that these prediction models are extensively tested in various test scenarios involving interactive behaviors prior to deployment. To support this need, we present a simulation-based testing platform which supports (1) intuitive scenario modeling with a probabilistic programming language called Scenic, (2) specifying a multi-objective evaluation metric with a partial priority ordering, (3) falsification of the provided metric, and (4) parallelization of simulations for scalable testing. As a part of the platform, we provide a library of 25 Scenic programs that model challenging test scenarios involving interactive traffic participant behaviors. We demonstrate the effectiveness and the scalability of our platform by testing a trained behavior prediction model and searching for failure scenarios.

Motivation & Objective

  • To address the challenge of testing behavior prediction models in rare or complex traffic scenarios not well-represented in real-world training data.
  • To develop a scalable, simulation-based platform that supports intuitive modeling of interactive traffic scenarios.
  • To enable multi-objective evaluation with partial priority ordering of metrics for more nuanced model assessment.
  • To automate the discovery of failure cases through falsification using intelligent sampling and parallel execution.

Proposed method

  • Model scenarios using Scenic, a probabilistic programming language, to define distributions over agent initial states and dynamic behaviors.
  • Integrate the trained behavior prediction model (e.g., LaneGCN) with the CARLA simulator via OpenDRIVE map format and trajectory input/output conversion.
  • Define a multi-objective evaluation metric with partial priority ordering to assess prediction accuracy using minADE, minFDE, and MR distance thresholds.
  • Use VerifAI’s multi-armed bandit sampler to intelligently explore the scenario space and maximize the discovery of counterexamples.
  • Parallelize simulations across multiple workers to scale testing efficiency, with runtime benchmarks validating speedup.
  • Log and analyze system performance across 120 concrete scenarios per scenario type, sampled at different timepoints to assess model behavior across interaction phases.

Experimental results

Research questions

  • RQ1How can interactive, edge-case traffic scenarios be effectively modeled and synthesized for testing behavior prediction models in simulation?
  • RQ2To what extent can a multi-objective evaluation metric with partial priority ordering improve the detection of critical failure modes in behavior prediction models?
  • RQ3Can parallelized, scenario-based falsification using intelligent sampling significantly improve the scalability and efficiency of testing AV prediction systems?
  • RQ4How effective is the platform in uncovering failure cases in a real-world trained model like LaneGCN across diverse, complex intersection scenarios?
  • RQ5Can the platform identify failure patterns that vary depending on the timing and phase of agent interactions within a scenario?

Key findings

  • The platform successfully identified failure cases in the LaneGCN model across five complex intersection scenarios, including unprotected left turns and merging maneuvers.
  • The use of parallel execution with up to five workers achieved significant speedup, reducing runtime for 120 simulations from sequential execution.
  • The multi-armed bandit sampler effectively explored the scenario space, balancing counterexample discovery and feature space diversity.
  • Failure cases were detected across different timepoints (20, 40, 60, 80), indicating that model performance varied depending on the phase of interaction.
  • The platform demonstrated scalability and effectiveness in testing a real-world model trained on 300,000 real-world scenarios, uncovering edge cases not well-captured in the training data.
  • The integration of Scenic with CARLA and VerifAI enabled seamless, modular testing with minimal impact on model dependencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.