Papers › T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Prediction

T-GCN: A Temporal Graph ConvolutionalNetwork for Traffic Prediction

12 Nov 2018arXiv:1811.05320archive 2025-07-28

Ling Zhao, Yujiao Song, Chao Zhang, Yu Liu, Pu Wang, Tao Lin, Min Deng, Haifeng Li

Accurate and real-time traffic forecasting plays an important role in the Intelligent Traffic System and is of great significance for urban traffic planning, traffic management, and traffic control. However, traffic forecasting has always been considered an open scientific issue, owing to the constraints of urban road network topological structure and the law of dynamic change with time, namely, spatial dependence and temporal dependence. To capture the spatial and temporal dependence simultaneously, we propose a novel neural network-based traffic forecasting method, the temporal graph convolutional network (T-GCN) model, which is in combination with the graph convolutional network (GCN) and gated recurrent unit (GRU). Specifically, 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. Then, the T-GCN model is employed to traffic forecasting based on the urban road network. Experiments demonstrate that our T-GCN model can obtain the spatio-temporal correlation from traffic data and the predictions outperform state-of-art baselines on real-world traffic datasets. Our tensorflow implementation of the T-GCN is available at https://github.com/lehaifeng/T-GCN.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1811.05320")

Code

Syntology Ran 0 of 5 code samples harvested from 1 repository linked to this paper; 5 have no recorded run.

By repository: community (archive-listed): 5 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lehaifeng/T-GCN officialmentioned in papermentioned on GitHubtf report
martinwhl/T-GCN-PyTorch mentioned on GitHubpytorchMIT report
pursuer0123/T-GCN mentioned on GitHubtf report
yangjun1994/CAGCN mentioned on GitHub report
zouchangjie/T-GCN-------- mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

5 samples harvested; 0 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5unverified

Licence: 0 of the 5 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from martinwhl/T-GCN-PyTorch. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy martinwhl/T-GCN-PyTorch/utils/metrics.py community (archive-listed) unverified MIT (permissive) · 814a89361d5f8275 · report
calculate_laplacian_with_self_loop martinwhl/T-GCN-PyTorch/utils/graph_conv.py community (archive-listed) unverified MIT (permissive) · 76f4329957d2659c · report
explained_variance martinwhl/T-GCN-PyTorch/utils/metrics.py community (archive-listed) unverified MIT (permissive) · ce1537180e1d98a6 · report
mse_with_regularizer_loss martinwhl/T-GCN-PyTorch/utils/losses.py community (archive-listed) unverified MIT (permissive) · 945557d540ec7991 · report
r2 martinwhl/T-GCN-PyTorch/utils/metrics.py community (archive-listed) unverified MIT (permissive) · aad50acb99c1b62c · report

Tasks

ManagementPredictionTraffic Prediction

Datasets

Introduced by this paper, per the archive.

SZ-Taxi

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Traffic Prediction SZ-Taxi GRU MAE @ 15min 2.6814 #4 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi GRU MAE @ 30min 2.7009 #4 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi GRU MAE @ 45min 2.7207 #4 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi GRU MAE @ 60min 2.7431 #4 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi T-GCN MAE @ 15min 2.7061 #5 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi T-GCN MAE @ 30min 2.7452 #5 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi T-GCN MAE @ 45min 2.7666 #5 of 5 Archive leaderboard report
Traffic Prediction SZ-Taxi T-GCN MAE @ 60min 2.7889 #5 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

GCN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections