Crowd prediction is a crucial aspect of modern society, facilitating numerous decision-making processes, such as hazard detection and facility maintenance. Conventional crowd prediction relies on rule-based models which involve tedious formation steps and are error-prone. Hence, this study adopts spatiotemporal deep learning models for crowd prediction in order to exploits both temporal and spatial features of the dataset. There are three major limitations in previous studies: firstly, the prediction length of the time series models is relatively short (i.e., limited to single-digit time steps); Secondly, most studies using time series prediction do not consider the features in the neighboring locations other than the target location; Finally, only the temporal pattern on regular days is exploited, whilst the data variations during holidays can greatly reduce the prediction accuracy. Therefore, a particle swarm optimized (PSO) Hybrid-Graph Convolutional Gated Recurrent Unit (HGCGRU) model, entitled PSO-HGCGRU, is proposed to increase the prediction accuracy in various situations. The PSO-HGCGRU model is composed of two parts, 1) a hybrid model structure, which allows the model adapting to both regular and holiday features, and 2) the GCGRU model, in which the graph convolutional layer to extract the spatial features and the GRU layers to extract the temporal dependencies, to undertake spatiotemporal prediction. The Two-Stage Long-Time Gap Prediction method is applied to the proposed PSO-HGCGRU model with a newly designed two-stage mechanism to optimize the length of the time gap. Results show that the proposed model generally outperforms the baseline models by around 40% in accuracy.
Read full abstract