Skip to content
Open access

Hybrid CNN LSTM Deep Learning Model for Spatiotemporal Traffic Accident Risk Prediction in Medan City with Localized Urban Traffic Patterns

Jul 2026 · JOIV: International Journal on Informatics Visualization · 0 citations

TL;DR

A Hybrid CNN–LSTM Deep Learning Model is proposed that jointly learns spatial features from georeferenced accident maps, road networks, and traffic density heatmaps, and temporal dependencies from historical accident logs, GPS traces, meteorological data, and road surface conditions, enabling robust performance under heterogeneous and data-imbalanced conditions.

Abstract

Traffic accidents remain a persistent challenge for urban safety, particularly in Medan City, Indonesia, where heterogeneous road networks, mixed traffic flows, and varying environmental conditions complicate risk prediction. Existing statistical and classical machine learning methods often fail to capture the nonlinear spatial–temporal dependencies inherent in such environments, creating a gap in accurate, context-specific accident risk forecasting for developing countries. This study addresses this gap by proposing a Hybrid CNN–LSTM Deep Learning Model that jointly learns spatial features from georeferenced accident maps, road networks, and traffic density heatmaps, and temporal dependencies from historical accident logs, GPS traces, meteorological data, and road surface conditions. Unlike prior models, the proposed framework is explicitly tailored to localized urban traffic patterns in Medan, enabling robust performance under heterogeneous and data-imbalanced conditions. Data preprocessing included cleaning, normalization, and categorical encoding, followed by model training with an Adam optimizer and tuned hyperparameters. Experimental evaluation against baseline models—pure CNN, pure LSTM, and Random Forest—demonstrated statistically significant improvements (p < 0.05), with the hybrid CNN–LSTM achieving an accuracy of 96.8% (95% CI: 96.5–97.1%), precision of 96.5%, recall of 96.7%, and F1-score of 96.6%, outperforming baselines by up to 5% in predictive accuracy. The model effectively identified high-risk spatial clusters and peak accident periods, offering actionable intelligence for targeted safety interventions. These findings highlight the model’s potential for integration into intelligent transportation systems to support real-time monitoring, proactive policymaking, and enhanced urban traffic safety management.

Read PDF

Similar papers

Jul 2026

MambaLSTM: A Spatio-Temporal Framework for Enhanced Traffic Accident Risk Prediction

A squeeze-and-excitation temporal feature fusion module to integrate temporal information without compromising spatio-temporal integrity is developed and a new patch embedding module for effectively capturing semantic relationships among spatially adjacent regions is introduced.

Zhen Yu, Ya-Chao Yuan, Zixiang Peng et al. · 0 citations
Review Open access 2022

Hybrid CNN–LSTM Models for Weather Forecasting

The theory, architecture, and performance of CNN-LSTM models are explored, where CNNs extract spatial features from meteorological data and LSTMs capture temporal dependencies for sequential forecasting across multiple time horizons.

Peter Okello · 0 citations
Open access Jul 2026

AIR QUALITY PREDICTION FOR INDIAN CITIES USING SPARTIO-TEMPORAL DEEP LEARNING MODELS

The results indicate that spatial dependency modeling significantly enhances predictive performance in urban air quality systems and reduces RMSE by 18–25% for 1-hour forecasting and 15–20% for 24-hour forecasting.

Mohammed Sharfuddin, Asma Fatima · 0 citations
Open access Jul 2026

Recurrent Graph Neural Network Hybrid Model for Spatio-Temporal Traffic Flow Prediction in Intelligent Transportation Systems

TETRA is proposed, a hybrid spatio-temporal traffic forecasting model that integrates Graph Convolutional Networks (GCNs) with Extended Long Short-Term Memory (xLSTM) to capture complex multi-timescale temporal patterns, including congestion propagation and delayed recovery dynamics, which are not well represented by c...

Norman Bereczki, Vilmos Simon · 0 citations

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