arXiv:cs.LG(机器学习,全量分类)· Abdalla Mohamed, Ashraf Aboulnaga·· 9 小时前AI 评分33
STEER:通过语义感知采样降低关系基础模型推理成本
STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling
AI 导读
STEER 通过提示大语言模型按任务对数据库模式的外键边进行相关性分级,并将分级映射为遍历概率,把推理上下文集中在与预测任务最相关的表上。在 RT、RT-J 和 Griffin 三个关系基础模型上,STEER 平均将推理上下文规模缩减约 40%,同时保持甚至部分提升预测准确率。由于分级仅依赖模式,每个任务只需计算一次即可复用,成本可被摊销。
正文
Abstract:Relational foundation models (RFMs) are pretrained once on a collection of relational databases and prediction tasks, and then applied zero-shot to previously unseen databases and tasks. To make a prediction for a target row, an RFM samples a neighborhood of rows linked to that row through foreign keys and uses this neighborhood as its inference context. Lowering inference cost is an important goal for any foundation model, and for RFMs this cost grows with the size of the context. The simplest ways to shrink the context is to drop some of the sampled rows, but this ignores the semantics of the database schema, so it is as likely to discard informative rows as uninformative ones. We propose STEER, a sampling approach that shrinks the inference context by concentrating it on the tables most relevant to the prediction task at hand. STEER obtains relevance information by prompting a large language model to rank the foreign-key edges of the database schema into relevance tiers for the given task, and then maps each tier to a probability of following that edge during traversal. Because the ranking uses only the schema, it is computed once per task and reused across all subsequent predictions, amortizing its cost. We evaluate STEER on three state-of-the-art RFMs (RT, RT-J, and Griffin) and show that it reduces inference context size by about 40% on average while maintaining, and in some cases improving, prediction accuracy.
| Subjects: | Databases (cs.DB); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.00907 [cs.DB] |
| (or arXiv:2610.00907v1 [cs.DB] for this version) | |
| https://doi.org/10.48550/arXiv.2610.00907 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Abdalla Mohamed [view email]
[v1]
Thu, 1 Oct 2026 01:36:43 UTC (589 KB)
来源:arXiv:cs.LG(机器学习,全量分类) · arxiv.org