- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper proposes RelAgent, a two-phase agentic framework for relational learning over relational databases. During the search phase, an LLM agent interacts with database exploration, validation, and evaluation-workspace tools to generate SQL-based feature programs and choose a downstream predictive model. During inference, the selected feature program is executed without any further LLM calls. The paper evaluates RelAgent on relational benchmark tasks, covering entity-level classification and regression tasks. It also provides ablation studies and qualitative examples to analyze the effects of validation feedback, schema semantics, evaluation-workspace access, and model choices. A key point for evaluating the paper is whether the agentic design provides a distinct scientific contribution beyond an effective LLM-guided AutoML and SQL feature-engineering pipeline.
Strengths and weaknesses
Strengths: S1: The inference phase only requires executing SQL feature programs and applying a conventional supervised model, making the approach practical and easy to deploy.
S2: On entity classification tasks, RelAgent achieves competitive or state-of-the-art performance across the evaluated datasets.
S3: The paper provides meaningful ablation studies.
S4: The paper is well written and easy to follow.
Weaknesses:
W1. The scientific contribution is not yet fully clear. The framework appears to be a useful engineering composition of LLM agents, SQL feature generation, and existing supervised models, but the deeper research insight behind the design needs to be clarified.
W2: It is not yet clear what makes RelAgent fundamentally different from an automated feature-engineering or AutoML pipeline guided by an LLM. The paper should more clearly identify which parts of the agentic design are essential.
W3. The current framing emphasizes empirical performance, but it may need stronger analysis of when and why the agent succeeds or fails. Without such analysis, the paper risks being perceived mainly as an engineering system.
W4: The scope of the evaluated tasks should be stated more carefully. While entity-level prediction is a natural and important setting, it is not clear whether the same conclusions extend to broader relational learning tasks beyond entity classification and regression.
W5: The role of validation and search budget requires clearer discussion. RelAgent uses multiple independent searches, many agent turns, cross-rollout validation-based model selection, and search over model families and hyperparameters. The paper would benefit from clarifying whether baselines receive comparable tuning effort and how much RelAgent's advantage remains under smaller turn or rollout budgets.
Questions
Q1: What is the core scientific contribution beyond an effective LLM-guided AutoML pipeline over SQL features? It would be helpful if the authors could state more explicitly which component or principle they view as the main research contribution.
Q2: How much of the gain comes from SQL feature discovery versus broader model/search optimization? Could the authors provide or discuss an ablation that fixes the downstream model and tuning budget while varying only the feature-search mechanism? This would help clarify whether the improvement mainly comes from relational feature discovery or from broader AutoML-style search.
Q3: How should the validation/search budget be interpreted? Since the agent iteratively receives validation feedback and selects among multiple candidate programs or rollouts, some performance gains may come from the amount of validation-guided search. Could the authors clarify whether baselines receive comparable tuning/search budgets?
Q4: When and why should RelAgent outperform relational foundation models or graph/message-passing models? For example, are the gains strongest when useful features require aggregation, acyclic/cyclic joins or table/column statistics?
Q5: Can the method naturally extend to relational tasks beyond entity-level prediction? The experiments focus mainly on entity-level classification and regression benchmarks. This is a reasonable setting, but the paper’s framing sometimes suggests a broader contribution to relational learning. Can the method naturally extend to link prediction, relation classification, or more reasoning-heavy relational tasks?
Limitations
See Weaknesses and Questions.
Paper formatting concerns
No
Final justification
I have raised my score because the authors have addressed most of my concerns. The paper would benefit from a clearer description and clarification of its novelty.
Our contribution starts from a basic question: where should the inductive bias in relational learning reside in the era of foundation models?
Existing approaches typically fix this bias before the downstream task is considered—for example, through a particular database flattening, graph construction, and message-passing scheme, or sequence serialization. These choices are not canonical: the same database can be transformed in multiple ways, exposing different relational dependencies, while architectural choices such as aggregation and message-passing depth impose a fixed structural envelope.
RelAgent instead introduces a query-induced inductive bias: relational learning need not proceed under one globally fixed and representation-dependent inductive bias. Instead, the inductive bias itself can become a task-dependent object of search. The selected SQL program defines both the task-specific representation and its associated invariance: target examples with identical outputs under the selected queries necessarily receive identical predictions.
The shared component across tasks is therefore not a universal representation or predictor, but a common model-construction mechanism. Generality lies in synthesizing an appropriate inductive bias for each task rather than requiring one fixed architecture across schemas and targets. RelAgent realizes this through an adaptive loop of database exploration, executable experimentation, and reflection. We will highlight this perspective in the manuscript.
RelAgent is better understood as an instance of execution-grounded relational program synthesis, rather than conventional AutoML. AutoML typically searches over models and hyperparameters within a fixed representation; RelAgent instead synthesizes SQL programs that determine the relational dependencies, temporal conditions, joins, and aggregations exposed to the predictor. The search therefore changes the task-specific representation, invariances, and effective hypothesis class. This synthesis process is adaptive:
(1) Execution-grounded experimentation. The agent observes validation scores, SQL errors, timeouts, and training failures before revising subsequent programs. Removing this feedback loop reduces average AUROC from 78.38 to 66.86.
(2) Persistent cross-trial reflection. The evaluation workspace stores trial histories and aligned row-level predictions, enabling comparisons beyond scalar validation scores. Removing workspace access reduces average AUROC from 78.38 to 75.78. Appendix A further shows that a majority of runs query the workspace, primarily for trial tracking, row-level error analysis, and cross-trial prediction comparison, guiding subsequent feature revisions.
We agree that the existing case studies do not yet provide a sufficiently systematic account of when RelAgent succeeds or fails. We therefore add a task-level analysis across the 12 RelBenchV1 classification tasks and controlled ablations on representative tasks. The results indicate that RelAgent is most useful when predictive signals require task-specific temporal windows and filtering, while deeper joins and conditional aggregations provide smaller benefits, as detailed in Q4.
We complement this analysis with the existing studies in Appendices B and C. Appendix B shows how execution and row-level diagnostics help the agent replace ineffective features, while Appendix C shows that SQL expressibility does not guarantee discovery within a finite search budget. Together, these analyses suggest that RelAgent succeeds when useful relational patterns are compactly expressible, and validation feedback provides actionable refinement signals. It may fail when the required program involves brittle combinations of joins and constraints, when proxy features distract the search, or when the relevant program is not discovered within the available budget.
We agree that the current empirical evidence is limited to entity-level binary classification and regression, and we will narrow the corresponding claims in the abstract, introduction, and conclusion.
Conceptually, the interface could be extended from target rows (e,t) to pair-level rows (esrc,edst,t), supporting link prediction or relation classification through pair-conditioned SQL features. Such extensions would require appropriate candidate-generation and prediction interfaces, but do not change the core framework. RelAgent may also express fixed relational motifs and temporal reasoning programs, but we do not claim support for arbitrary open-ended reasoning or reliable discovery of every SQL-expressible program. We therefore leave these settings to future work.
Our main baseline results are taken from KumoRFM-v2 [1] and the corresponding original publications, but the methods have heterogeneous pretraining, tuning, and search costs and are therefore not strictly budget matched. However, all RelAgent experiments and ablations use the same search and validation budget. We will make this clear in the updated manuscripts. For a controlled comparison, we replace SQL discovery with fixed DFS or entity-table features while retaining the same seven-model search space, hyperparameters, validation budget, and selection procedure. DFS and entity-only features achieve 75.06 and 66.33 AUROC, respectively, compared with 78.38 for RelAgent.
Appendix E studies sensitivity to turn budget. Approximately 80% and 90% of the final validation improvement are recovered within 10 and 20 turns, respectively. We additionally report the test AUROC obtained when search is truncated at each turn budget:
RelAgent reaches near-full-budget performance within 10 turns. Although test AUROC is not strictly monotonic because selection is based on validation performance, the results show diminishing returns from longer searches.
We also report best-of-R test performance for R=1,…,5, selecting the best of the first RRR runs by validation score. The table reports the incremental test-AUROC change from adding each rollout:
RelBenchV1 and RelBenchV2 largely saturate after two or three runs. Although 4DBInfer benefits substantially from the fourth run, the fifth-run gain is smaller. Overall, additional runs can occasionally discover useful features, but their marginal benefit generally decreases.
We provide two complementary controlled experiments.
First, we fix the downstream predictor to TabPFN-v2.5 and vary only the feature representation. We compare RelAgent-discovered SQL features against DFS features, human data scientist-curated features, and entity-table-only features using the same TabPFN configuration and evaluation protocol, reporting AUROC averaged over the RelBenchV1 Classification dataset.
RelAgent SQL features outperform DFS by 2.58 AUROC points, isolating a benefit from feature discovery.
Second, we disable SQL feature discovery while retaining RelAgent’s model and hyperparameter search. We replace the learned SQL features with either fixed DFS features or entity-table-only features, while keeping the same seven-model search space, hyperparameter search, validation budget, and selection procedure used by RelAgent.
Under the matched model-search procedure, DFS underperforms RelAgent by 3.32 AUROC points. Together, the two experiments isolate a consistent contribution from SQL feature discovery.
We analyze when RelAgent performs favorably relative to relational foundation models and graph/message-passing models by combining (i) a task-level analysis of selected SQL programs on RelBenchV1 classification with (ii) controlled expressiveness ablations.
Across 12 RelBenchV1 classification tasks, RelAgent outperforms RelGNN and GraphSAGE on average but trails KumoRFM-v2. Its gap to KumoRFM-v2 is smaller on tasks using temporal features, multiple windows, and deeper joins, with correlations of ρ=0.65, 0.48, and 0.46, respectively.
We further conduct controlled SQL-expressiveness ablations on three representative tasks: restrict programs to one-hop joins, remove temporal windows, and remove conditional aggregations.
Removing temporal windows causes the largest degradation across all three tasks; one-hop restrictions and removal of conditional aggregations produce smaller losses. Together with the task-level correlations, this suggests that RelAgent is particularly useful when prediction requires task-specific temporal filtering, with additional benefits from conditional aggregation and deeper joins.
[1] Hudovernik, V., et al. (2026). KumoRFM-2: Scaling foundation models for relational learning. arXiv preprint arXiv:2604.12596.