Relational Transformer: Toward Zero-Shot Foundation Models for Relational Data
Not on the map. Why?
Abstract (arXiv)
Pretrained transformers readily adapt to new sequence modeling tasks via zero-shot prompting, but relational domains still lack architectures that transfer across datasets and tasks. The core challenge is the diversity of relational data, with varying heterogeneous schemas, graph structures and functional dependencies. In this paper, we present the Relational Transformer (RT) architecture, which can be pretrained on diverse relational databases and directly applied to unseen datasets and tasks without task- or dataset-specific fine-tuning, or retrieval of in-context examples. RT (i) incorporates task specification via task table prompting, (ii) tokenizes cells with table/column metadata, (iii) is pretrained via masked token prediction, and (iv) utilizes a novel Relational Attention mechanism over columns, rows, and primary-foreign key links. Pretrained on RelBench datasets spanning tasks such as churn and sales forecasting, RT attains strong zero-shot performance, averaging 93% of fully supervised AUROC on binary classification tasks with a single forward pass of a 22M parameter model, as opposed to 84% for a 27B LLM. Fine-tuning yields state-of-the-art results with high sample efficiency. Our experimental analyses show that RT's zero-shot transfer leverages task context, relational attention patterns and schema semantics. Overall, RT provides a practical path toward foundation models for relational data. Code, models, data: https://github.com/snap-stanford/relational-transformer.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 37 of its 48 references that are in the map. First posted on arXiv 7 Oct 2025.
Builds on
37 of 48 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
- 2021Tabular Data: Deep Learning is Not All You Needcited by 530
- 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
25 more
- 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 267
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
- 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 180
- 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
- 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 175
- 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 112
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2024RelBench: A Benchmark for Deep Learning on Relational Databasescited by 90
- 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 83
- 2024CARTE: Pretraining and Transfer for Tabular Learningcited by 69
- 2025RelGNN: Composite Message Passing for Relational Deep Learningcited by 45
- 2025Griffin: Towards a Graph-Centric Relational Database Foundation Modelcited by 41
- 2023Towards Foundational Models for Molecular Learning on Large-Scale Multi-Task Datasetscited by 37
- 2024Fully-inductive Node Classification on Arbitrary Graphscited by 36
- 2023On the Stability of Expressive Positional Encodings for Graphscited by 31
- 2025Turning Tabular Foundation Models into Graph Foundation Modelscited by 30
- 2025Large Language Models are Good Relational Learnerscited by 22
- 2025Relational Deep Learning: Challenges, Foundations and Next-Generation Architecturescited by 22
- 2025Learning Efficient Positional Encodings with Graph Neural Networkscited by 21
- 2024Comparing Graph Transformers via Positional Encodingscited by 20
- 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 15
- 2024PORTAL: Scalable Tabular Foundation Models via Content-Specific Tokenizationcited by 13
- 2024Post-Hoc Reversal: Are We Selecting Models Prematurely?cited by 7
- 2023Towards Foundation Models for Relational Databases [Vision Paper]cited by 6
- 2024Learning vs Retrieval: The Role of In-Context Examples in Regression with Large Language Modelscited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 31.
32 papers.
Sort:
By area:
- 2026RelBench v2: A Large-Scale Benchmark and Repository for Relational Datacited by 17
- 2026PluRel: Synthetic Data unlocks Scaling Laws for Relational Foundation Modelscited by 15
- 2026KumoRFM-2: Scaling Foundation Models for Relational Learningcited by 15
- 2026Relational In-Context Learning via Synthetic Pre-training with Structural Priorcited by 11
- 2026Predictive Query Language: A Domain-Specific Language for Predictive Modeling on Relational Databasescited by 8
- 2026No Need to Train Your RDB Foundation Modelcited by 8
- 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
- 2026Towards Anomaly Detection on Relational Datacited by 4
- 2026ReFuGe: Feature Generation for Prediction Tasks on Relational Databases with LLM Agentscited by 3
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databasescited by 3
- 2026Task Scarcity and Label Leakage in Relational Transfer Learningcited by 2
- 2026RelAgent: LLM Agents as Data Scientists for Relational Learningcited by 2
20 more
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPIcited by 2
- 2026Rel-MOSS: Towards Imbalanced Relational Deep Learning on Relational Databasescited by 1
- 2026RelPrism: A Multi-Faceted Pre-training Framework with Self-Generated Tasks for Relational Databasescited by 1
- 2026A Fair Benchmarking of Deep Relational Database Learning Modelscited by 1
- 2025TransactionGPTcited by 0
- 2026Gaussian Relational Graph Transformercited by 0
- 2026RelGT-AC: A Relational Graph Transformer for Autocomplete Tasks in Relational Databasescited by 0
- 2026Universal Encoders for Modular Relational Deep Learningcited by 0
- 2026FlexTab: A Flexible Encoder-Decoder Architecture for In-Context Learning Across Diverse Tabular Taskscited by 0
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programscited by 0
- 2026Incremental Evaluation and Training in Relational Deep Learningcited by 0
- 2026MetaSieve: Faster Relational Deep Learning through SQL-Based Metapath Selectioncited by 0
- 2026Can LLMs Use Relational Transformer Embeddings?cited by 0
- 2026Context Window Failures in Relational Foundation Modelscited by 0
- 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learningcited by 0
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNscited by 0
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Impact, Detection, and Mitigationcited by 0
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliabilitycited by 0
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Samplingcited by 0
- 2026RelICL: Training-free Relational Learning with Tabular Foundation Modelscited by 0
- 2026RelICL: Training-free Relational Learning with Tabular Foundation Models1 Oct 2026
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling1 Oct 2026
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliability29 Sep 2026
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Impact, Detection, and Mitigation28 Sep 2026
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNs10 Sep 2026
- 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learning1 Sep 2026
- 2026Context Window Failures in Relational Foundation Models31 Aug 2026
- 2026Can LLMs Use Relational Transformer Embeddings?31 Aug 2026
- 2026MetaSieve: Faster Relational Deep Learning through SQL-Based Metapath Selection26 Aug 2026
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPI17 Aug 2026
- 2026Incremental Evaluation and Training in Relational Deep Learning13 Aug 2026
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programs6 Jul 2026
20 more
- 2026A Fair Benchmarking of Deep Relational Database Learning Models4 Jul 2026
- 2026FlexTab: A Flexible Encoder-Decoder Architecture for In-Context Learning Across Diverse Tabular Tasks29 Jun 2026
- 2026Universal Encoders for Modular Relational Deep Learning19 Jun 2026
- 2026Towards Anomaly Detection on Relational Data17 Jun 2026
- 2026OpenRFM: Dissecting Relational In-Context Learning3 Jun 2026
- 2026RelGT-AC: A Relational Graph Transformer for Autocomplete Tasks in Relational Databases2 Jun 2026
- 2026RelPrism: A Multi-Faceted Pre-training Framework with Self-Generated Tasks for Relational Databases22 May 2026
- 2026Gaussian Relational Graph Transformer15 May 2026
- 2026RelAgent: LLM Agents as Data Scientists for Relational Learning8 May 2026
- 2026KumoRFM-2: Scaling Foundation Models for Relational Learning14 Apr 2026
- 2026Task Scarcity and Label Leakage in Relational Transfer Learning31 Mar 2026
- 2026Rel-MOSS: Towards Imbalanced Relational Deep Learning on Relational Databases9 Mar 2026
- 2026Relational In-Context Learning via Synthetic Pre-training with Structural Prior4 Mar 2026
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databases14 Feb 2026
- 2026No Need to Train Your RDB Foundation Model14 Feb 2026
- 2026RelBench v2: A Large-Scale Benchmark and Repository for Relational Data13 Feb 2026
- 2026Predictive Query Language: A Domain-Specific Language for Predictive Modeling on Relational Databases10 Feb 2026
- 2026PluRel: Synthetic Data unlocks Scaling Laws for Relational Foundation Models3 Feb 2026
- 2026ReFuGe: Feature Generation for Prediction Tasks on Relational Databases with LLM Agents25 Jan 2026
- 2025TransactionGPT12 Nov 2025
- 2026Can LLMs Use Relational Transformer Embeddings?cited by 0
- 2026Can LLMs Use Relational Transformer Embeddings?31 Aug 2026
- 2026RelBench v2: A Large-Scale Benchmark and Repository for Relational Datacited by 17
- 2026KumoRFM-2: Scaling Foundation Models for Relational Learningcited by 15
- 2026Relational In-Context Learning via Synthetic Pre-training with Structural Priorcited by 11
- 2026Predictive Query Language: A Domain-Specific Language for Predictive Modeling on Relational Databasescited by 8
- 2026No Need to Train Your RDB Foundation Modelcited by 8
- 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
- 2026Towards Anomaly Detection on Relational Datacited by 4
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databasescited by 3
- 2026Task Scarcity and Label Leakage in Relational Transfer Learningcited by 2
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPIcited by 2
- 2026Rel-MOSS: Towards Imbalanced Relational Deep Learning on Relational Databasescited by 1
- 2026RelPrism: A Multi-Faceted Pre-training Framework with Self-Generated Tasks for Relational Databasescited by 1
12 most cited of 28 All 28 (JSON)
- 2026RelICL: Training-free Relational Learning with Tabular Foundation Models1 Oct 2026
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling1 Oct 2026
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliability29 Sep 2026
- 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Impact, Detection, and Mitigation28 Sep 2026
- 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNs10 Sep 2026
- 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learning1 Sep 2026
- 2026Context Window Failures in Relational Foundation Models31 Aug 2026
- 2026MetaSieve: Faster Relational Deep Learning through SQL-Based Metapath Selection26 Aug 2026
- 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPI17 Aug 2026
- 2026Incremental Evaluation and Training in Relational Deep Learning13 Aug 2026
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programs6 Jul 2026
- 2026A Fair Benchmarking of Deep Relational Database Learning Models4 Jul 2026
12 newest of 28 All 28 (JSON)