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

41

AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation

12 Oct · Omid Reza Heidari, Siobhan Reid, Yassine Yaakoubi · arXiv:2510.10661

LLMs have advanced text-to-SQL generation, yet monolithic architectures struggle with complex reasoning and schema diversity. We propose AGENTIQL, an agent-inspired multi-expert framework that combines a reasoning agent for question decomposition, a coding agent for sub-query generation, and a refinement step for column selection. An adaptive router further balances efficiency and accuracy by selecting between our…

Accepted at NeurIPS 2025, ER "Efficient Reasoning" workshop Language & NLP Artificial intelligence Matched by wording
42

MTSQL-R1: Towards Long-Horizon Multi-Turn Text-to-SQL via Agentic Training

12 Oct · Taicheng Guo, Hai Wang, ChaoChun Liu +4 · arXiv:2510.12831

Multi-turn Text-to-SQL aims to translate a user's conversational utterances into executable SQL while preserving dialogue coherence and grounding to the target schema. However, most existing systems only regard this task as a simple text translation task and follow a short-horizon paradigm, generating a query per turn without execution, explicit verification, and refinement, which leads to non-executable or…

ACL 2026 Main camera-ready version Language & NLP Artificial intelligence Databases Matched by wording
43

Bridging the Semantic Gap: Contrastive Rewards for Multilingual Text-to-SQL with GRPO

10 Oct · Ashish Kattamuri, Ishita Prasad, Meetu Malhotra +3 · arXiv:2510.13827

Current Text-to-SQL methods are evaluated and only focused on executable queries, overlooking the semantic alignment challenge -- both in terms of the semantic meaning of the query and the correctness of the execution results. Even execution accuracy itself shows significant drops when moving from English to other languages, with an average decline of 6 percentage points across non-English languages. We address…

20th International Workshop on Semantic and Social Media Adaptation & Personalization Language & NLP Artificial intelligence Matched by wording
44

BenchPress: A Human-in-the-Loop Annotation System for Rapid Text-to-SQL Benchmark Curation

11 Oct · Fabian Wenz, Omar Bouattour, Devin Yang +4 · arXiv:2510.13853

Large language models (LLMs) have been successfully applied to many tasks, including text-to-SQL generation. However, much of this work has focused on publicly available datasets, such as Fiben, Spider, and Bird. Our earlier work showed that LLMs are much less effective in querying large private enterprise data warehouses and released Beaver, the first private enterprise text-to-SQL benchmark. To create Beaver, we…

45

JudgeSQL: Reasoning over SQL Candidates with Weighted Consensus Tournament

17 Oct · Jiayuan Bai, Xuan-guang Pan, Chongyang Tao +1 · arXiv:2510.15560

Text-to-SQL is a pivotal task that bridges natural language understanding and structured data access, yet it remains fundamentally challenging due to semantic ambiguity and complex compositional reasoning. While large language models (LLMs) have greatly advanced SQL generation though prompting, supervised finetuning and reinforced tuning, the shift toward test-time scaling exposes a new bottleneck: selecting the…

46

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…

47

SpotIt: Evaluating Text-to-SQL Evaluation with Formal Verification

30 Oct · Rocky Klopfenstein, Yang He, Andrew Tremante +3 · arXiv:2510.26840

Community-driven Text-to-SQL evaluation platforms play a pivotal role in tracking the state of the art of Text-to-SQL performance. The reliability of the evaluation process is critical for driving progress in the field. Current evaluation methods are largely test-based, which involves comparing the execution results of a generated SQL query and a human-labeled ground-truth on a static test database. Such an…

Accepted at ICLR'26 Databases Artificial intelligence cs.FL Matched by wording
48

Can LLMs Narrate Tabular Data? An Evaluation Framework for Natural Language Representations of Text-to-SQL System Outputs

27 Oct · Jyotika Singh, Weiyi Sun, Amit Agarwal +4 · arXiv:2510.23854

