SeqGenSQL -- A Robust Sequence Generation Model for Structured Query Language
Not on the map. Why?
Abstract (arXiv)
We explore using T5 (Raffel et al. (2019)) to directly translate natural language questions into SQL statements. General purpose natural language that interfaces to information stored within databases requires flexibly translating natural language questions into database queries. The best performing text-to-SQL systems approach this task by first converting questions into an intermediate logical form (LF) (Lyu et al. (2020)). While LFs provide a convenient intermediate representation and simplify query generation, they introduce an additional layer of complexity and annotation requirements. However, weakly supervised modeling that directly converts questions to SQL statements has proven more difficult without the scaffolding provided by LFs (Min et al. (2019)). We approach direct conversion of questions to SQL statements using T5 (Raffel et al. (2019)), a pre-trained textto-text generation model, modified to support pointer-generator style decoding (See et al. (2017)). We explore using question augmentation with table schema information and the use of automatically generated silver training data. The resulting model achieves 90.5% execution accuracy on the WikiSQL (Zhong et al. (2017)) test data set, a new state-of-the-art on weakly supervised SQL generation. The performance improvement is 6.6% absolute over the prior state-of-the-art (Min et al. (2019)) and approaches the performance of state-ofthe-art systems making use of LFs.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3.
4 papers.
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
- 2022N-Best Hypotheses Reranking for Text-To-SQL Systemscited by 19
- 2021Doc2Dict: Information Extraction as Text Generationcited by 6
- 2022DocuT5: Seq2seq SQL Generation with Table Documentationcited by 1
- 2022DocuT5: Seq2seq SQL Generation with Table Documentation11 Nov 2022
- 2022N-Best Hypotheses Reranking for Text-To-SQL Systems19 Oct 2022
- 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expect22 Aug 2022
- 2021Doc2Dict: Information Extraction as Text Generation16 May 2021