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

23 results for “SQL”

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

1

TinySQL: A Progressive Text-to-SQL Dataset for Mechanistic Interpretability Research

17 Mar · Abir Harrasse, Philip Quirke, Clement Neo +3 · arXiv:2503.12730

Mechanistic interpretability research faces a gap between analyzing simple circuits in toy tasks and discovering features in large models. To bridge this gap, we propose text-to-SQL generation as an ideal task to study, as it combines the formal structure of toy tasks with real-world complexity. We introduce TinySQL, a synthetic dataset, progressing from basic to advanced SQL operations, and train models ranging…

Accepted to EMNLP 2025, 18 trained models Project Website: https://abirharrasse.github.io/tinysql/ Code Repository: https://github.com/withmartian/TinySQL Datasets and Models Viewer: https://huggingface.co/spaces/abir-hr196/tinysql-demo Machine learning Artificial intelligence Databases Matched by wording
2

BiomedSQL: Text-to-SQL for Scientific Reasoning on Biomedical Knowledge Bases

23 May · Mathew J. Koretsky, Maya Willey, Owen Bianchi +7 · arXiv:2505.20321

Biomedical researchers increasingly rely on large-scale structured databases for complex analytical tasks. However, current text-to-SQL systems often struggle to map qualitative scientific questions into executable SQL, particularly when implicit domain reasoning is required. We introduce BiomedSQL, the first benchmark explicitly designed to evaluate scientific reasoning in text-to-SQL generation over a real-world…

Published as a conference paper at COLM 2026 Language & NLP Artificial intelligence Machine learning Matched by wording
3

Calibrating LLMs for Text-to-SQL Parsing by Leveraging Sub-clause Frequencies

27 May · Terrance Liu, Shuyi Wang, Daniel Preotiuc-Pietro +2 · arXiv:2505.23804

While large language models (LLMs) achieve strong performance on text-to-SQL parsing, they sometimes exhibit unexpected failures in which they are confidently incorrect. Building trustworthy text-to-SQL systems thus requires eliciting reliable uncertainty measures from the LLM. In this paper, we study the problem of providing a calibrated confidence score that conveys the likelihood of an output query being correct.…

EMNLP 2025 main conference Language & NLP Artificial intelligence Machine learning Matched by wording
4

SQLBarber: A System Leveraging Large Language Models to Generate Customized and Realistic SQL Workloads

8 Jul · Jiale Lao, Immanuel Trummer · arXiv:2507.06192

Database research and development often require a large number of SQL queries for benchmarking purposes. However, acquiring real-world SQL queries is challenging due to privacy concerns, and existing SQL generation methods are limited in customization and in satisfying realistic constraints. To address this issue, we present SQLBarber, a system based on Large Language Models (LLMs) to generate customized and…

Accepted by SIGMOD 2026; extended version with appendix Databases Artificial intelligence Language & NLP Matched by wording
5

RASL: Retrieval Augmented Schema Linking for Massive Database Text-to-SQL

30 Jul · Jeffrey Eben, Aitzaz Ahmad, Stephen Lau · arXiv:2507.23104

Despite advances in large language model (LLM)-based natural language interfaces for databases, scaling to enterprise-level data catalogs remains an under-explored challenge. Prior works addressing this challenge rely on domain-specific fine-tuning - complicating deployment - and fail to leverage important semantic context contained within database metadata. To address these limitations, we introduce a…

6

End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation

8 Aug · Anurag Tripathi, Vaibhav Patle, Abhinav Jain +4 · arXiv:2508.06387

Text-to-SQL bridges the gap between natural language and structured database language, thus allowing non-technical users to easily query databases. Traditional approaches model text-to-SQL as a direct translation task, where a given Natural Language Query (NLQ) is mapped to an SQL command. Recent advances in large language models (LLMs) have significantly improved translation accuracy, however, these methods all…

Accepted in IJCNN25 Machine learning Artificial intelligence Matched by wording
7

A State-of-the-Art SQL Reasoning Model using RLVR

