RDBLearn: Simple In-Context Prediction Over Relational Databases

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Yanlin, Xu, Linjie, Gan, Quan, Wipf, David, Wang, Minjie
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910028780273664
author Zhang, Yanlin
Xu, Linjie
Gan, Quan
Wipf, David
Wang, Minjie
author_facet Zhang, Yanlin
Xu, Linjie
Gan, Quan
Wipf, David
Wang, Minjie
contents Recent advances in tabular in-context learning (ICL) show that a single pretrained model can adapt to new prediction tasks from a small set of labeled examples, avoiding per-task training and heavy tuning. However, many real-world tasks live in relational databases, where predictive signal is spread across multiple linked tables rather than a single flat table. We show that tabular ICL can be extended to relational prediction with a simple recipe: automatically featurize each target row using relational aggregations over its linked records, materialize the resulting augmented table, and run an off-the-shelf tabular foundation model on it. We package this approach in \textit{RDBLearn} (https://github.com/HKUSHXLab/rdblearn), an easy-to-use toolkit with a scikit-learn-style estimator interface that makes it straightforward to swap different tabular ICL backends; a complementary agent-specific interface is provided as well. Across a broad collection of RelBench and 4DBInfer datasets, RDBLearn is the best-performing foundation model approach we evaluate, at times even outperforming strong supervised baselines trained or fine-tuned on each dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2602_18495
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle RDBLearn: Simple In-Context Prediction Over Relational Databases
Zhang, Yanlin
Xu, Linjie
Gan, Quan
Wipf, David
Wang, Minjie
Databases
Artificial Intelligence
Machine Learning
Recent advances in tabular in-context learning (ICL) show that a single pretrained model can adapt to new prediction tasks from a small set of labeled examples, avoiding per-task training and heavy tuning. However, many real-world tasks live in relational databases, where predictive signal is spread across multiple linked tables rather than a single flat table. We show that tabular ICL can be extended to relational prediction with a simple recipe: automatically featurize each target row using relational aggregations over its linked records, materialize the resulting augmented table, and run an off-the-shelf tabular foundation model on it. We package this approach in \textit{RDBLearn} (https://github.com/HKUSHXLab/rdblearn), an easy-to-use toolkit with a scikit-learn-style estimator interface that makes it straightforward to swap different tabular ICL backends; a complementary agent-specific interface is provided as well. Across a broad collection of RelBench and 4DBInfer datasets, RDBLearn is the best-performing foundation model approach we evaluate, at times even outperforming strong supervised baselines trained or fine-tuned on each dataset.
title RDBLearn: Simple In-Context Prediction Over Relational Databases
topic Databases
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2602.18495