Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

17 results for “SQL”

Matched on wording only, meaning-matching is unavailable right now

1

AV-SQL: Decomposing Complex Text-to-SQL Queries with Agentic Views

8 Apr · Minh Tam Pham, Trinh Pham, Tong Chen +3 · arXiv:2604.07041

Text-to-SQL is the task of translating natural language queries into executable SQL for a given database, enabling non-expert users to access structured data without writing SQL manually. Despite rapid advances driven by large language models (LLMs), existing approaches still struggle with complex queries in real-world settings, where database schemas are large and questions require multi-step reasoning over many…

2

NIFT-SQL: Customer-Supervised Table Scoring for Enterprise Text-to-SQL Retrieval

9 Nov · Arjun Rao, Nishant Gopinath · arXiv:2611.12731

Enterprise text-to-SQL starts with finding the tables a question needs, which is hard when a schema spans several databases and hundreds of cryptic tables. We ask whether models trained separately on each customer's example questions, reading only table names, column names, and declared keys, improve table retrieval. NIFT-SQL (Necessity-Informed Fusion for Text-to-SQL) fuses hybrid search over a retriever fine-tuned…

Information retrieval Matched by wording
3

CBR-to-SQL: Rethinking Retrieval-based Text-to-SQL using Case-based Reasoning in the Healthcare Domain

5 Mar · Hung Nguyen, Hans Moen, Pekka Marttinen · arXiv:2603.05569

Extracting insights from Electronic Health Record (EHR) databases often requires SQL expertise, creating a barrier for clinical decision-making and research. A promising approach is to use Large Language Models (LLMs) to translate natural language questions into SQL through Retrieval-Augmented Generation (RAG), where relevant question-SQL examples are retrieved to generate new queries via few-shot learning. However,…

4

PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation

27 Sept · Wei Zhou, Guoliang Li, Haoyu Wang +4 · arXiv:2509.23338

Large language models (LLMS) have shown increasing effectiveness in Text-to-SQL tasks. However, another closely related problem, Cross-System SQL Translation (a.k.a., SQL-to-SQL), which adapts a query written for one database system (e.g., MySQL) into its equivalent one for another system (e.g., ClickHouse), is of great practical importance but remains underexplored. Existing SQL benchmarks are not well-suited for…

To appear in NeurIPS 2025. Welcome your submission to challenge our leaderboard at: https://code4db.github.io/parrot-bench/. Also visit our code repository at: https://github.com/weAIDB/PARROT Databases Artificial intelligence Language & NLP Matched by wording
5

Multilingual Text-to-SQL: Benchmarking the Limits of Language Models with Collaborative Language Agents

29 Sept · Khanh Trinh Pham, Thu Huong Nguyen, Jun Jo +2 · arXiv:2509.24405

Text-to-SQL enables natural access to databases, yet most benchmarks are English-only, limiting multilingual progress. We introduce MultiSpider 2.0, extending Spider 2.0 to eight languages (English, German, French, Spanish, Portuguese, Japanese, Chinese, Vietnamese). It preserves Spider 2.0's structural difficulty while adding linguistic and dialectal variability, demanding deeper reasoning for complex SQL. On this…

6

From Questions to Queries: An AI-powered Multi-Agent Framework for Spatial Text-to-SQL

23 Oct · Ali Khosravi Kazazi, Zhenlong Li, M. Naser Lessani +1 · arXiv:2510.21045

The complexity of SQL and the spatial semantics of PostGIS create barriers for non-experts working with spatial data. Although large language models can translate natural language into SQL, spatial Text-to-SQL is more error-prone than general Text-to-SQL because it must resolve geographic intent, schema ambiguity, geometry-bearing tables and columns, spatial function choice, and coordinate reference system and…

7

CORE-T: COherent REtrieval of Tables for Text-to-SQL

19 Jan · Hassan Soliman, Vivek Gupta, Dan Roth +1 · arXiv:2601.13111

Realistic text-to-SQL workflows often require joining multiple tables. As a result, accurately retrieving the relevant set of tables becomes a key bottleneck for end-to-end performance. We study an open-book setting where queries must be answered over large, heterogeneous table collections pooled from many sources, without clean scoping signals such as database identifiers. Here, dense retrieval (DR) achieves high…

Accepted at EMNLP Main 2026. Camera-ready version with revisions following peer review. Code and data available at: https://github.com/UKPLab/emnlp2026-core-t Language & NLP Artificial intelligence Information retrieval Matched by wording
8

DSL-R1: From SQL to DSL for Training Retrieval Agents across Structured and Unstructured Data with Reinforcement Learning

14 Jan · Yunhai Hu, Junwei Zhou, Yumo Cao +8 · arXiv:2603.21018

Effective retrieval in complex domains requires bridging the gap between structured metadata and unstructured content. Existing systems typically isolate these capabilities, relying on either symbolic filtering or vector similarity, failing to capture their interplay. In this work, we propose DSL-R1, a unified framework that synergizes logical reasoning with semantic matching via a novel Domain-Specific Language…

9

flexvec: SQL Vector Retrieval with Programmatic Embedding Modulation

23 Mar · Damian Delmas · arXiv:2603.22587

