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

163 results for “SQL”

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

61

Toward Auditable Neuro-Symbolic Reasoning in Pathology: SQL as an Explicit Trace of Evidence

5 Jan · Kewen Cao, Jianxu Chen, Yongbing Zhang +2 · arXiv:2601.01875

Automated pathology image analysis is central to clinical diagnosis, but clinicians still ask which slide features drive a model's decision and why. Vision-language models can produce natural language explanations, but these are often correlational and lack verifiable evidence. In this paper, we introduce an SQL-centered agentic framework that enables both feature measurement and reasoning to be auditable.…

62

RISE: Rule-Driven SQL Dialect Translation via Query Reduction

9 Jan · Xudong Xie, Yuwei Zhang, Wensheng Dou +5 · arXiv:2601.05579

Translating SQL dialects across different relational database management systems (RDBMSs) is crucial for migrating RDBMS-based applications to the cloud. Traditional SQL dialect translation tools rely on manually-crafted rules, necessitating significant manual effort to support new RDBMSs and dialects. Although large language models (LLMs) can assist in translating SQL dialects, they often struggle with lengthy and…

Accepted by ICSE 2026 Databases Artificial intelligence Language & NLP Matched by wording
63

TableCache: Primary Foreign Key Guided KV Cache Precomputation for Low Latency Text-to-SQL

13 Jan · Jinbo Su, Yuxuan Hu, Cuiping Li +4 · arXiv:2601.08743

In Text-to-SQL tasks, existing LLM-based methods often include extensive database schemas in prompts, leading to long context lengths and increased prefilling latency. While user queries typically focus on recurrent table sets-offering an opportunity for KV cache sharing across queries-current inference engines, such as SGLang and vLLM, generate redundant prefix cache copies when processing user queries with varying…

64

Pervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboards

13 Jan · Tengjun Jin, Yoojin Choi, Yuxuan Zhu +1 · arXiv:2601.08778

Researchers have proposed numerous text-to-SQL techniques to streamline data analytics and accelerate the development of data-driven applications. To compare these techniques and select the best one for deployment, the community depends on public benchmarks and their leaderboards. Since these benchmarks heavily rely on human annotations during question construction and answer evaluation, the validity of the…

65

Companion Agents: A Table-Information Mining Paradigm for Text-to-SQL

17 Dec · Jiahui Chen, Lei Fu, Jian Cui +2 · arXiv:2601.08838

Large-scale Text-to-SQL benchmarks such as BIRD typically assume complete and accurate database annotations as well as readily available external knowledge, which fails to reflect common industrial settings where annotations are missing, incomplete, or erroneous. This mismatch substantially limits the real-world applicability of state-of-the-art (SOTA) Text-to-SQL systems. To bridge this gap, we explore a…

66

Memo-SQL: Structured Decomposition and Experience-Driven Self-Correction for Training-Free NL2SQL

15 Jan · Zerui Yang, Weichuan Wang, Yanwei Xu +4 · arXiv:2601.10011

Existing NL2SQL systems face two critical limitations: (1) they rely on in-context learning with only correct examples, overlooking the rich signal in historical error-fix pairs that could guide more robust self-correction; and (2) test-time scaling approaches often decompose questions arbitrarily, producing near-identical SQL candidates across runs and diminishing ensemble gains. Moreover, these methods suffer from…

Artificial intelligence Matched by wording
67

LatentRefusal: Latent-Signal Refusal for Unanswerable Text-to-SQL Queries

15 Jan · Xuancheng Ren, Shijing Hu, Zhihui Lu +2 · arXiv:2601.10398

In LLM-based text-to-SQL systems, unanswerable and underspecified user queries may generate not only incorrect text but also executable programs that yield misleading results or violate safety constraints, posing a major barrier to safe deployment. Existing refusal strategies for such queries either rely on output-level instruction following, which is brittle due to model hallucinations, or estimate output…

Artificial intelligence Matched by wording
68

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
69

Benchmarking Text-to-Python against Text-to-SQL: The Impact of Explicit Logic and Ambiguity

22 Jan · Hangle Hu, Chenyu Hou, Bin Cao +1 · arXiv:2601.15728

While Text-to-SQL remains the dominant approach for database interaction, real-world analytics increasingly require the flexibility of general-purpose programming languages such as Python or Pandas to manage file-based data and complex analytical workflows. Despite this growing need, the reliability of Text-to-Python in core data retrieval remains underexplored relative to the mature SQL ecosystem. To address this…

70

LLM-Based SQL Generation: Prompting, Self-Refinement, and Adaptive Weighted Majority Voting

25 Jan · Yu-Jie Yang, Hung-Fu Chang, Po-An Chen · arXiv:2601.17942

