Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training
Keywords:Lexical & Frame Semantics, Semantic Parsing
AbstractMost recently, there has been significant interest in learning contextual representations for various NLP tasks, by leveraging large scale text corpora to train powerful language models with self-supervised learning objectives, such as Masked Language Model (MLM). Based on a pilot study, we observe three issues of existing general-purpose language models when they are applied in the text-to-SQL semantic parsers: fail to detect the column mentions in the utterances, to infer the column mentions from the cell values, and to compose target SQL queries when they are complex. To mitigate these issues, we present a model pretraining framework, Generation-Augmented Pre-training (GAP), that jointly learns representations of natural language utterance and table schemas, by leveraging generation models to generate high-quality pre-train data. GAP Model is trained on 2 million utterance-schema pairs and 30K utterance-schema-SQL triples, whose utterances are generated by generation models. Based on experimental results, neural semantic parsers that leverage GAP Model as a representation encoder obtain new state-of-the-art results on both Spider and Criteria-to-SQL benchmarks.
How to Cite
Shi, P., Ng, P., Wang, Z., Zhu, H., Li, A. H., Wang, J., Nogueira dos Santos, C., & Xiang, B. (2021). Learning Contextual Representations for Semantic Parsing with Generation-Augmented Pre-Training. Proceedings of the AAAI Conference on Artificial Intelligence, 35(15), 13806-13814. https://doi.org/10.1609/aaai.v35i15.17627
AAAI Technical Track on Speech and Natural Language Processing II