Coupling Retrieval and Meta-Learning for Context-Dependent Semantic Parsing

By Daya Guo, Duyu Tang, Nan Duan, M. Zhou, Jian Yin. 2019

50 citations recorded by the source corpus.

In this paper, we present an approach to incorporate retrieved datapoints as supporting evidence for context-dependent semantic parsing, such as generating source code conditioned on the class environment. Our approach naturally combines a retrieval model and a meta-learner, where the former learns to find similar datapoints from the training data, and the latter considers retrieved datapoints as a pseudo task for fast adaptation. Specifically, our retriever is a context-aware encoder-decoder model with a latent variable which takes context environment into consideration, and our meta-learner learns to utilize retrieved datapoints in a model-agnostic meta-learning paradigm for fast adaptation. We conduct experiments on CONCODE and CSQA datasets, where the context refers to class environment in JAVA codes and conversational history, respectively. We use sequence-to-action model as the base semantic parser, which performs the state-of-the-art accuracy on both datasets. Results show that both the context-aware retriever and the meta-learning strategy improve accuracy, and our approach performs better than retrieve-and-edit baselines.

Subfields: Artificial Intelligence, Information Systems, Natural Language Processing, Meta & Continual Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Nan Duan
  2. Daya Guo
  3. Ming Zhou
  4. Shujie Liu
  5. Duyu Tang
  6. Colin B. Clement
  7. Mohit Bansal
  8. Neel Sundaresan

In Information Systems

  1. Nan Duan
  2. Daya Guo
  3. Neel Sundaresan
  4. Alexey Svyatkovskiy
  5. Colin B. Clement
  6. Shuai Lu
  7. Shao Kun Deng
  8. Dawn Drain

In Natural Language Processing

  1. Nan Duan
  2. Neel Sundaresan
  3. Ming Zhou
  4. Alexey Svyatkovskiy
  5. Shao Kun Deng
  6. Michele Tufano
  7. Shujie Liu
  8. Daya Guo

In Meta & Continual Learning

  1. Lizhen Qu
  2. Gholamreza Haffari
  3. Zhuang Li

Citations in the corpus