
TGT-GMAN
Time series1,127 ops513.8K params
Encoder-decoder of spatio-temporal attention blocks that forecasts traffic on a road network graph.
Time series · 463 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
A compact version with a single ST-Attention block in both encoder and decoder, forecasting 10 steps over 50 nodes.
About this model's family
GMAN, the Graph Multi-Attention Network, is a traffic forecasting model that predicts traffic conditions several time steps ahead at every location on a road network graph. The paper frames long-term traffic prediction as hard because traffic systems are complex and many impacting factors keep changing.
GMAN uses an encoder-decoder design in which both halves are stacks of spatio-temporal attention blocks. Each block pairs a spatial attention over the sensors in the road network with a temporal attention over time steps, and a gated fusion adaptively fuses the two. Graph structure and clock time enter through a spatio-temporal embedding that feeds the spatial, temporal and transform attention. The spatial half of that embedding comes from node2vec vectors learned on the road graph. Between encoder and decoder, a transform attention layer converts the encoded history directly into representations of the future time steps, which the paper says eases error propagation across prediction steps.
For large sensor counts the paper also proposes a group spatial attention, with intra-group and inter-group attention, to avoid scoring every pair of vertices. On two real-world tasks, traffic volume and traffic speed prediction, the paper reports up to a 4% improvement in MAE over earlier methods for 1 hour ahead prediction. Those tasks use the Xiamen dataset with 95 traffic sensors and the PeMS dataset with 325 traffic sensors in the Bay Area.
Key idea. GMAN stacks spatial and temporal attention with gated fusion in an encoder-decoder, and adds a transform attention layer linking historical to future time steps.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zheng2019gmangraphmultiattentionnetwork,
title={GMAN: A Graph Multi-Attention Network for Traffic Prediction},
author={Chuanpan Zheng and Xiaoliang Fan and Cheng Wang and Jianzhong Qi},
year={2019},
eprint={1911.08415},
archivePrefix={arXiv},
primaryClass={eess.SP},
url={https://arxiv.org/abs/1911.08415},
}