TransFollower: Long-Sequence Car-Following Trajectory Prediction through Transformer
Not on the map. Why?
Abstract (arXiv)
Car-following refers to a control process in which the following vehicle (FV) tries to keep a safe distance between itself and the lead vehicle (LV) by adjusting its acceleration in response to the actions of the vehicle ahead. The corresponding car-following models, which describe how one vehicle follows another vehicle in the traffic flow, form the cornerstone for microscopic traffic simulation and intelligent vehicle development. One major motivation of car-following models is to replicate human drivers' longitudinal driving trajectories. To model the long-term dependency of future actions on historical driving situations, we developed a long-sequence car-following trajectory prediction model based on the attention-based Transformer model. The model follows a general format of encoder-decoder architecture. The encoder takes historical speed and spacing data as inputs and forms a mixed representation of historical driving context using multi-head self-attention. The decoder takes the future LV speed profile as input and outputs the predicted future FV speed profile in a generative way (instead of an auto-regressive way, avoiding compounding errors). Through cross-attention between encoder and decoder, the decoder learns to build a connection between historical driving and future LV speed, based on which a prediction of future FV speed can be obtained. We train and test our model with 112,597 real-world car-following events extracted from the Shanghai Naturalistic Driving Study (SH-NDS). Results show that the model outperforms the traditional intelligent driver model (IDM), a fully connected neural network model, and a long short-term memory (LSTM) based model in terms of long-sequence trajectory prediction accuracy. We also visualized the self-attention and cross-attention heatmaps to explain how the model derives its predictions.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 12 of its 35 references that are in the map. First posted on arXiv 4 Feb 2022.
Builds on
12 of 35 references.
References · 12
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Layer Normalizationcited by 5,579
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
- 2019Safe, Efficient, and Comfortable Velocity Control based on Reinforcement Learning for Autonomous Drivingcited by 56
- 2019Human-Like Autonomous Car-Following Model with Deep Reinforcement Learningcited by 47
- 2018Modeling car-following behavior on urban expressways in Shanghai: A naturalistic driving studycited by 10
- 2017TrafficNet: An Open Naturalistic Driving Scenario Librarycited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 5; 2025: 0; 2026: 2.
9 papers.
- 2024LC-LLM: Explainable Lane-Change Intention and Trajectory Predictions with Large Language Modelscited by 35
- 2023FollowNet: A Comprehensive Benchmark for Car-Following Behavior Modelingcited by 21
- 2024GenFollower: Enhancing Car-Following Prediction with Large Language Modelscited by 8
- 2024EditFollower: Tunable Car Following Models for Customizable Adaptive Cruise Control Systemscited by 4
- 2022IDM-Follower: A Model-Informed Deep Learning Method for Long-Sequence Car-Following Trajectory Predictioncited by 3
- 2024FollowGen: A Scaled Noise Conditional Diffusion Model for Car-Following Trajectory Predictioncited by 3
- 2026Unsupervised Anomaly Detection in Multi-Agent Trajectory Prediction via Transformer-Based Modelscited by 1
- 2024EcoFollower: An Environment-Friendly Car Following Model Considering Fuel Consumptioncited by 0
- 2026Calibration and Evaluation of Car-Following Models for Autonomous Shuttles Using a Novel Multi-Criteria Frameworkcited by 0
- 2026Calibration and Evaluation of Car-Following Models for Autonomous Shuttles Using a Novel Multi-Criteria Framework12 Feb 2026
- 2026Unsupervised Anomaly Detection in Multi-Agent Trajectory Prediction via Transformer-Based Models28 Jan 2026
- 2024FollowGen: A Scaled Noise Conditional Diffusion Model for Car-Following Trajectory Prediction23 Nov 2024
- 2024EcoFollower: An Environment-Friendly Car Following Model Considering Fuel Consumption22 Jul 2024
- 2024GenFollower: Enhancing Car-Following Prediction with Large Language Models8 Jul 2024
- 2024EditFollower: Tunable Car Following Models for Customizable Adaptive Cruise Control Systems23 Jun 2024
- 2024LC-LLM: Explainable Lane-Change Intention and Trajectory Predictions with Large Language Models27 Mar 2024
- 2023FollowNet: A Comprehensive Benchmark for Car-Following Behavior Modeling25 May 2023
- 2022IDM-Follower: A Model-Informed Deep Learning Method for Long-Sequence Car-Following Trajectory Prediction20 Oct 2022