Enhancing the Expressivity of Temporal Graph Networks Through Source-Target Identification

Abstract

Despite the successful application of Temporal Graph Networks (TGNs) for tasks such as dynamic node classification and link prediction, they still perform poorly on the task of dynamic node affinity prediction -- where the goal is to predict 'how much' two nodes will interact in the future. In fact, simple heuristic approaches such as persistent forecasts and moving averages over _ground-truth labels_ significantly and consistently outperform TGNs. Building on this observation, we find that computing heuristics _over messages_ is an equally competitive approach, outperforming TGN and all current temporal graph (TG) models on dynamic node affinity prediction. In this paper, we prove that no formulation of TGN can represent persistent forecasting or moving averages over messages, and propose to enhance the expressivity of TGNs by adding source-target identification to each interaction event message. We show that this modification is required to represent persistent forecasting, moving averages, and the broader class of autoregressive models over messages. Our proposed method, TGNv2, significantly outperforms TGN and all current TG models on all Temporal Graph Benchmark (TGB) dynamic node affinity prediction datasets.

Cite

Text

Tjandra et al. "Enhancing the Expressivity of Temporal Graph Networks Through Source-Target Identification." NeurIPS 2024 Workshops: NeurReps, 2024.

Markdown

[Tjandra et al. "Enhancing the Expressivity of Temporal Graph Networks Through Source-Target Identification." NeurIPS 2024 Workshops: NeurReps, 2024.](https://mlanthology.org/neuripsw/2024/tjandra2024neuripsw-enhancing/)

BibTeX

@inproceedings{tjandra2024neuripsw-enhancing,
  title     = {{Enhancing the Expressivity of Temporal Graph Networks Through Source-Target Identification}},
  author    = {Tjandra, Benedict Aaron and Barbero, Federico and Bronstein, Michael M.},
  booktitle = {NeurIPS 2024 Workshops: NeurReps},
  year      = {2024},
  url       = {https://mlanthology.org/neuripsw/2024/tjandra2024neuripsw-enhancing/}
}