In modern industry systems like multi-turn chat agents, Text-to-SQL technology bridges natural language (NL) questions and database (DB) querying. The conversion of tabular DB results into NL representations (NLRs) enables the chat-based interaction. Currently, NLR generation is typically handled by large language models (LLMs), but information loss or errors in presenting tabular results in NL remains largely…

Accepted at EMNLP 2025 Language & NLP Artificial intelligence Matched by wording
49

OraPlan-SQL: A Planning-Centric Framework for Complex Bilingual NL2SQL Reasoning

27 Oct · Marianne Menglin Liu, Sai Ashish Somayajula, Syed Fahad Allam Shah +2 · arXiv:2510.23870

We present OraPlan-SQL, our system for the Archer NL2SQL Evaluation Challenge 2025, a bilingual benchmark requiring complex reasoning such as arithmetic, commonsense, and hypothetical inference. OraPlan-SQL ranked first, exceeding the second-best system by more than 6% in execution accuracy (EX), with 55.0% in English and 56.7% in Chinese, while maintaining over 99% SQL validity (VA). Our system follows an agentic…

50

Falcon: A Comprehensive Chinese Text-to-SQL Benchmark for Enterprise-Grade Evaluation

23 Oct · Wenzhen Luo, Wei Guan, Yifan Yao +6 · arXiv:2510.24762

We introduce Falcon, a cross-domain Chinese text-to-SQL benchmark grounded in an enterprise-compatible dialect (MaxCompute/Hive). It contains 600 Chinese questions over 28 databases; 77% require multi-table reasoning and over half touch more than four tables. Each example is annotated along SQL-computation features and Chinese semantics. For evaluation, we release a robust execution comparator and an automated…

51

ORANGE: An Online Reflection ANd GEneration framework with Domain Knowledge for Text-to-SQL

2 Nov · Yiwen Jiao, Tonghui Ren, Yuche Gao +4 · arXiv:2511.00985

Large Language Models (LLMs) have demonstrated remarkable progress in translating natural language to SQL, but a significant semantic gap persists between their general knowledge and domain-specific semantics of databases. Historical translation logs constitute a rich source of this missing in-domain knowledge, where SQL queries inherently encapsulate real-world usage patterns of database schema. Existing methods…

52

BAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation

6 Nov · Fahim Ahmed, Md Mubtasim Ahasan, Jahir Sadik Monon +4 · arXiv:2511.04153

Text-to-SQL systems provide a natural language interface that can enable even laymen to access information stored in databases. However, existing Large Language Models (LLM) struggle with SQL generation from natural instructions due to large schema sizes and complex reasoning. Prior work often focuses on complex, somewhat impractical pipelines using flagship models, while smaller, efficient models remain overlooked.…

53

Cortex AISQL: A Production SQL Engine for Unstructured Data

10 Nov · Paweł Liskowski, Benjamin Han, Paritosh Aggarwal +9 · arXiv:2511.07663

Snowflake's Cortex AISQL is a production SQL engine that integrates native semantic operations directly into SQL. This integration allows users to write declarative queries that combine relational operations with semantic reasoning, enabling them to query both structured and unstructured data effortlessly. However, making semantic operations efficient at production scale poses fundamental challenges. Semantic…

Published in SIGMOD Companion '26 (Industry Track), Bengaluru, India, May 31-June 5, 2026. ACM DOI: 10.1145/3788853.3803093. This version is the published ACM Version of Record under the Creative Commons Attribution 4.0 International (CC BY 4.0) license Databases Artificial intelligence Machine learning Matched by wording
54

Continual Learning of Domain Knowledge from Human Feedback in Text-to-SQL

10 Nov · Thomas Cook, Kelly Patel, Sivapriya Vellaichamy +4 · arXiv:2511.10674

