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

101

EvoSQL: Memory-Augmented Critic-Generator Co-Evolution for Text-to-SQL

4 Jun · Jiawei Zhou, Jianwei Wang, Chenyu Zhou +3 · arXiv:2607.20489

Text-to-SQL has advanced rapidly with large language models, but complex database queries still require reasoning beyond one-shot generation, including multi-step decomposition, execution-based diagnosis, and targeted correction. We present EvoSQL, a co-evolution framework that formulates SQL synthesis as an iterative interaction between a generator and a critic. EvoSQL maintains a contextualized candidate memory,…

Accepted as EMNLP Findings (2026) Artificial intelligence Databases Matched by wording
102

Benchmarking Text-to-SQL under Role-Based Access Control

24 Jul · Yang Fei, Yangfan Jiang, Yin Yang +1 · arXiv:2607.22115

Given a database S and a natural language question Q, text-to-SQL systems aim to generate an SQL query that correctly answers Q when executed against S. Currently, popular text-to-SQL benchmarks mostly assume unrestricted access to S; in practice, however, user access is often restricted, e.g., through role-based access control (RBAC) policies. This leads to a potential disconnect between benchmarking results and…

Accepted at ACM SIGMOD 2027 Databases Artificial intelligence Matched by wording
103

How Small Can You Go? A Controlled Study of LoRA Rank, Target Modules, and Quantization Trade-offs for Text-to-SQL on a 60M-Parameter Model

28 Jul · Mahendra Singh Rathor, Anagheem Azzam · arXiv:2607.25583

Parameter-efficient fine-tuning (PEFT) and low-bit quantization are now standard tools for adapting language models under tight compute budgets, yet their interaction is most often studied on billion-parameter models where the design space is expensive to explore. We ask a complementary question: on a specific, fully reproducible 60M-parameter encoder-decoder model (T5-small) and a single-table text-to-SQL benchmark…

Artificial intelligence Matched by wording
104

Business Truth, not SQL Accuracy: A Rule-Gated 7B Analytics Agent Outperforms a Direct-Prompted 32B Baseline

10 Aug · Morris Lee · arXiv:2608.09254

LLM analytics agents are evaluated on SQL syntax accuracy, but production failures look different: questions with two valid business definitions, questions the warehouse cannot answer, deprecated columns after a schema change, and queries that execute successfully while returning the wrong business number. No execution-match metric can score them. This paper introduces WarehouseReliabilityBench, 400 frozen tasks…

Benchmark, code, run records, pre-registration and one-command reproduction: https://github.com/k-w-lee/query_proof Artificial intelligence Language & NLP Matched by wording
105

SafeQL: Search-based Refinement for Safe and Efficient LLM-based Text-to-SQL

10 Aug · Geonho Lee, Min-Soo Kim · arXiv:2608.09260

Large language models (LLMs) have advanced Text-to-SQL by enabling natural language interfaces to databases without task-specific fine-tuning. However, existing LLM-based systems remain unreliable, often generating SQL queries that are invalid under the database schema, referencing non-existent tables, attributes, functions, or values. Such errors persist because interactions with the database management system…

VLDB 2026 Databases Artificial intelligence Matched by wording
106

DexterSQL: Deep Schema Exploration and Rule-based Correction for Text-to-SQL Generation

12 Aug · Anik Pramanik, Murat Kantarcioglu, Vincent Oria +1 · arXiv:2608.11889

Prompting-based (i.e., non-fine-tuning) Text-to-SQL methods, where underlying large language model parameters are not changed for the task, face three problems: (i) relying on coarse-grained schema information that may not reveal the fine-grained relationships needed to distinguish ambiguous columns, (ii) failing to capture recurring SQL-generation failures, and (iii) suffering from omission or hallucination of…

This version of the paper improved the SQL generation algorithm, increasing the system's overall accuracy. For details, please see the paper Databases Artificial intelligence Language & NLP Matched by wording
107

Bounded Semantic Planning and Deterministic Compilation for Reliable Enterprise Text-to-SQL

17 Aug · Yi Ai · arXiv:2608.16663

Direct text-to-SQL asks a language model to do two jobs: interpret the business question and construct the complete relational query. In enterprise schemas, SQL can execute successfully while using the wrong relationship role or aggregation grain. We study an alternative placement of the stochastic boundary. A multi-turn planner grounds phrases and selects from question-specific governed options; graph traversal,…

10 sections, . Preprint. Code and research artifacts are described in the manuscript Databases Artificial intelligence Matched by wording
108

SAGE: A Unified Algebra and Self-Adaptive Execution for AI Functions in SQL

21 Aug · Xiangqi Wang · arXiv:2608.20630

SQL systems increasingly expose AI functions for tasks such as classification, extraction, filtering, ranking, retrieval, joining, and summarization. Despite their diverse APIs, these functions play only three relational roles: transforming individual rows, aggregating groups, or generating relationships between row pairs. We present SAGE (Self-Adaptive Generative Execution), a unified logical and physical framework…

arXiv admin comment: This version has been removed by arXiv administrators as the submitter did not have the rights to agree to the license at the time of submission Artificial intelligence Matched by wording
109

From SQL Generation to Tool Selection: A Domain-Oriented Pattern for MCP Servers

22 Aug · Bartolomeo Bogliolo · arXiv:2608.22063

Agents built on Large Language Models (LLMs) increasingly reach enterprise data through the Model Context Protocol (MCP), and many MCP database servers maximize flexibility by exposing a single generic SQL execution tool. This paper proposes the Domain-Oriented Tooling Pattern: instead of generating SQL at query time, the model selects from a small set of domain-aligned tools whose parameterized queries encapsulate…