Text-to-SQL has emerged as a prominent research area, particularly with the rapid advancement of large language models (LLMs). By enabling users to query databases through natural language rather than SQL, this technology significantly lowers the barrier to data analysis. However, generating accurate SQL from natural language remains challenging due to ambiguity in user queries, the complexity of schema linking,…

71

RAG Strategies for Natural Language-Based SQL Query and REST API Call Generation

6 Feb · Tim Schlippe, Simon Martin, Michael Marketsmüller · arXiv:2602.07086

Enterprise software systems commonly expose functionality through relational databases and REST APIs, requiring users to understand schemas, endpoints, and parameters. Retrieval-augmented generation (RAG) can support natural language interfaces by grounding large language models (LLMs) in enterprise-specific documentation. We evaluate three training-free RAG configurations - Standard RAG, Relevance Filtering RAG,…

Published in the IEEE Proceedings of the 3rd International Conference on Foundation and Large Language Models (FLLM 2026), Barcelona, Spain, November 17-20, 2026 Software engineering Artificial intelligence Language & NLP Matched by wording
72

Beyond Static Pipelines: Learning Dynamic Workflows for Text-to-SQL

17 Feb · Yihan Wang, Peiyu Liu, Runyu Chen +1 · arXiv:2602.15564

Text-to-SQL has recently achieved impressive progress, yet remains difficult to apply effectively in real-world scenarios. This gap stems from the reliance on single static workflows, fundamentally limiting scalability to out-of-distribution and long-tail scenarios. Instead of requiring users to select suitable methods through extensive experimentation, we attempt to enable systems to adaptively construct workflows…

73

SpotIt+: Verification-based Text-to-SQL Evaluation with Database Constraints

4 Mar · Andrew Tremante, Yang He, Rocky Klopfenstein +3 · arXiv:2603.04334

We present SpotIt+, an open-source tool for evaluating Text-to-SQL systems via bounded equivalence verification. Given a generated SQL query and the ground truth, SpotIt+ actively searches for database instances that differentiate the two queries. To ensure that the generated counterexamples reflect practically relevant discrepancies, we introduce a best-effort constraint-mining pipeline that combines rule-based…

74

EvoSchema: Towards Text-to-SQL Robustness Against Schema Evolution

11 Mar · Tianshu Zhang, Kun Qian, Siddhartha Sahai +4 · arXiv:2603.10697

Neural text-to-SQL models, which translate natural language questions (NLQs) into SQL queries given a database schema, have achieved remarkable performance. However, database schemas frequently evolve to meet new requirements. Such schema evolution often leads to performance degradation for models trained on static schemas. Existing work either mainly focuses on simply paraphrasing some syntactic or semantic…

Accepted by VLDB 2025 Databases Artificial intelligence Language & NLP Matched by wording
75

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…

76

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
77

Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL

26 Mar · Yue Li, David Mimno, Unso Eun Seo Jo · arXiv:2603.25568

Translating natural language to SQL for data retrieval has become more accessible thanks to code generation LLMs. But how hard is it to generate SQL code? While databases can become unbounded in complexity, the complexity of queries is bounded by real life utility and human needs. With a sample of 376 databases, we show that SQL queries, as translations of natural language questions are finite in practical…

78

Streaming Model Cascades for Semantic SQL

1 Apr · Paweł Liskowski, Kyle Schmaus · arXiv:2604.00660

Modern data warehouses extend SQL with semantic operators that invoke large language models on each qualifying row, making per-row inference orders of magnitude more expensive than traditional SQL. Model cascades reduce this cost by routing most rows through a fast proxy model and delegating uncertain cases to an expensive oracle. Prior SUPG-style cascades, however, require a global proxy-score pass that is itself…

79

IndicDBBench - Benchmarking Multilingual Text-to-SQL Capabilities in Indian Languages

15 Apr · Aviral Dawar, Roshan Karanth, Vikram Goyal +3 · arXiv:2604.13686

While Large Language Models (LLMs) have significantly advanced Text-to-SQL performance, existing benchmarks largely focus on Western contexts leaving a gap in real-world, non-Western applications. We introduce IndicDBBench, a comprehensive multilingual Text-to-SQL benchmark designed to evaluate cross-lingual semantic parsing across diverse Indic language families. The underlying schemas are derived from real-world…

80

A Demonstration of SQLyzr: A Platform for Fine-Grained Text-to-SQL Evaluation and Analysis

23 Apr · Sepideh Abedini, M. Tamer Özsu · arXiv:2604.21214

Text-to-SQL models have significantly improved with the adoption of Large Language Models (LLMs), leading to their increasing use in real-world applications. Although many benchmarks exist for evaluating the performance of text-to-SQL models, they often rely on a single aggregate score, lack evaluation under realistic settings, and provide limited insight into model behaviour across different query types. In this…