RelGT-AC:用于关系数据库中自动完成任务的关系图Transformer
RelGT-AC: A Relational Graph Transformer for Autocomplete Tasks in Relational Databases
AI总结:
提出RelGT-AC模型,通过列掩码策略、统一任务头和TF-IDF文本编码器,在关系数据库的自动完成任务上优于GraphSAGE基线。
摘要:
关系数据库支撑着现代企业、科学和医疗系统,但由于其多表、异构和时间结构,对此类数据进行预测性机器学习仍然具有挑战性。关系深度学习(RDL)通过将数据库表示为异构图并直接应用图神经网络(GNN)来解决这一问题。RelBench v2最近引入了自动完成任务——一种实际动机的任务类型,其目标是从关系上下文中预测现有列值,类似于智能表单填充助手。我们提出了RelGT-AC(用于自动完成的关系图Transformer),通过三个有针对性的贡献扩展了RelGT架构:(1)一种列掩码策略,通过在子图编码期间屏蔽目标列来防止平凡解;(2)一个统一的任务头,支持在单个模型内进行二分类、多分类和回归自动完成任务;(3)一个TF-IDF文本编码器,自动检测和编码自由文本列,恢复分类编码器丢弃的强词汇信号。在跨越3个RelBench v2数据集(rel-trial、rel-f1、rel-stack)的7个任务中,RelGT-AC在所有3个回归自动完成任务上优于GraphSAGE基线,并通过TF-IDF编码器在文本密集的资格任务上实现了高达+10 AUROC点的提升。
英文摘要:
Relational databases underpin modern enterprise, scientific, and healthcare systems, yet predictive machine learning on such data remains challenging due to their multi-table, heterogeneous, and temporal structure. Relational Deep Learning (RDL) addresses this by representing databases as heterogeneous graphs and applying graph neural networks (GNNs) directly. RelBench v2 recently introduced autocomplete tasks -- a practically motivated task type where the goal is to predict an existing column value from relational context, analogous to an intelligent form-filling assistant. We propose RelGT-AC (Relational Graph Transformer for Autocomplete), extending the RelGT architecture with three targeted contributions: (1) a column masking strategy that prevents trivial solutions by masking the target column during subgraph encoding; (2) a unified task head supporting binary classification, multiclass classification, and regression autocomplete tasks within a single model; and (3) a TF-IDF text encoder that automatically detects and encodes free-text columns, recovering strong lexical signal that categorical encoders discard. Across 7 tasks spanning 3 RelBench v2 datasets (rel-trial, rel-f1, rel-stack), RelGT-AC outperforms the GraphSAGE baseline on all 3 regression autocomplete tasks and achieves up to +10 AUROC points on text-heavy eligibility tasks via the TF-IDF encoder.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。