Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Griffin: Towards a Graph-Centric Relational Database Foundation Model

About

We introduce Griffin, the first foundation model attemptation designed specifically for Relational Databases (RDBs). Unlike previous smaller models focused on single RDB tasks, Griffin unifies the data encoder and task decoder to handle diverse tasks. Additionally, we enhance the architecture by incorporating a cross-attention module and a novel aggregator. Griffin utilizes pretraining on both single-table and RDB datasets, employing advanced encoders for categorical, numerical, and metadata features, along with innovative components such as cross-attention modules and enhanced message-passing neural networks (MPNNs) to capture the complexities of relational data. Evaluated on large-scale, heterogeneous, and temporal graphs extracted from RDBs across various domains (spanning over 150 million nodes), Griffin demonstrates superior or comparable performance to individually trained models, excels in low-data scenarios, and shows strong transferability with similarity and diversity in pretraining across new datasets and tasks, highlighting its potential as a universally applicable foundation model for RDBs. Code available at https://github.com/yanxwb/Griffin.

Yanbo Wang, Xiyuan Wang, Quan Gan, Minjie Wang, Qibin Yang, David Wipf, Muhan Zhang• 2025

Related benchmarks

TaskDatasetResultRank
Entity ClassificationRELBENCH rel-amazon item-churn (test)
AUROC71.9
14
Entity ClassificationRelBench rel-stack user-engage
AUC89.4
8
Entity ClassificationRelBench rel-stack user-badge
AUC82.3
8
Entity ClassificationRelBench rel-avito user-churn
AUC0.641
8
Entity ClassificationRelBench rel-avito user-visits
AUC62.2
8
Entity ClassificationRelBench rel-hm user-churn
AUC60.4
8
Entity ClassificationRelBench rel-trial study-outcome
AUC57.2
8
Entity ClassificationRelBench rel-avito user-clicks
AUC45.9
8
site-success regressionRELBENCH rel-trial (test)
R2 Score2.6
3
study-adverse regressionRELBENCH rel-trial (test)
R2 Score-2.5
3
Showing 10 of 10 rows

Other info

Follow for update