Supra-Laplacian Encoding for Transformer on Dynamic Graphs

Yannis Karmim, Marc Lafon, Raphael Fournier S'niehotta, Nicolas Thome
9/26/2024
cs.LG

No official code found. Best implementation: ykrmm/SLATE (4 stars, MIT, last commit 2026-04-20).

Abstract

Fully connected Graph Transformers (GT) have rapidly become prominent in the static graph community as an alternative to Message-Passing models, which suffer from a lack of expressivity, oversquashing, and under-reaching. However, in a dynamic context, by interconnecting all nodes at multiple snapshots with self-attention, GT loose both structural and temporal information. In this work, we introduce Supra-LAplacian encoding for spatio-temporal TransformErs (SLATE), a new spatio-temporal encoding to leverage the GT architecture while keeping spatio-temporal information. Specifically, we transform Discrete Time Dynamic Graphs into multi-layer graphs and take advantage of the spectral properties of their associated supra-Laplacian matrix. Our second contribution explicitly model nodes' pairwise relationships with a cross-attention mechanism, providing an accurate edge representation for dynamic link prediction. SLATE outperforms numerous state-of-the-art methods based on Message-Passing Graph Neural Networks combined with recurrent models (e.g LSTM), and Dynamic Graph Transformers, on 9 datasets. Code is available at: github.com/ykrmm/SLATE.

View on arXivView PDF

Code Implementations(1)

ykrmm/SLATECommunity100%
MIT

[NeurIPS'24] Supra-Laplacian Encoding for Transformer on Dynamic Graphs

40Shell, PythonApr 9, 20256 months agoMIT

Similar Papers

Cite this paper

@article{karmim2024supralaplacian,
  title  = {Supra-Laplacian Encoding for Transformer on Dynamic Graphs},
  author = {Yannis Karmim and Marc Lafon and Raphael Fournier S'niehotta and Nicolas Thome},
  year   = {2024},
  eprint = {2409.17986},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2409.17986},
  url    = {http://arxiv.org/abs/2409.17986v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion