GCN-SATO: A Graph Convolutional Network with Self-Attention based Car-Following Model

Qiran Li, Qian Chen, Chengli Jian, Qingnan Wang, Jihui TuJournal of Physics Conference Series 2024

Abstract

Car following is critical for the overall safety, efficiency, and smooth operation of autonomous vehicles in traffic. However, existing car-following models primarily focus on local feature extraction, overlooking the spatial-temporal relationships between vehicles and key information within the time series. This limitation negatively impacts prediction accuracy and generalization capabilities. To tackle these problems, this paper proposes a novel car-following method based on a Graph Convolutional Network (GCN) and a self-attention mechanism. Firstly, the GCN network is utilized to construct the spatial-temporal structure of the car-following model, which can effectively obtain topological structure relationships among vehicles. Secondly, the self-attention module is designed to assign different attention weights to different neighbors of a node in the car-following model, which can facilitate the capture of various aspects of node relationships simultaneously and enhance its expressive power. Finally, a Multi-Layer Perceptron (MLP) layer is employed to predict the future behaviors of following vehicles. The proposed car-following model (CF) was trained and evaluated using five real-world datasets: HighD, SPMD, Waymo, NGSIM, and Lyft. The results indicate that our method outperforms other existing methods in Mean Squared Error (MSE) of spacing and achieves a zero collision rate on all datasets. These findings indicate that the GCN-SATO proposed in this paper enhances safety and smooth operation compared to other existing models.

Introduction

Car-following behavior—where a vehicle maintains a safe distance behind a leading vehicle—is a fundamental component of autonomous driving safety and traffic efficiency. Traditional mathematical models, such as the Intelligent Driver Model (IDM), are robust but often lack the accuracy required for complex, real-world scenarios.

While recent deep learning approaches, particularly LSTMs, have improved prediction accuracy by focusing on temporal sequences, they often overlook the critical spatial context. Traffic is inherently dynamic; the relationship between a vehicle and its neighbors changes constantly in both space and time. Existing models struggle to adapt to these shifting topologies, leading to reduced generalization and potential safety risks. This paper addresses these limitations by treating car-following as a dynamic graph problem, explicitly modeling spatio-temporal relationships through a novel architecture called GCN-SATO.

Methodology

The proposed GCN-SATO architecture consists of four primary stages designed to capture the complex dynamics of traffic flow:

  1. Graph Construction: Historical time-series data (10 frames of vehicle states) is transformed into a graphical representation. In this graph, nodes represent vehicle states and edges represent the relationships between them, effectively capturing the spatial-temporal structure of the car-following event.
  2. GCN Module: A three-layer Graph Convolutional Network extracts spatio-temporal features. This allows the model to capture the topological structure of how vehicles interact within the traffic flow.
  3. Self-Attention Module (SATO): A multi-head self-attention layer assigns different weights to different "neighbors" in the graph. This allows the model to dynamically prioritize the most relevant surrounding information, making it highly adaptable to varying traffic densities and configurations.
  4. Prediction Layer: A Multi-Layer Perceptron (MLP) takes the refined features and predicts the following vehicle's future acceleration.
Full system architecture of the GCN-SATO framework, illustrating the flow from graph construction to acceleration prediction.

Experimental Setup

The model was trained and validated using five diverse, real-world driving datasets to ensure robustness and generalization:

  • HighD: German highway drone data.
  • SPMD: Safety Pilot Model Deployment data.
  • Waymo: High-fidelity autonomous driving data.
  • NGSIM: Next Generation Simulation (US-101 and I-80).
  • Lyft: Level 5 AV dataset.

In total, over 64,000 car-following events were extracted for evaluation.

Results and Discussion

The GCN-SATO model outperformed established baselines, including GHR, IDM, NN, LSTM, and DDPG, across several critical metrics:

  • Accuracy: The model achieved the lowest Mean Squared Error (MSE) for vehicle spacing across all five datasets. For example, on the HighD dataset, it reached an MSE of 19.98, compared to 22.90 for the standard LSTM.
  • Safety: GCN-SATO maintained a zero collision rate across all test scenarios. It also achieved the highest minimum Time to Collision (TTC) values, indicating a safer buffer between vehicles.
  • Comfort: The model produced significantly lower Jerk values (the rate of change of acceleration), ranging between 0.01 and 0.04. This translates to a smoother, more human-like driving experience compared to Reinforcement Learning models (DDPG), which often produced high jerk values (>7.0).
Comparison of real-world vs. simulated vehicle trajectories, demonstrating the model's ability to accurately replicate human driving behavior.

By moving away from simple linear sequences to a graph-based approach, the model "understands" the spatial configuration of traffic. The self-attention mechanism acts as a structural filter, learning which nodes in the traffic network are most influential at any given moment.

Conclusion

GCN-SATO demonstrates that integrating Graph Convolutional Networks with self-attention mechanisms significantly improves car-following performance. The model achieves superior accuracy, enhanced safety, and greater passenger comfort across diverse real-world datasets. Future research will focus on optimizing computational latency for real-time deployment and exploring model performance in mixed traffic environments where autonomous and human-driven vehicles interact.

Summary updated

BibTeX
@article{li2024gcn,
  author = {Qiran Li and Qian Chen and Chengli Jian and Qingnan Wang and Jihui Tu},
  title = {{GCN-SATO: A Graph Convolutional Network with Self-Attention based Car-Following Model}},
  journal = {Journal of Physics Conference Series},
  year = {2024},
  doi = {10.1088/1742-6596/2832/1/012017},
}
Figure