mlsanityData to 7 Oct 2026

Relational Transformer: Toward Zero-Shot Foundation Models for Relational Data

arXiv 2510.06377 ↗First posted 7 Oct 2025cs.LG cs.AI cs.DBcited by 32

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  6. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  8. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  9. 2020A Generalization of Transformer Networks to Graphscited by 653
  10. 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
  11. 2021Tabular Data: Deep Learning is Not All You Needcited by 530
  12. 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
25 more
  1. 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 267
  2. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  3. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 180
  4. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
  5. 2023Talk like a Graph: Encoding Graphs for Large Language Modelscited by 175
  6. 2024Let Your Graph Do the Talking: Encoding Structured Data for LLMscited by 112
  7. 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
  8. 2024RelBench: A Benchmark for Deep Learning on Relational Databasescited by 90
  9. 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 83
  10. 2024CARTE: Pretraining and Transfer for Tabular Learningcited by 69
  11. 2025RelGNN: Composite Message Passing for Relational Deep Learningcited by 45
  12. 2025Griffin: Towards a Graph-Centric Relational Database Foundation Modelcited by 41
  13. 2023Towards Foundational Models for Molecular Learning on Large-Scale Multi-Task Datasetscited by 37
  14. 2024Fully-inductive Node Classification on Arbitrary Graphscited by 36
  15. 2023On the Stability of Expressive Positional Encodings for Graphscited by 31
  16. 2025Turning Tabular Foundation Models into Graph Foundation Modelscited by 30
  17. 2025Large Language Models are Good Relational Learnerscited by 22
  18. 2025Relational Deep Learning: Challenges, Foundations and Next-Generation Architecturescited by 22
  19. 2025Learning Efficient Positional Encodings with Graph Neural Networkscited by 21
  20. 2024Comparing Graph Transformers via Positional Encodingscited by 20
  21. 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 15
  22. 2024PORTAL: Scalable Tabular Foundation Models via Content-Specific Tokenizationcited by 13
  23. 2024Post-Hoc Reversal: Are We Selecting Models Prematurely?cited by 7
  24. 2023Towards Foundation Models for Relational Databases [Vision Paper]cited by 6
  25. 2024Learning vs Retrieval: The Role of In-Context Examples in Regression with Large Language Modelscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 31.

32 papers.

Sort:

By area:

  1. 2026RelBench v2: A Large-Scale Benchmark and Repository for Relational Datacited by 17
  2. 2026PluRel: Synthetic Data unlocks Scaling Laws for Relational Foundation Modelscited by 15
  3. 2026KumoRFM-2: Scaling Foundation Models for Relational Learningcited by 15
  4. 2026Relational In-Context Learning via Synthetic Pre-training with Structural Priorcited by 11
  5. 2026Predictive Query Language: A Domain-Specific Language for Predictive Modeling on Relational Databasescited by 8
  6. 2026No Need to Train Your RDB Foundation Modelcited by 8
  7. 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
  8. 2026Towards Anomaly Detection on Relational Datacited by 4
  9. 2026ReFuGe: Feature Generation for Prediction Tasks on Relational Databases with LLM Agentscited by 3
  10. 2026RDBLearn: Simple In-Context Prediction Over Relational Databasescited by 3
  11. 2026Task Scarcity and Label Leakage in Relational Transfer Learningcited by 2
  12. 2026RelAgent: LLM Agents as Data Scientists for Relational Learningcited by 2
20 more
  1. 2026Advancing Open and Reproducible Relational Learning: RelArena-α, TabPFN-Rel and RPIcited by 2
  2. 2026Rel-MOSS: Towards Imbalanced Relational Deep Learning on Relational Databasescited by 1
  3. 2026RelPrism: A Multi-Faceted Pre-training Framework with Self-Generated Tasks for Relational Databasescited by 1
  4. 2026A Fair Benchmarking of Deep Relational Database Learning Modelscited by 1
  5. 2025TransactionGPTcited by 0
  6. 2026Gaussian Relational Graph Transformercited by 0
  7. 2026RelGT-AC: A Relational Graph Transformer for Autocomplete Tasks in Relational Databasescited by 0
  8. 2026Universal Encoders for Modular Relational Deep Learningcited by 0
  9. 2026FlexTab: A Flexible Encoder-Decoder Architecture for In-Context Learning Across Diverse Tabular Taskscited by 0
  10. 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programscited by 0
  11. 2026Incremental Evaluation and Training in Relational Deep Learningcited by 0
  12. 2026MetaSieve: Faster Relational Deep Learning through SQL-Based Metapath Selectioncited by 0
  13. 2026Can LLMs Use Relational Transformer Embeddings?cited by 0
  14. 2026Context Window Failures in Relational Foundation Modelscited by 0
  15. 2026Relational Task Generation Language: A Declarative Specification Framework for Relational Deep Learningcited by 0
  16. 2026Reification as a Transferable Vocabulary: Zero-Shot Link Prediction with Vanilla GNNscited by 0
  17. 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Impact, Detection, and Mitigationcited by 0
  18. 2026Support-Set Target Leakage in Relational Foundation Models during In-Context Learning: Model Dependence and Evaluation Reliabilitycited by 0
  19. 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Samplingcited by 0
  20. 2026RelICL: Training-free Relational Learning with Tabular Foundation Modelscited by 0