M-SQL: Multi-Task Representation Learning for Single-Table Text2sql Generation
Xiaoyu Zhang, Fengjing Yin, Guojie Ma et al. · IEEE Access · 2020
Text2SQL can help non-professionals connect with databases by turning natural languages into SQL. Although previous researches about Text2SQL have provided some workable solutions, most of them extract values based on column representation. If there are multiple values in the query and these values belong to different columns, the previous approaches based on column representation cannot accurately extract values. In this work, we propose a new neural network architecture based on the pre-trained BERT, called M-SQL. The column-based value extraction is divided into two modules, value extraction and value-column matching. We evaluate M-SQL on a more complicated TableQA dataset, which comes from an AI competition. We rank first in this competition. Experimental results and competition ranking show that our proposed M-SQL achieves state-of-the-art results on TableQA.
Cited by 19 works. doi:10.1109/access.2020.2977613 Open-access PDF
Authors
References
- Long Short-Term Memory
- AI-Assisted Pipeline for Dynamic Generation of Trustworthy Health Supplement Content at Scale
- Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data
- Deep Contextualized Word Representations
- Automatic differentiation in PyTorch
- Multi-Task Deep Neural Networks for Natural Language Understanding
- Machine Comprehension Using Match-LSTM and Answer Pointer
- An efficient easily adaptable system for interpreting natural language queries
- Language to Logical Form with Neural Attention
- Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning