Traffic flow prediction is a prominent research area in intelligent transportation systems, significantly contributing to urban traffic management and control. Existing methods or models for traffic flow prediction predominantly rely on a fixed-graph structure to capture spatial correlations within a road network. However, the fixed-graph structure can restrict the representation of spatial information due to varying conditions such as time and road changes. Drawing inspiration from the attention mechanism, a new prediction model based on the mixed-graph neural network is proposed to dynamically capture the spatial traffic flow correlations. This model uses graph convolution and attention networks to adapt to complex and changeable traffic and other conditions by learning the static and dynamic spatial traffic flow characteristics, respectively. Then, their outputs are fused by the gating mechanism to learn the spatial traffic flow correlations. The Transformer encoder layer is subsequently employed to model the learned spatial characteristics and capture the temporal traffic flow correlations. Evaluated on five real traffic flow datasets, the proposed model outperforms the state-of-the-art models in prediction accuracy. Furthermore, ablation experiments demonstrate the strong performance of the proposed model in long-term traffic flow prediction.
Su et al. (Sat,) studied this question.