Weakly-supervised Semantic Parsing with Abstract Examples

Omer Goldman, Veronica Latcinnik, Udi Naveh, Amir Globerson, Jonathan Berant
11/14/2017
cs.CLcs.AIcs.LG

Official code: udiNaveh/nlvr_tau_nlp_final_proj (19 stars, Python, last commit 2018-07-01).

Abstract

Training semantic parsers from weak supervision (denotations) rather than strong supervision (programs) complicates training in two ways. First, a large search space of potential programs needs to be explored at training time to find a correct program.

Show full abstract

Second, spurious programs that accidentally lead to a correct denotation add noise to training. In this work we propose that in closed worlds with clear semantic types, one can substantially alleviate these problems by utilizing an abstract representation, where tokens in both the language utterance and program are lifted to an abstract form. We show that these abstractions can be defined with a handful of lexical rules and that they result in sharing between different examples that alleviates the difficulties in training. To test our approach, we develop the first semantic parser for CNLVR, a challenging visual reasoning dataset, where the search space is large and overcoming spuriousness is critical, because denotations are either TRUE or FALSE, and thus random programs are likely to lead to a correct denotation. Our method substantially improves performance, and reaches 82.5% accuracy, a 14.7% absolute accuracy improvement compared to the best reported accuracy so far.

View on arXivView PDF

Code Implementations(1)

1910PythonAug 12, 20178 years ago

Similar Papers

Cite this paper

@article{goldman2017weaklysupervised,
  title  = {Weakly-supervised Semantic Parsing with Abstract Examples},
  author = {Omer Goldman and Veronica Latcinnik and Udi Naveh and Amir Globerson and Jonathan Berant},
  year   = {2017},
  eprint = {1711.05240},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.05240}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.05240.svg)](https://codeofpaper.com/paper/1711.05240)

Discussion