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

81

SemanticAgent: A Semantics-Aware Framework for Text-to-SQL Data Synthesis

23 Apr · Qiang Gao, Zhenping Li, Anqi Zhuo +3 · arXiv:2604.21414

Existing text-to-SQL synthesis pipelines still conflate executability with semantic validity: syntactic checks and execution-based validation can retain queries that execute successfully while violating database semantics. To address these limitations, we propose SemanticAgent, a semantic-aware synthesis framework. SemanticAgent organizes synthesis around three specialized modules: an analyzer, a synthesizer, and a…

Artificial intelligence Matched by wording
82

PExA: Parallel Exploration Agent for Complex Text-to-SQL

24 Apr · Tanmay Parekh, Ella Hofmann-Coyle, Shuyi Wang +3 · arXiv:2604.22934

LLM-based agents for text-to-SQL often struggle with latency-performance trade-off, where performance improvements come at the cost of latency or vice versa. We reformulate text-to-SQL generation within the lens of software test coverage where the original query is prepared with a suite of test cases with simpler, atomic SQLs that are executed in parallel and together ensure semantic coverage of the original query.…

Accepted at ACL 2026 Artificial intelligence Language & NLP Matched by wording
83

Reliable Answers for Recurring Questions: Boosting Text-to-SQL Accuracy with Template Constrained Decoding

30 Apr · Smit Jivani, Sarvam Maheshwari, Sunita Sarawagi · arXiv:2604.28028

Large language models (LLMs) have revolutionized Text-to-SQL generation, allowing users to query structured data using natural language with growing ease. Yet, real-world deployment remains challenging, especially in complex or unseen schemas, due to inconsistent accuracy and the risk of generating invalid SQL. We introduce Template Constrained Decoding (TeCoD), a system that addresses these limitations by…

Project Code: https://github.com/SSLab-CSE-IITB/tecod Language & NLP Artificial intelligence Databases Matched by wording
84

When Prompts Become Payloads: A Framework for Mitigating SQL Injection Attacks in Large Language Model-Driven Applications

11 May · Farzad Nourmohammadzadeh Motlagh, Mehrdad Hajizadeh, Mehryar Majd +3 · arXiv:2605.10176

Natural language interfaces to structured databases are becoming increasingly common, largely due to advances in large language models (LLMs) that enable users to query data using conversational input rather than formal query languages such as SQL. While this paradigm significantly improves usability and accessibility, it introduces new security risks, particularly the amplification of SQL injection vulnerabilities…

85

Adversarial SQL Injection Generation with LLM-Based Architectures

11 May · Ali Karakoc, H. Birkan Yilmaz · arXiv:2605.11188

SQL injection (SQLi) attacks are still one of the serious attacks ranked in the Open Worldwide Application Security Project (OWASP) Top 10 threats. Today, with advances in Artificial Intelligence (AI), especially in Large Language Models (LLMs), an opportunity has been created for automating adversarial attack tests to measure the defense mechanisms. In this paper, we aim to create a comprehensive evaluation of use…

86

AgentNLQ: A General-Purpose Agent for Natural Language to SQL

18 May · Olena Bogdanov, Yeunji Jung, Chandra Dhir +5 · arXiv:2605.19010

Natural language to SQL (NL2SQL) conversion is an important problem for researchers and enterprises due to the ubiquitous importance of relational databases in broad-ranging practical problems. Despite the rapid advancements in the capabilities of LLMs, NL2SQL has not reached parity in accuracy with human expert SQL writers, hence needing additional improvements in NL2SQL algorithms. This study presents a new…

Artificial intelligence Matched by wording
87

Beyond Text-to-SQL: An Agentic LLM System for Governed Enterprise Analytics APIs

20 May · Gundeep Singh, Parsa Kavehzadeh, Jing Xia +5 · arXiv:2605.21027

Enterprise analytics aims to make organizational data accessible for decision-making, yet non-technical users still face barriers when using traditional business intelligence tools or Text-to-SQL systems. While recent Text-to-SQL approaches based on Large Language Models (LLMs) promise natural language access to structured data, they fall short in enterprise settings where analytics pipelines rely on governed APIs…

Accepted to the Enterprise AI Agents Workshop @ KDD 2026. The first four authors contributed equally to this work Language & NLP Artificial intelligence Matched by wording
88

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…

89

EviLink: Multi-Path Schema Linking with Uncertainty-Guided Evidence Acquisition for Large-Scale Text-to-SQL

28 May · Huawei Zheng, Sen Yang, Zhaorui Yang +9 · arXiv:2605.29670

Schema linking is a difficult and important step in large-scale Text-to-SQL, where systems must identify a compact yet sufficient schema context from large and ambiguous databases. Existing methods often treat schema linking as deterministic selection around a single SQL path, but complex questions may admit multiple valid realizations with different schema needs. We reframe schema linking as uncertainty-aware…

90

UniQL: Towards Dialect-Universal Benchmarking for Text-to-SQL

6 Jun · Jianling Gao, Chongyang Tao, Jiayuan Bai +7 · arXiv:2606.08018

