DBRAG: Multi-Table Retrieval-Augmented Generation for Complex Database Queries
Abstract
Recent advancements in large language models have introduced new capabilities for reasoning over structured data, particularly through program-aided tools that can analyze tables. However, many existing methods address single-table scenarios or assume that the relevant tables are already provided. In practice, users often issue complex data exploration queries over entire databases, where relevant information may be distributed across multiple relations. In this work, we introduce DBRAG, a retrieval-augmented generation framework tailored for multi-table question answering. DBRAG first retrieves candidate tables using an offline table index, enriches their summaries with query-relevant rows, and uses an LLM to rerank the candidates. A program-aided reasoner then selects the required tables and executes operations over their full contents, keeping the initial prompt context compact. Experiments on the Spider, GeoQuery, and ATIS datasets used in this study demonstrate improvements in table retrieval and multi-table question answering.
Create a lesson
Related papers
STITCH-RAG: Spatio-Temporal Influence Tracing over Topic Hypergraphs for Multi-Hop Retrieval-Augmented Generation
Shared title terminologycs.IRHaodong Yang, Mengzhu Chen, Jia Cai
Generating Assignments for Domain-Specific Programming Languages with Retrieval-Augmented Generation
Shared title terminologycs.IRRahad Arman Nabid, Jeni Sorathiya, Stephen MacNeil
Privacy-Aware Adaptive Client Selection for Federated Retrieval-Augmented Generation
Shared title terminologycs.IRAli Shams Saryazd, Abolfazl Gandomi
DM-Lab at TREC 2026 RAG: Multi-Query Retrieval, Ensemble Judging, and Claim-Pack Generation
Shared title terminologycs.IRElyas Irankhah, Muhammad Arif, Sreeraj Ramachandran et al.
LSP-RAG: Latent Scoring Perspectives for Knowledge Graph Retrieval-Augmented Generation
Shared title terminologycs.IRHaochen Liu, Guanghui Min, Song Wang et al.
QProtFuse: Query-Guided Layer Fusion for Retrieval-Augmented Protein Function Prediction
Shared title terminologycs.IRMianzhi Pan, Peishuo Liu, Yawen Ouyang et al.