Bi-LSTM-Based Traffic Flow Prediction and Adaptive Signal Control via Gap-Statistic K-means++ Cross-Partitioning
Abstract
Accurate traffic state prediction and coordinated signal control are essential for improving urban traffic efficiency. This study proposes a hybrid framework that combines a bidirectional long short-term memory (Bi-LSTM) network for short-term traffic prediction with an enhanced clustering method for intersection coordination. The clustering module uses K-means++ initialization and the Gap Statistic to dynamically determine the optimal number of regions, enabling similar traffic patterns to be grouped adaptively. The framework is evaluated on two public datasets, PEMS-BAY and CityFlow. The Bi-LSTM model achieved a prediction accuracy of 97.5 percent and a root mean square error of 0.12 on the PEMS-BAY dataset, outperforming baseline methods, including standard LSTM and CNN-LSTM. The clustering module achieved a silhouette coefficient of 0.47 and a Calinski-Harabasz index of 1,154.8. These results indicated strong intra-cluster cohesion and inter-cluster separation. Furthermore, the accuracy of signal control, which was defined as the proportion of intersections that received the correct timing adjustments based on predicted flow levels, was 91.2 percent in the coordinated control simulation. The proposed method outperforms traditional fixed-control and non-coordinated strategies by reducing prediction error, lowering control latency, and improving network-wide adaptability. These results demonstrate that the integrated approach improves the accuracy of traffic forecasting and the effectiveness of region-based signal coordination. This makes it a robust solution for real-time urban traffic management.DOI:
https://doi.org/10.31449/inf.v49i29.11593Downloads
Published
How to Cite
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







