Large Language Models are Good Relational Learners
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have demonstrated remarkable capabilities across various domains, yet their application to relational deep learning (RDL) remains underexplored. Existing approaches adapt LLMs by traversing relational links between entities in a database and converting the structured data into flat text documents. Still, this text-based serialization disregards critical relational structures, introduces redundancy, and often exceeds standard LLM context lengths. We introduce Rel-LLM, a novel architecture that utilizes a graph neural network (GNN)- based encoder to generate structured relational prompts for LLMs within a retrieval-augmented generation (RAG) framework. Unlike traditional text-based serialization approaches, our method preserves the inherent relational structure of databases while enabling LLMs to effectively process and reason over complex entity relationships. Specifically, the GNN encoder extracts a local subgraph around an entity to build feature representations that contain relevant entity relationships and temporal dependencies. These representations are transformed into structured prompts using a denormalization process, effectively allowing the LLM to reason over relational structures. Through extensive experiments, we demonstrate that Rel-LLM outperforms existing methods on key RDL tasks, offering a scalable and efficient approach to integrating LLMs with structured data sources. Code is available at https://github.com/smiles724/Rel-LLM.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Builds on 48 of its 75 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
48 of 75 references.
References · 48
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,694
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
36 more
- 2014DeepWalk: Online Learning of Social Representationscited by 1,547
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,138
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
- 2020Heterogeneous Graph Transformercited by 582
- 2021TAT-QA: A Question Answering Benchmark on a Hybrid of Tabular and Textual Content in Financecited by 408
- 2023Large Language Models are Zero-Shot Rankers for Recommender Systemscited by 309
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 235
- 2021A Comprehensive Survey on Graph Anomaly Detection with Deep Learningcited by 230
- 2015Holographic Embeddings of Knowledge Graphscited by 181
- 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 178
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 152
- 2022TransTab: Learning Transferable Tabular Transformers Across Tablescited by 132
- 2022Large Language Models are few(1)-shot Table Reasonerscited by 116
- 2021TABBIE: Pretrained Representations of Tabular Datacited by 111
- 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 86
- 2020Tabular Transformers for Modeling Multivariate Time Seriescited by 77
- 2024Large Scale Transfer Learning for Tabular Data via Language Modelingcited by 76
- 2023Relational Deep Learning: Graph Representation Learning on Relational Databasescited by 56
- 2023Tabular Representation, Noisy Operators, and Impacts on Table Structure Understanding Tasks in LLMscited by 49
- 2023TabMT: Generating tabular data with masked transformerscited by 36
- 2023Exploring the Numerical Reasoning Capabilities of Language Models: A Comprehensive Analysis on Tabular Datacited by 33
- 2023TAP4LLM: Table Provider on Sampling, Augmenting, and Packing Semi-structured Data for Large Language Model Reasoningcited by 32
- 2024PyTorch Frame: A Modular Framework for Multi-Modal Tabular Learningcited by 32
- 2021Topological Relational Learning on Graphscited by 27
- 2023TabLib: A Dataset of 627M Tables with Contextcited by 23
- 2024Language Modeling on Tabular Data: A Survey of Foundations, Techniques and Evolutioncited by 19
- 2024Tackling prediction tasks in relational databases with LLMscited by 14
- 2021A Unified View of Relational Deep Learning for Drug Pair Scoringcited by 7
- 2024rLLM: Relational Table Learning with LLMscited by 7
- 2024Graph Neural Networks in Supply Chain Analytics and Optimization: Concepts, Perspectives, Dataset and Benchmarkscited by 7
- 2022TableQuery: Querying tabular data with natural languagecited by 5
- 2024Retrieval-Reasoning Large Language Model-based Synthetic Clinical Trial Generationcited by 5
- 2024Relational Learning in Pre-Trained Models: A Theory from Hypergraph Recovery Perspectivecited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 20.
24 papers.
Sort:
By area:
- 2025Relational Transformer: Toward Zero-Shot Foundation Models for Relational Datacited by 39
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewardscited by 12
- 2025DeepSearch: Overcome the Bottleneck of Reinforcement Learning with Verifiable Rewards via Monte Carlo Tree Searchcited by 11
- 2026No Need to Train Your RDB Foundation Modelcited by 10
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databasescited by 5
- 2026Towards Anomaly Detection on Relational Datacited by 5
- 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
- 2026ReFuGe: Feature Generation for Prediction Tasks on Relational Databases with LLM Agentscited by 3
- 2026Relatron: Automating Relational Machine Learning over Relational Databasescited by 2
- 2026RelAgent: LLM Agents as Data Scientists for Relational Learningcited by 2
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learningcited by 1
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Designcited by 1
12 more
- 2026Gaussian Relational Graph Transformercited by 0
- 2026Relational Structural Causal Modelscited by 0
- 2026Beyond Accuracy: Measuring Logical Compliance of Predictive Modelscited by 0
- 2026Universal Encoders for Modular Relational Deep Learningcited by 0
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programscited by 0
- 2026Incremental Evaluation and Training in Relational Deep Learningcited by 0
- 2026Identifiability and Order-Dimension Limits of In-Context Learning on Partial Orderscited by 0
- 2026Can LLMs Use Relational Transformer Embeddings?cited by 0
- 2026REFINE: LLM Refinement over Budgeted Text-Attributed Graphs for Personalized Medical Concept Representationcited by 0
- 2026CARAT: Do Materials LLMs Reason or Recite?cited by 0
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Samplingcited by 0
- 2026RT-J: Large-Scale Pretraining of Relational Transformers for Context-Efficient Predictionscited by 0
- 2026RT-J: Large-Scale Pretraining of Relational Transformers for Context-Efficient Predictions13 Oct 2026
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling1 Oct 2026
- 2026CARAT: Do Materials LLMs Reason or Recite?29 Sep 2026
- 2026REFINE: LLM Refinement over Budgeted Text-Attributed Graphs for Personalized Medical Concept Representation3 Sep 2026
- 2026Can LLMs Use Relational Transformer Embeddings?31 Aug 2026
- 2026Identifiability and Order-Dimension Limits of In-Context Learning on Partial Orders14 Aug 2026
- 2026Incremental Evaluation and Training in Relational Deep Learning13 Aug 2026
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programs6 Jul 2026
- 2026Universal Encoders for Modular Relational Deep Learning19 Jun 2026
- 2026Beyond Accuracy: Measuring Logical Compliance of Predictive Models18 Jun 2026
- 2026Towards Anomaly Detection on Relational Data17 Jun 2026
- 2026Relational Structural Causal Models12 Jun 2026
12 more
- 2026OpenRFM: Dissecting Relational In-Context Learning3 Jun 2026
- 2026Gaussian Relational Graph Transformer15 May 2026
- 2026RelAgent: LLM Agents as Data Scientists for Relational Learning8 May 2026
- 2026Relatron: Automating Relational Machine Learning over Relational Databases26 Feb 2026
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databases14 Feb 2026
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Design14 Feb 2026
- 2026No Need to Train Your RDB Foundation Model14 Feb 2026
- 2026ReFuGe: Feature Generation for Prediction Tasks on Relational Databases with LLM Agents25 Jan 2026
- 2025Relational Transformer: Toward Zero-Shot Foundation Models for Relational Data7 Oct 2025
- 2025DeepSearch: Overcome the Bottleneck of Reinforcement Learning with Verifiable Rewards via Monte Carlo Tree Search29 Sep 2025
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewards26 Sep 2025
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learning31 Aug 2025
- 2025DeepSearch: Overcome the Bottleneck of Reinforcement Learning with Verifiable Rewards via Monte Carlo Tree Searchcited by 11
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Designcited by 1
- 2026Can LLMs Use Relational Transformer Embeddings?cited by 0
- 2026Can LLMs Use Relational Transformer Embeddings?31 Aug 2026
- 2026From Pixels to Policies: Reinforcing Spatial Reasoning in Language Models for Content-Aware Layout Design14 Feb 2026
- 2025DeepSearch: Overcome the Bottleneck of Reinforcement Learning with Verifiable Rewards via Monte Carlo Tree Search29 Sep 2025
- 2025Relational Transformer: Toward Zero-Shot Foundation Models for Relational Datacited by 39
- 2025Position: The Hidden Costs and Measurement Gaps of Reinforcement Learning with Verifiable Rewardscited by 12
- 2026No Need to Train Your RDB Foundation Modelcited by 10
- 2026RDBLearn: Simple In-Context Prediction Over Relational Databasescited by 5
- 2026Towards Anomaly Detection on Relational Datacited by 5
- 2026OpenRFM: Dissecting Relational In-Context Learningcited by 4
- 2026Relatron: Automating Relational Machine Learning over Relational Databasescited by 2
- 2025Self-Exploring Language Models for Explainable Link Forecasting on Temporal Graphs via Reinforcement Learningcited by 1
- 2026Gaussian Relational Graph Transformercited by 0
- 2026Relational Structural Causal Modelscited by 0
- 2026Beyond Accuracy: Measuring Logical Compliance of Predictive Modelscited by 0
- 2026Universal Encoders for Modular Relational Deep Learningcited by 0
12 most cited of 19 All 19 (JSON)
- 2026RT-J: Large-Scale Pretraining of Relational Transformers for Context-Efficient Predictions13 Oct 2026
- 2026STEER: Reducing Inference Cost in Relational Foundation Models through Semantically Informed Sampling1 Oct 2026
- 2026CARAT: Do Materials LLMs Reason or Recite?29 Sep 2026
- 2026REFINE: LLM Refinement over Budgeted Text-Attributed Graphs for Personalized Medical Concept Representation3 Sep 2026
- 2026Identifiability and Order-Dimension Limits of In-Context Learning on Partial Orders14 Aug 2026
- 2026Incremental Evaluation and Training in Relational Deep Learning13 Aug 2026
- 2026InvWeaver: Deductive Feedback for Invariant Synthesis in Interacting-Loop Programs6 Jul 2026
- 2026Universal Encoders for Modular Relational Deep Learning19 Jun 2026
- 2026Beyond Accuracy: Measuring Logical Compliance of Predictive Models18 Jun 2026
- 2026Towards Anomaly Detection on Relational Data17 Jun 2026
- 2026Relational Structural Causal Models12 Jun 2026
- 2026OpenRFM: Dissecting Relational In-Context Learning3 Jun 2026
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024LLaSA: Large Language and Structured Data Assistant
- 2025Boosting Relational Deep Learning with Pretrained Tabular Models
- 2024Struct-X: Enhancing Large Language Models Reasoning with Structured Data
- 2025Are Large Language Models Capable of Deep Relational Reasoning? Insights from DeepSeek-R1 and Benchmark Comparisons
- 2026Teaching LLMs to See Graphs: Unifying Text and Structural Reasoning
- 2025Generating Diverse Training Samples for Relation Extraction with Large Language Models
- 2025SR-KI: Scalable and Real-Time Knowledge Integration into LLMs via Supervised Attention
- 2024GL-Fusion: Rethinking the Combination of Graph Neural Network and Large Language model