Large Language Model Based Roundabout Dataset Augmentation for Trajectory Prediction
Roundabouts present unique challenges in intelligent transportation systems due to their complex geometry, dynamic interactions, and the limited availability of high-quality datasets. Existing methodologies typically lack contextual richness and perform inadequately when addressing the non-linear nature of roundabout behavior. This paper introduces a data augmentation framework that leverages large language models (LLMs), specifically a fine-tuned GPT-2, to enrich roundabout datasets with semantically meaningful behavioral patterns. Our approach initiates with extracting vehicle features from real-world video using YOLOv8 and DeepSORT, subsequently using a feedforward neural network (FNN) to extract three latent feature, and training GPT-2 on this corpus to generate high-level behavioral labels, thereby semantically enriching the dataset's diversity and semantic depth. To validate the effectiveness of our framework, we train a long short-term memory (LSTM) model for trajectory prediction. Evaluation with an LSTM predictor shows that models trained on synthetic GPT-generated data outperform those using original data, with lower average relative error (1.46% vs. 1.72%) and improved accuracy at the 100th percentile (62% vs. 54%). Experimental results show that our augmented synthetic dataset is capable of improving the robustness of prediction, establishing a new paradigm for intelligent traffic modeling through the integration of foundational models. Our code is available at https://github.com/Rebecca689/llm-roundabout.
Authors
- Yi Han (ORCID: https://orcid.org/0000-0002-9548-7979)
- Xiaotong Zhou (ORCID: https://orcid.org/0009-0004-8961-5382)
- Tianhua Xu (ORCID: https://orcid.org/0000-0002-5510-841X)
- Jike Wang (ORCID: https://orcid.org/0000-0001-6711-4465)
- Zhang Yuan (ORCID: https://orcid.org/0009-0009-9924-5676)
Institutions
- Wuhan University of Technology (CN)
- University of Warwick (GB)
Publication Details
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1109/smartcomp65954.2025.00101
- Primary Topic
- Traffic Prediction and Management Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Horizon Foundation
- HORIZON EUROPE Framework Programme
- Horizon 2020