Syntactic Question Abstraction and Retrieval for Data-Scarce Semantic Parsing

05/01/2020
by   Wonseok Hwang, et al.
0

Deep learning approaches to semantic parsing require a large amount of labeled data, but annotating complex logical forms is costly. Here, we propose Syntactic Question Abstraction and Retrieval (SQAR), a method to build a neural semantic parser that translates a natural language (NL) query to a SQL logical form (LF) with less than 1,000 annotated examples. SQAR first retrieves a logical pattern from the train data by computing the similarity between NL queries and then grounds a lexical information on the retrieved pattern in order to generate the final LF. We validate SQAR by training models using various small subsets of WikiSQL train data achieving up to 4.9 accuracy compared to the previous state-of-the-art models on WikiSQL test set. We also show that by using query-similarity to retrieve logical pattern, SQAR can leverage a paraphrasing dataset achieving up to 5.9 compared to the case where SQAR is trained by using only WikiSQL data. In contrast to a simple pattern classification approach, SQAR can generate unseen logical patterns upon the addition of new examples without re-training the model. We also discuss an ideal way to create cost efficient and robust train datasets when the data distribution can be approximated under a data-hungry setting.

READ FULL TEXT
research
07/10/2019

Semantic Parsing with Dual Learning

Semantic parsing converts natural language queries into structured logic...
research
09/30/2011

Learning Dependency-Based Compositional Semantics

Suppose we want to build a system that answers a natural language questi...
research
08/20/2018

Question Generation from SQL Queries Improves Neural Semantic Parsing

We study how to learn a semantic parser of state-of-the-art accuracy wit...
research
07/25/2017

Macro Grammars and Holistic Triggering for Efficient Semantic Parsing

To learn a semantic parser from denotations, a learning algorithm must s...
research
10/21/2020

On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries

Large-scale semantic parsing datasets annotated with logical forms have ...
research
07/02/2015

Simple, Fast Semantic Parsing with a Tensor Kernel

We describe a simple approach to semantic parsing based on a tensor prod...
research
06/20/2016

Unanimous Prediction for 100 Semantic Mappings

Can we train a system that, on any new input, either says "don't know" o...

Please sign up or login with your details

Forgot password? Click here to reset