A PSO-Driven Hyperparameter Optimization Approach for GRU-Based Traffic Flow Prediction

Smart cities increasingly rely on intelligent technologies to improve urban infrastructure, sustainability, and quality of life.Traffic flow prediction is essential for the optimization of the transportation system, reducing congestion and improving mobility.However, realworld traffic data are often noisy, limited in size, and lack sufficient features to capture the flow dynamics and temporal dependencies, making accurate prediction a significant challenge.Previous studies have shown that recurrent neural network (RNN) variants, such as LSTM and GRU, are well-suited for time series forecasting tasks, but their performance is highly sensitive to hyperparameter settings.This study proposes a hybrid approach that integrates GRU with a metaheuristic optimization algorithm to address this challenge.After effective preprocessing steps and a sliding time window are applied to structure the data, particle swarm optimization (PSO) is utilized to optimize the hyperparameters of the GRU.The model's performance is evaluated using RMSE, MAE, and R 2 , and compared against several baseline approaches, including LSTM, CNN-LSTM, and a manually configured GRU.According to the experimental findings, the GRU model that was manually adjusted performed the best overall.However, the PSO-GRU model demonstrated competitive results, confirming that metaheuristics offer a promising alternative when manual tuning is not feasible despite the higher computational costs.

Authors

Institutions

Publication Details

Published
2025-12-12
DOI
https://doi.org/10.3390/engproc2025112078
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A PSO-Driven Hyperparameter Optimization Approach for GRU-Based Traffic Flow Prediction

M Alami Chentoufi, Rachid Ellaia, Imane Briki
Traffic Prediction and Management Techniques
article

A PSO-Driven Hyperparameter Optimization Approach for GRU-Based Traffic Flow Prediction

M Alami Chentoufi, Rachid Ellaia, Imane Briki
article en

Abstract

Smart cities increasingly rely on intelligent technologies to improve urban infrastructure, sustainability, and quality of life.Traffic flow prediction is essential for the optimization of the transportation system, reducing congestion and improving mobility.However, realworld traffic data are often noisy, limited in size, and lack sufficient features to capture the flow dynamics and temporal dependencies, making accurate prediction a significant challenge.Previous studies have shown that recurrent neural network (RNN) variants, such as LSTM and GRU, are well-suited for time series forecasting tasks, but their performance is highly sensitive to hyperparameter settings.This study proposes a hybrid approach that integrates GRU with a metaheuristic optimization algorithm to address this challenge.After effective preprocessing steps and a sliding time window are applied to structure the data, particle swarm optimization (PSO) is utilized to optimize the hyperparameters of the GRU.The model's performance is evaluated using RMSE, MAE, and R 2 , and compared against several baseline approaches, including LSTM, CNN-LSTM, and a manually configured GRU.According to the experimental findings, the GRU model that was manually adjusted performed the best overall.However, the PSO-GRU model demonstrated competitive results, confirming that metaheuristics offer a promising alternative when manual tuning is not feasible despite the higher computational costs.

Mohammed V University (MA), Ecole Mohammadia d'Ingénieurs (MA), Université Hassan 1er (MA)
Openalex Percentile: Top 57%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A PSO-Driven Hyperparameter Optimization Approach for GRU-Based Traffic Flow Prediction — M Alami Chentoufi, Rachid Ellaia, et al. · (2025) | TGRS Research Map | TGRS