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

121

Probing Ambiguity: Adversarial Intent Resolution for Robust Text-to-SQL

16 Oct · Youbing Yin, Xujun Peng, Muhammad S. Uddin +3 · arXiv:2610.24248

Text-to-SQL systems typically assume a one-to-one mapping between natural-language queries and correct SQL translations. In practice, however, many queries are inherently ambiguous, admitting multiple valid interpretations that yield distinct outputs. We introduce Adversarial Intent Resolution (AIR), a multi-agent framework that actively probes and resolves such ambiguity without any task-specific training. AIR…

122

Verifying Text-to-SQL Queries under Changing Business Semantics

30 Oct · Genliang Zhu, Xiaobo Chen, Ziyuan Wang +1 · arXiv:2610.41090

In text-to-SQL and AI-agent analytics, successful SQL execution does not establish semantic correctness under changing business definitions. We study revalidation of fixed queries after changes to refund attribution, tax treatment, eligible populations and exchange-rate dates. An executable verification profile binds the requested revision and knowledge cutoff to legal counterexample data and exact monetary…

Artificial intelligence Matched by wording
123

Reimagining Text-to-SQL: A Survey of Large Language Model Architectures and Strategies

30 Oct · Shikhar Dave, Bhaskarjit Sarmah, Stefano Pasquali · arXiv:2611.00171

Text-to-SQL systems translate natural language questions into executable SQL queries, democratizing access to relational data. Early approaches relied on handcrafted rules and template matching, while subsequent neural methods introduced encoder-decoder architectures, schema linking, and constrained decoding to handle increasingly complex queries. The emergence of large language models (LLMs), exemplified by systems…

Artificial intelligence Matched by wording
124

Conversational Interaction for LLM-Based Clinical Text-to-SQL: A User Study with Healthcare Professionals

31 Oct · Jun-Min Lee, Suyoung Yoo, Gyubok Lee +2 · arXiv:2611.00605

Conversational text-to-SQL interfaces could give healthcare professionals natural-language access to electronic health record (EHR) data, but evidence for their real-world usability remains limited: prior evaluations have relied largely on curated benchmarks with fully specified questions or on simulated users. We report a user study in which 14 physicians who regularly work with EHR data used both a single-turn and…

125

Self-Refining Prompt Induction for Streaming Text-to-SQL

31 Oct · Gaetano Rossiello, Alfio Gliozzo, Nandana Mihindukulasooriya +3 · arXiv:2611.00960

Text-to-SQL assistants for streaming engines must handle dialect-specific types, windowing rules, and temporal semantics, including constructs poorly handled by generic prompts. We present Self-Refining Prompt Induction (SRPI), an offline method that converts generation failures into reusable dialect instructions while keeping model weights fixed. A Refiner revises the Generator's prompt using reference-conditioned…

126

SQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQL

2 Nov · Hao Fu, Degang Sun, Wan Wei +3 · arXiv:2611.03298

Text-to-SQL translates natural language questions into SQL queries, enabling database access without writing SQL. Fine-tuning open-weight large language models (LLMs) is cost-effective, but existing methods treat SQL as ordinary text and optimize token-level likelihood without explicitly modeling its syntactic, semantic, and logical requirements. Thus, a single incorrect alias or comparison operator can invalidate a…

127

Can LLM Agents Be Forward-Deployed Engineers? Requirement Discovery and Delivery for Enterprise Text-to-SQL

2 Nov · Marianne Menglin Liu, Rongguang Wang, Zheng Wang +5 · arXiv:2611.03551

LLM coding agents can increasingly automate model post-training, but whether they can act as forward-deployed engineer (FDE) agents, discovering customer requirements and turning them into deployment decisions, remains unclear. We study this on a real enterprise text-to-SQL engagement: a simulated customer, grounded in the real use case's requirements, starts with an ambiguous request. An agent must discover…

128

LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent

13 Nov · Ibrahim Memon, Armin Karamzade, M. Hanif Jhaveri +1 · arXiv:2611.17780

Frontier LLM agents that query databases with tools are among the most accurate text-to-SQL systems, but per-query calls to a hosted model are slow, costly, and expose sensitive organizational queries to external APIs. For example, a Claude Opus 5.5 agent serving 10,000 queries a day costs over $70,000 a year at list price. To what extent can local hardware already owned by an organization offload this burden…

8-page main text plus appendix Language & NLP Artificial intelligence Databases Matched by wording
129

Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity

23 Nov · Yuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis +2 · arXiv:2611.30873

Real-world text-to-SQL systems often face schema ambiguity, where a question can map to multiple plausible schema elements. To support downstream disambiguation, SQL generation systems should include diverse interpretations among their top-k predictions. However, large language models (LLMs) typically favor a single interpretation, producing highly skewed outputs. We propose Semantic-aware Logit Adjustment (SLA), a…

130

Know When to Abstain: Conformal Confidence Estimation for Text-to-SQL

23 Nov · Avinash Kumar Singh, Bhaskarjit Sarmah, Stefano Pasquali · arXiv:2611.31190

Text-to-SQL systems often return queries that execute successfully but answer the wrong question. Detecting these errors at deployment is hard because execution correctness is defined against a gold query, which exists only in labeled data. We formulate confidence estimation for Text-to-SQL as probabilistic query validation under a latent correctness variable that is observable at calibration time through gold-SQL…

