STNN : A Spatio-Temporal Neural Network for Traffic Predictions

Research output: Journal Publications and Reviews (RGC: 21, 22, 62)21_Publication in refereed journalpeer-review

9 Scopus Citations
View graph of relations


Related Research Unit(s)


Original languageEnglish
Pages (from-to)7642-7651
Journal / PublicationIEEE Transactions on Intelligent Transportation Systems
Issue number12
Online published16 Jul 2020
Publication statusPublished - Dec 2021


Traffic is very important to route planning and people's daily lives. Traffic prediction is still very challenging as it is affected by many complex factors including dynamic spatio-temporal dependencies and external factors (e.g., road types and nearby points of interest) in the road network. Dynamic spatio-temporal dependencies simultaneously contain spatial and temporal dependencies. Existing models for predicting traffic of links only consider the spatial dependencies from the perspective of links or the whole road network by ignoring the spatial dependencies among regions. To this end, this paper proposes a new Spatio-Temporal Neural Network (STNN) with the encoder-decoder architecture to improve the accuracy of traffic predictions by additionally taking into account the region-based spatial dependencies and external factors. Specifically, STNN learns dynamic spatio-temporal dependencies from historical traffic time series via an encoder in the perspective of the road network, with two spatial models, i.e., region-based spatial model and link-based spatial attention model in the perspectives of regions and links, respectively. Further, STNN decodes the output from the encoder via a decoder with a temporal attention model for recording long-term dependencies and fuses external factors in the road network, to improve network-wide traffic predictions. We conduct extensive experiments to evaluate the performance of STNN on three real-world traffic datasets, which shows that STNN is significantly better than the state-of-the-art models.

Research Area(s)

  • Traffic predictions, spatio-temporal neural network (STNN), dynamic spatio-temporal dependencies, attention model