A Learning-based Stochastic Driving Model for Autonomous Vehicle Testing

Lin Liu, Shuo Feng, Yiheng Feng, Xichan Zhu, Henry X. LiuarXiv 2021

TL;DR

This paper introduces a novel learning-based stochastic driving model for autonomous vehicle (AV) testing. By leveraging Long Short-Term Memory (LSTM) networks and quantile regression, the model generates realistic, human-like driving behaviors for background vehicles (BVs) without making prior assumptions about driver error distributions, crucial for robust AV evaluation.

What Problem Does This Paper Address?

Testing and evaluating autonomous vehicles (AVs) is critical, and simulation is a cost-effective method. However, existing simulation platforms often model background vehicles (BVs) using pre-determined trajectories or deterministic models. Pre-determined trajectories lack interactivity, as BVs don't react to AV maneuvers. Deterministic models, on the other hand, fail to capture the inherent stochasticity and errors of real human drivers, leading to unrealistic traffic scenarios. This gap hinders the ability to thoroughly test AVs in a safe and representative environment. The paper aims to address this by creating a driving model that is both interactive and human-like, mimicking the stochastic nature of human driving.

Methods

The core of the proposed approach is a Quantile Regression LSTM (QRLSTM) model.

  • LSTM Architecture: Long Short-Term Memory (LSTM) networks are used as the base model. LSTMs are well-suited for sequential data, allowing them to capture temporal dependencies in driving behavior by considering past traffic states.
  • Quantile Regression: Instead of predicting a single, deterministic action (like acceleration or speed), the QRLSTM model predicts a set of actions corresponding to different quantiles of the action distribution. This is achieved by modifying the loss function to use a "pinball loss," which is designed to estimate quantiles. This approach allows the model to represent the inherent variability and stochasticity of human driving without assuming a specific error distribution.
  • Kernel Density Estimation (KDE): After the QRLSTM predicts a set of quantile actions, Kernel Density Estimation (KDE) is employed to estimate a continuous probability distribution of actions. This non-parametric method is chosen because it doesn't require prior assumptions about the distribution's form, making it suitable for modeling complex human behaviors.
  • Sampling: Finally, an action is sampled from the estimated distribution to determine the BV's behavior at each time step, enabling interactive and stochastic driving.

Datasets

The study utilizes the Safety Pilot Model Deployment (SPMD) project's naturalistic driving data (NDD). This dataset comprises over 34.9 million miles of driving data from 2,842 vehicles, collected at 10Hz. For this research, data from 86 vehicles equipped with cameras and data acquisition systems was filtered to focus on car-following scenarios on highways. After filtering, 24,816 trajectories were extracted, totaling approximately 390 hours of driving time.

Key Insights and Ideas

  • Data-Driven Stochasticity: The model successfully captures human driving stochasticity directly from data using quantile regression, eliminating the need for pre-defined error distributions or assumptions about driver behavior. This is a significant departure from methods that add artificial noise to deterministic models.
  • Human-Like Interaction: By modeling stochasticity, the QRLSTM generates more realistic and human-like BV behaviors, which is crucial for creating a challenging yet representative environment for AV testing.
  • Individual Driver Modeling: Training individual QRLSTM models for each driver proved superior to a single mixed model, highlighting the significant variation in driving styles and habits among humans. This suggests that personalized BV models might be necessary for comprehensive AV testing.
  • Macroscopic and Microscopic Accuracy: The model demonstrates accuracy at both the individual trajectory level (capturing frequent acceleration variations) and the traffic flow level (matching speed, range, and time headway distributions).

Key Results

  • The QRLSTM model outperforms a modified Intelligent Driving Model (IDM) with added Gaussian noise in reproducing individual vehicle trajectories, showing a lower speed error, especially for longer prediction horizons.
  • The QRLSTM model captures more frequent variations in acceleration, which are characteristic of human driving, whereas the modified IDM shows a less sensitive pattern.
  • Traffic parameter comparisons (speed, range, time headway) show that the distributions generated by the QRLSTM model closely match the real-world NDD distributions.
  • Cross-entropy analysis confirms that the QRLSTM model's speed, range, and THW distributions are significantly more similar to the NDD than those of the modified IDM.

Limitations and Future Work

The authors acknowledge several limitations:

  • Car-Following Only: The current model is limited to car-following scenarios and needs to be extended to include lateral maneuvers like lane changing and cut-ins.
  • Critical Scenarios: The model's ability to generate critical scenarios (crash and near-crash) for AV testing requires further investigation.
  • Integrating Physics: Integrating physical knowledge into the learning methods is suggested as a promising future direction, potentially drawing from physics-regularized machine learning approaches.

Summary updated

BibTeX
@misc{liu2021learning,
  author = {Lin Liu and Shuo Feng and Yiheng Feng and Xichan Zhu and Henry X. Liu},
  title = {{A Learning-based Stochastic Driving Model for Autonomous Vehicle Testing}},
  year = {2021},
  url = {https://openreview.net/forum?id=QQZNw4abxn},
}
Figure