Provably expressive temporal graph networks

Amauri H. Souza, Diego Mesquita, Samuel Kaski, Vikas Garg
9/29/2022
cs.LG

Official code: AaltoPML/PINT (20 stars, Python, last commit 2023-02-07).

Abstract

Temporal graph networks (TGNs) have gained prominence as models for embedding dynamic interactions, but little is known about their theoretical underpinnings. We establish fundamental results about the representational power and limits of the two main categories of TGNs: those that aggregate temporal walks (WA-TGNs), and those that augment local message passing with recurrent memory modules (MP-TGNs).

Show full abstract

Specifically, novel constructions reveal the inadequacy of MP-TGNs and WA-TGNs, proving that neither category subsumes the other. We extend the 1-WL (Weisfeiler-Leman) test to temporal graphs, and show that the most powerful MP-TGNs should use injective updates, as in this case they become as expressive as the temporal WL. Also, we show that sufficiently deep MP-TGNs cannot benefit from memory, and MP/WA-TGNs fail to compute graph properties such as girth. These theoretical insights lead us to PINT -- a novel architecture that leverages injective temporal message passing and relative positional features. Importantly, PINT is provably more expressive than both MP-TGNs and WA-TGNs. PINT significantly outperforms existing TGNs on several real-world benchmarks.

View on arXivView PDF

Code Implementations(1)

AaltoPML/PINTOfficial100%
206PythonSep 23, 20223 years ago

Similar Papers

Cite this paper

@article{souza2022provably,
  title  = {Provably expressive temporal graph networks},
  author = {Amauri H. Souza and Diego Mesquita and Samuel Kaski and Vikas Garg},
  year   = {2022},
  eprint = {2209.15059},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.15059}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.15059.svg)](https://codeofpaper.com/paper/2209.15059)

Discussion