A Custom Transformer-Based Framework for Joint Traffic Flow and Speed Prediction in Autonomous Driving Contexts
Behrouz Samieiyan, A. Awasthi
Concordia University
Key points
From the paper's conclusion- Evaluated against baselines including Long Short-Term Memory (LSTM), Support Vector Machine (SVM), Random Tree, and Random Forest on the Next-Generation Simulation (NGSIM) dataset, the model achieves 94.2% accuracy (Root Mean Squared Error (RMSE) 0.16) for flow and 92.1% accuracy for speed, outperforming traditional and deep learning approaches.
Abstract
Short-term traffic prediction is vital for intelligent transportation systems, enabling adaptive congestion control, real-time signal management, and dynamic route planning for autonomous vehicles (AVs). This study introduces a custom Transformer-based deep learning framework for joint forecasting of traffic flow and vehicle speed, leveraging handcrafted positional encoding and stacked multi-head attention layers to model multivariate traffic patterns. Evaluated against baselines including Long Short-Term Memory (LSTM), Support Vector Machine (SVM), Random Tree, and Random Forest on the Next-Generation Simulation (NGSIM) dataset, the model achieves 94.2% accuracy (Root Mean Squared Error (RMSE) 0.16) for flow and 92.1% accuracy for speed, outperforming traditional and deep learning approaches. A hybrid evaluation metric, integrating RMSE and threshold-based accuracy tailored to AV operational needs, enhances its practical relevance. With its parallel processing capability, this framework offers a scalable, real-time solution, advancing AV ecosystems and smart mobility infrastructure.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Advancing Urban Planning with Deep Learning: Intelligent Traffic Flow Prediction and Optimization for Smart CitiesFuture Transportation · 2025
- Edge-deployed streaming real-time trajectory predictionMachine Vision and Applications · 2026
- Self-Regulating Cars: Automating Traffic Control in Free Flow Road NetworksProceedings of the AAAI Conference on Artificial Intelligence · 2026
- A traffic flow forecasting model based on dynamic graph learning and temporally adaptive attentionSafety Science · 2025
- RiskTraf: Risk-Extrapolated Residual Learning for Multi-Variate Traffic Flow PredictionarXiv · 2026
- Multi-objective optimization of lane-changing trajectories for autonomous vehicles based on deep reinforcement learningFrontiers in Mechanical Engineering · 2026