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

无需训练你的关系数据库基础模型

No Need to Train Your RDB Foundation Model

University of Hong Kong, Shanghai X-Lab(香港大学,上海X实验室)

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

AI总结:

本文提出了一种基于上下文学习的关系数据库编码器,能够在不重新训练的情况下,与现有的单表上下文学习基础模型结合,实现对多张相关表的高效处理。

摘要:

关系数据库(RDBs)包含大量异构的表格信息,可用于预测建模。但鉴于企业环境中潜在的目标空间广阔,如何避免每次预测新感兴趣的量时重新训练新模型?基于上下文学习(ICL)的基础模型提供了一种方便的选项,但目前大多局限于单表操作。在推广到多张相互关联的表时,关键在于将可变大小的RDB邻域压缩为固定长度的ICL样本供解码器使用。然而,细节至关重要:与现有监督学习RDB流程不同,我们提供了理论和实证证据表明,ICL特定的压缩应限制在高维RDB列中,其中所有实体共享单位和角色,而不是跨列,因为异构数据类型的相关性无法在缺乏大量标签信息的情况下确定。基于此限制,我们证明了排除可训练参数不会影响编码器的表达能力。因此,我们得到了一种原理上可行的RDB编码器家族,可以无缝搭配已有的单表ICL基础模型,从而无需训练或微调。从实用角度看,我们开发了可扩展的SQL原语来实现编码器阶段,最终得到一个易于使用的开源RDBLearn基础模型,能够在未见过的数据集上实现稳健的性能。

英文摘要:

Relational databases (RDBs) contain vast amounts of heterogeneous tabular information that can be exploited for predictive modeling purposes. But since the space of potential targets is vast across enterprise settings, how can we avoid retraining a new model each time we wish to predict a new quantity of interest? Foundation models based on in-context learning (ICL) offer a convenient option, but so far are largely restricted to single-table operability. In generalizing to multiple interrelated tables, it is essential to compress variably-sized RDB neighborhoods into fixed-length ICL samples for consumption by the decoder. However, the details here are critical: unlike existing supervised learning RDB pipelines, we provide theoretical and empirical evidence that ICL-specific compression should be constrained within high-dimensional RDB columns where all entities share units and roles, not across columns where the relevance of heterogeneous data types cannot be determined without extensive label information. Conditioned on this restriction, we then demonstrate that encoder expressiveness is actually not compromised by excluding trainable parameters. Hence we arrive at a principled family of RDB encoders that can be seamlessly paired with already-existing single-table ICL foundation models, whereby no training or fine-tuning is required. From a practical standpoint, we develop scalable SQL primitives to implement the encoder stage, resulting in the easy-to-use open-source RDBLearn foundation model capable of robust performance on unseen datasets out of the box.

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

↑