ST-AFN: a spatial-temporal attention based fusion network for lane-level traffic flow prediction

PeerJ Comput Sci. 2021 Apr 22:7:e470. doi: 10.7717/peerj-cs.470. eCollection 2021.

Abstract

Traffic flow prediction is the foundation of many applications in smart cities, and the granular precision of traffic flow prediction has to be enhanced with refined applications. However, most of the existing researches cannot meet these requirements. In this paper, we propose a spatial-temporal attention based fusion network (ST-AFN), for lane-level precise prediction. This seq2seq model consists of three parts, namely speed process network, spatial encoder, and temporal decoder. In order to exploit the dynamic dependencies among lanes, attention mechanism blocks are embedded in those networks. The application of deep spatial-temporal information matrix results in progresses in term of reliability. Furthermore, a specific ground lane selection method is also proposed to ST-AFN. To evaluate the proposed model, four months of real-world traffic data are collected in Xiaoshan District, Hangzhou, China. Experimental results demonstrate that ST-AFN can achieve more accurate and stable results than the benchmark models. To the best of our knowledge, this is the first time that a deep learning method has been applied to forecast traffic flow at the lane level on urban ground roads instead of expressways or elevated roads.

Keywords: Attention Mechanism; Lane-level traffic flow prediction; Spatial-temporal network.

Grants and funding

This work is supported by the National Natural Science Foundation of China (62073295, 62072409, 61672463), the Zhejiang Provincial Natural Science Foundation (LR21F020003), and the Fundamental Research Funds for the Provincial Universities of Zhejiang (RF-B2020001). There is no additional external funding received for this study. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.