Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

RelGNN: Composite Message Passing for Relational Deep Learning

About

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.

Tianlang Chen, Charilaos Kanatsoulis, Jure Leskovec• 2025

Related benchmarks

TaskDatasetResultRank
Driver Top 3 Predictionrel-f1
ROC-AUC84.8
70
Driver DNF Predictionrel-f1
ROC-AUC0.746
67
User Churn PredictionAmazon Rel
ROC-AUC0.538
64
Item Churn Predictionrel-amazon
ROC-AUC52.1
64
User Churn Predictionrel-hm
ROC-AUC55.6
62
Entity RegressionRelBench v1.0 (test)
CTR (Avito Ad)15.6
45
User Badge PredictionRel Stack User Badge
ROC-AUC89
37
Entity ClassificationRelBench rel-avito user-visits
AUC65.67
36
Entity ClassificationRelBench rel-stack user-badge
AUC89
27
Binary ClassificationRelBench 1.0 (test)
Relational Amazon User Churn71.24
26
Showing 10 of 62 rows

Other info

Follow for update