Skip to content

Machine learning-based short-term traffic speed prediction using commercial traffic information data

TL;DR

Temporal deep learning models consistently outperformed conventional machine learning models, while spatial information further improved prediction accuracy, in Bangkok's central business district.

Abstract

Traffic congestion in Bangkok’s central business district (CBD) is concentrated at closely spaced signalized intersections, making accurate short-term traffic speed prediction essential for effective traffic management. This study evaluates short-term traffic speed forecasting for 28 inbound road segments (nodes) at eight interconnected signalized intersections along Rama IV Road and Sathon Road using commercial traffic data aggregated as 5-minute median weekday speeds collected in March 2026. Nine prediction models were compared: Support Vector Regression (SVR), k-Nearest Neighbors (kNN), Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), LSTM-RNN, LSTM-DNN, and the Spatial-Temporal Graph Convolutional Neural Network (STGCNN), which incorporates a topology-based adjacency matrix. Model performance was evaluated for 30- and 60-minute forecasting horizons using Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and the F1 score for traffic congestion detection. The results indicate that STGCNN achieved the best overall performance. At the 30-minute forecasting horizon, it attained an MAE of 3.35 km/h, a MAPE of 27.57%, and an F1 score of 0.844, representing an approximately 8% lower MAE than the RNN model. Temporal deep learning models consistently outperformed conventional machine learning models, while spatial information further improved prediction accuracy. Aggregating traffic data into 15-minute intervals reduced the STGCNN's MAE to 2.94 km/h. Congestion propagation analysis showed that morning congestion typically originated along Rama IV Road between Henri Dunant and Si Lom intersections. Si Lom Intersection exhibited the earliest median congestion onset time, at approximately 6:10 a.m., before congestion propagated to adjacent intersections.

View source

Similar papers

Open access Sep 2026

GNN-Based Traffic Flow Forecasting and Its Future Scope in Nepal

A comparative evaluation of three approaches: Linear Regression, Long Short-Term Memory (LSTM) networks, and Spatio-Temporal Graph Convolutional Network for short-term traffic speed forecasting on the METR-LA benchmark dataset shows that jointly modeling spatial road network topology and temporal traffic dynamics signi...

Dikshya Aryal, Hemant Joshi · 0 citations
Open access Jan 2027

Predicting Traffic Flow Using Enhanced Long Short-Term Memory

The research method provides a scalable, high-precision, end-to-end solution for cloud-edge-integrated traffic prediction and collaborative management and control for real-time, accurate traffic prediction in urban congestion.

Hai-Long Dong · 0 citations
Conference Aug 2026

Traffic Volume Prediction Using Temporal and Weather Features with Explainable Machine Learning

Accurate traffic volume prediction is essential for effective traffic management and transport planning, particularly on major freeway corridors. This study examines hourly traffic volume prediction using the Metro Interstate Traffic Volume Dataset by applying classical machine learning models together with systematic...

S. Nissanka, Damayanthi Herath, Panduka Neluwala et al. · 0 citations
Dec 2026

Short-Term Traffic Speed Prediction Integrating Traffic Flow Theory for Enhanced Urban Congestion Mitigation

A theory guided deep learning framework that integrates traffic flow theory with short-term speed prediction and allows operators to act early with measures such as variable speed limits before congestion fully develops, shifting traffic management from reactive monitoring toward proactive control.

Donghyeok Park, Yoon-Young Choi, Juneyoung Park · 0 citations
Open access Sep 2026

A Study on Urban Traffic Speed Prediction Using Spatiotemporal Attention-Based Convolutional Neural Networks

Urban traffic speed prediction requires effective modeling of road-network spatial dependencies and temporal dynamics. This study develops an attention-based spatiotemporal graph convolutional framework (AT-GCN-GRU) for multi-horizon traffic speed prediction. The model combines graph convolution for spatial feature ext...

Zhu-Ye Xu, Shao-Yang Wang, Hong-Qiang Xin et al. · 0 citations
Conference Open access Sep 2026

Short-Term Traffic Speed Prediction and Pattern Discovery Using Sensor Data

The sustained growth of urban populations has worsened chronic traffic congestion, with detrimental impacts on multiple dimensions of urban livability, including increased commute times, reduced road safety, and the degradation of local air quality. Thus, traffic speed prediction (TSP) is an important component of inte...

Ali Hadi, Muhammad Munim Shafi, Asadullah Safi et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.