tBDFS: Temporal Graph Neural Network Leveraging DFS

Uriel Singer, Haggai Roitman, Ido Guy, Kira Radinsky
6/12/2022
cs.LG
gnn

Official code: urielsinger/tDFS (1 star, Python, Apache-2.0, last commit 2022-07-04).

Abstract

Temporal graph neural networks (temporal GNNs) have been widely researched, reaching state-of-the-art results on multiple prediction tasks. A common approach employed by most previous works is to apply a layer that aggregates information from the historical neighbors of a node.

Show full abstract

Taking a different research direction, in this work, we propose tBDFS -- a novel temporal GNN architecture. tBDFS applies a layer that efficiently aggregates information from temporal paths to a given (target) node in the graph. For each given node, the aggregation is applied in two stages: (1) A single representation is learned for each temporal path ending in that node, and (2) all path representations are aggregated into a final node representation. Overall, our goal is not to add new information to a node, but rather observe the same exact information in a new perspective. This allows our model to directly observe patterns that are path-oriented rather than neighborhood-oriented. This can be thought as a Depth-First Search (DFS) traversal over the temporal graph, compared to the popular Breath-First Search (BFS) traversal that is applied in previous works. We evaluate tBDFS over multiple link prediction tasks and show its favorable performance compared to state-of-the-art baselines. To the best of our knowledge, we are the first to apply a temporal-DFS neural network.

View on arXivView PDF

Code Implementations(1)

urielsinger/tDFSOfficial100%
Apache-2.0
10PythonJul 4, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{singer2022tbdfs,
  title  = {tBDFS: Temporal Graph Neural Network Leveraging DFS},
  author = {Uriel Singer and Haggai Roitman and Ido Guy and Kira Radinsky},
  year   = {2022},
  eprint = {2206.05692},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05692}
}

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/2206.05692.svg)](https://codeofpaper.com/paper/2206.05692)

Discussion