110

Beyond the Harness: End-to-End Optimization of Context Artifacts for Enterprise Text-to-SQL

24 Aug · Kate Gwimm, Carson Eisenach · arXiv:2608.22830

Deploying LLMs for enterprise Text-to-SQL is bottlenecked less by the model than by what context reaches it: business logic spans thousands of tables, and no model can ingest a full catalog at once. We argue that the most effective place to intervene is therefore the \emph{knowledge-base context} the model consumes, and that this context should be \emph{constructed} from historical usage rather than tuned for as a…

111

From SQL to Knowledge Graphs: An LLM-Driven Multi-Agent Approach with Data Schema Improvement

17 Jun · Dinh-Khanh Pham, Quy-Anh Dang, Lam Mai Thanh +2 · arXiv:2608.26117

RDBMS (Relational Database Management System) databases face several limitations, including slow execution with multi-hop queries and a lack of explainability by graphical interpretations. In contrast, Graph database offers a more intuitive and efficient data schema that performs faster execution on large datasets. Most existing RDBMS conversion pipelines focus on running traditional loading commands and relying on…

112

A Cost-Aware Agentic Architecture for NL-to-SQL over Nested Enterprise Schemas, with a New Benchmark

4 Sept · Yoga Sri Varshan Varadharajan, Ajay Yadav, Ritesh Goru +5 · arXiv:2609.04641

Natural-language-to-SQL systems have ad- vanced rapidly on academic benchmarks, yet production enterprise schemas exhibit graph- like, semi-structured, deeply nested structure that current benchmarks do not measure. We make two complementary contributions. First, we introduce the DevRev NL2SQL bench- mark: 900 execution-verified queries with nested-type and link-graph structure, accom- panied by the Semantic Depth…

Artificial intelligence Matched by wording
113

The Stochastic Shift: A New Evaluation Paradigm for Text-to-SQL with AI Operators

17 Sept · Tarfah Alrashed, Fatma Ozcan, Per Jacobsson +2 · arXiv:2609.21133

SQL has been augmented with AI operators, enabling modern data analytics platforms to derive insights from both structured and unstructured data. We observe that while current Text-to-SQL systems can successfully generate these AI-augmented queries, reliably evaluating their correctness remains a critical open challenge. Current metrics, which rely on exact query results and deterministic execution, systematically…

114

Measure Learning at Steady State: A BIRD-SQL Formula 1 Case Study

11 Sept · Manoj Bajaj · arXiv:2609.31640

Continual Learning Bench scores learning as short-horizon gain versus a reset baseline and finds naive full-context ICL strongest among the memories it tested. We treat ICL as one learning system and score it on a longer shared-world schedule. Steady-state learning is the gap versus baseline on a pre-set late window (last 40 of 174 BIRD-SQL formula-1 questions). We split the score into exploration efficiency (SQL…

115

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…

116

From Benchmarks to Production: A Text-to-SQL System for Complex Financial Data

2 Oct · Arijit Sehanobish, Bruno Gomes Coelho, Guillaume Michel +3 · arXiv:2610.03524

General-purpose Text-to-SQL systems achieve strong performance on academic benchmarks like Spider and BIRD, where schemas are relatively shallow and column values are often human readable. In production financial databases, where concepts are stored as opaque integer keys rather than human-readable strings, these methods fall below 50%, as even simple queries require multiple joins and filter predicates reference…

EMNLP Industry Track 2026 Artificial intelligence Databases Machine learning Matched by wording
117

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
118

Does a Governed Confidence Score Know When a Text-to-SQL Answer Is Right? An Exploratory Study on BIRD and a Pre-registered Confirmation on Spider

12 Oct · Raghu Venkat, Tricha Anjali · arXiv:2610.17256

Conversational analytics lets people ask questions of records spread across many systems and get answers in plain language; it is useful only if each answer can be trusted and explained. A production system of this kind attaches a confidence score to every answer it writes over a database and uses it to show the answer, show it with a warning, or withhold it. The score's weights, caps and thresholds were set by…

v2: revised after external review; adds a correctness judge, a second-model check, database-level intervals and a human label pilot, and corrects the reproducibility statement. Code, frozen scorer (branch prereg), analysis scripts and data: https://github.com/numberz-ai/numberz-ies-tdd-h-calibration (release v2.0) Artificial intelligence Matched by wording
119

Reliable Text-to-SQL in Resource-Constrained Settings with Small LLMs via Iterative Retry Workflows

12 Oct · Bilel Abderrahmane Benziane, Xavier Schepler · arXiv:2610.17305

Large Language Models (LLMs) have recently improved Text-to-SQL generation, but their computational cost can hinder deployment in resource-constrained settings. This paper evaluates the Text-to-SQL capabilities of small and medium open-source LLMs (1B-8B parameters) under a controlled inference budget, focusing on how model specialization and prompt formulation affect performance. Using the Spider benchmark, we…

Artificial intelligence Matched by wording
120

VeriPIE: Checkable Query Plans and Evidence-Guided Selection for Text-to-SQL

12 Oct · Piyush Jha, Cruise Song, Zhengyu Li +1 · arXiv:2610.17493

Financial Artificial Intelligence (AI) governance and model risk management (MRM) emphasize independent validation, transparency, and effective challenge of AI-generated computations. Text-to-SQL translates natural-language questions into Structured Query Language (SQL), but queries that agree on one database can still express different computations. We present VeriPIE, a neurosymbolic framework combining…