RelGNN: Composite Message Passing for Relational Deep Learning

Tianlang Chen, Charilaos I. Kanatsoulis, J. Leskovec
2/14/2026

No official code found. Best implementation: snap-stanford/RelGNN (23 stars, MIT, last commit 2025-06-12).

Abstract

Predictive tasks on relational databases are critical in real-world applications spanning e-commerce, healthcare, and social media. To address these tasks effectively, Relational Deep Learning (RDL) encodes relational data as graphs, enabling Graph Neural Networks (GNNs) to exploit relational structures for improved predictions. However, existing RDL methods often overlook the intrinsic structural properties of the graphs built from relational databases, leading to modeling inefficiencies, particularly in handling many-to-many relationships. Here we introduce RelGNN, a novel GNN framework specifically designed to leverage the unique structural characteristics of the graphs built from relational databases. At the core of our approach is the introduction of atomic routes, which are simple paths that enable direct single-hop interactions between the source and destination nodes. Building upon these atomic routes, RelGNN designs new composite message passing and graph attention mechanisms that reduce redundancy, highlight key signals, and enhance predictive accuracy. RelGNN is evaluated on 30 diverse real-world tasks from Relbench (Fey et al., 2024), and achieves state-of-the-art performance on the vast majority of tasks, with improvements of up to 25%. Code is available at https://github.com/snap-stanford/RelGNN.

View on arXivView PDF

Code Implementations(1)

MIT

[ICML 2025] RelGNN: Composite Message Passing for Relational Deep Learning

237Python, Jupyter NotebookMay 28, 20251 years agoMIT

Similar Papers

Cite this paper

@article{chen2026relgnn,
  title  = {RelGNN: Composite Message Passing for Relational Deep Learning},
  author = {Tianlang Chen and Charilaos I. Kanatsoulis and J. Leskovec},
  year   = {2026},
  eprint = {2502.06784},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.06784},
  journal = {ICML 2025 2025}
}

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

Discussion