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

87 results for “SQL”

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

61

BudgetSchemaBench: A Budget-Swept Diagnostic for Schema Context in Text-to-SQL

8 Sept · Chen Shen · arXiv:2610.00092

Data agents over structured sources must fit database schema into the model's context window. Large catalogs can span many databases and thousands of columns, so cost constraints may require choosing between table coverage and serialization detail well before the context window is full. We introduce BudgetSchemaBench, an execution-grounded diagnostic for this setting. Its construction derives relevance labels…

62

Trajectory-Derived Confidence for Reliable, Resource-Aware Clinical Text-to-SQL Agents

2 Oct · Mincheol Daniel Song, Joshua Ward, Jake Jung +1 · arXiv:2610.04156

LLM agents for clinical text-to-SQL applications reason autonomously over multiple steps but cannot assess whether their own reasoning or outputs can be trusted. In high leverage applications such as healthcare, this presents a critical risk where system mistakes can be costly. These reliability failures are also resource failures: an incorrect reasoning trajectory spends computation budget on outputs that must be…

Accepted at the NeurIPS 2026 Workshop on Resource-Aware Agentic AI (RAAAI) Language & NLP Artificial intelligence Machine learning Matched by wording
63

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…

64

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…

65

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…

66

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
67

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

68

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
69

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…

70

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
71

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
72

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
73

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
74

Single-Database Rewards Are Hackable: Counterfactual Execution for Trustworthy Text-to-SQL RL

25 Nov · Shreshth Rai, Rishii Kumar Singh, Aksh Aggarwal · arXiv:2611.34363

Reinforcement learning (RL) for text-to-SQL agents pays a query when its result matches the reference on one database. However, a wrong query can match by luck when the data lack the rows that expose its bug. We study a counterfactual-database (CF) reward that also runs the final query on a few hidden, code-generated copies of the database and pays only if all results match (strict form) or by the share matched…

+ references and appendix ( total). Code: https://github.com/RishiiGamer2201/counterfactual-sql-rewards Machine learning Language & NLP Databases Matched by wording
75

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…

76

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
77

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
78

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…

79

Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors

16 Jan · Jiawei Shen, Chengcheng Wan, Ruoyi Qiao +6 · arXiv:2501.09310

Large language models (LLMs) have been adopted for text-to-SQL tasks, utilizing their in-context learning (ICL) capability to translate natural language questions into SQL queries. However, such a technique faces correctness problems. In this paper, we conduct the first comprehensive study of text-to-SQL errors of ICL-based techniques. Our study covers four representative ICL-based techniques, five basic repairing…

80

Feather-SQL: A Lightweight NL2SQL Framework with Dual-Model Collaboration Paradigm for Small Language Models

22 Mar · Wenqi Pei, Hailing Xu, Hengyuan Zhao +5 · arXiv:2503.17811

Natural Language to SQL (NL2SQL) has seen significant advancements with large language models (LLMs). However, these models often depend on closed-source systems and high computational resources, posing challenges in data privacy and deployment. In contrast, small language models (SLMs) struggle with NL2SQL tasks, exhibiting poor performance and incompatibility with existing frameworks. To address these issues, we…