TailorSQL: An NL2SQL System Tailored to Your Query Workload
Not on the map. Why?
Abstract (arXiv)
NL2SQL (natural language to SQL) translates natural language questions into SQL queries, thereby making structured data accessible to non-technical users, serving as the foundation for intelligent data applications. State-of-the-art NL2SQL techniques typically perform translation by retrieving database-specific information, such as the database schema, and invoking a pre-trained large language model (LLM) using the question and retrieved information to generate the SQL query. However, existing NL2SQL techniques miss a key opportunity which is present in real-world settings: NL2SQL is typically applied on existing databases which have already served many SQL queries in the past. The past query workload implicitly contains information which is helpful for accurate NL2SQL translation and is not apparent from the database schema alone, such as common join paths and the semantics of obscurely-named tables and columns. We introduce TailorSQL, a NL2SQL system that takes advantage of information in the past query workload to improve both the accuracy and latency of translating natural language questions into SQL. By specializing to a given workload, TailorSQL achieves up to 2× improvement in execution accuracy on standardized benchmarks.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 4 of its 32 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
4 of 32 references.
References · 4
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019Passage Re-ranking with BERTcited by 645
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2026Beyond the Harness: End-to-End Optimization of Context Artifacts for Enterprise Text-to-SQL24 Aug 2026
- 2025SING-SQL: A Synthetic Data Generation Framework for In-Domain Text-to-SQL Translation30 Sep 2025
- 2025RubikSQL: Lifelong Learning Agentic Knowledge Base as an Industrial NL2SQL System25 Aug 2025