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

141

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…

142

Text-to-SQL Domain Adaptation via Human-LLM Collaborative Data Annotation

21 Feb · Yuan Tian, Daniel Lee, Fei Wu +5 · arXiv:2502.15980

Text-to-SQL models, which parse natural language (NL) questions to executable SQL queries, are increasingly adopted in real-world applications. However, deploying such models in the real world often requires adapting them to the highly specialized database schemas used in specific applications. We find that existing text-to-SQL models experience significant performance drops when applied to new schemas, primarily…

Accepted by IUI'25 Code & Demo: https://github.com/magic-YuanTian/SQLsynth Human-computer interaction Artificial intelligence Databases Matched by wording
143

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
144

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…

145

EllieSQL: Cost-Efficient Text-to-SQL with Complexity-Aware Routing

28 Mar · Yizhang Zhu, Runzhi Jiang, Boyan Li +2 · arXiv:2503.22402

Text-to-SQL automatically translates natural language queries to SQL, allowing non-technical users to retrieve data from databases without specialized SQL knowledge. Despite the success of advanced LLM-based Text-to-SQL approaches on leaderboards, their unsustainable computational costs--often overlooked--stand as the "elephant in the room" in current leaderboard-driven research, limiting their economic…

146

Weaver: Interweaving SQL and LLM for Table Reasoning

25 May · Rohit Khoja, Devanshu Gupta, Yanjie Fu +2 · arXiv:2505.18961

Querying tables with unstructured data is challenging due to the presence of text (or image), either embedded in the table or in external paragraphs, which traditional SQL struggles to process, especially for tasks requiring semantic reasoning. While Large Language Models (LLMs) excel at understanding context, they face limitations with long input sequences. Existing approaches that combine SQL and LLMs typically…

147

Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL

22 May · Zhewei Yao, Guoheng Sun, Lukasz Borchmann +7 · arXiv:2505.20315

Translating natural language into SQL (Test2SQL) is a longstanding challenge at the intersection of natural language understanding and structured data access. While large language models (LLMs) have significantly improved fluency in SQL generation, producing correct and executable SQL--particularly for complex queries--remains a bottleneck. We present Arctic-Text2SQL-R1, a reinforcement learning (RL) framework and…

148

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
149

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
150

Schema-R1: A reasoning training approach for schema linking in Text-to-SQL Task

13 Jun · Wuzhenghong Wen, Su Pan, yuwei Sun · arXiv:2506.11986

Schema linking is a critical step in Text-to-SQL task, aiming to accurately predict the table names and column names required for the SQL query based on the given question. However, current fine-tuning approaches for schema linking models employ a rote-learning paradigm, excessively optimizing for ground truth schema linking outcomes while compromising reasoning ability. This limitation arises because of the…

151

Datrics Text2SQL: A Framework for Natural Language to SQL Query Generation

3 Apr · Tetiana Gladkykh, Kyrylo Kirykov · arXiv:2506.12234

Text-to-SQL systems enable users to query databases using natural language, democratizing access to data analytics. However, they face challenges in understanding ambiguous phrasing, domain-specific vocabulary, and complex schema relationships. This paper introduces Datrics Text2SQL, a Retrieval-Augmented Generation (RAG)-based framework designed to generate accurate SQL queries by leveraging structured…

initial whitepaper version 1.0, submitted March 2025 Databases Artificial intelligence Language & NLP Matched by wording
152

CogniSQL-R1-Zero: Lightweight Reinforced Reasoning for Efficient SQL Generation

8 Jul · Kushal Gajjar, Harshit Sikchi, Arpit Singh Gautam +2 · arXiv:2507.06013

Translating natural language into SQL (Text-to-SQL) remains a core challenge at the intersection of language understanding and structured data access. Although large language models (LLMs) have improved fluency, generating correct and executable SQL, especially for complex queries, continues to be challenging. We introduce CogniSQL-R1-Zero, a reinforcement learning (RL) framework and model that produces accurate SQL…

Artificial intelligence Matched by wording
153

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
154

SQLord: A Robust Enterprise Text-to-SQL Solution via Reverse Data Generation and Workflow Decomposition

14 Jul · Song Cheng, Qiannan Cheng, Linbo Jin +2 · arXiv:2507.10629

Transforming natural language into SQL queries (NL2SQL) is crucial for data-driven business applications. Existing frameworks, trained on open-source datasets, struggle with complex business logic and lack domain-specific data for fine-tuning. Additionally, evaluation methods often require annotated data and executable database environments, which are scarce in real-world scenarios. To address these challenges, we…

WWW '25: Companion Proceedings of the ACM on Web Conference 919 - 923 https://doi.org/10.1145/3701716.3715541 Databases Artificial intelligence Matched by wording
155

Text-to-SQL for Enterprise Data Analytics

18 Jul · Albert Chen, Manas Bundele, Gaurav Ahlawat +9 · arXiv:2507.14372

The introduction of large language models has brought rapid progress on Text-to-SQL benchmarks, but it is not yet easy to build a working enterprise solution. In this paper, we present insights from building an internal chatbot that enables LinkedIn's product managers, engineers, and operations teams to self-serve data insights from a large, dynamic data lake. Our approach features three components. First, we…

Workshop on Agentic AI for Enterprise at KDD '25 Language & NLP Artificial intelligence Databases Matched by wording
156

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…

157

Text-to-SQL Task-oriented Dialogue Ontology Construction

31 Jul · Renato Vukovic, Carel van Niekerk, Michael Heck +5 · arXiv:2507.23358

Large language models (LLMs) are widely used as general-purpose knowledge sources, but they rely on parametric knowledge, limiting explainability and trustworthiness. In task-oriented dialogue (TOD) systems, this separation is explicit, using an external database structured by an explicit ontology to ensure explainability and controllability. However, building such ontologies requires manual labels or supervised…

Accepted to Transactions of the Association for Computational Linguistics Language & NLP Artificial intelligence Databases Matched by wording
158

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
159

E3-Rewrite: Learning to Rewrite SQL for Executability, Equivalence,and Efficiency

12 Aug · Dongjie Xu, Yue Cui, Weijie Shi +9 · arXiv:2508.09023

SQL query rewriting aims to reformulate a query into a more efficient form while preserving equivalence. Most existing methods rely on predefined rewrite rules. However, such rule-based approaches face fundamental limitations: (1) fixed rule sets generalize poorly to novel query patterns and struggle with complex queries; (2) a wide range of effective rewriting strategies cannot be fully captured by declarative…

160

The Interpretability Analysis of the Model Can Bring Improvements to the Text-to-SQL Task

12 Aug · Cong Zhang · arXiv:2508.13178

To elevate the foundational capabilities and generalization prowess of the text-to-SQL model in real-world applications, we integrate model interpretability analysis with execution-guided strategy for semantic parsing of WHERE clauses in SQL queries. Furthermore, we augment this approach with filtering adjustments, logical correlation refinements, and model fusion, culminating in the design of the CESQL model that…