Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition
Abstract
1. Introduction
2. Scene Description
3. DyGNN–Transformer-Based Trajectory Prediction Model
3.1. DyGNN-Based Interaction Feature Extraction
3.2. Driving Intent Recognition Module
3.3. Trajectory Prediction Module
4. Experimental Preparation
5. Model Training
5.1. Training of Intent Recognition Models
5.2. Training of Trajectory Prediction Models
6. Experiment and Analysis
6.1. Analysis of Driving Intent Experiment Results
6.2. Analysis of Trajectory Prediction Experiment Results
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Marinescu, D.; Čurn, J.; Bouroche, M.; Cahill, V. On-ramp traffic merging using cooperative intelligent vehicles: A slot-based approach. In 2012 15th International IEEE Conference on Intelligent Transportation Systems; IEEE: New York, NY, USA, 2012; pp. 900–906. [Google Scholar]
- Tran, Q.; Firl, J. Online maneuver recognition and multimodal trajectory prediction for intersection assistance using non-parametric regression. In 2014 IEEE Intelligent Vehicles Symposium Proceedings; IEEE: New York, NY, USA, 2014; pp. 918–923. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
- Ji, X.; Fei, C.; He, X.; Liu, Y.; Liu, Y. Intention Recognition and Trajectory Prediction for Vehicles Using LSTM Network. China J. Highw. Transp. 2019, 32, 34–42. [Google Scholar]
- Xie, G.; Shangguan, A.; Fei, R.; Ji, W.; Ma, W.; Hei, X. Motion trajectory prediction based on a CNN-LSTM sequential model. Sci. China Inf. Sci. 2020, 63, 212207. [Google Scholar] [CrossRef] [Scilit]
- Guo, J.; Xiao, B.; Wang, J.; Luo, Y.; Chen, T.; Li, K. Study on Vehicle Cut-in Intention PredictionBased on Residual BiLSTM Network. Automot. Eng. 2021, 43, 971–977. [Google Scholar]
- Guo, J.H.; He, Z.F.; Luo, Y.G.; Li, K.Q. Vehicle Cut-in Trajectory Prediction Based on Deep Learning in aHuman-machine Mixed Driving Environment. Automot. Eng. 2022, 44, 153–160. [Google Scholar]
- Yoon, Y.; Kim, T.; Lee, H.; Park, J. Road-aware trajectory prediction for autonomous driving on highways. Sensors 2020, 20, 4703. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gao, Z.H.; Bao, M.X.; Gao, F.; Tang, M.H.; Lu, Y. A Uni-Modal Network Prediction Method for Surrounding Vehicle Expected Trajectory in Intelligent. Automob. Technol. 2022, 1–9. [Google Scholar] [CrossRef]
- Raju, K.N.; Sudha, V.; Kshirsagar, P.R.; Tirth, V.; Rajaram, A. Intelligent traffic prediction system using hybrid convolutional neural networks for smart cities. Multimed. Tools Appl. 2025, 84, 31919–31937. [Google Scholar]
- Liang, M.; Yang, B.; Hu, R.; Chen, Y.; Liao, R.; Feng, S.; Urtasun, R. Learning lane graph representations for motion forecasting. In European Conference on Computer Vision; Springer International Publishing: Cham, Switzerland, 2020; pp. 541–556. [Google Scholar]
- Huang, Y.; Bi, H.; Li, Z.; Mao, T.; Wang, Z. STGAT: Modeling spatial-temporal interactions for human trajectory prediction. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 6272–6281. [Google Scholar]
- Mozaffari, S.; Arnold, E.; Dianati, M.; Fallah, S. Early lane change prediction for automated driving systems using multi-task attention-based convolutional neural networks. IEEE Trans. Intell. Veh. 2022, 7, 758–770. [Google Scholar] [CrossRef] [Scilit]
- Zhang, E.; Zhang, R.; Masoud, N. Predictive trajectory planning for autonomous vehicles at intersections using reinforcement learning. Transp. Res. Part C Emerg. Technol. 2023, 149, 104063. [Google Scholar] [CrossRef] [Scilit]
- An, J.; Liu, W.; Liu, Q.; Guo, L.; Ren, P.; Li, T. DGInet: Dynamic graph and interaction-aware convolutional network for vehicle trajectory prediction. Neural Netw. 2022, 151, 336–348. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Fang, L.; Jiang, Q.; Shi, J.; Zhou, B. Tpnet: Trajectory proposal network for motion prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 6797–6806. [Google Scholar]
- Yang, Y.; Jin, M.; Wen, H.; Zhang, C.; Liang, Y.; Ma, L.; Wang, Y.; Liu, C.; Yang, B.; Xu, Z.; et al. A survey on diffusion models for time series and spatio-temporal data. ACM Comput. Surv. 2026, 58, 1–39. [Google Scholar] [CrossRef] [Scilit]
- Dong, C.; Dolan, J.M.; Litkouhi, B. Intention estimation for ramp merging control in autonomous driving. In 2017 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2017; pp. 1584–1589. [Google Scholar]
- Cheng, K.; Sun, D.; Jian, J.; Qin, D.; Chen, C.; Liao, G.; Kan, Y.; Lv, C. Deep learning approach for driver speed intention recognition based on naturalistic driving data. IEEE Trans. Intell. Transp. Syst. 2024, 25, 14546–14559. [Google Scholar] [CrossRef] [Scilit]
- Koenig, A.; Rehder, T.; Hohmann, S. Exact inference and learning in hybrid Bayesian Networks for lane change intention classification. In 2017 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2017; pp. 1535–1540. [Google Scholar]
- Schlechtriemen, J.; Wirthmueller, F.; Wedel, A.; Breuel, G.; Kuhnert, K.D. When will it change the lane? A probabilistic regression approach for rarely occurring events. In 2015 IEEE Intelligent Vehicles Symposium (IV); IEEE: New York, NY, USA, 2015; pp. 1373–1379. [Google Scholar]
- Vellenga, K.; Steinhauer, H.J.; Karlsson, A.; Falkman, G.; Rhodin, A.; Koppisetty, A.C. Driver intention recognition: State-of-the-art review. IEEE Open J. Intell. Transp. Syst. 2022, 3, 602–616. [Google Scholar] [CrossRef] [Scilit]
- Hao, Z.; Huang, X.; Wang, K.; Cui, M.; Tian, Y. Attention-based GRU for driver intention recognition and vehicle trajectory prediction. In 2020 4th CAA International Conference on Vehicular Control and Intelligence (CVCI); IEEE: New York, NY, USA, 2020; pp. 86–91. [Google Scholar]
- Next Generation SIMulation. US Highway 101 Dataset; United States Federal Highway Administration: Washington, DC, USA, 2007.
- Krajewski, R.; Bock, J.; Kloeker, L.; Eckstein, L. The highd dataset: A drone dataset of naturalistic vehicle trajectories on german highways for validation of highly automated driving systems. In 2018 21st International Conference on Intelligent Transportation Systems (ITSC); IEEE: New York, NY, USA, 2018; pp. 2118–2125. [Google Scholar]
- Deo, N.; Trivedi, M.M. Convolutional social pooling for vehicle trajectory prediction. In IEEE Conference on Computer Vision and Pattern Recognition Workshops; IEEE: New York, NY, USA, 2018; pp. 1468–1476. [Google Scholar]
- Han, H.; Xie, T. Lane Change TrajectoryPrediction of Vehicles in Highway Interweaving Area Using Seq2Seq-attention Netwwork. China J. Highw. Transp. 2020, 33, 106–118. [Google Scholar]
- Liu, C.; Liang, J. Vehicle motion trajectory prediction based on attention mechanism. J. Zhejiang Univ. (Eng. Sci.) 2020, 54, 1156–1163. [Google Scholar]