As AI agents become the primary consumers of retrieval APIs, there is an opportunity to expose more of the retrieval pipeline to the caller. flexvec is a retrieval kernel that exposes the embedding matrix and score array as a programmable surface, allowing arithmetic operations on both before selection. We refer to composing operations on this surface at query time as Programmatic Embedding Modulation (PEM). This…

4 appendices. Code available at https://github.com/damiandelmas/flexvec Information retrieval Artificial intelligence Databases Matched by wording
10

Reliable Answers for Recurring Questions: Boosting Text-to-SQL Accuracy with Template Constrained Decoding

30 Apr · Smit Jivani, Sarvam Maheshwari, Sunita Sarawagi · arXiv:2604.28028

Large language models (LLMs) have revolutionized Text-to-SQL generation, allowing users to query structured data using natural language with growing ease. Yet, real-world deployment remains challenging, especially in complex or unseen schemas, due to inconsistent accuracy and the risk of generating invalid SQL. We introduce Template Constrained Decoding (TeCoD), a system that addresses these limitations by…

Project Code: https://github.com/SSLab-CSE-IITB/tecod Language & NLP Artificial intelligence Databases Matched by wording
11

DexterSQL: Deep Schema Exploration and Rule-based Correction for Text-to-SQL Generation

12 Aug · Anik Pramanik, Murat Kantarcioglu, Vincent Oria +1 · arXiv:2608.11889

Prompting-based (i.e., non-fine-tuning) Text-to-SQL methods, where underlying large language model parameters are not changed for the task, face three problems: (i) relying on coarse-grained schema information that may not reveal the fine-grained relationships needed to distinguish ambiguous columns, (ii) failing to capture recurring SQL-generation failures, and (iii) suffering from omission or hallucination of…

This version of the paper improved the SQL generation algorithm, increasing the system's overall accuracy. For details, please see the paper Databases Artificial intelligence Language & NLP Matched by wording
12

Adaptive-Elbow Graph Traversal for Schema Retrieval in Text-to-SQL

16 Nov · Fabio Picariello, Salvatore Cipolla, Susanna Bonura +1 · arXiv:2611.20979

LLM-based natural-language interfaces to relational databases are gated by a schema-retrieval step: the generator can only be as good as the slice of schema it is shown. On a database with hundreds of tables, that slice must be selected and the selection is two-sided---omit a needed table and the query becomes unrecoverable, include too many and the irrelevant ones act as noise that degrades the model's output. When…

Presented at the 5th Italian Conference on Big Data and Data Science (ITADATA 2026). To appear in CEUR Workshop Proceedings Databases Information retrieval Matched by wording
13

FERN: Cross-Benchmark Table Retrieval for Text-to-SQL with Frozen Retrievers and Learned Ranking

10 Nov · Arjun Rao, Nishant Gopinath · arXiv:2611.14477

Text-to-SQL systems over large pooled catalogs must first retrieve the tables a question needs. We compare against the published table recall of RASL, which uses Claude 3.5 models to extract keywords and select tables, on pooled BIRD, Spider, and Fiben catalogs. FERN (Feature-Engineered Ranking with No generative LLM) instead fuses three frozen retrievers into 100 candidates, describes each with up to 120 features,…

14

Weaver: Interweaving SQL and LLM for Table Reasoning

25 May · Rohit Khoja, Devanshu Gupta, Yanjie Fu +2 · arXiv:2505.18961

Querying tables with unstructured data is challenging due to the presence of text (or image), either embedded in the table or in external paragraphs, which traditional SQL struggles to process, especially for tasks requiring semantic reasoning. While Large Language Models (LLMs) excel at understanding context, they face limitations with long input sequences. Existing approaches that combine SQL and LLMs typically…

15

A Text-to-SQL Benchmark for Official Statistics

24 Nov · Lucas Lageweg, Karen Goes, Tom van den Broek +3 · arXiv:2611.32646

Official statistics are critical datasets for a wide variety of actors, including policymakers and businesses. For providers of official statistics, improving accessibility, governance, and disclosure of their data is of key importance. This can be improved by providing question-answering systems based on text-to-SQL approaches. However, existing text-to-SQL benchmarks do not resemble this setting. Official…

16

Text-to-SQL Task-oriented Dialogue Ontology Construction

31 Jul · Renato Vukovic, Carel van Niekerk, Michael Heck +5 · arXiv:2507.23358

Large language models (LLMs) are widely used as general-purpose knowledge sources, but they rely on parametric knowledge, limiting explainability and trustworthiness. In task-oriented dialogue (TOD) systems, this separation is explicit, using an external database structured by an explicit ontology to ensure explainability and controllability. However, building such ontologies requires manual labels or supervised…

Accepted to Transactions of the Association for Computational Linguistics Language & NLP Artificial intelligence Databases Matched by wording
17

Text-to-SQL Oriented to the Process Mining Domain: A PT-EN Dataset for Query Translation

18 Aug · Bruno Yui Yamate, Thais Rodrigues Neubauer, Marcelo Fantinato +1 · arXiv:2509.09684

This paper introduces text-2-SQL-4-PM, a bilingual (Portuguese-English) benchmark dataset designed for the text-to-SQL task in the process mining domain. Text-to-SQL conversion facilitates natural language querying of databases, increasing accessibility for users without SQL expertise and productivity for those that are experts. The text-2-SQL-4-PM dataset is customized to address the unique challenges of process…