Platoon trajectories generation: A unidirectional interconnected LSTM-based car following model

Yangxin Lin, Ping Wang, Yang Zhou, Fan Ding, Chen Wang, Huachun Tan

Abstract

Traditional car-following models in micro-traffic simulations often suffer from significant error propagation, where small inaccuracies in individual vehicle predictions cascade through a platoon over time. This paper introduces the Unidirectional Interconnected LSTM (Int-LSTM), a novel architecture designed to treat a vehicle platoon as a single interconnected system. By integrating a spatial-temporal interconnected structure with a scheduled sampling training technique, the Int-LSTM model reduces trajectory generation errors by approximately 40% compared to standard deep learning approaches.

Introduction

Micro-traffic simulation is a critical tool for evaluating transportation infrastructure and autonomous vehicle systems. Central to these simulations are car-following models, which describe how a following vehicle adjusts its speed and position relative to the lead vehicle. While Long Short-Term Memory (LSTM) networks have shown promise in capturing complex driving behaviors, they are prone to "error propagation." In long-duration simulations, minor errors in the first follower's state lead to larger discrepancies for subsequent vehicles (spatial error) and accumulate over time (temporal error), eventually resulting in unrealistic trajectories. This research addresses these challenges by proposing a model that maintains stability across entire platoons.

Methodology

The proposed Unidirectional Interconnected LSTM (Int-LSTM) addresses error propagation through three primary innovations:

1. Interconnected Spatial-Temporal Structure

Unlike traditional models that treat vehicle pairs in isolation, the Int-LSTM architecture links the hidden states of all vehicles within a platoon. This design acknowledges the unidirectional flow of information in traffic—from the leader to the followers—allowing the model to extract features from the collective dynamics of the group.

The Int-LSTM architecture showing the flow of information across spatial (vehicle) and temporal (time step) dimensions.

2. Scheduled Sampling

A common issue in sequence modeling is the "training-inference mismatch." During standard training (Teacher Forcing), models are fed ground-truth data. However, during inference, they must rely on their own previous, potentially erroneous, predictions. Scheduled sampling bridges this gap by gradually transitioning the model from using ground-truth inputs to its own generated outputs during training, teaching it to self-correct.

3. Platoon-Level Loss Function

The model is trained by minimizing the Mean Squared Error (MSE) across the entire platoon simultaneously. This holistic approach ensures that the learned parameters optimize the performance of the whole system rather than individual components.

Data and Evaluation

The model was trained and evaluated using the Next Generation Simulation (NGSIM) I-80 dataset. To ensure high-quality training data, a reconstructed version of the dataset was used to mitigate sensor noise. The training set comprised 3,752 platoons across various traffic conditions, while the evaluation focused on 73 platoons in congested flow to test the model's robustness during stop-and-go oscillations.

Key Results

The Int-LSTM was benchmarked against the physics-based Intelligent Driver Model (IDM) and a standard LSTM.

  • Quantitative Performance: The Int-LSTM achieved a Mean Absolute Error (MAE) of 13.5 meters, a 46% improvement over the standard LSTM (25.1 meters) and a 21% improvement over the IDM.
  • Qualitative Stability: Visual analysis confirms that the Int-LSTM maintains high fidelity to ground-truth trajectories even during complex traffic oscillations, whereas traditional LSTMs tend to drift significantly over a 50-second simulation window.
Comparison of actual trajectories with generated and predicted trajectories, demonstrating the model's ability to maintain alignment over time.

Conclusion and Future Work

The Int-LSTM represents a significant advancement in platoon trajectory generation by addressing the fundamental problem of error propagation. While highly effective for longitudinal car-following, future work will explore extending the model to include lateral movements (lane-changing), intersection dynamics, and explicit safety constraints to prevent vehicle collisions in simulated environments.

Summary updated

Abstract

Car-following models have been widely applied and made remarkable achievements in traffic engineering. However, the traffic micro-simulation accuracy of car-following models in a platoon level, especially during traffic oscillations, still needs to be enhanced. Rather than using traditional individual car-following models, we proposed a new trajectory generation approach to generate platoon level trajectories given the first leading vehicle’s trajectory. In this article, we discussed the temporal and spatial error propagation issue for the traditional approach by a car following block diagram representation. Based on the analysis, we pointed out that error comes from the training method and the model structure. In order to fix that, we adopt two improvements on the basis of the traditional LSTM-based car-following model. We utilized a scheduled sampling technique during the training process to solve the error propagation in the temporal dimension. Furthermore, we developed a unidirectional interconnected LSTM model structure to extract trajectories features from the perspective of the platoon. As indicated by the systematic empirical experiments, the proposed novel structure could efficiently reduce the temporal-spatial error propagation. Compared with the traditional LSTM-based car-following model, the proposed model has almost 40% less error. The findings will benefit the design and analysis of micro-simulation for platoon-level car-following models.
BibTeX
@article{lin2022platoon,
  author = {Yangxin Lin and Ping Wang and Yang Zhou and Fan Ding and Chen Wang and Huachun Tan},
  title = {{Platoon trajectories generation: A unidirectional interconnected LSTM-based car following model}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2022},
  doi = {10.1109/tits.2020.3031282},
}
Figure