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

172 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

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
129

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
130

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,…

131

Text-to-SQL Models Make Choices Without Saying So

3 Nov · Yichen Xu, Shipei Lin, Chenhao Ma · arXiv:2611.04318

A text-to-SQL answer can run, return a plausible number and still compute something other than what the analyst meant. This can happen when the request leaves a calculation choice open, such as whether to count rows or distinct entities, and the model settles it without saying so. Standard benchmarks cannot detect this, because they score each question against a single reference interpretation. We introduce…

Databases Language & NLP Matched by wording
132

TSSDA: An Autonomous Agent for Constructing a Time-Series Text-to-SQL Benchmark

1 Nov · Zhihan Zheng, Shaoxu Song, Haitao Yuan +1 · arXiv:2611.02132

As agents increasingly undertake data querying, Text-to-SQL serves as a foundational capability for database access. However, for text-to-SQL in time-series databases, high-quality benchmarks and large-scale training corpora remain scarce, limiting the systematic evaluation and domain adaptation of existing models and agents. Existing automated SQL generation approaches lack sufficient autonomy, leaving key…

133

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…

134

Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL

19 Nov · Hailong Li, Mohammadreza Pourreza, Tal Neiman +3 · arXiv:2611.26775

Text-to-SQL systems increasingly rely on context banks: curated collections of example queries, metric definitions, and domain knowledge that tell a model how an organization writes its queries. In the enterprise, a bank grows over years as many analysts add entries, checked one at a time for correctness (does the SQL answer its own question?) and rarely for consistency with one another. Yet correctness is often…

Language & NLP Matched by wording
135

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…

136

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
137

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
138

BIRD-Persona: A Persona-Aware Benchmark for SQL and pandas Analytics Code Generation

21 Nov · Davin Hill, Pawan Chorasiya, Bhawani S. Leelar +3 · arXiv:2611.28542

Production text-to-code systems use large language models to turn natural-language analytics requests into executable SQL and pandas code. Existing benchmarks cover both tasks but do not isolate when performance diverges between them. We introduce BIRD-Persona, a persona-stratified extension of BIRD-Python that adds novice and expert rewrites to tasks with matched SQL and pandas ground truth, along with schema…

Language & NLP Matched by wording
139

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
140

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…