Large Language Models (LLMs) can generate SQL queries from natural language questions but struggle with database-specific schemas and tacit domain knowledge. We introduce a framework for continual learning from human feedback in text-to-SQL, where a learning agent receives natural language feedback to refine queries and distills the revealed knowledge for reuse on future tasks. This distilled knowledge is stored in…

55

Beyond SELECT: A Comprehensive Taxonomy-Guided Benchmark for Real-World Text-to-SQL Translation

17 Nov · Hao Wang, Yuanfeng Song, Xiaoming Yin +1 · arXiv:2511.13590

Text-to-SQL datasets are essential for training and evaluating text-to-SQL models, but existing datasets often suffer from limited coverage and fail to capture the diversity of real-world applications. To address this, we propose a novel taxonomy for text-to-SQL classification based on dimensions including core intents, statement types, syntax structures, and key actions. Using this taxonomy, we evaluate widely used…

56

Node-Level Uncertainty Estimation in LLM-Generated SQL

17 Nov · Hilaf Hasson, Ruocheng Guo · arXiv:2511.13984

We present a practical framework for detecting errors in LLM-generated SQL by estimating uncertainty at the level of individual nodes in the query's abstract syntax tree (AST). Our approach proceeds in two stages. First, we introduce a semantically aware labeling algorithm that, given a generated SQL and a gold reference, assigns node-level correctness without over-penalizing structural containers or alias…

57

Knowledge Distillation with Structured Chain-of-Thought for Text-to-SQL

18 Dec · Khushboo Thaker, Yony Bresler · arXiv:2512.17053

Deploying accurate Text-to-SQL systems at the enterprise level faces a difficult trilemma involving cost, security and performance. Current solutions force enterprises to choose between expensive, proprietary Large Language Models (LLMs) and low-performing Small Language Models (SLMs). Efforts to improve SLMs often rely on distilling reasoning from large LLMs using unstructured Chain-of-Thought (CoT) traces, a…

Accepted at the 39th Canadian Conference on Artificial Intelligence (Canadian AI 2026). This is the extended version containing additional details and appendices omitted from the camera-ready proceedings due to space constraints Language & NLP Artificial intelligence Databases Matched by wording
58

Query Carefully: Detecting the Unanswerables in Text-to-SQL Tasks

19 Dec · Jasmin Saxer, Isabella Maria Aigner, Luise Linzmeier +2 · arXiv:2512.21345

Text-to-SQL systems allow non-SQL experts to interact with relational databases using natural language. However, their tendency to generate executable SQL for ambiguous, out-of-scope, or unanswerable queries introduces a hidden risk, as outputs may be misinterpreted as correct. This risk is especially serious in biomedical contexts, where precision is critical. We therefore present Query Carefully, a pipeline that…

Accepted to the HC@AIxIA + HYDRA 2025 Databases Artificial intelligence Language & NLP Matched by wording
59

Cost Trade-offs of Reasoning and Non-Reasoning Large Language Models in Text-to-SQL

26 Dec · Saurabh Deochake, Debajyoti Mukhopadhyay · arXiv:2512.22364

While Text-to-SQL systems achieve high accuracy, existing efficiency metrics like the Valid Efficiency Score prioritize execution time, a metric we show is fundamentally decoupled from consumption-based cloud billing. This paper evaluates cloud query execution cost trade-offs between reasoning and non-reasoning Large Language Models by performing 180 Text-to-SQL query executions across six LLMs on Google BigQuery…

60

AGRO-SQL: Agentic Group-Relative Optimization with High-Fidelity Data Synthesis

29 Dec · Cehua Yang, Dongyu Xiao, Junming Lin +7 · arXiv:2512.23366

The advancement of Text-to-SQL systems is currently hindered by the scarcity of high-quality training data and the limited reasoning capabilities of models in complex scenarios. In this paper, we propose a holistic framework that addresses these issues through a dual-centric approach. From a Data-Centric perspective, we construct an iterative data factory that synthesizes RL-ready data characterized by high…