| Module | Parameter | Value |
|---|---|---|
| DyGNN | Number of graph neural network layers | 2 |
| Node input feature dimension | 3 | |
| Hidden feature dimension | 64 | |
| Number of graph attention heads | 4 | |
| Distance decay coefficient | 15 m | |
| Transformer | Number of encoder layers | 4 |
| Model feature dimension | 128 | |
| Number of multi-head attention heads | 4 | |
| Hidden dimension of feed-forward network | 256 |
| Module | Parameter | Value |
|---|---|---|
| Transformer | Number of encoder layers | 4 |
| Model feature dimension | 128 | |
| Number of multi-head attention heads | 4 | |
| Hidden dimension of feed-forward network | 256 |
| Model | Driving Intent | Samples | Accuracy (%) | Avg. Acc. (%) |
|---|---|---|---|---|
| LSTM | Left Change | 2232 | 85.74 | 86.32 |
| Lane Keeping | 2232 | 87.62 | ||
| Right Change | 2232 | 85.61 | ||
| BiLSTM | Left Change | 2232 | 87.26 | 88.04 |
| Lane Keeping | 2232 | 89.84 | ||
| Right Change | 2232 | 87.03 | ||
| GAT-BiGRU | Left Change | 2232 | 88.15 | 89.12 |
| Lane Keeping | 2232 | 90.42 | ||
| Right Change | 2232 | 88.79 | ||
| Transformer | Left Change | 2232 | 88.69 | 90.51 |
| Lane Keeping | 2232 | 92.13 | ||
| Right Change | 2232 | 90.70 | ||
| DGT | Left Change | 2232 | 90.73 | 92.87 |
| Lane Keeping | 2232 | 96.54 | ||
| Right Change | 2232 | 91.34 |
| Model | Driving Intent | Samples | Accuracy (%) | Avg. Acc. (%) |
|---|---|---|---|---|
| LSTM | Left Change | 2148 | 87.06 | 87.74 |
| Lane Keeping | 2148 | 89.39 | ||
| Right Change | 2148 | 86.76 | ||
| BiLSTM | Left Change | 2148 | 88.59 | 89.26 |
| Lane Keeping | 2148 | 90.97 | ||
| Right Change | 2148 | 88.22 | ||
| GAT-BiGRU | Left Change | 2148 | 89.48 | 90.16 |
| Lane Keeping | 2148 | 91.82 | ||
| Right Change | 2148 | 89.18 | ||
| Transformer | Left Change | 2148 | 90.18 | 91.56 |
| Lane Keeping | 2148 | 93.36 | ||
| Right Change | 2148 | 91.13 | ||
| DGT | Left Change | 2148 | 92.32 | 93.45 |
| Lane Keeping | 2148 | 96.04 | ||
| Right Change | 2148 | 91.99 |
| Horizon (s) | LSTM | Transformer | LSTM(I) | STGAT | DGInet | Transformer(I) |
|---|---|---|---|---|---|---|
| 1 | 1.42 | 1.25 | 0.93 | 0.88 | 0.68 | 0.55 |
| 2 | 2.01 | 1.73 | 1.61 | 1.56 | 1.24 | 1.05 |
| 3 | 2.69 | 2.44 | 2.18 | 2.01 | 1.72 | 1.69 |
| 4 | 3.13 | 2.89 | 2.54 | 2.36 | 2.15 | 2.12 |
| Average | 2.31 | 2.08 | 1.82 | 1.70 | 1.45 | 1.35 |
| Horizon (s) | LSTM | Transformer | LSTM(I) | STGAT | DGInet | Transformer(I) |
|---|---|---|---|---|---|---|
| 1 | 1.56 | 1.34 | 1.02 | 0.94 | 0.76 | 0.63 |
| 2 | 2.26 | 1.95 | 1.78 | 1.63 | 1.38 | 1.18 |
| 3 | 3.02 | 2.71 | 2.43 | 2.24 | 1.96 | 1.88 |
| 4 | 3.68 | 3.31 | 2.96 | 2.71 | 2.43 | 2.28 |
| Average | 2.63 | 2.33 | 2.05 | 1.88 | 1.63 | 1.49 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wu, S.; Wang, Y.; Gong, Y. Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors 2026, 26, 2826. https://doi.org/10.3390/s26092826
Wu S, Wang Y, Gong Y. Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors. 2026; 26(9):2826. https://doi.org/10.3390/s26092826
Chicago/Turabian StyleWu, Shaobo, Yuxuan Wang, and Yi Gong. 2026. "Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition" Sensors 26, no. 9: 2826. https://doi.org/10.3390/s26092826
APA StyleWu, S., Wang, Y., & Gong, Y. (2026). Dynamic Graph Neural Network for Vehicle Trajectory Prediction and Driving Intent Recognition. Sensors, 26(9), 2826. https://doi.org/10.3390/s26092826

