Translating Natural Language to SQL using Pointer-Generator Networks and How Decoding Order Matters
arXiv:1811.05303
Abstract
Translating natural language to SQL queries for table-based question answering is a challenging problem and has received significant attention from the research community. In this work, we extend a pointer-generator and investigate the order-matters problem in semantic parsing for SQL. Even though our model is a straightforward extension of a general-purpose pointer-generator, it outperforms early works for WikiSQL and remains competitive to concurrently introduced, more complex models. Moreover, we provide a deeper investigation of the potential order-matters problem that could arise due to having multiple correct decoding paths, and investigate the use of REINFORCE as well as a dynamic oracle in this context.
References in corpus (13)
- Neural Machine Translation by Jointly Learning to Align and Translate
- Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning
- The Natural Language Decathlon: Multitask Learning as Question Answering
- SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning
- Incorporating Copying Mechanism in Sequence-to-Sequence Learning
- Finding Function in Form: Compositional Character Models for Open Vocabulary Word Representation
- Language to Logical Form with Neural Attention
- Compositional Semantic Parsing on Semi-Structured Tables
- Learning to Compute Word Embeddings On the Fly
- IncSQL: Training Incremental Text-to-SQL Parsers with Non-Deterministic Oracles
- Coarse-to-Fine Decoding for Neural Semantic Parsing
- Neural Symbolic Machines: Learning Semantic Parsers on Freebase with Weak Supervision
- From Language to Programs: Bridging Reinforcement Learning and Maximum Marginal Likelihood