arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.18495cs.DBcs.AIcs.LG
收藏

RDBLearn: 关系数据库中的简单上下文预测

RDBLearn: Simple In-Context Prediction Over Relational Databases

University of Hong Kong(香港大学);Shanghai X-Lab(上海X-Lab)

Yanlin Zhang, Linjie Xu, Quan Gan, David Wipf, Minjie Wang

AI总结:

RDBLearn通过关系数据库中的上下文学习方法,实现了对多表关联数据的高效预测,优于传统监督基线。

摘要:

最近的表格上下文学习(ICL)进展表明,一个预先训练的模型可以通过少量标记示例适应新的预测任务,从而避免了每个任务的训练和重调优。然而,许多现实任务存在于关系数据库中,其中预测信号分布在多个链接表中,而不是单一的扁平表中。我们展示了表格ICL可以通过一个简单的配方扩展到关系预测:自动使用关系聚合来特征化每个目标行,生成增强的表格,并在该表格上运行一个现成的表格基础模型。我们将这种方法封装在RDBLearn(https://github.com/HKUSHXLab/rdblearn)中,这是一个易于使用的工具包,具有类似于scikit-learn的估计器接口,使用户能够轻松地更换不同的表格ICL后端;还提供了互补的代理特定接口。在广泛的关系数据库基准(RelBench)和4DBInfer数据集上,RDBLearn是我们在评估中表现最好的基础模型方法,有时甚至优于在每个数据集上训练或微调的强监督基线。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