CSR-RAG: An Efficient Retrieval System for Text-to-SQL on the Enterprise Scale

Rajpreet Singh, Novak Boškov, Lawrence Drabeck, Aditya Gudal, Manzoor A. Khan
1/10/2026
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Natural language to SQL translation (Text-to-SQL) is one of the long-standing problems that has recently benefited from advances in Large Language Models (LLMs). While most academic Text-to-SQL benchmarks request schema description as a part of natural language input, enterprise-scale applications often require table retrieval before SQL query generation. To address this need, we propose a novel hybrid Retrieval Augmented Generation (RAG) system consisting of contextual, structural, and relational retrieval (CSR-RAG) to achieve computationally efficient yet sufficiently accurate retrieval for enterprise-scale databases. Through extensive enterprise benchmarks, we demonstrate that CSR-RAG achieves up to 40% precision and over 80% recall while incurring a negligible average query generation latency of only 30ms on commodity data center hardware, which makes it appropriate for modern LLM-based enterprise-scale systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{singh2026csrrag,
  title  = {CSR-RAG: An Efficient Retrieval System for Text-to-SQL on the Enterprise Scale},
  author = {Rajpreet Singh and Novak Boškov and Lawrence Drabeck and Aditya Gudal and Manzoor A. Khan},
  year   = {2026},
  eprint = {2601.06564},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.06564v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.06564.svg)](https://codeofpaper.com/paper/2601.06564)

Discussion