STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling

📅 2026-09-30
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses the prohibitive inference costs of relational foundation models, which scale sharply with context size, and the limitations of naive discard sampling that risks losing critical information by ignoring schema semantics. To overcome these challenges, this work proposes STEER, a method that leverages large language models to rank foreign-key edges by task relevance and maps hierarchical structures into traversal probabilities. By employing a schema-aware, probabilistic graph traversal sampling strategy, STEER enables efficient inference and amortizes computational costs. Experimental results demonstrate that this approach reduces context size by an average of 40% across multiple state-of-the-art models while maintaining or even improving predictive accuracy.
📝 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.
Problem

Research questions and friction points this paper is trying to address.

Relational Foundation Models
Inference Cost
Context Reduction
Semantically Informed Sampling
Innovation

Methods, ideas, or system contributions that make the work stand out.

Relational Foundation Models
Semantically Informed Sampling
Inference Cost Reduction
Large Language Models
Schema Relevance Ranking