
TGCN
Graphs and geometry136 ops6.7K params
T-GCN, a GRU cell whose inputs pass through a graph convolution over the road network first.
Graphs and geometry · 136 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.
TGCN2 is the same cell run over a batch of node feature matrices instead of a single graph snapshot.
About this model's family
T-GCN, the Temporal Graph Convolutional Network, is a recurrent cell for traffic forecasting on a road network that combines a graph convolutional network (GCN) with a gated recurrent unit (GRU). The GCN is used to learn complex topological structures to capture spatial dependence and the gated recurrent unit is used to learn dynamic changes of traffic data to capture temporal dependence. Inside the cell, the graph convolution output replaces the raw input in every GRU gate: the update gate, reset gate and candidate state are each computed from the graph-convolved features concatenated with the previous hidden state.
Roads are the nodes of an unweighted graph whose adjacency matrix contains only elements of 0 and 1, and the traffic speed on each road is the node feature. The authors chose the GRU over the LSTM because it has a relatively simple structure, fewer parameters, and faster training ability. Both forms on this page come from PyTorch Geometric Temporal, which lists T-GCN among its recurrent graph convolutions; TGCN2 is the same cell applied to a batch of graphs.
On the SZ-taxi and Los-loop datasets the paper reports that T-GCN reduces prediction error by approximately 1.5% to 57.8% compared with all baseline methods. The authors also note a weakness: the model predicts poorly at traffic peaks, which they attribute to the smoothing filter of the GCN. For the SZ-taxi dataset the paper found 100 hidden units best, with error rising again for larger sizes.
Key idea. T-GCN feeds graph-convolved road features into a GRU so one cell captures the road network's spatial dependence and traffic's temporal dependence together.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{zhao2018tgcntemporalgraphconvolutionalnetwork,
title={T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Prediction},
author={Ling Zhao and Yujiao Song and Chao Zhang and Yu Liu and Pu Wang and Tao Lin and Min Deng and Haifeng Li},
year={2018},
eprint={1811.05320},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1109/TITS.2019.2935152},
url={https://arxiv.org/abs/1811.05320},
}