Traffic Prediction Based on the GRU Neural Network
Abstract
Traffic prediction is an important and challenging task in the last decade. In this project, we trained a GRU neural network to predict traffic at four junctions using a normalization and differencing transform to achieve a stationary time series. Given the varying trends and seasonality observed at each junction, we employed unique strategies to make each stationary, and evaluated model performance using the root mean squared error. Additionally, we plotted predicted values against original test data. Data analysis reveals that the number of vehicles at Junction 1 is increasing at a faster rate than at Junctions 2 and 3, while sparse data precludes conclusions regarding Junction 4. Moreover, Junction 1 exhibits stronger weekly and hourly seasonality, while the other junctions display a more linear trend. The results of this study can effectively inform vehicle flow rate prediction. However, GRU models may suffer from slow convergence rates and low learning efficiency, leading to prolonged training times and underfitting. Despite these limitations, the use of GRU models remains the most accurate, achievable, and straightforward method for calculating traffic predictions.
References
- Thomson J M 1998 Reflections on the economics of traffic congestion Journal of transport economics and policy 93-112
- Chiou J M 2012 Dynamical functional prediction and classification, with application to traffic flow prediction
- Dey R Salem F M 2017 Gate-variants of gated recurrent unit (GRU) neural networks 2017 IEEE 60th international midwest symposium on circuits and systems (MWSCAS) IEEE 1597-1600
- Fu R Zhang Z Li L 2016 Using LSTM and GRU neural network methods for traffic flow prediction 2016 31st Youth Academic Annual Conference of Chinese Association of Automation (YAC). IEEE 324-328
- Bansal T Belanger D McCallum A 2016 Ask the gru: Multi-task learning for deep text recommendations proceedings of the 10th ACM Conference on Recommender Systems 107-114
- Yu Y Si X Hu C et al. 2019 A review of recurrent neural networks: LSTM cells and network architectures Neural computation 31(7): 1235-1270
- Kaggle 2021 Traffic prediction dataset https://www.kaggle.com/datasets/fedesoriano/traffic-prediction-dataset
- Köksoy O 2006 Multiresponse robust design: Mean square error (MSE) criterion Applied Mathematics and Computation 175(2): 1716-1729.
- Yu Q Chang C S Yan J L et al. 2019 Semantic segmentation of intracranial hemorrhages in head CT scans 2019 IEEE 10th International Conference on Software Engineering and Service Science (ICSESS) IEEE 112-115.
- Zhang Z 2018 Improved adam optimizer for deep neural networks 2018 IEEE/ACM 26th international symposium on quality of service (IWQoS) Ieee 1-2