Speech-to-SQL: Towards Speech-driven SQL Query Generation From Natural Language Question
Not on the map. Why?
Abstract (arXiv)
Speech-based inputs have been gaining significant momentum with the popularity of smartphones and tablets in our daily lives, since voice is the most easiest and efficient way for human-computer interaction. This paper works towards designing more effective speech-based interfaces to query the structured data in relational databases. We first identify a new task named Speech-to-SQL, which aims to understand the information conveyed by human speech and directly translate it into structured query language (SQL) statements. A naive solution to this problem can work in a cascaded manner, that is, an automatic speech recognition (ASR) component followed by a text-to-SQL component. However, it requires a high-quality ASR system and also suffers from the error compounding problem between the two components, resulting in limited performance. To handle these challenges, we further propose a novel end-to-end neural architecture named SpeechSQLNet to directly translate human speech into SQL queries without an external ASR step. SpeechSQLNet has the advantage of making full use of the rich linguistic information presented in speech. To the best of our knowledge, this is the first attempt to directly synthesize SQL based on arbitrary natural language questions, rather than a natural language-based version of SQL or its variants with a limited SQL grammar. To validate the effectiveness of the proposed problem and model, we further construct a dataset named SpeechQL, by piggybacking the widely-used text-to-SQL datasets. Extensive experimental evaluations on this dataset show that SpeechSQLNet can directly synthesize high-quality SQL queries from human speech, outperforming various competitive counterparts as well as the cascaded methods in terms of exact match accuracies.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 46 of its 110 references that are in the map. First posted on arXiv 4 Jan 2022.
Builds on
46 of 110 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2015Pointer Networkscited by 882
- 2020FastSpeech 2: Fast and High-Quality End-to-End Text to Speechcited by 710
34 more
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2015Listen, Attend and Spellcited by 542
- 2019DeepGCNs: Can GCNs Go as Deep as CNNs?cited by 527
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2019MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesiscited by 351
- 2018TED-LIUM 3: twice as much data and corpus repartition for experiments on speaker adaptationcited by 224
- 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2020FastPitch: Parallel Text-to-speech with Pitch Predictioncited by 150
- 2015End-to-End Attention-based Large Vocabulary Speech Recognitioncited by 148
- 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 135
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2018Exploring Architectures, Data and Units For Streaming End-to-End Speech Recognition with RNN-Transducercited by 95
- 2018TypeSQL: Knowledge-based Type-Aware Neural Text-to-SQL Generationcited by 81
- 2019Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questionscited by 80
- 2018SyntaxSQLNet: Syntax Tree Networks for Complex and Cross-DomainText-to-SQL Taskcited by 74
- 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
- 2019Multimodal Transformer Networks for End-to-End Video-Grounded Dialogue Systemscited by 52
- 2019KBQA: Learning Question Answering over QA Corpora and Knowledge Basescited by 44
- 2020LRSpeech: Extremely Low-Resource Speech Synthesis and Recognitioncited by 43
- 2019A Comparative Survey of Recent Natural Language Interfaces for Databasescited by 33
- 2019Self-Attention Transducers for End-to-End Speech Recognitioncited by 24
- 2018A Comparison of Transformer and Recurrent Neural Networks on Multilingual Neural Machine Translationcited by 23
- 2017End-to-End ASR-free Keyword Search from Speechcited by 19
- 2018Semantic Parsing with Syntax- and Table-Aware SQL Generationcited by 17
- 2020Direct Speech-to-image Translationcited by 12
- 2020TableQA: a Large-Scale Chinese Text-to-SQL Dataset for Table-Aware SQL Generationcited by 12
- 2017Towards speech-to-text translation without speech recognitioncited by 11
- 2018A Comparison of Modeling Units in Sequence-to-Sequence Speech Recognition with the Transformer on Mandarin Chinesecited by 10
- 2020S2IGAN: Speech-to-Image Generation via Adversarial Learningcited by 8
- 2019L2RS: A Learning-to-Rescore Mechanism for Automatic Speech Recognitioncited by 5
- 2018AMUSE: Multilingual Semantic Parsing for Question Answering over Linked Datacited by 3
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 1.
6 papers.
- 2022Multimodal Learning with Transformers: A Surveycited by 399
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2023Reboost Large Language Model-based Text-to-SQL, Text-to-Python, and Text-to-Function -- with Real Applications in Traffic Domaincited by 9
- 2023Wav2SQL: Direct Generalizable Speech-To-SQL Parsingcited by 4
- 2025Beyond SELECT: A Comprehensive Taxonomy-Guided Benchmark for Real-World Text-to-SQL Translationcited by 1
- 2025Beyond SELECT: A Comprehensive Taxonomy-Guided Benchmark for Real-World Text-to-SQL Translation17 Nov 2025
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL12 Jun 2024
- 2023Reboost Large Language Model-based Text-to-SQL, Text-to-Python, and Text-to-Function -- with Real Applications in Traffic Domain28 Oct 2023
- 2023Wav2SQL: Direct Generalizable Speech-To-SQL Parsing21 May 2023
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2022Multimodal Learning with Transformers: A Survey13 Jun 2022