Papers › Temporal Graph Networks for Deep Learning on Dynamic Graphs

Temporal Graph Networks for Deep Learning on Dynamic Graphs

18 Jun 2020arXiv:2006.10637archive 2025-07-28

Emanuele Rossi, Ben Chamberlain, Fabrizio Frasca, Davide Eynard, Federico Monti, Michael Bronstein

Graph Neural Networks (GNNs) have recently become increasingly popular due to their ability to learn complex systems of relations or interactions arising in a broad spectrum of problems ranging from biology and particle physics to social networks and recommendation systems. Despite the plethora of different models for deep learning on graphs, few approaches have been proposed thus far for dealing with graphs that present some sort of dynamic nature (e.g. evolving features or connectivity over time). In this paper, we present Temporal Graph Networks (TGNs), a generic, efficient framework for deep learning on dynamic graphs represented as sequences of timed events. Thanks to a novel combination of memory modules and graph-based operators, TGNs are able to significantly outperform previous approaches being at the same time more computationally efficient. We furthermore show that several previous models for learning on dynamic graphs can be cast as specific instances of our framework. We perform a detailed ablation study of different components of our framework and devise the best configuration that achieves state-of-the-art performance on several transductive and inductive prediction tasks for dynamic graphs.

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="2006.10637")

Code

Syntology Ran 4 of 19 code samples harvested from 5 repositories linked to this paper; 15 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

KimMeen/TGN mentioned on GitHubpytorch report
M-Lampert/DyGLib mentioned on GitHubpytorch report
Mohit-Mithra/ceiling-graph mentioned on GitHubpytorch report
fpour/tgb_baselines mentioned on GitHubpytorch report
jasperzhong/GNNFlow mentioned on GitHubpytorchApache-2.0 report
petersh6/mspipe mentioned on GitHubpytorchApache-2.0 report
twitter-research/tgn mentioned on GitHubpytorchApache-2.0 report
wyd1502/DGNN mentioned on GitHubpytorch report
yule-buaa/dyglib mentioned on GitHubpytorchMIT report
dmlc/dgl pytorch 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

19 samples harvested; 4 ran; 0 honoured the contract we drafted; 15 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.

3ran · our draft was wrong
1ran · fixture could not drive it
15unverified

Licence: 0 of the 19 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 5 repositories linked to this paper, official or community; each sample names its own and says which. “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.

choose_target wyd1502/DGNN/evaluation.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 0cefebdbffe30631 · report
preprocess KimMeen/TGN/utils/preprocess_data.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 3e0dea4b496f8cd2 · report
recall wyd1502/DGNN/evaluation.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 4d2b9553dedc1537 · report
reindex KimMeen/TGN/utils/preprocess_data.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 4b8167621054e800 · report
MRR wyd1502/DGNN/evaluation.py community (archive-listed) unverified MIT (permissive) · 3537ea56146f8de9 · report
compute_time_statistics twitter-research/tgn/utils/data_processing.py community (archive-listed) unverified Apache-2.0 (permissive) · 6a8c69478a373575 · report
eval_edge_prediction twitter-research/tgn/evaluation/evaluation.py community (archive-listed) unverified Apache-2.0 (permissive) · f5baa0e9f4ee3f74 · report
eval_node_classification twitter-research/tgn/evaluation/evaluation.py community (archive-listed) unverified Apache-2.0 (permissive) · ce54929f6e81f2e2 · report
get_data twitter-research/tgn/utils/data_processing.py community (archive-listed) unverified Apache-2.0 (permissive) · d0e882ad0635a4cb · report
get_data_node_classification twitter-research/tgn/utils/data_processing.py community (archive-listed) unverified Apache-2.0 (permissive) · 1b8c08588991e985 · report
get_default_config jasperzhong/GNNFlow/gnnflow/config.py community (archive-listed) unverified Apache-2.0 (permissive) · 2abeac7066079ca7 · report
get_default_config petersh6/mspipe/gnnflow/config.py community (archive-listed) unverified Apache-2.0 (permissive) · 61d785f64b05116b · report
get_memory_updater twitter-research/tgn/modules/memory_updater.py community (archive-listed) unverified Apache-2.0 (permissive) · 5ac1084a72c973aa · report
get_message_aggregator twitter-research/tgn/modules/message_aggregator.py community (archive-listed) unverified Apache-2.0 (permissive) · 74cf96ac89330114 · report
get_message_function twitter-research/tgn/modules/message_function.py community (archive-listed) unverified Apache-2.0 (permissive) · e6724c779cc863ee · report
load_dataset jasperzhong/GNNFlow/gnnflow/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 59bf623a3b88b301 · report
load_partition_table jasperzhong/GNNFlow/gnnflow/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 7de6a93ec6c03c40 · report
load_partition_table jasperzhong/GNNFlow/gnnflow/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 01f22d83afe320b6 · report
neg_sample petersh6/mspipe/tgl/offline_tgl_presample.py community (archive-listed) unverified Apache-2.0 (permissive) · 5434bcfd6e9908b3 · report

Tasks

Deep LearningRecommendation Systems

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Introduced by this paper: TGN

TGN

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