25 Sept · Alnur Ali, Ashutosh Baheti, Jonathan Chang +9 · arXiv:2509.21459

Developing custom reasoning models via Reinforcement Learning (RL) that can incorporate organization-specific knowledge has great potential to address problems faced by enterprise customers. In many of these problems, the reward function is verifiable, a setting termed RL with Verifiable Rewards (RLVR). We apply RLVR to a popular data science benchmark called BIRD that measures the ability of an AI agent to convert…

8

PARROT: A Benchmark for Evaluating LLMs in Cross-System SQL Translation

27 Sept · Wei Zhou, Guoliang Li, Haoyu Wang +4 · arXiv:2509.23338

Large language models (LLMS) have shown increasing effectiveness in Text-to-SQL tasks. However, another closely related problem, Cross-System SQL Translation (a.k.a., SQL-to-SQL), which adapts a query written for one database system (e.g., MySQL) into its equivalent one for another system (e.g., ClickHouse), is of great practical importance but remains underexplored. Existing SQL benchmarks are not well-suited for…

To appear in NeurIPS 2025. Welcome your submission to challenge our leaderboard at: https://code4db.github.io/parrot-bench/. Also visit our code repository at: https://github.com/weAIDB/PARROT Databases Artificial intelligence Language & NLP Matched by wording
9

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
10

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
11

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…

12

EvoSchema: Towards Text-to-SQL Robustness Against Schema Evolution

11 Mar · Tianshu Zhang, Kun Qian, Siddhartha Sahai +4 · arXiv:2603.10697

Neural text-to-SQL models, which translate natural language questions (NLQs) into SQL queries given a database schema, have achieved remarkable performance. However, database schemas frequently evolve to meet new requirements. Such schema evolution often leads to performance degradation for models trained on static schemas. Existing work either mainly focuses on simply paraphrasing some syntactic or semantic…

Accepted by VLDB 2025 Databases Artificial intelligence Language & NLP Matched by wording
13

DSL-R1: From SQL to DSL for Training Retrieval Agents across Structured and Unstructured Data with Reinforcement Learning

14 Jan · Yunhai Hu, Junwei Zhou, Yumo Cao +8 · arXiv:2603.21018

Effective retrieval in complex domains requires bridging the gap between structured metadata and unstructured content. Existing systems typically isolate these capabilities, relying on either symbolic filtering or vector similarity, failing to capture their interplay. In this work, we propose DSL-R1, a unified framework that synergizes logical reasoning with semantic matching via a novel Domain-Specific Language…

14

Residual Skill Optimization for Text-to-SQL Ensembles

20 May · Jiongli Zhu, Haoquan Guan, Parjanya Prajakta Prashant +8 · arXiv:2605.21792

Text-to-SQL ensembles improve over single-candidate generation by drawing multiple SQL candidates and selecting one, but their effectiveness is bounded by Pass@K, the probability that at least one of K candidates is correct. Existing methods source diversity heuristically through stochastic decoding or prompt variants, leaving candidate sets dominated by correlated failures. We present DivSkill-SQL, a residual skill…

15

SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestration

22 Jun · Yizhang Zhu, Zhangyang Peng, Boyan Li +1 · arXiv:2606.23537

Text-to-SQL enables users to access relational databases via natural language, but real-world settings remain challenging due to coordinated reasoning over complex database environments. Existing systems often use multi-stage pipelines or reasoning models specialized for individual stages. However, fixed pipelines rely on predefined stage orders, limiting their adaptivity to query demands and intermediate evidence.…

16

What Predicts Correctness in Text-to-SQL? A Selective-Prediction Study

7 Jul · Robert Richardson · arXiv:2607.06799

Evaluating uncertainty in AI-generated SQL queries requires estimating whether a query is correct, where correct means it executes to the same result as a human-written reference. We study which signals predict correctness on hard multi-table text-to-SQL, using AUROC to measure how well each ranks correct queries above incorrect ones. On BIRD and Spider, black-box signals such as string, structural, and execution…

17

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…

18

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…

19

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
20

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