RelAgent: LLM Agents as Data Scientists for Relational Learning
Xingyue Huang, Louis Tichelman, Jinwoo Kim, Krzysztof Olejniczak, Ismail Ilkan Ceylan
NeurIPS page · Open on the map
Category: LLM Reasoning, Memory & RAG › Knowledge Representation and Reasoning in Transformers · Type: new method · Keywords: relational learning, LLM agents, SQL feature generation, autonomous data science, interpretable models, classical model integration
Areas: LLM Reasoning › Language Model Reasoning › Structured Reasoning; AI Agents › Agentic Decision Making › Agent Evaluation
Summary
RelAgent is an LLM-based autonomous data scientist that uses SQL feature programs and classical models to perform relational learning in a fast, interpretable, and scalable way.
Explained to a 5-year-old
A smart computer program helps people work with data. It looks at different kinds of data like tables, graphs, and sentences. It writes simple instructions to make the data useful. It then uses those instructions to make predictions. The predictions are easy to understand because the instructions are simple.
Explained to a 5-year-old, longer
Imagine you have a big box of different kinds of information, like pictures, numbers, and words. You want to know something useful from all of them, but doing that by hand is hard. So a friendly robot helper looks at all the information and writes down simple steps to turn the information into something helpful. It picks the best way to do this by trying many ideas. Once it has the steps, it runs them automatically, and you get an answer that you can easily check because the steps are clear. This way, you don't need to be an expert to understand how the answer was found. The robot can work with many types of data, like tables that hold numbers, pictures that show shapes, and sentences that tell stories. It uses a special language that is like a recipe, so anyone can read it. The robot also checks its work to make sure the answer is correct. It can be used over and over again for new problems. This makes it possible for small teams to solve complex problems without huge computers. It also helps people trust the answer because they can see exactly what steps were taken.
For a technical reader
RelAgent is an LLM-driven autonomous data-science pipeline that automates relational learning. In its search phase, the LLM generates SQL feature programs and selects a predictive model using built-in validation tools. The resulting program is then executed in a deterministic inference phase, producing a predictor composed of SQL queries and a classical model. This yields human-readable features and enables fast, scalable deployment on standard database systems. The system eliminates the need for manual feature engineering and deep-learning model tuning.
Problem
Relational learning across heterogeneous data sources such as graphs, tables, and sequences is challenging because it requires complex feature engineering and model selection, and existing approaches often lack interpretability or scalability.
Method
The approach uses an LLM agent that operates in a search phase to generate SQL feature programs and select a predictive model using workspace tools, then executes the resulting program in an inference phase, producing a predictor composed of SQL queries and a classical model.
Contributions
It introduces an autonomous LLM-driven pipeline that automates feature construction and model selection for relational learning, yielding interpretable SQL-based features and enabling scalable deployment on standard databases.
Practical relevance
It enables practitioners to build fast, interpretable relational learning models on existing database systems without requiring specialized deep-learning infrastructure.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction