Trendformer: Trend Adaptive Transformer for Traffic Flow Prediction

Lei Huang,Feng Zhu,Zhiheng Li
DOI: https://doi.org/10.1109/dsit55514.2022.9943858
2022-01-01
Abstract:Traffic flow prediction is of great significance to traffic control and management, and has always been a hot research topic in the traffic field. However, it is a challenging task due to the dynamic and complex spatial-temporal dependencies of traffic flow. Most existing prediction methods suffer from two major shortcomings: (1) Only a few deep learning based prediction models have applied detrending, while the detrending method has been proved to be effective in improving the prediction performance. (2) Most detrending methods tend to extract only fixed trends, without considering the impact of special events on trends. To overcome those limitations, we proposed a novel deep learning framework, called Trendformer, which applies detrending in spatial-temporal Transformer network to improve traffic prediction. Trendformer follows Transformer's encoder-decoder architecture. The encoder encodes the input traffic flow and the decoder outputs the expected predictions. The average trend was calculated and used as decoder input. Specially, we elaborate a trend adaptive module which dynamically adjusts the trend to enhance the robustness of the model to the occurrence of special events. Experimental results on four public datasets demonstrate that the proposed method consistently outperforms the state-of-the-art baselines.
What problem does this paper attempt to address?