Spatiotemporal Forecasting of Traffic Flow using Wavelet-based Temporal Attention
Yash Jakhmola, Madhurima Panja, Nitish Kumar Mishra, Kripabandhu Ghosh, Uttam Kumar, Tanujit Chakraborty
TL;DR
Spatiotemporal traffic forecasting is challenged by nonstationarity and nonlinear spatial-temporal dependencies. The authors propose W-DSTAGNN, a wavelet-based dynamic spatiotemporal graph neural network that uses MODWT to separate temporal details from trends, then applies wavelet temporal attention and sparse spatial graphs to capture complex patterns. Experiments on PeMS-BAY, PeMS03, and PeMS04 show W-DSTAGNN outperforming ten baselines on 1-hour ahead forecasts and providing reliable conformal prediction intervals, with statistically significant improvements. The approach offers a scalable probabilistic forecasting tool for intelligent transportation systems and can be extended to other spatiotemporal domains.
Abstract
Spatiotemporal forecasting of traffic flow data represents a typical problem in the field of machine learning, impacting urban traffic management systems. In general, spatiotemporal forecasting problems involve complex interactions, nonlinearities, and long-range dependencies due to the interwoven nature of the temporal and spatial dimensions. Due to this, traditional statistical and machine learning methods cannot adequately handle the temporal and spatial dependencies in these complex traffic flow datasets. A prevalent approach in the field combines graph convolutional networks and multi-head attention mechanisms for spatiotemporal processing. This paper proposes a wavelet-based temporal attention model, namely a wavelet-based dynamic spatiotemporal aware graph neural network (W-DSTAGNN), for tackling the traffic forecasting problem. Wavelet decomposition can help by decomposing the signal into components that can be analyzed independently, reducing the impact of non-stationarity and handling long-range dependencies of traffic flow datasets. Benchmark experiments using three popularly used statistical metrics confirm that our proposal efficiently captures spatiotemporal correlations and outperforms ten state-of-the-art models (including both temporal and spatiotemporal benchmarks) on three publicly available traffic datasets. Our proposed ensemble method can better handle dynamic temporal and spatial dependencies and make reliable long-term forecasts. In addition to point forecasts, our proposed model can generate interval forecasts that significantly enhance probabilistic forecasting for traffic datasets.