131

Reward Blindness: A Theoretical Framework for Diagnosing Reinforcement Learning Reward Limitations in Text-to-SQL

23 Nov · Lakshmi Muraleedharan Nair, Shiqi Huang, Fangyu Lo +2 · arXiv:2611.29930

Text-to-SQL systems let users without programming expertise query relational databases in natural language. Reinforcement learning has become the dominant way to train such systems, yet progress is still judged by a single number, execution accuracy, which counts correct queries but says nothing about which kinds of semantic error survive training. This paper develops a theoretical framework that examines…

Artificial intelligence Matched by wording
132

Mind the Trap As LLMs Guess the Data Model: Grain-Aware Guards Against Fan-out in Text-to-SQL and Its Benchmarks

21 Nov · Ahmed M. Mahran · arXiv:2611.29009

Text-to-SQL systems built on large language models (LLMs) often aggregate over one-to-many and many-to-many joins, a classic trap: when the joined rows repeat an entity, a SUM or COUNT counts it more than once, yet the query runs and returns a plausible number. We characterize these fan-out errors by one condition on the relation an aggregate reads, which depends on two facts a schema does not show: each measure's…

Code, data and benchmarks: https://github.com/ahmed-mahran/misqal Databases Artificial intelligence Language & NLP Matched by wording
133

RubikSQL-HB: Agentic Text-to-SQL with Knowledge in the Loop

24 Nov · Haorui Jia, Zihan Qu, Yundi Dong +7 · arXiv:2611.32772

Database agents need more than schema structure: business meanings, stored values and reference queries supply knowledge that becomes relevant at different points in reasoning. We introduce RubikSQL-HB, which exposes these materials through queryable, database-specific knowledge workspaces built on the HeavenBase platform. Its knowledge interface remains available as an agent constructs and investigates an answer.…

Artificial intelligence Matched by wording
134

Structure Guided Large Language Model for SQL Generation

19 Feb · Qinggang Zhang, Hao Chen, Junnan Dong +3 · arXiv:2402.13284

Recent advancements in large language models (LLMs) have shown promise in bridging the gap between natural language queries and database management systems, enabling users to interact with databases without the background of SQL. However, LLMs often struggle to comprehend complex database structures and accurately interpret user intentions. Decomposition-based methods have been proposed to enhance the performance of…

The 42nd International Conference on Machine Learning Databases Artificial intelligence Language & NLP Matched by wording
135

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…

136

SQLBench: A Comprehensive Evaluation for Text-to-SQL Capabilities of Large Language Models

5 Mar · Bin Zhang, Yuxiao Ye, Guoqing Du +8 · arXiv:2403.02951

Large Language Models (LLMs) have emerged as a powerful tool in advancing the Text-to-SQL task, significantly outperforming traditional methods.Nevertheless, as a nascent research field, there is still no consensus on the optimal prompt templates and design frameworks. Additionally, existing benchmarks inadequately explore the performance of LLMs across the various sub-tasks of the Text-to-SQL process, which hinders…

137

A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?

9 Aug · Xinyu Liu, Shuyu Shen, Boyan Li +7 · arXiv:2408.05109

Translating users' natural language queries (NL) into SQL queries (i.e., Text-to-SQL, a.k.a. NL2SQL) can significantly reduce barriers to accessing relational databases and support various commercial applications. The performance of Text-to-SQL has been greatly enhanced with the emergence of Large Language Models (LLMs). In this survey, we provide a comprehensive review of Text-to-SQL techniques powered by LLMs,…

138

Multi-Turn Interactions for Text-to-SQL with Large Language Models

9 Aug · Guanming Xiong, Junwei Bao, Hongfei Jiang +2 · arXiv:2408.11062

This study explores text-to-SQL parsing by leveraging the powerful reasoning capabilities of large language models (LLMs). Despite recent advancements, existing LLM-based methods are still inefficient and struggle to handle cases with wide tables effectively. Furthermore, current interaction-based approaches either lack a step-by-step, interpretable SQL generation process or fail to provide a universally applicable…

This work has been accepted to CIKM 2025 Language & NLP Artificial intelligence Matched by wording
139

BEAVER: An Enterprise Benchmark for Text-to-SQL

3 Sept · Peter Baile Chen, Devin Yang, Weiyue Li +6 · arXiv:2409.02038

Existing text-to-SQL benchmarks have largely been constructed from public databases with well-structured schemas and simplistic question-SQL pairs. While large language models (LLMs) excel on these settings, their efficacy in complex private enterprise environments, characterized by intricate schemas, domain knowledge, and analytical user queries involving sophisticated structures and functions, remains unproven. To…

Dataset and code are available at https://beaverbench.github.io/ Language & NLP Artificial intelligence Databases Matched by wording
140

PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queries

14 Oct · Mingwen Dong, Nischal Ashok Kumar, Yiqun Hu +9 · arXiv:2410.11076

Previous text-to-SQL datasets and systems have primarily focused on user questions with clear intentions that can be answered. However, real user questions can often be ambiguous with multiple interpretations or unanswerable due to a lack of relevant data. In this work, we construct a practical conversational text-to-SQL dataset called PRACTIQ, consisting of ambiguous and unanswerable questions inspired by…