Existing text-to-SQL benchmarks are largely centered on SQLite, making it difficult to evaluate whether models can generalize across heterogeneous SQL dialects. However, real-world database systems differ substantially in syntax, functions, type systems, and execution semantics, so the same natural language intent often requires dialect-specific SQL realizations. We introduce UniQL, a human-verified benchmark for…

Artificial intelligence Matched by wording
91

TAHOE: Text-to-SQL with Automated Hint Optimization from Experience

10 Jun · Zhiyi Chen, Jie Song, Peng Li · arXiv:2606.12387

Large Language Models (LLMs) have democratized database access through Text-to-SQL, but moving from prototypes to production remains difficult. Real deployments must handle strict SQL dialects, massive schemas, and evolving user preferences, while supervised fine-tuning is costly and rigid and agentic test-time scaling is expensive. We present Tahoe, a system that treats prompt optimization as a dynamic data…

92

Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning

14 Jun · Feng Lyu, Jinfeng Cen, Sijing Duan +4 · arXiv:2606.15598

Text-to-SQL aims to translate natural language questions into executable SQL queries over structured databases, enabling non-expert users to access data intuitively. While recent advances in large language models (LLMs) have shown promise in this task, existing LLM-based approaches often struggle to strike a balance between strong reasoning capabilities and robust generalization. To address these limitations, we…

Artificial intelligence Matched by wording
93

DecoSearch: Complexity-Aware Routing and Plan-Level Repair for Text-to-SQL

16 Jun · Esteban Schafir, Xu Zheng, Hojat Allah Salehi +4 · arXiv:2606.17821

Large Language Models (LLMs) have demonstrated remarkable capabilities in translating natural language to SQL, yet existing methods still falter on complex queries requiring multi-step, data-aware reasoning. We introduce DecoSearch, a training-free framework that addresses this by routing each query to the appropriate level of reasoning effort. A lightweight Schema Selector first prunes the full database schema to…

Artificial intelligence Matched by wording
94

Querying an astronomical database using large language models: the ALeRCE text-to-SQL system

16 Jun · P. A. Estevez, J. Espejo-Moreira, S. Sanfeliu-Alvarez +9 · arXiv:2606.18108

We develop a text-to-SQL (structured query language) system based on large language models (LLMs) using in-context learning and apply it to the Automatic Learning for the Rapid Classification of Events (ALeRCE) astronomical database. ALeRCE is a community broker for the Zwicky Transient Facility and the Vera C. Rubin Observatory. The system enables users to query the database in natural language (NL) and generates…

95

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

96

Test-Time Verification for Text-to-SQL via Outcome Reward Models

29 Jun · Mattia Tritto, Giuseppe Farano, Dario Di Palma +4 · arXiv:2606.30851

Improving the reliability of large language models (LLMs) at inference time is a central challenge in structured reasoning tasks such as Text-to-SQL. Common test-time inference strategies, including Best-of-N sampling and Majority Voting, rely on heuristic signals such as execution success or output frequency, which provide limited semantic discrimination across candidate outputs. In this work, we study Outcome…

Accepted to the SURGeLLM Workshop at ACL 2026, San Diego, US Language & NLP Artificial intelligence Databases Matched by wording
97

STRATOS: Bridging the Symbolic-to-Numeric Gap in Spatio-Temporal Text-to-SQL for Meteorological Data

3 Jul · Yi Zhang, Farhad Nooralahzadeh, Jonathan Fürst +5 · arXiv:2607.03501

Copernicus, the European Union's Earth observation program, produces petabytes of Earth observation and climate data, offering immense potential for research, policy, and applications. However, access to these datasets requires advanced programming skills and familiarity with domain-specific formats such as NetCDF or GRIB. Moreover, general-purpose Text-to-SQL systems fail when applied naively to the meteorological…

98

Beyond Static Rules: Automated Discovery of Latent Vulnerabilities in Text-to-SQL

4 Jul · Hanqing Wang, Yongdong Chi, Jian Yang +4 · arXiv:2607.03833

While Large Language Models (LLMs) have achieved remarkable success in Text-to-SQL tasks, their deployment in real-world environments is hindered by latent reliability issues. Identifying these latent weaknesses is critical for building trustworthy database interfaces, yet current diagnostic approaches rely heavily on static, expert-defined rules, which lack the capability for systematic and automated exploration.…

Accepted by Findings of ACL 2026 Language & NLP Artificial intelligence Matched by wording
99

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…

100

The Nuts and Bolts of Natural Language to SQL Translation: A Systematic Analysis of Model Pipeline Optimisation Approaches and their Interactions

12 Jul · Filip Klubicka, Vasudevan Nedumpozhimana, Sneha Rautmare +3 · arXiv:2607.10911

In the age of large language models, Natural Language to SQL (NL2SQL) translation remains an open problem with many useful applications. We explore interactions between several NL2SQL pipeline extensions to inspire development of more lightweight models. Specifically, we integrate the NatSQL intermediate representation, include a preprocessing step and a fine-tuning step based on synthetic data, and develop a novel…